Move tree-sitter grammars to optionalDependencies for Windows compatibility

tree-sitter-kotlin doesn't ship prebuilt binaries for win32-x64, causing
npm install to fail on Windows without Visual Studio. All grammars are now
optional since the runtime already handles missing parsers gracefully.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Colby McHenryandClaude Opus 4.6 committed 2026-02-10 02:51:32 -06:00
1 parent 7fe2973e73
commit 9a122b041b
2 files changed
+14 -14

No files matched your search

+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@colbymchenry/codegraph",
"version": "0.4.3",
"version": "0.4.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@colbymchenry/codegraph",
"version": "0.4.3",
"version": "0.4.4",
"hasInstallScript": true,
"license": "MIT",
"dependencies": {