Skip to content

How is the lockfileVersion in the pnpm-lock.yaml determined? #6857

Answered by zkochan
Aghassi asked this question in Q&A
Discussion options

You must be logged in to vote

Sometimes there are some new fields in the lockfile but otherwise the lockfile is backward compatible, so it can be used with previous versions of pnpm. In this case, a new settings field was added to the lockfile. However, we had to change the lockfile version back as there is a bug in pnpm v8. It thinks that 6.1 is a breaking change.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@KSXGitHub
Comment options

@Aghassi
Comment options

@EndangeredMassa
Comment options

@zkochan
Comment options

@helloint
Comment options

Answer selected by Aghassi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants