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 argon
Related PR: #3620.
-
Exclude the root package, when running
pnpm exec|run|add
. This change is only active whenuse-beta-cli
is set totrue
#3647. -
When
--workspace-root
is 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