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:
co-authored by
Claude Opus 4.6
parent
7fe2973e73
commit
9a122b041b
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@colbymchenry/codegraph",
|
"name": "@colbymchenry/codegraph",
|
||||||
"version": "0.4.3",
|
"version": "0.4.4",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@colbymchenry/codegraph",
|
"name": "@colbymchenry/codegraph",
|
||||||
"version": "0.4.3",
|
"version": "0.4.4",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
+12
-12
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@colbymchenry/codegraph",
|
"name": "@colbymchenry/codegraph",
|
||||||
"version": "0.4.3",
|
"version": "0.4.4",
|
||||||
"description": "Supercharge Claude Code with semantic code intelligence. 30% fewer tokens, 25% fewer tool calls, 100% local.",
|
"description": "Supercharge Claude Code with semantic code intelligence. 30% fewer tokens, 25% fewer tool calls, 100% local.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@@ -37,7 +37,17 @@
|
|||||||
"better-sqlite3": "^11.0.0",
|
"better-sqlite3": "^11.0.0",
|
||||||
"commander": "^14.0.2",
|
"commander": "^14.0.2",
|
||||||
"figlet": "^1.8.0",
|
"figlet": "^1.8.0",
|
||||||
"tree-sitter": "0.22.4",
|
"tree-sitter": "0.22.4"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/better-sqlite3": "^7.6.0",
|
||||||
|
"@types/figlet": "^1.5.8",
|
||||||
|
"@types/node": "^20.19.30",
|
||||||
|
"typescript": "^5.0.0",
|
||||||
|
"vitest": "^2.1.9"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"sqlite-vss": "^0.1.2",
|
||||||
"tree-sitter-c": "0.23.4",
|
"tree-sitter-c": "0.23.4",
|
||||||
"tree-sitter-c-sharp": "0.23.1",
|
"tree-sitter-c-sharp": "0.23.1",
|
||||||
"tree-sitter-cpp": "0.23.4",
|
"tree-sitter-cpp": "0.23.4",
|
||||||
@@ -53,16 +63,6 @@
|
|||||||
"tree-sitter-swift": "0.7.1",
|
"tree-sitter-swift": "0.7.1",
|
||||||
"tree-sitter-typescript": "0.23.2"
|
"tree-sitter-typescript": "0.23.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
|
||||||
"@types/better-sqlite3": "^7.6.0",
|
|
||||||
"@types/figlet": "^1.5.8",
|
|
||||||
"@types/node": "^20.19.30",
|
|
||||||
"typescript": "^5.0.0",
|
|
||||||
"vitest": "^2.1.9"
|
|
||||||
},
|
|
||||||
"optionalDependencies": {
|
|
||||||
"sqlite-vss": "^0.1.2"
|
|
||||||
},
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.0.0"
|
"node": ">=18.0.0"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user