feat: 支持简化版本的 rg 下载

This commit is contained in:
claude-code-best
2026-04-06 10:31:15 +08:00
parent ced5080019
commit dee2ffd638
2 changed files with 322 additions and 2 deletions

View File

@@ -34,7 +34,8 @@
],
"files": [
"dist",
"scripts/download-ripgrep.ts"
"scripts/download-ripgrep.ts",
"scripts/postinstall.cjs"
],
"scripts": {
"build": "bun run build.ts",
@@ -48,7 +49,7 @@
"test": "bun test",
"check:unused": "knip-bun",
"health": "bun run scripts/health-check.ts",
"postinstall": "node dist/download-ripgrep.js || bun run scripts/download-ripgrep.ts || true",
"postinstall": "node scripts/postinstall.cjs",
"docs:dev": "npx mintlify dev"
},
"dependencies": {},