Skip to content

Commit 3f76ed0

Browse files
committed
chore: switch to conventional commits preset and adjust release rules and sections
1 parent bfcaa7e commit 3f76ed0

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.releaserc.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
[
1111
"@semantic-release/commit-analyzer",
1212
{
13-
"preset": "angular",
13+
"preset": "conventionalcommits",
1414
"releaseRules": [
15+
{"type": "feat", "release": "minor"},
1516
{"type": "fix", "release": "patch"},
1617
{"type": "style", "release": "patch"},
1718
{"type": "refactor", "release": "patch"},
@@ -24,16 +25,16 @@
2425
[
2526
"@semantic-release/release-notes-generator",
2627
{
27-
"preset": "angular",
28+
"preset": "conventionalcommits",
2829
"presetConfig": {
2930
"types": [
3031
{"type": "feat","hidden": false, "section": "Features"},
3132
{"type": "fix","hidden": false, "section": "Bug Fixes"},
32-
{"type": "style","hidden": false, "section": "Code Style"},
33-
{"type": "refactor","hidden": false, "section": "Code Refactoring"},
33+
{"type": "style","hidden": false, "section": "Miscellaneous"},
34+
{"type": "refactor","hidden": false, "section": "Miscellaneous"},
3435
{"type": "perf","hidden": false, "section": "Performance Improvements"},
35-
{"type": "test","hidden": false, "section": "Tests"},
36-
{"type": "chore","hidden": false, "section": "Maintenance"}
36+
{"type": "test","hidden": false, "section": "Miscellaneous"},
37+
{"type": "chore","hidden": false, "section": "Miscellaneous"}
3738
]
3839
}
3940
}

0 commit comments

Comments
 (0)