-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
refactor: always read pnpm.patchedDependencies from lockfile #1700
Conversation
I think this divergence was needed back before we failed the build when the lock file is updated. Now that we do that we should be able to just load the list of patches from the lock file |
I think we have to do the opposite to support other |
abef3de
to
b90c242
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌮
Why load them different when running pnpm update? That makes it inconsistent,
especially with lockfile v5.3 where the lockfile vs package.json will give different results(edit: but we no longer support 5.3).Unlike other
pnpm.*
properties from the package.json this one does end up in the lockfile with additional metadata, so we will always read it from the lockfile and not package.json.Test plan