-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.release-it.json
32 lines (32 loc) · 955 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
{
"git": {
"requireBranch": "main",
"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"],
"after:bump": "pnpm run build",
"after:git:release": "echo After git push, before github release",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
}