chore(deps): update pnpm to v10.13.1
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| pnpm (source) | packageManager | minor | 10.11.0 -> 10.13.1 |
Release Notes
pnpm/pnpm (pnpm)
v10.13.1
Patch Changes
- Run user defined pnpmfiles after pnpmfiles of plugins.
v10.13.0
Minor Changes
-
Added the possibility to load multiple pnpmfiles. The
pnpmfilesetting can now accept a list of pnpmfile locations #9702. -
pnpm will now automatically load the
pnpmfile.cjsfile from any config dependency named@pnpm/plugin-*orpnpm-plugin-*#9729.The order in which config dependencies are initialized should not matter — they are initialized in alphabetical order. If a specific order is needed, the paths to the
pnpmfile.cjsfiles in the config dependencies can be explicitly listed using thepnpmfilesetting inpnpm-workspace.yaml.
Patch Changes
- When patching dependencies installed via
pkg.pr.new, treat them as Git tarball URLs #9694. - Prevent conflicts between local projects' config and the global config in
dangerouslyAllowAllBuilds,onlyBuiltDependencies,onlyBuiltDependenciesFile, andneverBuiltDependencies#9628. - Sort keys in
pnpm-workspace.yamlwith deep #9701. - The
pnpm rebuildcommand should not add pkgs included inignoredBuiltDependenciestoignoredBuildsinnode_modules/.modules.yaml#9338. - Replaced
shell-quotewithshlexfor quoting command arguments #9381.
v10.12.4
Patch Changes
-
Fix
pnpm licensescommand for local dependencies #9583. -
Fix a bug in which
pnpm ls --filter=not-exist --jsonprints nothing instead of an empty array #9672. -
Fix a deadlock that sometimes happens during peer dependency resolution #9673.
-
Running
pnpm installafterpnpm fetchshould hoist all dependencies that need to be hoisted. Fixes a regression introduced in [v10.12.2] by [#9648]; resolves [#9689].[v10.12.2]: https://github.com/pnpm/pnpm/releases/tag/v10.12.2Add commentMore actions [#9648]: https://github.com/pnpm/pnpm/pull/9648 [#9689]: https://github.com/pnpm/pnpm/issues/9689
v10.12.3
Patch Changes
- Restore hoisting of optional peer dependencies when installing with an outdated lockfile. Regression introduced in v10.12.2 by #9648; resolves #9685.
v10.12.2
Patch Changes
- Fixed hoisting with
enableGlobalVirtualStoreset totrue#9648. - Fix the
--helpand-hflags not working as expected for thepnpm createcommand. - The dependency package path output by the
pnpm licenses list --jsoncommand is incorrect. - Fix a bug in which
pnpm deployfails due to overridden dependencies having peer dependencies causingERR_PNPM_OUTDATED_LOCKFILE#9595.
v10.12.1
Minor Changes
-
Experimental. Added support for global virtual stores. When enabled,
node_modulescontains only symlinks to a central virtual store, rather tonode_modules/.pnpm. By default, this central store is located at<store-path>/links(you can find the store path by runningpnpm store path).In the central virtual store, each package is hard linked into a directory whose name is the hash of its dependency graph. This allows multiple projects on the system to symlink shared dependencies from this central location, significantly improving installation speed when a warm cache is available.
This is conceptually similar to how NixOS manages packages, using dependency graph hashes to create isolated and reusable package directories.
To enable the global virtual store, set
enableGlobalVirtualStore: truein your rootpnpm-workspace.yaml, or globally via:pnpm config -g set enable-global-virtual-store trueNOTE: In CI environments, where caches are typically cold, this setting may slow down installation. pnpm automatically disables the global virtual store when running in CI.
Related MR: #8190
- The
pnpm updatecommand now supports updatingcatalog:protocol dependencies and writes new specifiers topnpm-workspace.yaml. - Added two new CLI options (
--save-catalogand--save-catalog-name=<name>) topnpm addto save new dependencies as catalog entries.catalog:orcatalog:<name>will be added topackage.jsonand the package specifier will be added to thecatalogsorcatalog[<name>]object inpnpm-workspace.yaml#9425. - Semi-breaking. The keys used for side-effects caches have changed. If you have a side-effects cache generated by a previous version of pnpm, the new version will not use it and will create a new cache instead #9605.
- Added a new setting called
cifor explicitly telling pnpm if the current environment is a CI or not.
Patch Changes
- Sort versions printed by
pnpm patchusing semantic versioning rules. - Improve the way the error message displays mismatched specifiers. Show differences instead of 2 whole objects #9598.
- Revert #9574 to fix a regression #9596.
v10.11.1
Patch Changes
- Fix an issue in which
pnpm deploy --legacycreates unexpected directories when the rootpackage.jsonhas a workspace package as a peer dependency #9550. - Dependencies specified via a URL that redirects will only be locked to the target if it is immutable, fixing a regression when installing from GitHub releases. (#9531)
- Installation should not exit with an error if
strictPeerDependenciesistruebut all issues are ignored bypeerDependencyRules#9505. - Use
pnpm_config_env variables instead ofnpm_config_#9571. - Fix a regression (in v10.9.0) causing the
--lockfile-onlyflag onpnpm updateto produce a differentpnpm-lock.yamlthan an update without the flag. - Let
pnpm deploywork in repos withoverrideswheninject-workspace-packages=true#9283. - Fixed the problem of path loss caused by parsing URL address. Fixes a regression shipped in pnpm v10.11 via #9502.
-
pnpm -r --silent runshould not print out section #9563.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.