99ff296f6f
bun install fails on Node 25+ because the upstream tree-sitter@0.25.0 package's binding.gyp specifies C++17, but Node 25's V8 headers require C++20 and #error on older standards. The package ships no prebuilds for this platform/Node combo, so node-gyp-build falls back to source compile and dies with hundreds of errors. claude-mem doesn't use the tree-sitter runtime — it only shells out to the prebuilt tree-sitter-cli Rust binary (see Hu/CS in the bundled mcp-server). Add trustedDependencies: ["tree-sitter-cli"] so bun runs the CLI's install.js (downloads the Rust binary) but blocks every other postinstall, including the failing native compile and the unused .node bindings of all 24+ grammar packages. Verified end-to-end on darwin-arm64 / Node 25.9.0: 37 packages install in ~30s, 28 postinstalls correctly blocked, CLI binary works, grammars still JIT-compile via tree-sitter query -p <grammar-dir>. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"name": "claude-mem-plugin",
|
|
"version": "12.5.0",
|
|
"private": true,
|
|
"description": "Runtime dependencies for claude-mem bundled hooks",
|
|
"type": "module",
|
|
"dependencies": {
|
|
"zod": "^4.3.6",
|
|
"tree-sitter-cli": "^0.26.5",
|
|
"tree-sitter-c": "^0.24.1",
|
|
"tree-sitter-cpp": "^0.23.4",
|
|
"tree-sitter-go": "^0.25.0",
|
|
"tree-sitter-java": "^0.23.5",
|
|
"tree-sitter-javascript": "^0.25.0",
|
|
"tree-sitter-python": "^0.25.0",
|
|
"tree-sitter-ruby": "^0.23.1",
|
|
"tree-sitter-rust": "^0.24.0",
|
|
"tree-sitter-typescript": "^0.23.2",
|
|
"tree-sitter-kotlin": "^0.3.8",
|
|
"tree-sitter-swift": "^0.7.1",
|
|
"tree-sitter-php": "^0.24.2",
|
|
"tree-sitter-elixir": "^0.3.5",
|
|
"@tree-sitter-grammars/tree-sitter-lua": "^0.4.1",
|
|
"tree-sitter-scala": "^0.24.0",
|
|
"tree-sitter-bash": "^0.25.1",
|
|
"tree-sitter-haskell": "^0.23.1",
|
|
"@tree-sitter-grammars/tree-sitter-zig": "^1.1.2",
|
|
"tree-sitter-css": "^0.25.0",
|
|
"tree-sitter-scss": "^1.0.0",
|
|
"@tree-sitter-grammars/tree-sitter-toml": "^0.7.0",
|
|
"@tree-sitter-grammars/tree-sitter-yaml": "^0.7.1",
|
|
"@derekstride/tree-sitter-sql": "^0.3.11",
|
|
"@tree-sitter-grammars/tree-sitter-markdown": "^0.3.2"
|
|
},
|
|
"overrides": {
|
|
"tree-sitter": "^0.25.0"
|
|
},
|
|
"trustedDependencies": [
|
|
"tree-sitter-cli"
|
|
],
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"bun": ">=1.0.0"
|
|
}
|
|
}
|