mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-13 11:05:52 -04:00
When `pnpm self-update <version>` crosses a pnpm major (upward) from the version being upgraded from, print a one-line pointer to the versioned migration guide on pnpm.io. The "from" version is the project's `packageManager`/`devEngines.packageManager` pin when present (so the hint still fires if the running pnpm is already the new major — e.g. corepack-managed), falling back to the running binary's version otherwise. No-op updates (target === previous) are silent. v11 points at https://pnpm.io/11.x/migration. Future majors register an entry in the in-file `MAJOR_UPGRADE_HINTS` table.