PNpM CLI
Notes
no notes yet
Minor Changes
-
Added
--shell-mode/-coption support topnpm exec#4328--shell-mode: shell interpreter. See: https://github.com/sindresorhus/execa/tree/484f28de7c35da5150155e7a523cbb20de161a4f#shell
Usage example:
pnpm -r --shell-mode exec -- echo \"\$PNPM_PACKAGE_NAME\" pnpm -r -c exec -- echo \"\$PNPM_PACKAGE_NAME\"{ "scripts": { "check": " pnpm -r --shell-mode exec -- echo \"\\$PNPM_PACKAGE_NAME\"" } }
Patch Changes
- Remove meaningless keys from
publishConfigwhen thepackorpublishcommands are used #4311 - The
pnpx,pnpm dlx,pnpm create, andpnpm execcommands should set thenpm_config_user_agentenv variable #3985.
What's Changed
- fix: the dlx and create commands should set npm_config_user_agent by @zkochan in https://github.com/pnpm/pnpm/pull/4317
- refactor(publish): remove meaningless key in publishConfig by @BlackHole1 in https://github.com/pnpm/pnpm/pull/4334
- feat(exec): support shell interpreter by @BlackHole1 in https://github.com/pnpm/pnpm/pull/4328
New Contributors
- @BlackHole1 made their first contribution in https://github.com/pnpm/pnpm/pull/4334
Full Changelog: https://github.com/pnpm/pnpm/compare/v6.30.1...v6.31.0