PNpM CLI

pnpm/pnpm last check crawl paused · since 2026-09-25 707 releases
Notes
no notes yet
Release notes
view on github
4.4.0 · 1y+

Features

  • A new option called --workspace (#2196, #1918, @zkochan)
    • pnpm [-r] update --workspace [<pkg>...] Tries to link all packages from the workspace. Versions are updated to match the versions of packages inside the workspace. If specific packages are updated, the command will fail if any of the updated dependencies is not found inside the workspace
    • pnpm [-r] add --workspace <pkg>... Only adds the new dependency if it is found in the workspace
  • Add <pkg>^... and ...^<pkg> filters (#2201, @Aankhen)
    • <pkg>^... is like <pkg>... but excludes <pkg> itself.
    • ...^<pkg> is like ...<pkg> but excludes <pkg> itself.

Bug Fixes

  • publish: remove workspace: from devDependencies (#2203, @timsuchanek)