fix: approve native build scripts and update vitest
Add pnpm.onlyBuiltDependencies to whitelist packages that need install/postinstall scripts (better-sqlite3, esbuild, node-llama-cpp, tree-sitter-*). Without this, pnpm silently skips native compilation causing all tests that touch SQLite to fail. Also bumps vitest from ^3.0.0 to ^3.2.4.
This commit is contained in:
parent
54fc7b01a9
commit
cc32c9958d
14
package.json
14
package.json
@ -69,7 +69,19 @@
|
||||
"devDependencies": {
|
||||
"@types/better-sqlite3": "^7.6.0",
|
||||
"tsx": "^4.0.0",
|
||||
"vitest": "^3.0.0"
|
||||
"vitest": "^3.2.4"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"better-sqlite3",
|
||||
"esbuild",
|
||||
"node-llama-cpp",
|
||||
"tree-sitter-go",
|
||||
"tree-sitter-javascript",
|
||||
"tree-sitter-python",
|
||||
"tree-sitter-rust",
|
||||
"tree-sitter-typescript"
|
||||
]
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.9.3"
|
||||
|
||||
3326
pnpm-lock.yaml
generated
Normal file
3326
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user