-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
update
sets all packages to the same version in syncpack 12.3.1
#210
Comments
I've reverted that commit in |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
we don't use pnpm at all and are seeing this issue on 12.3.2. and 12.3.0. running prompt where multiple dependencies need to be updated is the issue. prompt suggests the correct versions, I selected them: but then this is what writes to my package.jsons: if I go one by one, and filter prompt to one package at a time ( this is my
|
Thanks a lot for all this detail @RachelScodes, that matches and confirms what we've been seeing. As I mentioned, the In the meantime I would wait before using this command. A rewrite of syncpack is coming in the next month or so and the situation should improve then. |
Description
When using syncpack 12.3.1, running
yarn syncpack update
results in every package being given the version number of the last checked package.e.g.
if
some-package
has a new version1.2.3
, andother-package
has no update and the original package.json looks like:then running
yarn syncpack update
will result in the package.json getting updated to:Example screenshot here where all packages (in all package.jsons in a monorepo) are set to "0.20.17":
I originally thought this might be cache related, but nuking everything doesn't help.
Suggested Solution
Using syncpack 12.3.0 does not have this issue, suggesting the bug was introduced in the latest release.
Help Needed
The text was updated successfully, but these errors were encountered: