Minor Changes
-
Added
--shell-mode
/-c
option 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
publishConfig
when thepack
orpublish
commands are used #4311 - The
pnpx
,pnpm dlx
,pnpm create
, andpnpm exec
commands should set thenpm_config_user_agent
env variable #3985.
What's Changed
- fix: the dlx and create commands should set npm_config_user_agent by @zkochan in #4317
- refactor(publish): remove meaningless key in publishConfig by @BlackHole1 in #4334
- feat(exec): support shell interpreter by @BlackHole1 in #4328
New Contributors
- @BlackHole1 made their first contribution in #4334
Full Changelog: v6.30.1...v6.31.0