chore(deps): update pnpm to v10.0.0-alpha.4 #1019
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
10.0.0-alpha.3+sha512.b519f097e0e6efe5919cde33fec946eeb8de595b6adcc76e00e11e4435331e69170c812a69a2347780690153275fca561d88ec614681a0e9d56fc31b7918f9d3
->10.0.0-alpha.4
Release Notes
pnpm/pnpm (pnpm)
v10.0.0-alpha.4
Compare Source
Major Changes
The
pnpm link
command adds overrides to the rootpackage.json
. In a workspace the override is added to the root of the workspace, so it links the dependency to all projects in a workspace.To link a package globally, just run
pnpm link
from the package's directory. Previously, the commandpnpm link -g
was required to link a package globally.Related PR: #8653.
Use sha256 for hashing long paths inside
node_modules/.pnpm
.Using SHA256 instead of md5 for hashing long peer dependency hashes in the lockfile. Should not affect a lot of users as the hashing is used for really long keys in the lockfile.
pnpm will now manage it's own versions according to the
packageManager
filed ofpackage.json
. To disable this, setmanage-package-manager-versions
tofalse
.pnpm test
should pass all the params after thetest
keyword to the underlying script. This is similar to howpnpm run test
works #8619.Changed the hash stored in the
packageExtensionsChecksum
field ofpnpm-lock.yaml
to SHA256.Use an SHA256 hash for the side effects cache keys.
Do not hoist to the root of
node_modules
packages that contain the wordeslint
orprettier
in their name. Changed the default value of thepublic-hoist-pattern
setting #8378.Update the compatibility database (
@yarnpkg/extensions
to v2.0.3). This might change your lockfile.Use SHA256 for storing the pnpmfile checksum in the lockfile #8530.
Some registries allow identical content to be published under different package names or versions. To accommodate this, index files in the store are now stored using both the content hash and package identifier.
This approach ensures that we can:
which might not be the case after a poorly resolved Git conflict.
Related PR: #8510
Related issue: #8204
Allow passing CLI flags and options to
pnpm test
without--
#4821.Changed the structure of the index files in the store to store side effects cache information more efficiently. In the new version, side effects do not list all the files of the package but just the differences #8636.
The default value of
virtual-store-dir-max-length
on Windows reduced to 60 characters.Escape the
#
character in directory names within the virtual store (node_modules/.pnpm
) #8557.Store version bumped to v10. The new store layout has a different directory called "index" for storing the package content mappings. Previously these files were stored in the same directory where the package contents are (in "files"). The new store has also a new format for storing the mappings for side-effects cache.
pnpm add --global pnpm
or (pnpm add --global @​pnpm/exe
) fails with an error suggesting to usepnpm self-update
#8728.Minor Changes
Added a new setting called
verify-deps-before-run
for checking the state of dependencies before running scripts #8585. Theverify-deps-before-run
setting supports the following values:install
- Automatically runs install ifnode_modules
are not up to date.warn
- Prints a warning ifnode_modules
is not up to date.prompt
- Prompts the user for permission to run install ifnode_modules
is not up to date.error
- Throws an error ifnode_modules
is not up to date.false
- Disables dependency checks.Patch Changes
node_modules
in commands which should not modify it (e.g.pnpm install --lockfile-only
) #8657.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.