Skip to content
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

Request: more complete pnpm to lockfile version comparisons #7

Open
EndangeredMassa opened this issue May 17, 2024 · 0 comments
Open

Comments

@EndangeredMassa
Copy link

EndangeredMassa commented May 17, 2024

The existing table that compares pnpm version to lockfile version is nice, but I recently needed a more complete version of this relationship. I had to test it out myself to be sure.

Can we update this table to something like the following?

| pnpm version | generates lockfile | parses lockfiles |
| ------------ | ------------------ | ---------------- |
| 6.x          | 5.3                | 5.3, 5.4         |
| 7.x          | 5.4                | 5.3, 5.4         |
| 8.x          | 6.0, 6.1*          | 6.0, 6.1*        |
| - 8.6.1      | 6.1                | ---              |
| - 8.6.2      | 6.1                | ---              |
| - after      | 6.0                | ---              |
| 9.x          | 9.0                | 6.0*, 7.0, 9.0   |
| - 9.0.0      | 9.0                | 7.0, 9.0         |
| - after      | 9.0                | 6.0, 7.0, 9.0    |

Rendered:

pnpm version generates lockfile parses lockfiles
6.x 5.3 5.3, 5.4
7.x 5.4 5.3, 5.4
8.x 6.0 6.0, 6.1*
- 8.6.1 6.1 ---
- 8.6.2 6.1 ---
- after 6.0 ---
9.x 9.0 6.0*, 7.0*, 9.0
- 9.0.0 9.0 7.0, 9.0
- after 9.0 6.0, 7.0, 9.0

It would have to be expanded to include older pnpm versions.

The asterisks:

  • [email protected]
    • lockfile 6.1: pnpm 8.6.1 and 8.6.2 generated lockfile version 6.1, but after that, lockfile verison 6.0 was generated
  • [email protected]
    • lockfile 6.0: pnpm 9.0.0 could not parse lockfile version 6.0, but from 9.0.1 onward, it could
    • lockfile 7.0: pnpm 9.0.0-alpha versions generated lockfiles with version 7.0, but the final release of 9.0.0 generated lockfiles with 9.0
@EndangeredMassa EndangeredMassa changed the title Request more complete pnpm to lockfile version comparisons Request: more complete pnpm to lockfile version comparisons Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant