chore(deps): update pnpm to v7.9.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| pnpm (source) | 7.3.0 -> 7.9.0 |
Release Notes
pnpm/pnpm
v7.9.0
Minor Changes
- When
ignore-dep-scriptsistrue, ignore scripts of dependencies but run the scripts of the project. - When
ignore-compatibility-dbis set totrue, the compatibility database will not be used to patch dependencies #5132. - Print the versions of packages in peer dependency warnings and errors.
- Support a new hook for passing a custom package importer to the store controller.
Patch Changes
- Don't print the same deprecation warning multiple times.
- On POSIX
pnpm setupshould suggest users to source the config instead of restarting the terminal. - Installing a package with
binthat points to an.exefile on Windows #5159. - Fix bug where the package manifest was not resolved if
verify-store-integrityis set tofalse. - Fix sorting of keys in lockfile to make it more deterministic and prevent unnecessary churn in the lockfile #5151.
- Don't create a separate bundle for pnpx.
Our Gold Sponsors
|
|
|
|
|
|
|
|
|
v7.8.0
Minor Changes
- When
publishConfig.directoryis set, only symlink it to other workspace projects ifpublishConfig.linkDirectoryis set totrue. Otherwise, only use it for publishing #5115.
Patch Changes
- Don't incorrectly identify a lockfile out-of-date when the package has a publishConfig.directory field #5124.
- Don't crash when a config file contains a setting with an env variable that doesn't exist #5093.
Our Gold Sponsors
|
|
|
|
|
|
|
|
|
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.7.1...v7.8.0
v7.7.1
Patch Changes
- pnpm should not consider a lockfile out-of-date if
auto-install-peersis set totrueand the peer dependency is indevDependenciesoroptionalDependencies#5080. - Don't incorrectly consider a lockfile out-of-date when
workspace:^orworkspace:~version specs are used in a workspace.
Our Gold Sponsors
|
|
|
|
|
|
|
|
|
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.7.0...v7.7.1
v7.7.0
Minor Changes
-
Add experimental lockfile format that should merge conflict less in the
importerssection. Enabled by setting theuse-inline-specifiers-lockfile-format = truefeature flag in.npmrc.If this feature flag is committed to a repo, we recommend setting the minimum allowed version of pnpm to this release in the
package.jsonenginesfield. Once this is set, older pnpm versions will throw on invalid lockfile versions. -
Add
publishDirectoryfield to the lockfile and relink the project when it changes. -
verify-store-integrity=falsemakes pnpm skip checking the integrities of files in the global content-addressable store. -
Allow to set
only-built-dependencies[]through.npmrc.
Patch Changes
- It should be possible to publish a package with local dependencies from a custom publish directory (set via
publishConfig.directory) #3901. pnpm deployshould inject local dependencies of all types (dependencies, optionalDependencies, devDependencies) #5078.- When a project in a workspace has a
publishConfig.directoryset, dependent projects should install the project from that directory #3901 - pnpm deploy: accept absolute paths and use cwd instead of workspaceDir for deploy target directory #4980.
- pnpm setup should update
.zshrcin the right directory when a$ZDOTDIRis set.
Our Gold Sponsors
|
|
|
|
|
|
|
|
|
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.6.0...v7.7.0
v7.6.0
Minor Changes
-
A new setting supported:
prefer-symlinked-executables. Whentrue, pnpm will create symlinks to executables innode_modules/.bininstead of command shims (but on POSIX systems only).This setting is
trueby default whennode-linkeris set tohoisted.Related issue: #4782.
-
When
lockfile-include-tarball-urlis set totrue, every entry inpnpm-lock.yamlwill contain the full URL to the package's tarball #5054.
Patch Changes
-
pnpm deployshould include all dependencies by default #5035. -
Don't print warnings about file verifications. Just print info messages instead.
-
pnpm publish --helpshould print the--recursiveand--filteroptions #5019. -
It should be possible to run exec/run/dlx with the
--use-node-versionoption. -
pnpm deployshould not modify the lockfile #5071 -
pnpm deployshould not fail in CI #5071 -
When
auto-install-peersis set totrue, automatically install direct peer dependencies #5028.So if your project the next manifest:
{ "dependencies": { "lodash": "^4.17.21" }, "peerDependencies": { "react": "^18.2.0" } }pnpm will install both lodash and react as a regular dependencies.
Our Gold Sponsors
|
|
|
|
|
|
|
|
|
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.5.2...v7.6.0
v7.5.2
Patch Changes
- Don't print any info messages about .pnpmfile.cjs #5027.
- Do not print a package with unchanged version in the installation summary #5031.
Our Gold Sponsors
|
|
|
|
|
|
|
|
|
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.5.1...v7.5.2
v7.5.1
Patch Changes
- Don't symlink the autoinstalled peer dependencies to the root of
node_modules#4988. - Avoid retaining a copy of the contents of files deleted during patching #5003.
- Remove file reporter logging. Logged file is not useful #4949.
Our Gold Sponsors
|
|
|
|
|
|
|
|
|
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.5.0...v7.5.1
v7.5.0
Minor Changes
-
A new value
rollingfor optionsave-workspace-protocol. When selected, pnpm will save workspace versions using a rolling alias (e.g."foo": "workspace:^") instead of pinning the current version number (e.g."foo": "workspace:^1.0.0"). Usage example, in the root of your workspace, create a.npmrcwith the following content:save-workspace-protocol=rolling
Patch Changes
pnpm remove <pkg>should not fail in a workspace that has patches #4954- The hash of the patch file should be the same on both Windows and POSIX #4961.
pnpm env useshould throw an error on a system that use the MUSL libc.
Our Gold Sponsors
|
|
|
|
|
|
|
|
|
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.4.1...v7.5.0
v7.4.1
Patch Changes
pnpm installin a workspace with patches should not fail when doing partial installation #4954.- Never skip lockfile resolution when the lockfile is not up-to-date and
--lockfile-onlyis used. Even iffrozen-lockfileistrue#4951. - Never add an empty
patchedDependenciesfield topnpm-lock.yaml.
Our Gold Sponsors
|
|
|
|
|
|
|
|
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.4.0...v7.4.1
v7.4.0
Minor Changes
-
Dependencies patching is possible via the
pnpm.patchedDependenciesfield of thepackage.json. To patch a package, the package name, exact version, and the relative path to the patch file should be specified. For instance:{ "pnpm": { "patchedDependencies": { "[email protected]": "./patches/[email protected]" } } } -
Two new commands added:
pnpm patchandpnpm patch-commit.pnpm patch <pkg>prepares a package for patching. For instance, if you want to patch express v1, run:pnpm patch [email protected]pnpm will create a temporary directory with
[email protected]that you can modify with your changes. Once you are read with your changes, run:pnpm patch-commit <path to temp folder>This will create a patch file and write it to
<project>/patches/[email protected]. Also, it will reference this new patch file from thepatchedDependenciesfield inpackage.json:{ "pnpm": { "patchedDependencies": { "[email protected]": "patches/[email protected]" } } } -
A new experimental command added:
pnpm deploy. The deploy command takes copies a project from a workspace and installs all of its production dependencies (even if some of those dependencies are other projects from the workspace).For example, the new command will deploy the project named
footo thedistdirectory in the root of the workspace:pnpm --filter=foo deploy dist -
package-import-methodsupports a new option:clone-or-copy. -
New setting added:
include-workspace-root. When it is set totrue, therun,exec,add, andtestcommands will include the root package, when executed recursively #4906
Patch Changes
-
Don't crash when
pnpm update --interactiveis cancelled with Ctrl+c. -
The
use-node-versionsetting should work with prerelease Node.js versions. For instance:use-node-version=18.0.0-rc.3 -
Return early when the lockfile is up-to-date.
-
Resolve native workspace path for case-insensitive file systems #4904.
-
Don't link local dev dependencies, when prod dependencies should only be installed.
-
pnpm audit --fixshould not add an override for a vulnerable package that has no fixes released. -
Update the compatibility database.
Our Gold Sponsors
|
|
|
|
|
|
|
|
Full Changelog: https://github.com/pnpm/pnpm/compare/v7.3.0...v7.4.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.
