pnpm approve-builds --global
works now for allowing dependencies of globally installed packages to run postinstall scripts.
The pnpm add
command now supports a new flag, --allow-build
, which allows building the specified dependencies. For instance, if you want to install a package called bundle
that has esbuild
as a dependency and want to allow esbuild
to run postinstall scripts, you can run:
pnpm --allow-build=esbuild add bundle
This will run esbuild
's postinstall script and also add it to the pnpm.onlyBuiltDependencies
field of package.json
. So, esbuild
will always be allowed to run its scripts in the future.
Related PR: #9086.
pnpm approve-builds
should work after two consecutive pnpm install
runs #9083.packageManager
cannot start with v
.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4