ci: 添加版本控制配置文件- 新增 .versionrc.cjs 文件,用于配置版本控制规则- 定义了常见的提交类型,包括新功能、Bug 修复、文档、风格、重构和性能优化

- 每种类型都包含了对应的中文描述,便于团队成员理解和使用
This commit is contained in:
h_mo 2025-04-02 23:45:35 +08:00
parent 0996b95488
commit eeb6cdcd6e
2 changed files with 10 additions and 10 deletions

View File

@ -1,10 +0,0 @@
{
"types": [
{"type": "feat", "section": "✨ Features | 新功能", "hidden": false},
{"type": "fix", "section": "🐛 Bug Fixes | Bug 修复", "hidden": false},
{"type": "docs", "section":"📝 Documentation | 文档", "hidden": false},
{"type": "style", "section":"💄 Styles | 风格", "hidden": false},
{"type": "refactor", "section":"💄 Refactor | 重构", "hidden": false},
{"type": "perf", "section":"⚡ Performance Improvements | 性能优化", "hidden": false},
]
}

10
.versionrc.cjs Normal file
View File

@ -0,0 +1,10 @@
module.exports = {
types: [
{ type: 'feat', section: '✨ Features | 新功能', hidden: false },
{ type: 'fix', section: '🐛 Bug Fixes | Bug 修复', hidden: false },
{ type: 'docs', section: '📝 Documentation | 文档', hidden: false },
{ type: 'style', section: '💄 Styles | 风格', hidden: false },
{ type: 'refactor', section: '💄 Refactor | 重构', hidden: false },
{ type: 'perf', section: '⚡ Performance Improvements | 性能优化', hidden: false },
],
};