Skip to content

pnpm 9.5

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jul 16:45
· 346 commits to main since this release
v9.5.0
07a7ac4

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