-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CHANGELOG): 使用release-it自动管理版本号和生成CHANGELOG
- Loading branch information
Showing
3 changed files
with
1,974 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"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 配置" } | ||
] | ||
}, | ||
"infile": "CHANGELOG.md" | ||
} | ||
}, | ||
"git": { | ||
"commitMessage": "chore: Release v${version}" | ||
}, | ||
"github": { | ||
"release": true, | ||
"draft": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.