/
.releaserc.json
52 lines (52 loc) · 1.24 KB
/
.releaserc.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
{
"branches": ["main"],
"tagFormat": "v${version}",
"repositoryUrl": "https://github.com/Kit-p/json-kit",
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
}
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
},
"writerOpts": {
"commitsSort": ["scope", "type", "subject"]
}
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/exec",
{
"prepareCmd": "pnpm run build:docs:md"
}
],
[
"@semantic-release/git",
{
"assets": ["package.json", "CHANGELOG.md", "docs/"],
"message": "chore(release): release v${nextRelease.version} [skip ci]"
}
],
[
"@semantic-release/github",
{
"assets": ["dist/**"],
"successComment": false,
"releaseLabels": ["<%= nextRelease.version %>"],
"addReleases": "bottom"
}
]
]
}