mirror of
https://github.com/Lydanne/spaceflow.git
synced 2026-03-09 18:52:24 +08:00
- 删除 .spaceflow/spaceflow.json,将完整配置合并到根目录 .spaceflowrc - .spaceflow/package.json 依赖从 link: 协议改为 workspace: 协议 - .spaceflowrc 中 dependencies 配置同步改为 workspace: 协议 - pnpm-workspace.yaml 新增 .spaceflow 到 workspace 包列表 - install.service.ts 新增 workspace: 协议支持,跳过 workspace 依赖的构建步骤 - source
56 lines
1.6 KiB
Plaintext
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]"]
|
|
}
|
|
}
|
|
}
|