mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 23:15:24 +02:00
nx: add page (#7224)
This commit is contained in:
parent
81a0b019c9
commit
9f8edc9891
1 changed files with 28 additions and 0 deletions
28
pages/common/nx.md
Normal file
28
pages/common/nx.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# nx
|
||||
|
||||
> CLI utility for managing `nx` workspaces.
|
||||
> More information: <https://nx.dev/l/r/getting-started/nx-cli>.
|
||||
|
||||
- Build a specific project:
|
||||
|
||||
`nx build {{project}}`
|
||||
|
||||
- Test a specific project:
|
||||
|
||||
`nx test {{project}}`
|
||||
|
||||
- Execute a target on a specific project:
|
||||
|
||||
`nx run {{project}}:{{target}}`
|
||||
|
||||
- Execute a target on multiple projects:
|
||||
|
||||
`nx run-many --target {{target}} --projects {{project1}},{{project2}}`
|
||||
|
||||
- Execute a target on all projects in the workspace:
|
||||
|
||||
`nx run-many --target {{target}} --all`
|
||||
|
||||
- Execute a target only on projects that have been changed:
|
||||
|
||||
`nx affected --target {{target}}`
|
Loading…
Add table
Reference in a new issue