qiwi / multi-semantic-release

Proof of concept that wraps semantic-release to work with monorepos.
BSD Zero Clause License
86 stars 34 forks source link

`--deps.bump=satisfy` not working as expected #83

Closed csantos-nydig closed 10 months ago

csantos-nydig commented 2 years ago

Issue type

Expected behavior

multi-semantic-release --deps.bump=satisfy

Should respect the semver.satisfies ranges defined in our package.json

Actual behavior

multi-semantic-release --deps.bump=satisfy

Still behaves as override

Steps to reproduce

I don't have a full code example, but here is my setup:

monorepo with 2 repositories:

@myapp/web/package.json

"peerDependencies": {
    "@myapp/core": ">=1.0.0-beta.1"
}

When I execute: multi-semantic-release --deps.bump=satisfy, peerDependencies is still overwritten.

Specifications

Debugging

I debugged this library locally, and noticed the following:

csantos-nydig commented 2 years ago

dhoulb/multi-semantic-release seems to be passing the right prop, see:

EinfachHans commented 12 months ago

is anyone fixing this? should i fix it? Guess it would be enough to call resolveNextVersion with the bumpStrategy instead of the releaseStrategy?

qiwibot commented 10 months ago

:tada: This issue has been resolved in version 7.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: