Skip to content

Commit

Permalink
fix(core): nx build --graph file.json should work in subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
AgentEnder committed Oct 26, 2023
1 parent fe16229 commit b9c0f5e
Show file tree
Hide file tree
Showing 36 changed files with 111 additions and 194 deletions.
6 changes: 3 additions & 3 deletions docs/generated/cli/affected-graph.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Base of the current branch (usually main)

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

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

### files

Type: `string`
Type: `array`

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

Expand Down Expand Up @@ -127,7 +127,7 @@ Bind the project graph server to a specific port.

### targets

Type: `string`
Type: `array`

The target to show tasks for in the task graph

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

### files

Type: `string`
Type: `array`

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

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

### targets

Type: `string`
Type: `array`

Tasks to run for affected projects

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

### files

Type: `string`
Type: `array`

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

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

### projects

Type: `string`
Type: `array`

Projects to format (comma/space delimited)

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

### files

Type: `string`
Type: `array`

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

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

### projects

Type: `string`
Type: `array`

Projects to format (comma/space delimited)

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

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

### files

Type: `string`
Type: `array`

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

Expand Down Expand Up @@ -143,7 +143,7 @@ Bind the project graph server to a specific port.

### targets

Type: `string`
Type: `array`

The target to show tasks for in the task graph

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

### files

Type: `string`
Type: `array`

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

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

### targets

Type: `string`
Type: `array`

Tasks to run for affected projects

Expand Down
8 changes: 4 additions & 4 deletions docs/generated/cli/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Preview the changes without updating files/creating releases

### groups

Type: `string`
Type: `array`

One or more release groups to target with the current command.

Expand All @@ -39,7 +39,7 @@ Show help

### projects

Type: `string`
Type: `array`

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

Expand Down Expand Up @@ -171,7 +171,7 @@ Default: `true`

##### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

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

##### projects

Type: `string`
Type: `array`

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

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

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

### projects

Type: `string`
Type: `array`

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

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

### targets

Type: `string`
Type: `array`

Tasks to run for affected projects

Expand Down
8 changes: 4 additions & 4 deletions docs/generated/cli/show.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ Base of the current branch (usually main)

##### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

##### files

Type: `string`
Type: `array`

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

Expand All @@ -135,7 +135,7 @@ Show help

##### projects

Type: `string`
Type: `array`

Show only projects that match a given pattern.

Expand Down Expand Up @@ -167,7 +167,7 @@ Show version number

##### withTarget

Type: `string`
Type: `array`

Show only projects that have a specific target

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 @@ -57,7 +57,7 @@ When watching selected projects, include dependent projects as well.

### projects

Type: `string`
Type: `array`

Projects to watch (comma/space delimited).

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

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

### files

Type: `string`
Type: `array`

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

Expand Down Expand Up @@ -127,7 +127,7 @@ Bind the project graph server to a specific port.

### targets

Type: `string`
Type: `array`

The target to show tasks for in the task graph

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

### files

Type: `string`
Type: `array`

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

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

### targets

Type: `string`
Type: `array`

Tasks to run for affected projects

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

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

### files

Type: `string`
Type: `array`

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

Expand Down Expand Up @@ -143,7 +143,7 @@ Bind the project graph server to a specific port.

### targets

Type: `string`
Type: `array`

The target to show tasks for in the task graph

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

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

Expand Down
6 changes: 3 additions & 3 deletions docs/generated/packages/nx/documents/format-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ Base of the current branch (usually main)

### exclude

Type: `string`
Type: `array`

Exclude certain projects from being processed

### files

Type: `string`
Type: `array`

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

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

### projects

Type: `string`
Type: `array`

Projects to format (comma/space delimited)

Expand Down

0 comments on commit b9c0f5e

Please sign in to comment.