BREAKING CHANGE: the config structure has changed, custom providers have an npm field now to specify which npm package to load. see examples in README.md

This commit is contained in:
Dax Raad
2025-06-16 15:02:25 -04:00
parent c0a3e5b0f7
commit 0ecff22f98
8 changed files with 28 additions and 19 deletions
+1
View File
@@ -43,6 +43,7 @@ export namespace BunProc {
version: z.string(),
}),
)
export async function install(pkg: string, version = "latest") {
const mod = path.join(Global.Path.cache, "node_modules", pkg)
const pkgjson = Bun.file(path.join(Global.Path.cache, "package.json"))