pnpm
包括 4.x 和 5.x 版本.
pnpm
recognize by default the configuration at .npmrc
and also the --registry
value. This means that you can follow the same commands described in npm replacing npm
by pnpm
.
See also pnpm Documentation - Settings - resolutionMode.