Skip to content

Commit ca93b3e

Browse files
committedFeb 10, 2025
fix(multi-semantic-release): updated semver to 7.7.1, all dev deps, fixed README.md about the unsupported multi-releaserc file

File tree

2 files changed

+10
-40
lines changed

2 files changed

+10
-40
lines changed
 

‎packages/multi-semantic-release/README.md

+1-31
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,6 @@ For example, let's say your project has 4 packages (i.e. a, b, c and d) and you
136136

137137
## Configuring Multi-Semantic-Release
138138

139-
multi-semantic-release can be configured a number of ways:
140-
141-
- A `.multi-releaserc` file, written in YAML or JSON, with optional extensions: `.yaml`/ `.yml`/ `.json`/ `.js`
142-
- A `multi-release.config.js` file that exports an object
143-
- A `multi-release` key in the workspace root package.json
144-
145139
Alternatively some options may be set via CLI flags.
146140

147141
**Note:** CLI arguments take precedence over options configured in the configuration file.
@@ -173,30 +167,6 @@ Alternatively some options may be set via CLI flags.
173167

174168
### Examples
175169

176-
- Via multi-release key in the project's package.json file:
177-
178-
```json
179-
{
180-
"multi-release": {
181-
"ignorePackages": ["!packages/b/**", "!packages/c/**"],
182-
"deps": {
183-
"bump": "inherit"
184-
}
185-
}
186-
}
187-
```
188-
189-
- Via `.multi-releaserc` file:
190-
191-
```json
192-
{
193-
"ignorePackages": ["!packages/b/**", "!packages/c/**"],
194-
"deps": {
195-
"bump": "inherit"
196-
}
197-
}
198-
```
199-
200170
- Via CLI:
201171

202172
```sh
@@ -357,7 +327,7 @@ The integration with semantic release is pretty janky — this is a quick summar
357327
- If packages have local deps (e.g. `dependencies` in package.json points to an internal package) this step also does a `patch` bump if any of them did a bump.
358328
- This has to work recursively! See [hasChangedDeep.js](https://github.com/dhoulb/multi-semantic-release/blob/master/lib/hasChangedDeep.js)
359329

360-
3. The configuration can be layered (i.e. global `.releaserc` and then per-directory overrides for individual packages).
330+
3. The configuration can be layered (i.e. global `semantic-release` cli) and then per-directory overrides for individual packages).
361331

362332
- Had to duplicate the internal cosmiconfig setup from semantic release to get this working :(
363333

‎packages/multi-semantic-release/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"git-log-parser": "^1.2.1",
5858
"lodash-es": "^4.17.21",
5959
"resolve-from": "^5.0.0",
60-
"semver": "^7.6.3",
60+
"semver": "^7.7.1",
6161
"signale": "^1.4.0",
6262
"stream-buffers": "^3.0.3",
6363
"yargs": "^17.7.2"
@@ -67,18 +67,18 @@
6767
"@anolilab/prettier-config": "^5.0.14",
6868
"@anolilab/semantic-release-clean-package-json": "workspace:*",
6969
"@anolilab/semantic-release-pnpm": "1.1.9",
70-
"@babel/core": "^7.26.0",
70+
"@babel/core": "^7.26.8",
7171
"@rushstack/eslint-plugin-security": "^0.8.3",
7272
"@secretlint/secretlint-rule-preset-recommend": "^9.0.0",
7373
"@semantic-release/changelog": "^6.0.3",
7474
"@semantic-release/commit-analyzer": "13.0.1",
75-
"@semantic-release/exec": "^6.0.3",
75+
"@semantic-release/exec": "^7.0.3",
7676
"@semantic-release/git": "^10.0.1",
7777
"@semantic-release/github": "^11.0.1",
7878
"@semantic-release/release-notes-generator": "14.0.3",
7979
"@types/node": "18.19.71",
80-
"@vitest/coverage-v8": "^3.0.3",
81-
"@vitest/ui": "^3.0.3",
80+
"@vitest/coverage-v8": "^3.0.5",
81+
"@vitest/ui": "^3.0.5",
8282
"conventional-changelog-conventionalcommits": "8.0.0",
8383
"cross-env": "^7.0.3",
8484
"eslint": "^8.57.1",
@@ -91,15 +91,15 @@
9191
"eslint-plugin-vitest-globals": "^1.5.0",
9292
"eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
9393
"file-url": "^4.0.0",
94-
"prettier": "^3.4.2",
95-
"publint": "^0.3.2",
94+
"prettier": "^3.5.0",
95+
"publint": "^0.3.4",
9696
"rimraf": "^6.0.1",
9797
"secretlint": "9.0.0",
98-
"semantic-release": "^24.2.1",
98+
"semantic-release": "^24.2.2",
9999
"sort-package-json": "^2.14.0",
100100
"tempy": "^3.1.0",
101101
"typescript": "^5.7.3",
102-
"vitest": "^3.0.3"
102+
"vitest": "^3.0.5"
103103
},
104104
"peerDependencies": {
105105
"semantic-release": "^20.0 || ^21.0 || >=22.0.3"

0 commit comments

Comments
 (0)
Please sign in to comment.