Files
pnpm/pkg-manager
Brandon Cheng 824363b0ba fix: preserve catalog protocol when updating project manifest (#8285)
* fix: preserve catalog protocol when updating project manifest

This makes `pnpm add foo@catalog:` preserve the catalog protocol when
updating `package.json`.

This also fixes a quirk with `pnpm update --latest <name>` when <name>
is a catalog'ed dep. The `updateSpec` field is set on all deps if
`wantedDependencies` filters to 0.

341656f9b3/pkg-manager/resolve-dependencies/src/toResolveImporter.ts (L44-L48)

* test: ensure pnpm update does not update catalog dependencies (yet)

* test: `pnpm add is-positive@catalog:`
2024-07-07 14:27:22 +02:00
..
2024-07-04 15:54:08 +02:00
2024-07-04 15:54:08 +02:00
2024-07-04 15:54:08 +02:00
2024-07-04 15:54:08 +02:00
2024-07-04 15:54:08 +02:00
2024-07-04 15:54:08 +02:00
2024-07-04 15:54:08 +02:00
2024-07-04 15:54:08 +02:00
2024-07-04 15:54:08 +02:00