-
It’s recommended to use corepack, add this to
package.json..., "engines": { "node": ">=20.x", "pnpm": ">=8" } -
Run
pnpm import -
Remove
package-lock.jsonoryarn.lockfile -
(If you have pre-install or post-install script) Add
.npmrccontaining:enable-pre-post-scripts=true -
Add
.pnpm-debug.log*to.gitignorefile -
Replace
npm runoryarncommand withpnpm
1 min read
Migrate to PNPM
pnpm