Practice Nx monorepo vocabulary: project graph, affected builds, executors, generators, computation cache, nx-cloud remote cache, and library generation.
0 / 5 completed
1 / 5
What is the 'project graph' in Nx?
The Nx project graph maps all projects in the monorepo and their dependency relationships. It powers affected commands — Nx only runs tasks for projects touched by a change.
2 / 5
'affected:build runs only ___ projects.' Which word completes this?
'nx affected:build' runs the build task only for projects that are affected by the current code changes — determined by comparing against the base branch using the project graph.
3 / 5
In Nx, what is an 'executor'?
An Nx executor is a function that implements a specific task type. It's the Nx equivalent of a Webpack plugin or a Gradle task — it defines how to build, test, or serve a project.
4 / 5
'We ___ a new library with nx generate.' Which verb is used here?
'nx generate' (or 'nx g') runs an Nx generator to create new libraries, applications, or components with all boilerplate, configuration, and project graph entries set up automatically.
5 / 5
'The nx-cloud remote cache ___ 40 minutes per CI run.' Which verb fits?
'Saves' is the natural verb here. Nx Cloud's remote cache shares computation results across CI runs and developers, so unchanged code paths don't need to be rebuilt.