Files
spaceflow/.spaceflowrc
Lyda 0aff2afa61 refactor: 将 .spaceflow 配置迁移到根目录 .spaceflowrc,统一使用 workspace: 协议管理依赖
- 删除 .spaceflow/spaceflow.json,将完整配置合并到根目录 .spaceflowrc
- .spaceflow/package.json 依赖从 link: 协议改为 workspace: 协议
- .spaceflowrc 中 dependencies 配置同步改为 workspace: 协议
- pnpm-workspace.yaml 新增 .spaceflow 到 workspace 包列表
- install.service.ts 新增 workspace: 协议支持,跳过 workspace 依赖的构建步骤
- source
2026-02-25 19:08:06 +08:00

56 lines
1.6 KiB
Plaintext

{
"$schema": ".spaceflow/config-schema.json",
"gitProvider": {
"provider": "github",
"serverUrl": "https://api.github.com"
},
"review": {
"references": ["./references"],
"includes": ["*/**/*.ts", "!*/**/*.spec.*", "!*/**/*.config.*"],
"generateDescription": true,
"autoUpdatePrTitle": true,
"lineComments": true,
"verifyFixes": true,
"analyzeDeletions": false,
"deletionAnalysisMode": "open-code",
"concurrency": 1,
"retries": 3,
"retryDelay": 1000
},
"dependencies": {
"@spaceflow/shell": "workspace:*",
"@spaceflow/scripts": "workspace:*",
"@spaceflow/review": "workspace:*",
"@spaceflow/publish": "workspace:*"
},
"support": ["claudeCode"],
"publish": {
"monorepo": { "enabled": true, "propagateDeps": true },
"changelog": {
"preset": {
"type": [
{ "type": "feat", "section": "新特性" },
{ "type": "fix", "section": "修复BUG" },
{ "type": "perf", "section": "性能优化" },
{ "type": "refactor", "section": "代码重构" },
{ "type": "docs", "section": "文档更新" },
{ "type": "style", "section": "代码格式" },
{ "type": "test", "section": "测试用例" },
{ "type": "chore", "section": "其他修改" }
]
}
},
"npm": {
"publish": true,
"packageManager": "pnpm",
"tag": "latest",
"ignoreVersion": true,
"versionArgs": ["--workspaces false"]
},
"git": {
"lockBranch": false,
"pushWhitelistUsernames": ["github-actions[bot]"]
}
}
}