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 ofrecursive
commands (#1297, @zkochan)Usage example:
pnpm recursive test --workspace-concurrency 1
-
recursive: a new option called
filter
for scopingrecursive
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