Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
npx --no -- commitlint --edit $1

# Append codegraph impact summary if available
IMPACT=$(codegraph diff-impact --staged --json -T 2>/dev/null || node src/cli.js diff-impact --staged --json -T 2>/dev/null || true)
IMPACT=$(codegraph diff-impact --staged --json -T 2>/dev/null || node dist/cli.js diff-impact --staged --json -T 2>/dev/null || true)
if [ -n "$IMPACT" ]; then
SUMMARY=$(echo "$IMPACT" | node -e "
let d=''; process.stdin.on('data',c=>d+=c);
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
npm run lint
codegraph build 2>/dev/null || node src/cli.js build . 2>/dev/null || true
codegraph build 2>/dev/null || node dist/cli.js build . 2>/dev/null || true
2 changes: 1 addition & 1 deletion scripts/benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* in the native addon only kills the child — the parent survives and collects
* partial results from whichever engines succeeded.
*
* Usage: node scripts/benchmark.js
* Usage: node --experimental-strip-types --import ./scripts/ts-resolve-loader.js scripts/benchmark.ts
*/

import fs from 'node:fs';
Expand Down
2 changes: 1 addition & 1 deletion scripts/build-wasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* Build WASM grammar files from tree-sitter grammar packages.
*
* Usage: node scripts/build-wasm.js
* Usage: node scripts/node-ts.js scripts/build-wasm.ts
*
* Requires devDependencies: tree-sitter-cli + grammar packages.
* Outputs .wasm files into grammars/ (committed to repo).
Expand Down
2 changes: 1 addition & 1 deletion scripts/embedding-benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* in the ONNX runtime) only kills the child — the parent survives and collects
* partial results from whichever models succeeded.
*
* Usage: node scripts/embedding-benchmark.js > result.json
* Usage: node --experimental-strip-types --import ./scripts/ts-resolve-loader.js scripts/embedding-benchmark.ts > result.json
*/

import fs from 'node:fs';
Expand Down
2 changes: 1 addition & 1 deletion scripts/incremental-benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* in the native addon only kills the child — the parent survives and collects
* partial results from whichever engines succeeded.
*
* Usage: node scripts/incremental-benchmark.js > result.json
* Usage: node --experimental-strip-types --import ./scripts/ts-resolve-loader.js scripts/incremental-benchmark.ts > result.json
*/

import fs from 'node:fs';
Expand Down
2 changes: 1 addition & 1 deletion scripts/query-benchmark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* in the native addon only kills the child — the parent survives and collects
* partial results from whichever engines succeeded.
*
* Usage: node scripts/query-benchmark.js > result.json
* Usage: node --experimental-strip-types --import ./scripts/ts-resolve-loader.js scripts/query-benchmark.ts > result.json
*/

import { execFileSync } from 'node:child_process';
Expand Down
Loading