1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 17:22:10 +02:00
tldr/pages/common/nx.md
Lena 7ca1069d76
pages/*: reword descriptions without using "a CLI for" etc. (#10437)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-07-16 19:23:40 +02:00

582 B

nx

Manage 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}}