-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.release-it.json
39 lines (38 loc) · 1.41 KB
/
.release-it.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"github": {
"release": true,
"releaseName": "Release v${version}"
},
"git": {
"tagName": "v${version}",
"commitMessage": "release: v${version}",
"push": true,
"requireUpstream": false
},
"hooks": {
"after:bump": "npm run build"
},
"plugins": {
"@release-it/conventional-changelog": {
"ignoreRecommendedBump": true,
"infile": "CHANGELOG.md",
"header": "# Changelog",
"preset": {
"name": "conventionalcommits",
"types": [
{ "type": "feat", "section": "✨ Features | 新功能" },
{ "type": "fix", "section": "🐛 Bug Fixes | Bug 修复" },
{ "type": "perf", "section": "⚡ Improvements | 优化" },
{ "type": "revert", "section": "⏪ Reverts | 回退" },
{ "type": "chore", "section": "📦 Chores | 其他更新", "hidden": true },
{ "type": "docs", "section": "📝 Documentation | 文档", "hidden": true },
{ "type": "style", "section": "💄 Styles | 风格", "hidden": true },
{ "type": "refactor", "section": "♻ Code Refactoring | 代码重构", "hidden": true },
{ "type": "test", "section": "✅ Tests | 测试", "hidden": true },
{ "type": "build", "section": "👷 Build System | 构建", "hidden": true },
{ "type": "ci", "section": "🔧 Continuous Integration | CI 配置", "hidden": true }
]
}
}
}
}