Smart Monorepo and Fast CI with Nx
summary
Migrating a growing TypeScript monorepo from Lerna/npm workspaces to Nx is shown, using nx init to convert in one command and nx graph (which infers dependencies from TS path imports) to build a dependency graph. The workflow uses selective orchestration plus local and NX Cloud caching (with distributed agents) so only affected libraries are built; a demo generates a new library, adds Vite test config via Nx plugins, and uses nx affected to reduce pre-commit test times to ~5–10s and speed CI cache reuse across machines.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 3:09Classic monorepo problems
- 7:07Nx monorepo demo
- 13:27Nx plugins and use
- 18:21Nx performance tips
- 22:38Nx Cloud benefits
- 24:23Summary and recommendations
- 24:44Q&A
related talks
21mFast React Monorepos with High Quality DX
28mConsolidate, Enhance, Scale: End-to-End Angular Monorepo Management with Nx
20mSpeed up your CI & Save the Environment
17mRevolutionize Your React dev flow with Nx
09mUsing Nx: Angular CLI Power-ups for Modern Development
33mThe age of monorepos
20mWhat and Why nx 20 reasons in 20 minutes
26mNx for Angular Developers
