feat: install local plugin dependencies from package.json (#6302)
Co-authored-by: OpenCode <opencode@example.com>
This commit is contained in:
parent
fb0e1e4d8d
commit
56b5cdf883
2 changed files with 35 additions and 1 deletions
|
|
@ -191,6 +191,10 @@ export namespace Config {
|
|||
cwd: dir,
|
||||
},
|
||||
).catch(() => {})
|
||||
|
||||
// Install any additional dependencies defined in the package.json
|
||||
// This allows local plugins and custom tools to use external packages
|
||||
await BunProc.run(["install"], { cwd: dir }).catch(() => {})
|
||||
}
|
||||
|
||||
const COMMAND_GLOB = new Bun.Glob("command/**/*.md")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue