11{
2- "branches": [
3- "main",
4- "master",
5- "release",
6- {
7- "name": "staging",
8- "prerelease": true
9- }
2+ "branches": [
3+ "main",
4+ "master",
5+ "release",
6+ {
7+ "name": "next",
8+ "prerelease": true
9+ }
10+ ],
11+ "plugins": [
12+ [
13+ "@semantic-release/commit-analyzer",
14+ {
15+ "preset": "conventionalcommits",
16+ "parserOpts": {
17+ "noteKeywords": [
18+ "BREAKING CHANGE",
19+ "BREAKING CHANGES",
20+ "BREAKING"
21+ ]
22+ },
23+ "releaseRules": [
24+ {
25+ "breaking": true,
26+ "release": "major"
27+ },
28+ {
29+ "type": "feat",
30+ "release": "minor"
31+ },
32+ {
33+ "type": "fix",
34+ "release": "patch"
35+ },
36+ {
37+ "type": "perf",
38+ "release": "patch"
39+ },
40+ {
41+ "type": "revert",
42+ "release": "patch"
43+ },
44+ {
45+ "type": "docs",
46+ "scope": "docs-*",
47+ "release": "minor"
48+ },
49+ {
50+ "type": "docs",
51+ "release": false
52+ },
53+ {
54+ "type": "style",
55+ "release": "patch"
56+ },
57+ {
58+ "type": "refactor",
59+ "release": "patch"
60+ },
61+ {
62+ "type": "test",
63+ "release": "patch"
64+ },
65+ {
66+ "type": "build",
67+ "release": "patch"
68+ },
69+ {
70+ "type": "ci",
71+ "scope": "ci-*",
72+ "release": "patch"
73+ },
74+ {
75+ "type": "chore",
76+ "release": false
77+ },
78+ {
79+ "type": "no-release",
80+ "release": false
81+ }
82+ ]
83+ }
1084 ],
11- "plugins": [
12- [
13- "@semantic-release/commit-analyzer",
85+ [
86+ "@semantic-release/release-notes-generator",
87+ {
88+ "preset": "conventionalcommits",
89+ "parserOpts": {
90+ "noteKeywords": [
91+ "BREAKING CHANGE",
92+ "BREAKING CHANGES",
93+ "BREAKING"
94+ ]
95+ },
96+ "writerOpts": {
97+ "commitsSort": [
98+ "subject",
99+ "scope"
100+ ]
101+ },
102+ "presetConfig": {
103+ "types": [
14104 {
15- "preset": "conventionalcommits",
16- "parserOpts": {
17- "noteKeywords": [
18- "BREAKING CHANGE",
19- "BREAKING CHANGES",
20- "BREAKING"
21- ]
22- },
23- "releaseRules": [
24- {
25- "breaking": true,
26- "release": "major"
27- },
28- {
29- "type": "feat",
30- "release": "minor"
31- },
32- {
33- "type": "fix",
34- "release": "patch"
35- },
36- {
37- "type": "perf",
38- "release": "patch"
39- },
40- {
41- "type": "revert",
42- "release": "patch"
43- },
44- {
45- "type": "docs",
46- "scope": "docs-*",
47- "release": "minor"
48- },
49- {
50- "type": "docs",
51- "release": false
52- },
53- {
54- "type": "style",
55- "release": "patch"
56- },
57- {
58- "type": "refactor",
59- "release": "patch"
60- },
61- {
62- "type": "test",
63- "release": "patch"
64- },
65- {
66- "type": "build",
67- "release": "patch"
68- },
69- {
70- "type": "ci",
71- "scope": "ci-*",
72- "release": "patch"
73- },
74- {
75- "type": "chore",
76- "release": false
77- },
78- {
79- "type": "no-release",
80- "release": false
81- }
82- ]
83- }
84- ],
85- [
86- "@semantic-release/release-notes-generator",
105+ "type": "feat",
106+ "section": "🍕 Features"
107+ },
87108 {
88- "preset": "conventionalcommits",
89- "parserOpts": {
90- "noteKeywords": [
91- "BREAKING CHANGE",
92- "BREAKING CHANGES",
93- "BREAKING"
94- ]
95- },
96- "writerOpts": {
97- "commitsSort": [
98- "subject",
99- "scope"
100- ]
101- },
102- "presetConfig": {
103- "types": [
104- {
105- "type": "feat",
106- "section": "🍕 Features"
107- },
108- {
109- "type": "feature",
110- "section": "🍕 Features"
111- },
112- {
113- "type": "fix",
114- "section": "🐛 Bug Fixes"
115- },
116- {
117- "type": "perf",
118- "section": "🔥 Performance Improvements"
119- },
120- {
121- "type": "revert",
122- "section": "⏩ Reverts"
123- },
124- {
125- "type": "docs",
126- "section": "📝 Documentation"
127- },
128- {
129- "type": "style",
130- "section": "🎨 Styles"
131- },
132- {
133- "type": "refactor",
134- "section": "🧑💻 Code Refactoring"
135- },
136- {
137- "type": "test",
138- "section": "✅ Tests"
139- },
140- {
141- "type": "build",
142- "section": "🤖 Build System"
143- },
144- {
145- "type": "ci",
146- "section": "🔁 Continuous Integration"
147- }
148- ]
149- }
150- }
151- ],
152- [
153- "@semantic-release/changelog",
109+ "type": "feature",
110+ "section": "🍕 Features"
111+ },
154112 {
155- "changelogTitle": "# 📦 Changelog \n[](https://conventionalcommits.org)\n[](https://semver.org)\n> All notable changes to this project will be documented in this file"
156- }
157- ],
158- [
159- "@semantic-release/exec",
113+ "type": "fix",
114+ "section": "🐛 Bug Fixes"
115+ },
160116 {
161- "prepareCmd": "./scripts/prepareCMD.sh ${nextRelease.version}",
162- "publishCmd": "echo Publishing ${nextRelease.version}"
163- }
164- ],
165- [
166- "@semantic-release/git",
117+ "type": "perf",
118+ "section": "🔥 Performance Improvements"
119+ },
120+ {
121+ "type": "revert",
122+ "section": "⏩ Reverts"
123+ },
167124 {
168- "assets": [
169- "package.json",
170- "LICENSE*",
171- "CHANGELOG.md"
172- ],
173- "message": "chore(${nextRelease.type}): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
125+ "type": "docs",
126+ "section": "📝 Documentation"
127+ },
128+ {
129+ "type": "style",
130+ "section": "🎨 Styles"
131+ },
132+ {
133+ "type": "refactor",
134+ "section": "🧑💻 Code Refactoring"
135+ },
136+ {
137+ "type": "test",
138+ "section": "✅ Tests"
139+ },
140+ {
141+ "type": "build",
142+ "section": "🤖 Build System"
143+ },
144+ {
145+ "type": "ci",
146+ "section": "🔁 Continuous Integration"
174147 }
175- ]
148+ ]
149+ }
150+ }
151+ ],
152+ [
153+ "@semantic-release/changelog",
154+ {
155+ "changelogTitle": "# 📦 Changelog \n[](https://conventionalcommits.org)\n[](https://semver.org)\n> All notable changes to this project will be documented in this file"
156+ }
157+ ],
158+ [
159+ "@semantic-release/exec",
160+ {
161+ "prepareCmd": "./scripts/prepareCMD.sh ${nextRelease.version}",
162+ "publishCmd": "echo Publishing ${nextRelease.version}"
163+ }
164+ ],
165+ [
166+ "@semantic-release/git",
167+ {
168+ "assets": [
169+ "package.json",
170+ "LICENSE*",
171+ "CHANGELOG.md"
172+ ],
173+ "message": "chore(${nextRelease.type}): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
174+ }
176175 ]
177- }
176+ ]
177+ }
0 commit comments