pnpm / spec

pnpm specifications
10 stars 2 forks source link

Request: more complete pnpm to lockfile version comparisons #7

Open EndangeredMassa opened 4 months ago

EndangeredMassa commented 4 months ago

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: