Skip to content

Commit c49d14a

Browse files
committed
refactor: update commit analyzer settings
1 parent 922e54d commit c49d14a

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

package.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,30 @@
3030
},
3131
"release": {
3232
"plugins": [
33-
"@semantic-release/commit-analyzer",
33+
[
34+
"@semantic-release/commit-analyzer",
35+
{
36+
"preset": "angular",
37+
"releaseRules": [
38+
{
39+
"type": "docs",
40+
"scope": "README",
41+
"release": "patch"
42+
},
43+
{
44+
"type": "refactor",
45+
"release": "patch"
46+
}
47+
],
48+
"parserOpts": {
49+
"noteKeywords": [
50+
"BREAKING CHANGE",
51+
"BREAKING CHANGES",
52+
"MANUAL BUMP"
53+
]
54+
}
55+
}
56+
],
3457
"@semantic-release/release-notes-generator",
3558
"@semantic-release/changelog",
3659
"@semantic-release/npm",

0 commit comments

Comments
 (0)