nx

CLI utility for managing `nx` workspaces.

TLDR

Build a specific project

$ nx build [project]
copy


Test a specific project
$ nx test [project]
copy


Execute a target on a specific project
$ nx run [project]:[target]
copy


Execute a target on multiple projects
$ nx run-many --target [target] --projects [project1],[project2]
copy


Execute a target on all projects in the workspace
$ nx run-many --target [target] --all
copy


Execute a target only on projects that have been changed
$ nx affected --target [target]
copy

Copied to clipboard