Repository navigation
Support pnpm v12 - #559
Merged
Merged
Support pnpm v12#559
Conversation
Collaborator
|
can you add a test with a v12 lockfile too? |
pnpm v12 still uses store version 11
Author
|
my fault, pnpm v12 still uses store version 11. |
Author
How should I exactly do this? there is existing tests for lockfile_version 9 |
Contributor
Although it's still version 9, but the lockfile itself's format has been changed, which will possibly contain multiple documents, that's what you can test for. I think. |
Author
The python testing code is a little too unfamiliar to me 😕 I'll see what I can do. |
Author
|
A stolen copy of the existing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #555
pnpm 11+ creates an "internal" docuemnt for it's own deps, and that is prepended. so the last yaml document is the lockfile. this works for older versions too because "last document" is the first, last, and only document in their single document structure
this is afaik, if I'm mistaken, please correct me :>