-
Notifications
You must be signed in to change notification settings - Fork 3.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
Keep package versions synced? #3757
Comments
I'm not an npm maintainer or anything, but I hit the same thing moving off of Lerna. I think what you describe is the "value add" that Lerna offers.
The way I'm going to approach this is to do something like:
Where x.y.z is the new package version created by the version command. I really wish that |
Closing as a duplicate of #3403 |
Adds a minimalistic reify step that updates the installed tree after a version change within one of the configured workspaces when using any of the workspaces config options. It's also possible to use the `--save` config option in order to auto update semver ranges of dependencies declarations accross dependent `package.json` files. Fixes: npm#3403 Relates to: npm/rfcs#556 Relates to: npm#3757 Relates to: npm#4193
Adds a minimalistic reify step that updates the installed tree after a version change within one of the configured workspaces when using any of the workspaces config options. It's also possible to use the `--save` config option in order to auto update semver ranges of dependencies declarations accross dependent `package.json` files. Fixes: npm#3403 Relates to: npm/rfcs#556 Relates to: npm#3757 Relates to: npm#4193
Adds a minimalistic reify step that updates the installed tree after a version change within one of the configured workspaces when using any of the workspaces config options. It's also possible to use the `--save` config option in order to auto update semver ranges of dependencies declarations accross dependent `package.json` files. Fixes: npm#3403 Relates to: npm/rfcs#556 Relates to: npm#3757 Relates to: npm#4193
Adds a minimalistic reify step that updates the installed tree after a version change within one of the configured workspaces when using any of the workspaces config options. It's also possible to use the `--save` config option in order to auto update semver ranges of dependencies declarations accross dependent `package.json` files. Fixes: #3403 Relates to: npm/rfcs#556 Relates to: #3757 Relates to: #4193
Is there an existing issue for this?
Current Behavior
Hi there!
I going to migrate my monorepo from lerna to npm 7 and faced with the next issue:
when I doing npm --workspaces version pach - my packages updated as expected, but dependency in "package-a" still have old dependency version of "package-b"
how can i solve this issue?
The text was updated successfully, but these errors were encountered: