Skip to content

Commit 0063e18

Browse files
committed
add config for note generator
1 parent 37067ea commit 0063e18

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

package.json

+17-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,23 @@
1717
],
1818
"plugins": [
1919
"@semantic-release/commit-analyzer",
20-
"@semantic-release/release-notes-generator",
20+
["@semantic-release/release-notes-generator", {
21+
"preset": "conventionalcommits",
22+
"parserOpts": {
23+
"noteKeywords": ["BREAKING CHANGE", "BREAKING CHANGES", "BREAKING"]
24+
},
25+
"presetConfig": {
26+
"types": [
27+
{"type": "feat", "section": "Added"},
28+
{"type": "fix", "section": "Fixed"},
29+
{"type": "chore", "hidden": true},
30+
{"type": "docs", "hidden": true},
31+
{"type": "style", "hidden": true},
32+
{"type": "refactor", "hidden": true},
33+
{"type": "perf", "hidden": true},
34+
{"type": "test", "hidden": true}
35+
]}
36+
}],
2137
"@semantic-release/changelog",
2238
"@semantic-release/npm",
2339
"@semantic-release/git",

0 commit comments

Comments
 (0)