feat: 添加更好的 SQLite3 模块加载和错误处理,更新相关组件以支持项目路径

This commit is contained in:
catlog22
2026-02-06 23:07:56 +08:00
parent 5cdbb43b3b
commit 3d862e6ed8
15 changed files with 541 additions and 38 deletions

View File

@@ -28,7 +28,8 @@
"docs:build": "npm run build --workspace=ccw/docs-site",
"ws:install": "npm install",
"ws:all": "concurrently \"npm run frontend\" \"npm run docs\" --names \"FRONTEND,DOCS\" --prefix-colors \"blue,green\"",
"ws:build-all": "npm run build && npm run frontend:build && npm run docs:build"
"ws:build-all": "npm run build && npm run frontend:build && npm run docs:build",
"postinstall": "npm rebuild better-sqlite3 || echo [CCW] better-sqlite3 rebuild skipped"
},
"keywords": [
"claude",