Skip to content

Commit 7ac8a0b

Browse files
committed
chores(): Fix missing sections in release notes
1 parent 039a179 commit 7ac8a0b

File tree

1 file changed

+50
-2
lines changed

1 file changed

+50
-2
lines changed

.releaserc.json

+50-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"master",
44
{ "name": "next", "channel": "next", "prerelease": "next" }
55
],
6+
"preset": "angular",
67
"plugins": [
78
[
89
"@semantic-release/commit-analyzer",
910
{
10-
"preset": "angular",
1111
"releaseRules": [
1212
{ "type": "docs", "release": "patch" },
1313
{ "type": "refactor", "release": "patch" },
@@ -20,7 +20,55 @@
2020
}
2121
}
2222
],
23-
"@semantic-release/release-notes-generator",
23+
[
24+
"@semantic-release/release-notes-generator",
25+
{
26+
"presetConfig": {
27+
"types": [
28+
{
29+
"type": "feat",
30+
"section": "Features",
31+
"hidden": false
32+
},
33+
{
34+
"type": "fix",
35+
"section": "Bug Fixes",
36+
"hidden": false
37+
},
38+
{
39+
"type": "docs",
40+
"section": "Documentation",
41+
"hidden": false
42+
},
43+
{
44+
"type": "refactor",
45+
"section": "Code Refactors",
46+
"hidden": false
47+
},
48+
{
49+
"type": "perf",
50+
"section": "Performance",
51+
"hidden": false
52+
},
53+
{
54+
"type": "style",
55+
"section": "Styles",
56+
"hidden": false
57+
},
58+
{
59+
"type": "test",
60+
"section": "Tests",
61+
"hidden": false
62+
},
63+
{
64+
"type": "chore",
65+
"section": "Chores",
66+
"hidden": false
67+
}
68+
]
69+
}
70+
}
71+
],
2472
"@semantic-release/npm",
2573
"@semantic-release/github"
2674
]

0 commit comments

Comments
 (0)