-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update dependency pnpm to v7.33.0 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/pnpm-7.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5221fed to
668b6e0
Compare
c2daed6 to
19f61b3
Compare
1eacfd8 to
1ed0b32
Compare
1ed0b32 to
d352551
Compare
d352551 to
96e7309
Compare
96e7309 to
474f1b8
Compare
474f1b8 to
f42f8a2
Compare
f42f8a2 to
75583d1
Compare
75583d1 to
2ac4841
Compare
742a2b4 to
feb1085
Compare
43a4c50 to
f6c3b25
Compare
f6c3b25 to
b21a471
Compare
1938989 to
f8fd4d4
Compare
61e8832 to
a1129cc
Compare
a1129cc to
6b5e764
Compare
6b5e764 to
489d78b
Compare
489d78b to
fb6c336
Compare
fb6c336 to
ff50991
Compare
ff50991 to
c132a5a
Compare
c132a5a to
dae27db
Compare
dae27db to
75e6adc
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
7.17.1->7.33.0Release Notes
pnpm/pnpm
v7.33.0Compare Source
Minor Changes
Some settings influence the structure of the lockfile, so we cannot reuse the lockfile if those settings change. As a result, we need to store such settings in the lockfile. This way we will know with which settings the lockfile has been created.
A new field will now be present in the lockfile:
settings. It will store the values of two settings:autoInstallPeersandexcludeLinksFromLockfile. If someone tries to perform afrozen-lockfileinstallation and their active settings don't match the ones in the lockfile, then an error message will be thrown.The lockfile format version is bumped from v6.0 to v6.1.
Related PR: #6557
Related issue: #6312
Patch Changes
npm:[email protected]becomesnpm:[email protected].workspace:protocol is not found in the workspace #4477.updateConfig.ignoreDependencies#6548Our Gold Sponsors
Our Silver Sponsors
v7.32.5Compare Source
Patch Changes
pnpm rebuildshould not fail whennode-linkeris set tohoistedand there are skipped optional dependencies #6553.Our Gold Sponsors
Our Silver Sponsors
v7.32.4Compare Source
Patch Changes
pnpm link -g <pkg-name>should not modify thepackage.jsonfile #4341.enginesfield should match prerelease versions #6509.pnpm publish --otpshould work #6514.Our Gold Sponsors
Our Silver Sponsors
v7.32.3Compare Source
Patch Changes
node-linkeris set tohoisted6486.Our Gold Sponsors
Our Silver Sponsors
v7.32.2Compare Source
Patch Changes
Our Gold Sponsors
Our Silver Sponsors
v7.32.1Compare Source
Patch Changes
publishConfig.directoryof an injected workspace dependency does not exist #6396.Our Gold Sponsors
Our Silver Sponsors
v7.32.0Compare Source
Minor Changes
.npmrc. This is a convention used by Yarn too.Using
${NAME-fallback}will returnfallbackifNAMEisn't set.${NAME:-fallback}will returnfallbackifNAMEisn't set, or is an empty string #6018.Patch Changes
pnpm config get <key>returns empty when the value is a booleanlink:protocol inpackage.json.Our Gold Sponsors
Our Silver Sponsors
v7.31.0Compare Source
Minor Changes
ignore-workspace-cyclesto silence workspace cycle warning #6308.Patch Changes
@yarnpkg/shellto fix issues in the shell emulator #6320.@char #6332.Our Gold Sponsors
Our Silver Sponsors
v7.30.5Compare Source
Patch Changes
pnpm auditshould work even if there are nopackage.jsonfile, just apnpm-lock.yamlfile.dedupe-peer-dependentsistrue#6154.Our Gold Sponsors
Our Silver Sponsors
v7.30.4Compare Source
v7.30.3Compare Source
Patch Changes
Our Gold Sponsors
Our Silver Sponsors
v7.30.2Compare Source
v7.30.1Compare Source
Patch Changes
pnpm-lock.yamlfile if it has no changes andpnpm install --frozen-lockfilewas executed #6158.git+sshthat use semver selectors #6239.pnpm auditoutput #6203Our Gold Sponsors
Our Silver Sponsors
v7.30.0Compare Source
Minor Changes
patches-dirsetting #6215Patch Changes
Our Gold Sponsors
Our Silver Sponsors
v7.29.3Compare Source
Patch Changes
node_modules/.pnpm/node_modulesdirectory through theNODE_PATHenv variable, then the command's ownnode_modulesdirectory #5176.extend-node-pathis set back totrueby default. It was set tofalsein v7.29.2 in order to fix issues with multiple versions of Jest in one workspace. It has caused other issues, so now we keep extendingNODE_PATH. We have fixed the Jest issue with a different solution #6213.Our Gold Sponsors
Our Silver Sponsors
v7.29.2Compare Source
v7.29.1Compare Source
Patch Changes
Our Gold Sponsors
Our Silver Sponsors
v7.29.0Compare Source
Minor Changes
A new setting is now supported:
dedupe-peer-dependents.When this setting is set to
true, packages with peer dependencies will be deduplicated after peers resolution.For instance, let's say we have a workspace with two projects and both of them have
webpackin their dependencies.webpackhasesbuildin its optional peer dependencies, and one of the projects hasesbuildin its dependencies. In this case, pnpm will link two instances ofwebpackto thenode_modules/.pnpmdirectory: one withesbuildand another one without it:This makes sense because
webpackis used in two projects, and one of the projects doesn't haveesbuild, so the two projects cannot share the same instance ofwebpack. However, this is not what most developers expect, especially since in a hoistednode_modules, there would only be one instance ofwebpack. Therefore, you may now use thededupe-peer-dependentssetting to deduplicatewebpackwhen it has no conflicting peer dependencies (explanation at the end). In this case, if we setdedupe-peer-dependentstotrue, both projects will use the samewebpackinstance, which is the one that hasesbuildresolved:What are conflicting peer dependencies? By conflicting peer dependencies we mean a scenario like the following one:
In this case, we cannot dedupe
webpackaswebpackhasreactin its peer dependencies andreactis resolved from two different versions in the context of the two projects.Patch Changes
The configuration added by
pnpm setupshould check if the pnpm home directory is already in the PATH before adding to the PATH.Before this change, this code was added to the shell:
Now this will be added:
Add
skippedstatus in exec report summary when script is missing #6139.pnpm env -gshould fail with a meaningful error message if pnpm cannot find the pnpm home directory, which is the directory into which Node.js is installed.Should not throw an error when local dependency use file protocol #6115.
Fix the incorrect error block when subproject has been patched #6183
Our Gold Sponsors
Our Silver Sponsors
v7.28.0Compare Source
Minor Changes
--report-summaryforpnpm execandpnpm run#6008.pnpm why --jsonor--long#6103.pnpm.peerDependencyRules.allowedVersionspackage.jsonoption to support theparent>childselector syntax. This syntax allows for extending specificpeerDependencies#6108.Patch Changes
peerDependenciesMetaand notpeerDependencies,dependencies, oroptionalDependencies, the dependency's peers were not considered deterministically before.patch-commitshould auto apply patches in workspaces #6048pnpm config setshould write to the global config file by default #5877.Our Gold Sponsors