chore: 配置 npm 发布 @dyw1234/claude-code-workflow@6.0.0

- 添加 package.json 到项目根目录
- 配置 scoped package @dyw1234/claude-code-workflow
- 添加 .npmignore 排除不必要文件
- 发布 v6.0.0 到 npm registry

安装方式: npm install -g @dyw1234/claude-code-workflow

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
catlog22
2025-12-07 20:42:23 +08:00
parent 650d877430
commit 844a2412b2
2 changed files with 117 additions and 0 deletions

51
.npmignore Normal file
View File

@@ -0,0 +1,51 @@
# Git
.git/
.gitignore
.gitattributes
# History and temp files
.history/
*.log
*.tmp
# Development files
.vscode/
.idea/
*.md
!README.md
!CLAUDE.md
# Workflow runtime data
.workflow/
# Test files
test/
tests/
*.test.js
*.spec.js
# Build artifacts
node_modules/
*.tgz
# OS files
.DS_Store
Thumbs.db
# Documentation (keep only essential)
CHANGELOG.md
CONTRIBUTING.md
COMMAND_REFERENCE.md
COMMAND_SPEC.md
FAQ.md
GETTING_STARTED.md
GETTING_STARTED_CN.md
# PowerShell installer (not needed for npm)
Install-Claude.ps1
install-remote.ps1
# ccw internal files
ccw/package.json
ccw/node_modules/
ccw/*.md

66
package.json Normal file
View File

@@ -0,0 +1,66 @@
{
"name": "@dyw1234/claude-code-workflow",
"version": "6.0.0",
"description": "JSON-driven multi-agent development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution",
"type": "module",
"main": "ccw/src/index.js",
"bin": {
"ccw": "./ccw/bin/ccw.js"
},
"scripts": {
"start": "node ccw/bin/ccw.js",
"test": "node --test",
"prepublishOnly": "echo 'Ready to publish @dyw/claude-code-workflow'"
},
"keywords": [
"claude",
"workflow",
"ai",
"cli",
"dashboard",
"code-review",
"automation",
"development"
],
"author": "dyw",
"license": "MIT",
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"commander": "^11.0.0",
"open": "^9.1.0",
"chalk": "^5.3.0",
"glob": "^10.3.0",
"inquirer": "^9.2.0",
"ora": "^7.0.0",
"figlet": "^1.7.0",
"boxen": "^7.1.0",
"gradient-string": "^2.0.2"
},
"files": [
"ccw/bin/",
"ccw/src/",
".claude/agents/",
".claude/commands/",
".claude/output-styles/",
".claude/workflows/",
".claude/scripts/",
".claude/prompt-templates/",
".claude/python_script/",
".claude/skills/",
".codex/",
".gemini/",
".qwen/",
"CLAUDE.md",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/catlog22/Claude-Code-Workflow.git"
},
"bugs": {
"url": "https://github.com/catlog22/Claude-Code-Workflow/issues"
},
"homepage": "https://github.com/catlog22/Claude-Code-Workflow#readme"
}