-
-
Notifications
You must be signed in to change notification settings - Fork 952
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
Incorrect lockfile is created #2919
Comments
I tried out the new version, as suggested, unfortunately, the issue doesn't seem to be solved.
If you keep repeating Maybe we're doing something wrong. What was the intended purpose for the |
In what cases do you use |
That was exactly our intent. In our case, where multiple developers are working on a single monorepo, where there's a single We didn't want to remove the So, ultimately what we wanted is to have a way to re-generate the shared lockfile after conflicts. |
The issue is with optional peer dependencies. I will work on a fix. |
🚢 5.9.2 |
pnpm version:
5.8.0
Code to reproduce the issue:
Manually change the version of jest to 26.4.0 in package.json.
Run
pnpm install
Expected behavior:
At the top of the lockfile, these 3 lines are present:
Actual behavior:
This is in the lockfile:
Additional information:
node -v
prints:The text was updated successfully, but these errors were encountered: