Skip to content

Commit 6f77043

Browse files
committed
feat(release): updated semantic-release config
1 parent 1bcf00b commit 6f77043

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

release.config.mjs

+36
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,40 @@
33
*/
44
export default {
55
branches: ['main'],
6+
preset: 'conventionalcommits',
7+
plugins: [
8+
[
9+
'@semantic-release/commit-analyzer',
10+
{
11+
releaseRules: [
12+
{
13+
type: 'chore',
14+
scope: 'deps',
15+
release: 'minor',
16+
},
17+
{
18+
type: 'chore',
19+
scope: 'deps-dev',
20+
release: false,
21+
},
22+
{
23+
type: 'docs',
24+
release: 'patch',
25+
},
26+
{
27+
type: 'refactor',
28+
release: 'patch',
29+
},
30+
{
31+
type: 'chore',
32+
scope: 'spelling',
33+
release: 'patch',
34+
},
35+
],
36+
},
37+
],
38+
'@semantic-release/release-notes-generator',
39+
'@semantic-release/npm',
40+
'@semantic-release/github',
41+
],
642
};

0 commit comments

Comments
 (0)