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 63996c4189
commit 2c9fd1e776
8 changed files with 28 additions and 19 deletions

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"))