This PR contains the following updates:
Release Notes
pnpm/pnpm (pnpm)
Compare Source
Compare Source
Compare Source
Patch Changes
pnpm self-update should not leave a directory with a broken pnpm installation if the installation fails.
- Allow scope registry CLI option without
--config. prefix such as --@​scope:registry=https://scope.example.com/npm #9089.
pnpm self-update should not read the pnpm settings from the package.json file in the current working directory.
pnpm update -i should list only packages that have newer versions #9206.
- Fix a bug causing entries in the
catalogs section of the pnpm-lock.yaml file to be removed when dedupe-peer-dependents=false on a filtered install. #9112
Platinum Sponsors
Gold Sponsors
Compare Source
Patch Changes
- Fix instruction for updating pnpm with corepack #9101.
- Print pnpm's version after the execution time at the end of the console output.
- The pnpm version specified by
packageManager cannot start with v.
- Fix a bug causing catalog snapshots to be removed from the
pnpm-lock.yaml file when using --fix-lockfile and --filter. #8639
- Fix a bug causing catalog protocol dependencies to not re-resolve on a filtered install #8638.
Compare Source
Patch Changes
- Verify that the package name is valid when executing the publish command.
- When running
pnpm install, the preprepare and postprepare scripts of the project should be executed #8989.
- Quote args for scripts with shell-quote to support new lines (on POSIX only) #8980.
- Proxy settings should be respected, when resolving Git-hosted dependencies #6530.
- Replace
strip-ansi with the built-in util.stripVTControlCharacters #9009.
Platinum Sponsors
Gold Sponsors
Compare Source
Patch Changes
- Ensure that recursive
pnpm update --latest <pkg> updates only the specified package, with dedupe-peer-dependents=true.
Platinum Sponsors
Gold Sponsors
Compare Source
Patch Changes
- Fixed the Regex used to find the package manifest during packing #8938.
pnpm update --filter <pattern> --latest <pkg> should only change the specified package for the specified workspace, when dedupe-peer-dependents is set to true #8877.
- Exclude
.DS_Store file at patch-commit #8922.
- Fix a bug in which
pnpm patch is unable to bring back old patch without specifying @version suffix #8919.
Platinum Sponsors
Gold Sponsors
Compare Source
Patch Changes
- Fixed
publish/pack error with workspace dependencies with relative paths #8904. It was broken in v9.4.0 (398472c).
- Use double quotes in the command suggestion by
pnpm patch on Windows #7546.
- Do not fall back to SSH, when resolving a git-hosted package if
git ls-remote works via HTTPS #8906.
- Improve how packages with blocked lifecycle scripts are reported during installation. Always print the list of ignored scripts at the end of the output. Include a hint about how to allow the execution of those packages.
Platinum Sponsors
Gold Sponsors
Compare Source
Patch Changes
pnpm remove should not link dependencies from the workspace, when link-workspace-packages is set to false #7674.
- Installation with hoisted
node_modules should not fail, when a dependency has itself in its own peer dependencies #8854.
Platinum Sponsors
Gold Sponsors
Compare Source
Minor Changes
- Metadata directory version bumped to force fresh cache after we shipped a fix to the metadata write function. This change is backward compatible as install doesn't require a metadata cache.
Patch Changes
pnpm update --global should not crash if there are no any global packages installed #7898.
- Fix an exception when running
pnpm update --interactive if catalogs are used.
Platinum Sponsors
Gold Sponsors
Compare Source
Patch Changes
- Don't ever save mutated metadata to the metadata cache.
Platinum Sponsors
Gold Sponsors
Silver Sponsors
Compare Source
Patch Changes
- Some commands should ignore the
packageManager field check of package.json #7959.
Platinum Sponsors
Gold Sponsors
Silver Sponsors
Compare Source
Patch Changes
pnpm publish --json should work #8788.
Platinum Sponsors
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.14%. Comparing base (dc530c7) to head (b44f52f).
Report is 2 commits behind head on master.
Additional details and impacted files
@@ Coverage Diff @@
## master #178 +/- ##
=======================================
Coverage 92.14% 92.14%
=======================================
Files 2 2
Lines 140 140
=======================================
Hits 129 129
Misses 11 11
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features: