Skip to content

Commit 733e005

Browse files
committed
chore(package): update semantic-release plugin configuration
1 parent 3e8d28d commit 733e005

1 file changed

Lines changed: 36 additions & 1 deletion

File tree

package.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,42 @@
123123
"plugins": [
124124
"@semantic-release/npm",
125125
"@semantic-release/github",
126-
"@semantic-release/commit-analyzer",
126+
[
127+
"@semantic-release/commit-analyzer",
128+
{
129+
"preset": "angular",
130+
"releaseRules": [
131+
{
132+
"type": "docs",
133+
"scope": "readme",
134+
"release": "patch"
135+
},
136+
{
137+
"type": "refactor",
138+
"scope": "core-*",
139+
"release": "minor"
140+
},
141+
{
142+
"type": "refactor",
143+
"release": "patch"
144+
},
145+
{
146+
"type": "style",
147+
"release": "patch"
148+
},
149+
{
150+
"scope": "no-release",
151+
"release": false
152+
}
153+
],
154+
"parserOpts": {
155+
"noteKeywords": [
156+
"BREAKING CHANGE",
157+
"BREAKING CHANGES"
158+
]
159+
}
160+
}
161+
],
127162
"@semantic-release/release-notes-generator",
128163
"@semantic-release/changelog",
129164
"@semantic-release/git"

0 commit comments

Comments
 (0)