chore: 优化 npm 发布配置,排除未测试文件
- 修改 package.json files 字段为精确文件列表 - 排除 templates/commands/execute.md (未测试) - 排除 templates/commands/plan.md (未测试) - 排除 templates/prompts/gemini/architect.md (未测试) - 排除 templates/examples/ (未测试) - 排除 templates/schemas/ (未测试) - 添加 .npmignore 作为文档参考
This commit is contained in:
1 parent
981a615019
commit
4cae6c6df4
2 files changed
+78
-1
No files matched your search
+54
@@ -0,0 +1,54 @@
|
||||
# 排除未测试的文件和目录
|
||||
|
||||
# 未测试的提示词
|
||||
templates/prompts/gemini/architect.md
|
||||
|
||||
# 未测试的示例
|
||||
templates/examples/
|
||||
|
||||
# 未测试的 Schema
|
||||
templates/schemas/
|
||||
|
||||
# 未测试的命令模板修改
|
||||
templates/commands/execute.md
|
||||
templates/commands/plan.md
|
||||
|
||||
# 开发文件
|
||||
*.log
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
.DS_Store
|
||||
.vscode
|
||||
.idea
|
||||
node_modules
|
||||
src/
|
||||
test/
|
||||
tests/
|
||||
*.test.ts
|
||||
*.spec.ts
|
||||
|
||||
# 文档(可选,保留或排除)
|
||||
WORKFLOW.md
|
||||
PATH_ISSUE_DIAGNOSIS.md
|
||||
|
||||
# Git
|
||||
.git
|
||||
.gitignore
|
||||
.gitattributes
|
||||
|
||||
# CI/CD
|
||||
.github
|
||||
.gitlab-ci.yml
|
||||
|
||||
# 构建工具配置
|
||||
tsconfig.json
|
||||
unbuild.config.ts
|
||||
build.config.ts
|
||||
pnpm-lock.yaml
|
||||
|
||||
# Go 源码(二进制文件已在 bin/ 中)
|
||||
codeagent-wrapper/*.go
|
||||
codeagent-wrapper/*.sh
|
||||
codeagent-wrapper/go.mod
|
||||
codeagent-wrapper/go.sum
|
||||
+24
-1
@@ -27,7 +27,30 @@
|
||||
"files": [
|
||||
"bin",
|
||||
"dist",
|
||||
"templates"
|
||||
"templates/commands/analyze.md",
|
||||
"templates/commands/backend.md",
|
||||
"templates/commands/clean-branches.md",
|
||||
"templates/commands/commit.md",
|
||||
"templates/commands/debug.md",
|
||||
"templates/commands/enhance.md",
|
||||
"templates/commands/feat.md",
|
||||
"templates/commands/frontend.md",
|
||||
"templates/commands/init.md",
|
||||
"templates/commands/optimize.md",
|
||||
"templates/commands/review.md",
|
||||
"templates/commands/rollback.md",
|
||||
"templates/commands/test.md",
|
||||
"templates/commands/workflow.md",
|
||||
"templates/commands/worktree.md",
|
||||
"templates/commands/agents/",
|
||||
"templates/prompts/codex/",
|
||||
"templates/prompts/gemini/analyzer.md",
|
||||
"templates/prompts/gemini/debugger.md",
|
||||
"templates/prompts/gemini/frontend.md",
|
||||
"templates/prompts/gemini/optimizer.md",
|
||||
"templates/prompts/gemini/reviewer.md",
|
||||
"templates/prompts/gemini/tester.md",
|
||||
"templates/prompts/claude/"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "tsx src/cli.ts",
|
||||
|
||||
Reference in new issue
Block a user