-
Notifications
You must be signed in to change notification settings - Fork 11
/
.release-it.json
31 lines (31 loc) · 909 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
{
"git": {
"requireBranch": "release",
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true,
"releaseName": "v${version}"
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"header": "# Changelog",
"preset": {
"name": "conventionalcommits",
"types": [
{ "type": "feat", "section": "🚀 Features" },
{ "type": "fix", "section": "🩹 Bug Fixes" },
{ "type": "docs", "section": "📖 Documentation" },
{ "type": "refactor", "section": "⚙️ Refactor" },
{ "type": "revert", "section": "🔙 Reverts" }
]
}
}
},
"hooks": {
"before:init": ["pnpm run lint", "git merge main"],
"after:bump": "pnpm run prepack",
"after:release": ["git checkout main", "git merge release", "git push", "git push --tags"]
}
}