Fast, disk space efficient package manager
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 3 months ago
Added support for catalogs #8122.
Catalogs may be declared in the pnpm-workspace.yaml
file. For example:
# Default catalogs
catalog:
chalk: ^4.1.2
# Named catalogs
catalogs:
react16:
react: ^16.7.0
react-dom: ^16.7.0
react17:
react: ^17.10.0
react-dom: ^17.10.0
Then, in package.json
files, use the catalog:
protocol to reference a "default" or "named" catalog:
{
"dependencies": {
"chalk": "catalog:",
"react": "catalog:react16",
"react-dom": "catalog:react16"
}
}
Shout out to @gluxon for implementing it!
Bundled pnpm setup
now creates the pnpx
script #8230.
.npmrc
in the current directory when running dlx
#7996.@pnpm/tabtab
to v0.5.4, enabling zsh autocomplete lazy loading #8236.dedupe-peer-dependents
is set to true
#6300.dlx
not actually using the Node.js version specified by --use-node-version
.Published by github-actions[bot] 3 months ago
dedupe-peer-dependents
is set to true
#6300.dlx
not actually using node version specified by --use-node-version
.Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
strict-store-pkg-content-check
setting to false
#4724.package-manager-strict-version
missing in config #8195.Published by github-actions[bot] 4 months ago
peers-suffix-max-length
setting #8177.reporter-hide-prefix
to true
by default for pnpm exec
. In order to show prefix, the user now has to explicitly set reporter-hide-prefix=false
#8174.Published by github-actions[bot] 4 months ago
package-manager-strict-version
is set to true
, pnpm will fail if its version doesn't exactly match the version in the "packageManager" field of package.json
.@yarnpkg/pnp
to the latest version, fixing issue with node:
imports #8161.package.json
#8087.exec
now also streams prefixed output when --recursive
or --parallel
is specified just as run
does #8065.Published by github-actions[bot] 5 months ago
optional=false
#8066.Published by github-actions[bot] 5 months ago
link:
now preserve absolute path #8053.file:
overrides for workspace package #8053.resolution-mode
is set to time-based
and the registry fails to return the "time"
field in the package's metadata.Published by github-actions[bot] 5 months ago
virtual-store-dir-max-length
added to modify the maximum allowed length of the directories inside node_modules/.pnpm
. The default length is set to 120 characters. This setting is particularly useful on Windows, where there is a limit to the maximum length of a file path #7355.pnpm outdated
output are wrapped correctly #8037.Cannot read properties of undefined (reading 'missingPeersOfChildren')
exception that happens on install #8041.publish
or pack
when bundledDependencies
is set but node-linker
isn't hoisted
.pnpm update
should not fail when there's an aliased local workspace dependency #7975.Published by github-actions[bot] 6 months ago
script-shell
option is configured to a .bat
/.cmd
file on Windows, pnpm will now error with ERR_PNPM_INVALID_SCRIPT_SHELL_WINDOWS
. Newer versions of Node.js released in April 2024 do not support executing these files directly without behavior differences. If the script-shell
option is necessary for your use-case, please set a .exe
file instead.Published by github-actions[bot] 6 months ago
virtual-store-dir-max-length
added to modify the maximum allowed length of the directories inside node_modules/.pnpm
. The default length is set to 120 characters. This setting is particularly useful on Windows, where there is a limit to the maximum length of a file path #7355.Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] 6 months ago
script-shell
option is configured to a .bat
/.cmd
file on Windows, pnpm will now error with ERR_PNPM_INVALID_SCRIPT_SHELL_WINDOWS
. Newer versions of Node.js released in April 2024 do not support executing these files directly without behavior differences. If the script-shell
option is necessary for your use-case, please set a .exe
file instead.package-manager-strict
setting, when pnpm doesn't match the version specified in the packageManager
field in package.json
.pnpm completion
command should work in the standalone version of pnpm #7948.