-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[command:version] Version number in related peerDependencies don't update #2402
Comments
It isn't always the right way. May be |
@ValeryVS true. Peer dependencies don't act the same as dev nor prod dependencies. However, in some case the peerDependencies should follow the current version. Maybe we should add a new option to the version command to cover this need? Something like |
hey guys, It will update (bump) regular semver like these
but it won't update things like
|
@JamesHenry can we add this feature also to lerna? If necessary I could help with that. |
An OSS project I work on with many packages in a mono-repo with peer-deps on each other moved to strictly declaring peerDependencies recently now that most package managers properly support and respect them. Unfortunately, this results in peerDependencies being incorrect. We can manually fix the versions during our release process; however, it makes lerna's |
Experiencing the same issue in the Lingui project. This project contains a couple of packages and some of them have peer dependencies to others. As a result, the |
ping, any news? Would a MR be accepted? |
When run lerna version also respect dependencies in
peerDependencies
.Current Behavior
When execution lerna version the peerDependencies don't update, but the devDependencies do.
Here a result after the bumping version of packageA and packageB from
0.0.0
to0.0.1
packageA
packageB
Expected Behavior
packageA
packageB
The text was updated successfully, but these errors were encountered: