Skip to content

Commit

Permalink
fix(core): fix the parsing of projects and targets
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Dec 27, 2022
1 parent e91179e commit c3f0cef
Show file tree
Hide file tree
Showing 26 changed files with 167 additions and 136 deletions.
8 changes: 3 additions & 5 deletions docs/generated/cli/affected-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,15 @@ Base of the current branch (usually main)

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### head

Expand Down
8 changes: 3 additions & 5 deletions docs/generated/cli/affected-graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ Base of the current branch (usually main)

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

Expand All @@ -83,9 +81,9 @@ Output file (e.g. --file=output.json or --file=dep-graph.html)

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### focus

Expand Down
8 changes: 3 additions & 5 deletions docs/generated/cli/affected-libs.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,15 @@ Base of the current branch (usually main)

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### head

Expand Down
10 changes: 4 additions & 6 deletions docs/generated/cli/affected.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,15 @@ This is the configuration to use when performing tasks on projects

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### head

Expand Down Expand Up @@ -151,7 +149,7 @@ Rerun the tasks even when the results are available in the cache

### targets

Type: `array`
Type: `string`

Tasks to run for affected projects

Expand Down
6 changes: 2 additions & 4 deletions docs/generated/cli/exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ This is the configuration to use when performing tasks on projects

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

Expand Down Expand Up @@ -83,7 +81,7 @@ Rerun the tasks even when the results are available in the cache

### targets

Type: `array`
Type: `string`

Tasks to run for affected projects

Expand Down
12 changes: 5 additions & 7 deletions docs/generated/cli/format-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,15 @@ Base of the current branch (usually main)

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### head

Expand All @@ -63,9 +61,9 @@ Format only libraries and applications files.

### projects

Type: `array`
Type: `string`

Projects to format (comma delimited)
Projects to format (comma/space delimited)

### uncommitted

Expand Down
12 changes: 5 additions & 7 deletions docs/generated/cli/format-write.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,15 @@ Base of the current branch (usually main)

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### head

Expand All @@ -63,9 +61,9 @@ Format only libraries and applications files.

### projects

Type: `array`
Type: `string`

Projects to format (comma delimited)
Projects to format (comma/space delimited)

### uncommitted

Expand Down
2 changes: 1 addition & 1 deletion docs/generated/cli/graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Watch for changes to project graph and update in-browser:

### exclude

Type: `array`
Type: `string`

List of projects delimited by commas to exclude from the project graph.

Expand Down
10 changes: 4 additions & 6 deletions docs/generated/cli/print-affected.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,15 @@ This is the configuration to use when performing tasks on projects

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### head

Expand All @@ -101,7 +99,7 @@ Select the subset of the returned json document (e.g., --select=projects)

### targets

Type: `array`
Type: `string`

Tasks to run for affected projects

Expand Down
8 changes: 3 additions & 5 deletions docs/generated/cli/run-many.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ This is the configuration to use when performing tasks on projects

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

Expand Down Expand Up @@ -105,7 +103,7 @@ Max number of parallel processes [default is 3]

Type: `string`

Projects to run. (comma delimited project names and/or patterns)
Projects to run. (comma/space delimited project names and/or patterns)

### runner

Expand All @@ -123,7 +121,7 @@ Rerun the tasks even when the results are available in the cache

### targets

Type: `array`
Type: `string`

Tasks to run for affected projects

Expand Down
2 changes: 1 addition & 1 deletion docs/generated/cli/watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ When watching selected projects, include dependent projects as well.

Type: `string`

Projects to watch (comma delimited).
Projects to watch (comma/space delimited).

### verbose

Expand Down
8 changes: 3 additions & 5 deletions docs/generated/packages/nx/documents/affected-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,15 @@ Base of the current branch (usually main)

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### head

Expand Down
8 changes: 3 additions & 5 deletions docs/generated/packages/nx/documents/affected-dep-graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ Base of the current branch (usually main)

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

Expand All @@ -83,9 +81,9 @@ Output file (e.g. --file=output.json or --file=dep-graph.html)

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### focus

Expand Down
8 changes: 3 additions & 5 deletions docs/generated/packages/nx/documents/affected-libs.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,15 @@ Base of the current branch (usually main)

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### head

Expand Down
10 changes: 4 additions & 6 deletions docs/generated/packages/nx/documents/affected.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,15 @@ This is the configuration to use when performing tasks on projects

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

### files

Type: `array`
Type: `string`

Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas
Change the way Nx is calculating the affected command by providing directly changed files, list of files delimited by commas or spaces

### head

Expand Down Expand Up @@ -151,7 +149,7 @@ Rerun the tasks even when the results are available in the cache

### targets

Type: `array`
Type: `string`

Tasks to run for affected projects

Expand Down
2 changes: 1 addition & 1 deletion docs/generated/packages/nx/documents/dep-graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Watch for changes to project graph and update in-browser:

### exclude

Type: `array`
Type: `string`

List of projects delimited by commas to exclude from the project graph.

Expand Down
6 changes: 2 additions & 4 deletions docs/generated/packages/nx/documents/exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ This is the configuration to use when performing tasks on projects

### exclude

Type: `array`

Default: `[]`
Type: `string`

Exclude certain projects from being processed

Expand Down Expand Up @@ -83,7 +81,7 @@ Rerun the tasks even when the results are available in the cache

### targets

Type: `array`
Type: `string`

Tasks to run for affected projects

Expand Down
Loading

1 comment on commit c3f0cef

@vercel
Copy link

@vercel vercel bot commented on c3f0cef Dec 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.