npm pnpm 9.5.0
pnpm 9.5

latest releases: 9.13.0, 10.0.0-alpha.0, 9.12.3...
4 months ago

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 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.

Patch Changes

  • Read authentication information from .npmrc in the current directory when running dlx #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 to true #6300.
  • Fixed dlx not actually using the Node.js version specified by --use-node-version.

Platinum Sponsors

Gold Sponsors

Our Silver Sponsors

Don't miss a new pnpm release

NewReleases is sending notifications on new releases.