-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.releaserc.js
48 lines (48 loc) · 1.48 KB
/
.releaserc.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
39
40
41
42
43
44
45
46
47
48
module.exports = {
branches: ["main"],
preset: "angular",
extends: "semantic-release-monorepo",
plugins: [
"@semantic-release/commit-analyzer",
[
"@semantic-release/release-notes-generator",
{
parserOpts: {
noteKeywords: ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"],
},
preset: "conventionalcommits",
presetConfig: {
types: [
{ type: "build", section: "Build System", hidden: false },
{ type: "chore", section: "Build System", hidden: false },
{ type: "ci", section: "Continuous Integration", hidden: false },
{ type: "docs", section: "Documentation", hidden: true },
{ type: "feat", section: "Features", hidden: true },
{ type: "fix", section: "Bug Fixes", hidden: true },
{ type: "perf", section: "Performance", hidden: false },
{ type: "refactor", section: "Refactoring", hidden: false },
{ type: "style", section: "Styles", hidden: false },
{ type: "test", section: "Tests", hidden: false },
],
},
writerOpts: {
commitsSort: ["subject", "scope"],
},
},
],
"@semantic-release/changelog",
[
"@semantic-release/npm",
{
npmPublish: true,
},
],
[
"@semantic-release/git",
{
message: "chore(release): ${nextRelease.gitTag} [skip ci]",
},
],
"@semantic-release/github",
],
};