diff --git a/build/main.ts b/build/main.ts index fc9cc2c..a7615cc 100644 --- a/build/main.ts +++ b/build/main.ts @@ -12,6 +12,9 @@ async function compileGrammarWasm(outputPath: string) { { name: 'tree-sitter-typescript', projectPath: 'tree-sitter-typescript/typescript', // non-standard path + }, + { + name: 'tree-sitter-regex', } ]; diff --git a/package-lock.json b/package-lock.json index dfa1c90..2dd2f15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "devDependencies": { "@types/node": "^20.14.6", "tree-sitter-cli": "^0.23.0", + "tree-sitter-regex": "^0.23.0", "tree-sitter-typescript": "^0.23.0", "ts-node": "^10.9.2" } @@ -181,6 +182,25 @@ "node": ">=12.0.0" } }, + "node_modules/tree-sitter-regex": { + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/tree-sitter-regex/-/tree-sitter-regex-0.23.0.tgz", + "integrity": "sha512-Mz+xyrYb3AzYX2438CSAx8q48higm+lwyhv4CCeoyxOcnBCOZMFptY7LFUSXbXp+jnijcIJK4IQgcV8Y2qVb/Q==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "node-addon-api": "^8.1.0", + "node-gyp-build": "^4.8.2" + }, + "peerDependencies": { + "tree-sitter": "^0.21.0" + }, + "peerDependenciesMeta": { + "tree_sitter": { + "optional": true + } + } + }, "node_modules/tree-sitter-typescript": { "version": "0.23.0", "resolved": "https://registry.npmjs.org/tree-sitter-typescript/-/tree-sitter-typescript-0.23.0.tgz", diff --git a/package.json b/package.json index 9cdb6d9..7fb2e3b 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "devDependencies": { "@types/node": "^20.14.6", "tree-sitter-cli": "^0.23.0", + "tree-sitter-regex": "^0.23.0", "tree-sitter-typescript": "^0.23.0", "ts-node": "^10.9.2" },