34 lines
1.2 KiB
JSON
34 lines
1.2 KiB
JSON
{
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": {
|
|
"name": "conventionalcommits",
|
|
"types": [
|
|
{ "type": "feat", "section": "✨ Features | 新功能" },
|
|
{ "type": "fix", "section": "🐛 Bug Fixes | Bug 修复" },
|
|
{ "type": "chore", "section": "🎫 Chores | 其他更新" },
|
|
{ "type": "docs", "section": "📝 Documentation | 文档" },
|
|
{ "type": "style", "section": "💄 Styles | 风格" },
|
|
{ "type": "refactor", "section": "♻ Code Refactoring | 代码重构" },
|
|
{ "type": "perf", "section": "⚡ Performance Improvements | 性能优化" },
|
|
{ "type": "test", "section": "✅ Tests | 测试" },
|
|
{ "type": "revert", "section": "⏪ Reverts | 回退" },
|
|
{ "type": "build", "section": "👷 Build System | 构建" },
|
|
{ "type": "ci", "section": "🔧 Continuous Integration | CI 配置" },
|
|
{ "type": "config", "section": "🔨 CONFIG | 配置" }
|
|
]
|
|
},
|
|
"infile": "CHANGELOG.md",
|
|
"ignoreRecommendedBump": true,
|
|
"strictSemVer": true
|
|
}
|
|
},
|
|
"git": {
|
|
"commitMessage": "chore: Release v${version}"
|
|
},
|
|
"github": {
|
|
"release": true,
|
|
"draft": false
|
|
}
|
|
}
|