fix: ccw package.json removal - add root build script and fix cli.ts path resolution

- Fix cli.ts loadPackageInfo() to try root package.json first (../../package.json)
- Add build script and devDependencies to root package.json
- Remove ccw/package.json and ccw/package-lock.json (no longer needed)
- CodexLens: add config.json support for index_dir configuration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-12-23 10:25:15 +08:00
parent 86cefa7bda
commit 3cd842ca1a
6 changed files with 155 additions and 3866 deletions

View File

@@ -9,9 +9,10 @@
"ccw-mcp": "./ccw/bin/ccw-mcp.js"
},
"scripts": {
"build": "tsc -p ccw/tsconfig.json",
"start": "node ccw/bin/ccw.js",
"test": "node --test",
"prepublishOnly": "echo 'Ready to publish @dyw/claude-code-workflow'"
"prepublishOnly": "npm run build && echo 'Ready to publish @dyw/claude-code-workflow'"
},
"keywords": [
"claude",
@@ -69,5 +70,12 @@
"bugs": {
"url": "https://github.com/catlog22/Claude-Code-Workflow/issues"
},
"homepage": "https://github.com/catlog22/Claude-Code-Workflow#readme"
"homepage": "https://github.com/catlog22/Claude-Code-Workflow#readme",
"devDependencies": {
"@types/better-sqlite3": "^7.6.12",
"@types/gradient-string": "^1.1.6",
"@types/inquirer": "^9.0.9",
"@types/node": "^25.0.1",
"typescript": "^5.9.3"
}
}