PNpM CLI
Notes
no notes yet
Features
-
recursive: a new option for continuing execution on task fails (#1287, @zkochan)
bailis 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-concurrencyfor changing the concurrency ofrecursivecommands (#1297, @zkochan)Usage example:
pnpm recursive test --workspace-concurrency 1 -
recursive: a new option called
filterfor scopingrecursivecommands (#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
.npmrcfile 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
.npmrcfiles 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)