This repository was archived by the owner on Oct 23, 2023. It is now read-only.
chore(deps): update pnpm to v8.9.2 #440
Open
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:
8.5.1->8.9.2Release Notes
pnpm/pnpm (pnpm)
v8.9.2Compare Source
Patch Changes
preinstalllifecycle script is present #7206.Our Gold Sponsors
Our Silver Sponsors
v8.9.1Compare Source
Patch Changes
pnpm update --interactive7109shared-workspace-lockfileis set tofalse, read the pnpm settings frompackage.jsonfiles that are nested. This was broken in pnpm v8.9.0 #7184.node_moduleson Windows Dev Drives #7186. This is a fix to a regression that was shipped with v8.9.0.pnpm dlxshould ignore any settings that are in apackage.jsonfile found in the current working directory #7198.Our Gold Sponsors
Our Silver Sponsors
v8.9.0Compare Source
Minor Changes
🚀Performance improvement: Use reflinks instead of hard links by default on macOS and Windows Dev Drives #5001.
The list of packages that are allowed to run installation scripts now may be provided in a separate configuration file. The path to the file should be specified via the
pnpm.onlyBuiltDependenciesFilefield inpackage.json. For instance:{ "dependencies": { "@​my-org/policy": "1.0.0" } "pnpm": { "onlyBuiltDependenciesFile": "node_modules/@​my-org/policy/allow-build.json" } }In the example above, the list is loaded from a dependency. The JSON file with the list should contain an array of package names. For instance:
With the above list, only
esbuildand@reflink/reflinkwill be allowed to run scripts during installation.Related issue: #7137.
Add
disallow-workspace-cyclesoption to error instead of warn about cyclic dependenciesAllow
env rmto remove multiple node versions at once, and introduceenv addfor installing node versions without setting as default #7155.Patch Changes
pnpm whywhen the dependencies tree is too big, the command will now prune the tree to just 10 end leafs and now supports--depthargument #7122.neverBuiltDependenciesandonlyBuiltDependenciesfrom the rootpackage.jsonof the workspace, whenshared-workspace-lockfileis set tofalse#7141.pnpm.overridesreplacingresolutions, the two are now merged. This is intended to make it easier to migrate from Yarn by allowing one to keep usingresolutionsfor Yarn, but adding additional changes just for pnpm usingpnpm.overrides.Our Gold Sponsors
Our Silver Sponsors
v8.8.0Compare Source
Minor Changes
--reporter-hide-prefixoption forruncommand to hide project name as prefix for lifecycle log outputs of running scripts #7061.Patch Changes
--ignore-scriptscommand to install, when runningpnpm dedupe --ignore-scripts#7102.node-linkeris set tohoisted, thepackage.jsonfiles of the existing dependencies insidenode_moduleswill be checked to verify their actual versions. The data in thenode_modules/.modules.yamlandnode_modules/.pnpm/lock.yamlmay not be fully reliable, as an installation may fail after changes to dependencies were made but before those state files were updated #7107.Our Gold Sponsors
Our Silver Sponsors
v8.7.6Compare Source
Patch Changes
prepublishOnlyscripts of git-hosted dependencies #7026.use-node-versionornode-versionisn't passed down tocheckEnginewhen using pnpm workspace, resulting in an error #6981.node_modules#6756.Our Gold Sponsors
Our Silver Sponsors
v8.7.5Compare Source
Patch Changes
node_modules/.pnpm#7069.Our Gold Sponsors
Our Silver Sponsors
v8.7.4Compare Source
Patch Changes
package.jsonfrom the content-addressable store #7051.pnpm deploycommand and "injected dependencies" #6943.Our Gold Sponsors
Our Silver Sponsors
v8.7.3Compare Source
Patch Changes
Our Gold Sponsors
Our Silver Sponsors
v8.7.2Compare Source
v8.7.1Compare Source
Patch Changes
pnpm -r publishcommand #6968.pnpm update --interactiveoutput by grouping dependencies by type. Additionally, a new column has been added with links to the documentation for outdated packages #6978.Our Gold Sponsors
Our Silver Sponsors
v8.7.0Compare Source
Minor Changes
resolution-modesetting is changed tohighest. This setting was changed tolowest-directin v8.0.0 and some users were not happy with the change. A twitter poll concluded that most of the users want the old behaviour (resolution-modeset tohighestby default). This is a semi-breaking change but should not affect users that commit their lockfile #6463.Patch Changes
peerDependencies#615.pnpm import#6233.peerDependenciesinpnpm.overrides#6759.pnpm patchshould write patch files with a trailing newline #6905.Our Gold Sponsors
Our Silver Sponsors
v8.6.12Compare Source
Patch Changes
pnpm patchshould work correctly whenshared-workspace-fileis set tofalse#6885.pnpm env useshould retry deleting the previous Node.js executable #6587.pnpm dlxshould not print an error stack when the underlying script execution fails #6698.pnpm install --frozen-lockfile --lockfile-onlyshould fail if the lockfile is not up to date with thepackage.jsonfiles #6913.Our Gold Sponsors
Our Silver Sponsors