@anolilab/multi-semantic-release 2.0.1 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +83 -1
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## @anolilab/multi-semantic-release [2.0.3](https://github.com/anolilab/semantic-release/compare/@anolilab/multi-semantic-release@2.0.2...@anolilab/multi-semantic-release@2.0.3) (2025-07-31)
2
+
3
+ ### Bug Fixes
4
+
5
+ * update dependencies and improve configuration ([91c8546](https://github.com/anolilab/semantic-release/commit/91c8546aaa2f093f0f36b407b1bd4e4be34decbc))
6
+
7
+
8
+ ### Dependencies
9
+
10
+ * **@anolilab/semantic-release-clean-package-json:** upgraded to 3.0.3
11
+ * **@anolilab/semantic-release-pnpm:** upgraded to 2.0.3
12
+
13
+ ## @anolilab/multi-semantic-release [2.0.2](https://github.com/anolilab/semantic-release/compare/@anolilab/multi-semantic-release@2.0.1...@anolilab/multi-semantic-release@2.0.2) (2025-07-02)
14
+
15
+ ### Bug Fixes
16
+
17
+ * add channel configuration for prereleases in multiple .releaserc.json files ([8aa95b8](https://github.com/anolilab/semantic-release/commit/8aa95b82e6b1e92dab49fe1cde6cf894eb105c0f))
18
+
19
+ ### Documentation
20
+
21
+ * enhance README with configuration file formats and search order for multi-semantic-release ([823e9e1](https://github.com/anolilab/semantic-release/commit/823e9e16732582b07823e49d55eb789760a79d36))
22
+
23
+
24
+ ### Dependencies
25
+
26
+ * **@anolilab/semantic-release-clean-package-json:** upgraded to 3.0.2
27
+ * **@anolilab/semantic-release-pnpm:** upgraded to 2.0.2
28
+
1
29
  ## @anolilab/multi-semantic-release [2.0.1](https://github.com/anolilab/semantic-release/compare/@anolilab/multi-semantic-release@2.0.0...@anolilab/multi-semantic-release@2.0.1) (2025-07-02)
2
30
 
3
31
  ### Bug Fixes
package/README.md CHANGED
@@ -140,6 +140,88 @@ Alternatively some options may be set via CLI flags.
140
140
 
141
141
  **Note:** CLI arguments take precedence over options configured in the configuration file.
142
142
 
143
+ ## Configuration
144
+
145
+ Multi-semantic-release can be configured using a configuration file in any of the following formats:
146
+
147
+ ### Configuration File Formats
148
+
149
+ 1. **`package.json`** (under the `"multi-release"` key):
150
+ ```json
151
+ {
152
+ "name": "my-monorepo",
153
+ "version": "1.0.0",
154
+ "multi-release": {
155
+ "deps": {
156
+ "bump": "inherit",
157
+ },
158
+ "ignorePackages": ["packages/legacy/**"],
159
+ "tagFormat": "${name}@${version}"
160
+ }
161
+ }
162
+ ```
163
+
164
+ 2. **`.multi-releaserc`** (JSON format):
165
+ ```json
166
+ {
167
+ "deps": {
168
+ "bump": "inherit",
169
+ },
170
+ "ignorePackages": ["packages/legacy/**"],
171
+ "tagFormat": "${name}@${version}"
172
+ }
173
+ ```
174
+
175
+ 3. **`.multi-releaserc.json`**:
176
+ ```json
177
+ {
178
+ "deps": {
179
+ "bump": "inherit",
180
+ }
181
+ }
182
+ ```
183
+
184
+ 4. **`.multi-releaserc.js`** (CommonJS module):
185
+ ```javascript
186
+ module.exports = {
187
+ deps: {
188
+ bump: "inherit",
189
+ },
190
+ ignorePackages: ["packages/legacy/**"]
191
+ };
192
+ ```
193
+
194
+ 5. **`.multi-releaserc.cjs`** (CommonJS module):
195
+ ```javascript
196
+ module.exports = {
197
+ deps: {
198
+ bump: "inherit",
199
+ excludeDependencies: ["@visulima/packem", "my-circular-package"]
200
+ }
201
+ };
202
+ ```
203
+
204
+ 6. **`multi-release.config.js`** (ES module):
205
+ ```javascript
206
+ export default {
207
+ deps: {
208
+ bump: "inherit",
209
+ }
210
+ };
211
+ ```
212
+
213
+ ### Configuration Search
214
+
215
+ Multi-semantic-release will search for configuration files in the following order:
216
+ 1. `package.json` (under `"multi-release"` property)
217
+ 2. `.multi-releaserc`
218
+ 3. `.multi-releaserc.json`
219
+ 4. `.multi-releaserc.js`
220
+ 5. `.multi-releaserc.cjs`
221
+ 6. `multi-release.config.js`
222
+
223
+ The first configuration file found will be used, and the search stops there.
224
+
143
225
  ### Options
144
226
 
145
227
  | Option | Type | CLI Flag | Description |
@@ -354,7 +436,7 @@ To make the `tagFormat` option work as intended the following would need to happ
354
436
  ## Supported Node.js Versions
355
437
 
356
438
  Libraries in this ecosystem make the best effort to track
357
- [Node.js release schedule](https://nodejs.org/en/about/releases/). Heres [a
439
+ [Node.js' release schedule](https://nodejs.org/en/about/releases/). Here's [a
358
440
  post on why we think this is important](https://medium.com/the-node-js-collection/maintainers-should-consider-following-node-js-release-schedule-ab08ed4de71a).
359
441
 
360
442
  ## Contributing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anolilab/multi-semantic-release",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "A multi semantic release tool for a monorepo.",
5
5
  "repository": {
6
6
  "type": "git",