-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.release-it.json
42 lines (42 loc) · 1.52 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
40
41
42
{
"github": {
"release": true,
"releaseName": "Release v${version}"
},
"git": {
"push": true,
"tagName": "v${version}",
"commitMessage": "release: v${version}",
"requireUpstream": false
},
"npm": {
"publish": true
},
"hooks": {
"after:bump": "npm run build",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"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 | 优化", "hidden": false },
{ "type": "revert", "section": "Reverts | 回退", "hidden": false },
{ "type": "chore", "section": "Chores | 其他更新", "hidden": true },
{ "type": "docs", "section": "Documentation | 文档", "hidden": false },
{ "type": "style", "section": "Styles | 风格", "hidden": false },
{ "type": "refactor", "section": "Code Refactoring | 代码重构", "hidden": false },
{ "type": "test", "section": "Tests | 测试", "hidden": false },
{ "type": "build", "section": "Build System | 构建", "hidden": true },
{ "type": "ci", "section": "Continuous Integration | CI 配置", "hidden": true }
]
}
}
}
}