chatgpt-plugin/package.json
copilot-swe-agent[bot] bc469ab019 fix: configure pnpm to resolve dependency loading issues
- Add shamefully-hoist=true to .npmrc for proper dependency hoisting
- Configure pnpm peerDependencyRules to ignore missing sqlite3
- Fixes "Cannot read properties of undefined (reading 'prototype')" error
- This ensures chaite's bundled dependencies work correctly with pnpm

Co-authored-by: ikechan8370 <21212372+ikechan8370@users.noreply.github.com>
2025-11-22 04:37:16 +00:00

27 lines
520 B
JSON

{
"name": "chatgpt-plugin",
"version": "3.0.0",
"type": "module",
"author": "ikechan8370",
"dependencies": {
"better-sqlite3": "^9.4.3",
"adm-zip": "^0.5.10",
"chaite": "^1.8.2",
"js-yaml": "^4.1.0",
"keyv": "^5.3.1",
"keyv-file": "^5.1.2",
"lowdb": "^7.0.1",
"sqlite-vec": "^0.1.7-alpha.2",
"vectra": "^0.9.0"
},
"peerDependencies": {
"sqlite3": ">=5.1.6"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"sqlite3"
]
}
}
}