Courses / Monorepo Tooling
10. Nx monorepo dependency graph & affected tasks
Nx's dependency graph, affected builds, and task orchestration for monorepos.
JavaScript
Nx monorepo dependency graph & affected tasks
Nx computes which projects changed and runs only the build/test/lint tasks that depend on those changes.
"I don't want to rebuild and test every project after every small change."
Nx builds a directed dependency graph of projects in a monorepo, determines which projects are affected by a change set, and orchestrates running tasks only for those affected projects in the correct order and in parallel when safe.
"I don't want to rebuild and test every project after every small change."
Nx builds a directed dependency graph of projects in a monorepo, determines which projects are affected by a change set, and orchestrates running tasks only for those affected projects in the correct order and in parallel when safe.