Skip to content

Commit 246bb03

Browse files
authored
chore: Add more sections in auto generated release notes (#487)
## Description This PR adds more sections to auto generated release notes to better visually separate changes.
1 parent 3e295bb commit 246bb03

File tree

1 file changed

+106
-2
lines changed

1 file changed

+106
-2
lines changed

packages/react-native-sortables/.releaserc

Lines changed: 106 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,57 @@
1313
"BREAKING CHANGES",
1414
"BREAKING"
1515
]
16-
}
16+
},
17+
"releaseRules": [
18+
{
19+
"type": "feat",
20+
"release": "minor"
21+
},
22+
{
23+
"type": "fix",
24+
"release": "patch"
25+
},
26+
{
27+
"type": "perf",
28+
"release": "patch"
29+
},
30+
{
31+
"type": "chore",
32+
"release": "patch"
33+
},
34+
{
35+
"type": "ci",
36+
"release": "patch"
37+
},
38+
{
39+
"type": "build",
40+
"release": "patch"
41+
},
42+
{
43+
"type": "refactor",
44+
"release": "patch"
45+
},
46+
{
47+
"type": "style",
48+
"release": "patch"
49+
},
50+
{
51+
"type": "test",
52+
"release": "patch"
53+
},
54+
{
55+
"type": "security",
56+
"release": "patch"
57+
},
58+
{
59+
"type": "deps",
60+
"release": "patch"
61+
},
62+
{
63+
"breaking": true,
64+
"release": "major"
65+
}
66+
]
1767
}
1868
],
1969
[
@@ -27,11 +77,65 @@
2777
"BREAKING"
2878
]
2979
},
80+
"presetConfig": {
81+
"types": [
82+
{
83+
"type": "feat",
84+
"section": "✨ Features"
85+
},
86+
{
87+
"type": "fix",
88+
"section": "🐛 Bug Fixes"
89+
},
90+
{
91+
"type": "perf",
92+
"section": "⚡ Performance Improvements"
93+
},
94+
{
95+
"type": "chore",
96+
"section": "🔧 Other Changes"
97+
},
98+
{
99+
"type": "ci",
100+
"section": "🔧 Other Changes"
101+
},
102+
{
103+
"type": "build",
104+
"section": "🔧 Other Changes"
105+
},
106+
{
107+
"type": "refactor",
108+
"section": "♻️ Code Quality"
109+
},
110+
{
111+
"type": "style",
112+
"section": "♻️ Code Quality"
113+
},
114+
{
115+
"type": "test",
116+
"section": "🔧 Other Changes"
117+
},
118+
{
119+
"type": "security",
120+
"section": "🔧 Other Changes"
121+
},
122+
{
123+
"type": "deps",
124+
"section": "🔧 Other Changes"
125+
},
126+
{
127+
"type": "revert",
128+
"section": "⏪ Reverts"
129+
}
130+
]
131+
},
30132
"writerOpts": {
31133
"commitsSort": [
32134
"subject",
33135
"scope"
34-
]
136+
],
137+
"groupBy": "type",
138+
"commitGroupsSort": "title"
35139
}
36140
}
37141
],

0 commit comments

Comments
 (0)