chore(阶段0): 补齐 spike 依赖清单与 lockfile
.gitignore 的 docs/spikes/*.json 把 package.json 一起忽略了,bun.lock 也 单独忽略了;package.json 里又缺三个 tree-sitter 依赖(7.2 的 spike 当初在 临时目录跑的),结果 ast-spike.ts 在仓库里直接报 Cannot find package 'web-tree-sitter'。 排除规则改窄为 endpoints-*.json,补上 web-tree-sitter / tree-sitter-c / tree-sitter-python 并提交 bun.lock。现在 bun install 后三个 spike 都能跑。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
8
docs/spikes/package.json
Normal file
8
docs/spikes/package.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"@node-rs/jieba": "^2.0.1",
|
||||
"tree-sitter-c": "^0.24.1",
|
||||
"tree-sitter-python": "^0.25.0",
|
||||
"web-tree-sitter": "^0.26.11"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user