Minor Changes
-
Packages executed via
pnpm dlx
andpnpm create
are allowed to be built (run postinstall scripts) by default.If the packages executed by
dlx
orcreate
have dependencies that have to be built, they should be listed via the--allow-build
flag. For instance, if you want to run a package calledbundle
that hasesbuild
in dependencies and want to allowesbuild
to run postinstall scripts, run:pnpm --allow-build=esbuild dlx bundle
Related PR: #9026.
Patch Changes
- Quote args for scripts with shell-quote to support new lines (on POSIX only) #8980.
- Fix a bug in which
pnpm deploy
fails to read the correctprojectId
when the deploy source is the same as the workspace directory #9001. - Proxy settings should be respected, when resolving Git-hosted dependencies #6530.
- Prevent
overrides
from adding invalid version ranges topeerDependencies
by keeping thepeerDependencies
and overriding them with proddependencies
#8978. - Sort the package names in the "pnpm.onlyBuiltDependencies" list saved by
pnpm approve-builds
.