Features
-
New option added:
test-pattern
#3021.test-pattern
allows detecting whether the modified files are related to tests. If they are, the dependent packages of such modified packages are not included.This option is useful with the "changed since" filter. For instance, the next command will run tests in all changed packages, and if the changes are in the source code of the package, tests will run in the dependent packages as well:
pnpm --filter=...[origin/master] --test-pattern=test/* test
-
An exception is thrown if the workspace manifest is created with the wrong extension:
pnpm-workspace.yml
instead ofpnpm-workspace.yaml
.
Bug Fixes
--no-bail
should work with non-recursive commands #3036