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
+2 -2
View File
@@ -38,8 +38,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"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.0",
@@ -51,6 +50,7 @@
},
"optionalDependencies": {
"@sengac/tree-sitter-dart": "1.1.6",
"tree-sitter-pascal": "github:Isopod/tree-sitter-pascal#042119eca2e18a60e56317fb06ee3ba5c32cb447",
"sqlite-vss": "^0.1.2",
"tree-sitter-c": "0.23.2",
"tree-sitter-c-sharp": "0.23.1",