|
41 | 41 | "singleQuote": true |
42 | 42 | }, |
43 | 43 | "release": { |
44 | | - "branches": [ |
45 | | - "main", |
46 | | - { |
47 | | - "name": "beta", |
48 | | - "prerelease": true |
49 | | - } |
50 | | - ], |
51 | | - "plugins": [ |
52 | | - [ |
53 | | - "@semantic-release/commit-analyzer", |
54 | | - { |
55 | | - "releaseRules": [ |
56 | | - { |
57 | | - "type": "perf", |
58 | | - "release": "patch" |
59 | | - }, |
60 | | - { |
61 | | - "type": "revert", |
62 | | - "release": "patch" |
63 | | - }, |
64 | | - { |
65 | | - "type": "docs", |
66 | | - "release": "patch" |
67 | | - }, |
68 | | - { |
69 | | - "type": "chore", |
70 | | - "release": false |
71 | | - }, |
72 | | - { |
73 | | - "type": "refactor", |
74 | | - "release": "patch" |
75 | | - }, |
76 | | - { |
77 | | - "type": "test", |
78 | | - "release": "patch" |
79 | | - }, |
80 | | - { |
81 | | - "type": "build", |
82 | | - "release": "patch" |
83 | | - }, |
84 | | - { |
85 | | - "type": "ci", |
86 | | - "release": "patch" |
87 | | - } |
88 | | - ] |
89 | | - } |
90 | | - ], |
91 | | - "@semantic-release/release-notes-generator", |
92 | | - "@semantic-release/changelog", |
93 | | - [ |
94 | | - "@semantic-release/exec", |
95 | | - { |
96 | | - "prepareCmd": "prettier --write CHANGELOG.md" |
97 | | - } |
98 | | - ], |
99 | | - [ |
100 | | - "@semantic-release/npm", |
101 | | - { |
102 | | - "tarballDir": "dist" |
103 | | - } |
104 | | - ], |
105 | | - "@semantic-release/git", |
106 | | - [ |
107 | | - "@semantic-release/github", |
108 | | - { |
109 | | - "assets": "dist/*.tgz" |
110 | | - } |
111 | | - ] |
112 | | - ], |
113 | | - "preset": "conventionalcommits", |
114 | | - "presetConfig": { |
115 | | - "types": [ |
116 | | - { |
117 | | - "type": "feat", |
118 | | - "section": "Features" |
119 | | - }, |
120 | | - { |
121 | | - "type": "fix", |
122 | | - "section": "Bug Fixes" |
123 | | - }, |
124 | | - { |
125 | | - "type": "perf", |
126 | | - "section": "Performance Improvements" |
127 | | - }, |
128 | | - { |
129 | | - "type": "revert", |
130 | | - "section": "Reverts" |
131 | | - }, |
132 | | - { |
133 | | - "type": "docs", |
134 | | - "section": "Documentation" |
135 | | - }, |
136 | | - { |
137 | | - "type": "style", |
138 | | - "section": "Styles" |
139 | | - }, |
140 | | - { |
141 | | - "type": "chore", |
142 | | - "section": "Miscellaneous Chores", |
143 | | - "hidden": true |
144 | | - }, |
145 | | - { |
146 | | - "type": "refactor", |
147 | | - "section": "Code Refactoring" |
148 | | - }, |
149 | | - { |
150 | | - "type": "test", |
151 | | - "section": "Tests" |
152 | | - }, |
153 | | - { |
154 | | - "type": "build", |
155 | | - "section": "Build System" |
156 | | - }, |
157 | | - { |
158 | | - "type": "ci", |
159 | | - "section": "Continuous Integration" |
160 | | - } |
161 | | - ] |
162 | | - } |
| 44 | + "extends": "@vidavidorra/semantic-release-config" |
163 | 45 | }, |
164 | 46 | "ava": { |
165 | 47 | "files": [ |
|
184 | 66 | "text-summary" |
185 | 67 | ] |
186 | 68 | }, |
| 69 | + "overrides": { |
| 70 | + "@commitlint/config-conventional": { |
| 71 | + "conventional-changelog-conventionalcommits": ">=9.0.0" |
| 72 | + } |
| 73 | + }, |
187 | 74 | "devDependencies": { |
188 | 75 | "@ava/typescript": "6.0.0", |
189 | 76 | "@commitlint/cli": "20.2.0", |
190 | 77 | "@commitlint/config-conventional": "20.2.0", |
191 | 78 | "@commitlint/lint-19.x": "npm:@commitlint/lint@19.8.1", |
192 | | - "@commitlint/load-19.x": "npm:@commitlint/load@19.8.1", |
193 | 79 | "@commitlint/lint-20.x": "npm:@commitlint/lint@20.2.0", |
| 80 | + "@commitlint/load-19.x": "npm:@commitlint/load@19.8.1", |
194 | 81 | "@commitlint/load-20.x": "npm:@commitlint/load@20.2.0", |
195 | 82 | "@commitlint/rules": "20.2.0", |
196 | 83 | "@commitlint/types": "20.2.0", |
197 | | - "@semantic-release/changelog": "6.0.3", |
198 | | - "@semantic-release/exec": "7.1.0", |
199 | | - "@semantic-release/git": "10.0.1", |
200 | 84 | "@types/sinon": "21.0.0", |
| 85 | + "@vidavidorra/semantic-release-config": "1.0.4", |
201 | 86 | "ava": "6.4.1", |
202 | 87 | "c8": "10.1.3", |
203 | 88 | "husky": "9.1.7", |
|
213 | 98 | }, |
214 | 99 | "engines": { |
215 | 100 | "node": ">=20" |
216 | | - }, |
217 | | - "overrides": { |
218 | | - "conventional-changelog-conventionalcommits": ">= 8.0.0" |
219 | 101 | } |
220 | 102 | } |
0 commit comments