-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.release-it.js
38 lines (38 loc) · 1.01 KB
/
.release-it.js
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
module.exports = {
npm: {
publish: true,
},
git: {
requireBranch: ["main"],
commitMessage: "Release new version.",
commitArgs: ["-n"],
},
plugins: {
"@release-it/conventional-changelog": {
infile: "CHANGES.md",
header: "# Changelog\n\n",
ignoreRecommendedBump: true,
preset: {
name: "conventionalcommits",
types: [
{
type: "breaking",
section: "Breaking Changes",
},
{
type: "feat",
section: "Features",
},
{
type: "fix",
section: "Bug Fixes",
},
{
type: "maint",
section: "Maintenance",
},
],
},
},
},
};