-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.release-it.json
33 lines (33 loc) · 956 Bytes
/
.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
{
"github": {
"release": true,
"releaseName": "v${version}"
},
"git": {
"commitMessage": "chore: release v${version}",
"tagAnnotation": "v${version}"
},
"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": "ci", "hidden": true }
]
},
"infile": "CHANGELOG.md",
"header": "# Changelog"
}
},
"hooks": {
"before:init": "pnpm lint && pnpm test run",
"after:bump": "pnpm clean && pnpm build",
"after:@release-it/conventional-changelog:beforeRelease": "pnpm prettier --write CHANGELOG.md"
}
}