This repository was archived by the owner on Jan 12, 2024. It is now read-only.
chore(deps): update pnpm to v8 #41
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:
7.22.0->8.14.1Release Notes
pnpm/pnpm (pnpm)
v8.14.1Compare Source
Patch Changes
pnpm publish#7316.hoisted-workspace-packagesistruedon't hoist the root package even if it has a name. Otherwise we would create a circular symlink.Our Gold Sponsors
Our Silver Sponsors
v8.14.0Compare Source
Minor Changes
hoist-workspace-packagesis set totrue, packages from the workspace are symlinked to either<workspace_root>/node_modules/.pnpm/node_modulesor to<workspace_root>/node_modulesdepending on other hoisting settings (hoist-patternandpublic-hoist-pattern) #7451.pnpm dedupecommand now accepts more command line options that thepnpm installcommand also accepts. Example:pnpm dedupe --store-dir=local-store-dirPatch Changes
pnpm deployshould not touch the target directory if it already exists and isn't empty #7351.pnpm add a-module-already-in-dev-depswill show a message to notice the user that the package was not moved to "dependencies" #926 and fix #7319.Our Gold Sponsors
Our Silver Sponsors
v8.13.1Minor Changes
New commands added for inspecting the store:
pnpm cat-index: Prints the index file of a specific package in the store. The package is specified by its name and version:
pnpm cat-file: Prints the contents of a file based on the hash value stored in the index file. For example:
(EXPERIMENTAL) pnpm find-hash: Lists the packages that include the file with the specified hash. For example:
This command is experimental. We might change how it behaves.
Related issue: #7413.
A new setting added for symlinking injected dependencies from the workspace, if their dependencies use the same peer dependencies as the dependent package. The setting is called
dedupe-injected-deps#7416.Use
--fail-if-no-matchif you want the CLI fail if no packages were matched by the command #7403.Patch Changes
pnpm list --parseableshould not print the same dependency multiple times #7429.pnpm envcommands #7456.pnpm update --interactivecommand #7439.update -i -rwith Git specifiers #7415.Our Gold Sponsors
Our Silver Sponsors
v8.12.1Compare Source
Patch Changes
--fix-lockfilecrashes on tarballs #7368.node_modulesdirectory cannot be removed #7405.Our Gold Sponsors
Our Silver Sponsors
v8.12.0Compare Source
Minor Changes
Patch Changes
dedupe-direct-depsis set totrue, commands of dependencies should be deduplicated #7359.Our Gold Sponsors
Our Silver Sponsors
v8.11.0Compare Source
Minor Changes
(IMPORTANT) When the package tarballs aren't hosted on the same domain on which the registry (the server with the package metadata) is, the dependency keys in the lockfile should only contain
/<pkg_name>@​<pkg_version, not<domain>/<pkg_name>@​<pkg_version>.This change is a fix to avoid the same package from being added to
node_modules/.pnpmmultiple times. The change to the lockfile is backward compatible, so previous versions of pnpm will work with the fixed lockfile.We recommend that all team members update pnpm in order to avoid repeated changes in the lockfile.
Related PR: #7318.
Patch Changes
pnpm add a-module-already-in-dev-depswill show a message to notice the user that the package was not moved to "dependencies" #926.Our Gold Sponsors
Our Silver Sponsors
v8.10.5Compare Source
Patch Changes
pnpm-workspace.yamlfile #7307.Our Gold Sponsors
Our Silver Sponsors
v8.10.4Compare Source
Patch Changes
node-linkerwas set tohoisted#6227.Our Gold Sponsors
Our Silver Sponsors
v8.10.3Compare Source
Patch Changes
(Important) Increased the default amount of allowed concurrent network request on systems that have more than 16 CPUs #7285.
pnpm patchshould reuse existing patch whenshared-workspace-file=false#7252.Don't retry fetching missing packages, since the retries will never work #7276.
When using
pnpm store prune --forcealien directories are removed from the store #7272.Downgraded
npm-packlistbecause the newer version significantly slows down the installation of local directory dependencies, making it unbearably slow.npm-packlistwas upgraded in this PR to fix #6997. We added our own file deduplication to fix the issue of duplicate file entries.Fixed a performance regression on running installation on a project with an up to date lockfile #7297.
Throw an error on invalid
pnpm-workspace.yamlfile #7273.Our Gold Sponsors
Our Silver Sponsors