-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.release-it.json
53 lines (53 loc) · 1.23 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
43
44
45
46
47
48
49
50
51
52
53
{
"git": {
"commitMessage": "chore: 🔖 release v${version}",
"tagAnnotation": "Release v${version}",
"tagName": "v${version}",
"push": true,
"commit": true,
"tag": true,
"requireCommits": false,
"requireCleanWorkingDir": false
},
"github": {
"release": true,
"draft": false
},
"npm": {
"publish": true,
"ignoreVersion": false
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"header": "# Changelog",
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "docs",
"section": "Documentation"
}
]
}
}
},
"hooks": {
"before:init": ["npm run lint", "npm run format"],
"after:bump": "npm run prepack",
"after:git:release": "echo After git push, before github release",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
}