-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.release-it.json
41 lines (41 loc) · 1.06 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
{
"git": {
"requireUpstream": true,
"requireCleanWorkingDir": true,
"commit": true,
"commitMessage": "${version}",
"commitArgs": ["--no-verify"],
"push": true,
"pushArgs": ["--no-verify", "--follow-tags"],
"tag": true,
"tagName": "v${version}",
"tagAnnotation": "v${version}"
},
"npm": {
"publish": false
},
"github": {
"release": true
},
"gitlab": {
"release": false
},
"hooks": {
"before:bump": ["npm run validateChangelog", "npm ci", "npm test", "npm run lint", "npm run jscpd", "npm run build"]
},
"plugins": {
"@release-it/keep-a-changelog": {
"filename": "CHANGELOG.md",
"strictLatest": true,
"addUnreleased": true,
"addVersionUrl": true,
"head": "master",
"versionUrlFormats": {
"repositoryUrl": "https://{host}/{repository}",
"unreleasedUrl": "{repositoryUrl}/compare/{tagName}...{head}",
"versionUrl": "{repositoryUrl}/compare/{previousTag}...{tagName}",
"firstVersionUrl": "{repositoryUrl}/tree/{tagName}"
}
}
}
}