fix: Move tree-sitter-pascal to optionalDependencies with pinned commit

Align with project convention: all tree-sitter grammars are optional.
Pin to commit 042119e for reproducible builds (npm v0.0.1 is outdated
and incompatible with Node.js v24 due to NAN bindings).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Olaf Monien
2026-02-11 10:00:14 +01:00
co-authored by Claude Opus 4.6
parent 425bfceea5
commit 2442c58932
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -15,8 +15,7 @@
"commander": "^14.0.2",
"figlet": "^1.8.0",
"picomatch": "^4.0.3",
"tree-sitter": "0.22.4",
"tree-sitter-pascal": "github:Isopod/tree-sitter-pascal"
"tree-sitter": "0.22.4"
},
"bin": {
"codegraph": "dist/bin/codegraph.js"
@@ -42,6 +41,7 @@
"tree-sitter-java": "0.23.5",
"tree-sitter-javascript": "0.23.1",
"tree-sitter-kotlin": "0.3.8",
"tree-sitter-pascal": "github:Isopod/tree-sitter-pascal#042119eca2e18a60e56317fb06ee3ba5c32cb447",
"tree-sitter-php": "0.23.11",
"tree-sitter-python": "0.23.4",
"tree-sitter-ruby": "0.23.1",
@@ -2587,6 +2587,7 @@
"resolved": "git+ssh://git@github.com/Isopod/tree-sitter-pascal.git#042119eca2e18a60e56317fb06ee3ba5c32cb447",
"hasInstallScript": true,
"license": "MIT",
"optional": true,
"dependencies": {
"node-gyp-build": "^4.8.4"
},