PNpM CLI

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

Features

  • recursive: a new option for continuing execution on task fails (#1287, @zkochan) bail is true by default. bail means that a recursive command is terminated on the first fail.

    Usage example:

    pnpm recursive test --no-bail
    
  • recursive: a new option called workspace-concurrency for changing the concurrency of recursive commands (#1297, @zkochan)

    Usage example:

    pnpm recursive test --workspace-concurrency 1
    
  • recursive: a new option called filter for scoping recursive commands (#1272, @zkochan)

    Usage example:

    # run tests in foo and in all dependencies and sub-dependencies of foo
    pnpm recursive test --filter foo...
    # run tests only in foo
    pnpm recursive test --filter foo
    
  • workspace: always read configs from root of workspace (#1310, @zkochan) A .npmrc file in the root of a workspace can contain configs shared by all workspace packages.

    The workspace-level configs have a bigger priority than global level configs and less priority than local-level configs.

    <global>/npmrc < <workspace>/.npmrc < <package>/.npmrc
    

Bug Fixes

  • link: use the local .npmrc files of linked packages during their installation (#1289, @zkochan)
  • store: store should be locked by default during any operations involving the store (0b3c35a7cae0a0543599f47191ff7cf1908523fb, @zkochan)
  • reporting: pring store logs (3aabdbc266ca35f3e82ee2ec3607d433d495ec0b, @zkochan)