Minor Changes
-
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 thecatalog:
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 thepnpx
script #8230.
Patch Changes
- Read authentication information from
.npmrc
in the current directory when runningdlx
#7996. - Updated
@pnpm/tabtab
to v0.5.4, enabling zsh autocomplete lazy loading #8236. - Installation with filtering will now work, when
dedupe-peer-dependents
is set totrue
#6300. - Fixed
dlx
not actually using the Node.js version specified by--use-node-version
.