If you work in a monorepo you want to make sure to have tooling that supports that. Nx comes with those baked in, allowing you to grow your monorepo from a single to multiple apps. One way Nx tackles this is by providing so-called affected commands.
Prefer to read along as well? Here's the accompanying article.