diff --git a/docs/generated/cli/run-many.md b/docs/generated/cli/run-many.md index 21366e40cf290..109c5bcc19c90 100644 --- a/docs/generated/cli/run-many.md +++ b/docs/generated/cli/run-many.md @@ -53,6 +53,18 @@ Test all projects with tags starting with `api-`. Note: your shell may require y nx run-many -t test --projects=tag:api-* ``` +Test all projects with a `type:ui` tag: + +```shell + nx run-many -t test --projects=tag:type:ui +``` + +Test all projects with a `type:feature` or `type:ui` tag: + +```shell + nx run-many -t test --projects=tag:type:feature,tag:type:ui +``` + Run lint, test, and build targets for all projects. Requires Nx v15.4+: ```shell diff --git a/docs/generated/packages/nx/documents/run-many.md b/docs/generated/packages/nx/documents/run-many.md index 21366e40cf290..109c5bcc19c90 100644 --- a/docs/generated/packages/nx/documents/run-many.md +++ b/docs/generated/packages/nx/documents/run-many.md @@ -53,6 +53,18 @@ Test all projects with tags starting with `api-`. Note: your shell may require y nx run-many -t test --projects=tag:api-* ``` +Test all projects with a `type:ui` tag: + +```shell + nx run-many -t test --projects=tag:type:ui +``` + +Test all projects with a `type:feature` or `type:ui` tag: + +```shell + nx run-many -t test --projects=tag:type:feature,tag:type:ui +``` + Run lint, test, and build targets for all projects. Requires Nx v15.4+: ```shell diff --git a/packages/nx/src/command-line/examples.ts b/packages/nx/src/command-line/examples.ts index 5ea36b894c299..7808d51f54f9d 100644 --- a/packages/nx/src/command-line/examples.ts +++ b/packages/nx/src/command-line/examples.ts @@ -284,6 +284,14 @@ export const examples: Record = { description: 'Test all projects with tags starting with `api-`. Note: your shell may require you to escape the `*` like this: `\\*`', }, + { + command: 'run-many -t test --projects=tag:type:ui', + description: 'Test all projects with a `type:ui` tag', + }, + { + command: 'run-many -t test --projects=tag:type:feature,tag:type:ui', + description: 'Test all projects with a `type:feature` or `type:ui` tag', + }, { command: 'run-many --targets=lint,test,build --all', description: