Aquesta és una versió anterior. La versió actual és la 12.15.0. pnpm 12.15.0 · Data de publicació:
10.4.0 forma part de la branca 10, que té suport fins al 30 d’abril del 2027. endoflife.date
Fitxers d’instal·lació 10.4.0
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | Portable | — | — | github.com | VirusTotal |
| ARM64 | Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
See breaking changes in v10
Minor Changes
- 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.
- The pnpm init command adds a packageManager field with the current version of pnpm CLI #9069. To disable this behaviour, set the init-package-manager setting to false.
Patch Changes
- pnpm approve-builds should work after two consecutive pnpm install runs #9083.
- Fix instruction for updating pnpm with corepack #9101.
- The pnpm version specified by packageManager cannot start with v.
Platinum Sponsors
────────────┬────────────
Bit │Bit
────────────┴────────────
Gold Sponsors
─────────────────────────┬───────────────────────
Discord │u|screen
─────────────────────────┼───────────────────────
JetBrains │Nx
─────────────────────────┼───────────────────────
CodeRabbit │Route4Me
─────────────────────────┴───────────────────────
Workleap
─────────────────────────