v6.12.0
Minor Changes
-
A new command added for installing Node.js:
pnpm env use --global <version>.You may install Node.js using an exact version, version range, LTS, or LTS name (e.g.
argon).Examples:
pnpm env use --global 16.5.0 pnpm env use --global 16 pnpm env use --global lts pnpm env use --global argonRelated PR: #3620.
-
Exclude the root package, when running
pnpm exec|run|add. This change is only active whenuse-beta-cliis set totrue#3647. -
When
--workspace-rootis used, the workspace root package is selected even if the command is executed with filters #3647.For example:
pnpm --workspace-root --filter=foo run lint