Files
opencode/packages/shared/package.json
Dax Raad fa8aa0b7e2 core: refactor plugin dependency installation to use shared npm service
Moved Npm service to shared package to enable consistent dependency management

across all components. Plugin dependencies are now installed with proper

version targeting and concurrent install deduplication via Flock.

Changes from user perspective:

- Faster TUI startup by removing unnecessary Instance.provide wrapper

- More reliable plugin dependency installation with proper serialization

- Cleaner config loading without redundant worktree parameter requirements
2026-04-15 17:39:24 -04:00

37 lines
768 B
JSON

{
"$schema": "https://json.schemastore.org/package.json",
"version": "1.4.6",
"name": "@opencode-ai/shared",
"type": "module",
"license": "MIT",
"private": true,
"scripts": {
"test": "bun test"
},
"bin": {
"opencode": "./bin/opencode"
},
"exports": {
"./*": "./src/*.ts"
},
"imports": {},
"devDependencies": {
"@types/semver": "catalog:",
"@types/bun": "catalog:",
"@types/npmcli__arborist": "6.3.3"
},
"dependencies": {
"@effect/platform-node": "catalog:",
"@npmcli/arborist": "catalog:",
"effect": "catalog:",
"mime-types": "3.0.2",
"minimatch": "10.2.5",
"semver": "catalog:",
"xdg-basedir": "5.1.0",
"zod": "catalog:"
},
"overrides": {
"drizzle-orm": "catalog:"
}
}