-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.release-it.json
More file actions
42 lines (42 loc) · 1.14 KB
/
.release-it.json
File metadata and controls
42 lines (42 loc) · 1.14 KB
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
{
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}",
"requireCleanWorkingDir": true,
"requireUpstream": true,
"requireCommits": true,
"addUntrackedFiles": false
},
"github": {
"release": true,
"releaseName": "v${version}"
},
"npm": {
"publish": true,
"skipChecks": false
},
"hooks": {
"before:init": ["bash scripts/pre-release-check.sh"],
"after:bump": ["npm run build"],
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"types": [
{"type": "feat", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "chore", "hidden": true},
{"type": "docs", "hidden": true},
{"type": "style", "hidden": true},
{"type": "refactor", "hidden": true},
{"type": "perf", "section": "Performance"},
{"type": "test", "hidden": true}
]
},
"infile": "CHANGELOG.md",
"header": "# Changelog"
}
}
}