Monorepos & Spaceships - Navigating successfully through Code and Cosmos
summary
Argues monorepos cut duplication by enabling atomic changes across apps, enforces a single version policy so all projects share React and TypeScript versions, and uses a project graph plus a distributed computation cache to run only affected tests and restore builds from cache instead of rebuilding. Describes a task graph that schedules dependent tasks, and a one-line configuration to distribute work across agents so CI time scales with change size rather than repo size.
AI-written summary · about
chapters (12)
- 0:00Introduction and analogy
- 1:23Poly repos explained
- 4:03Poly repos limitations
- 7:08Monorepos introduction
- 8:14Monorepo benefits
- 11:49Monorepo collaboration needs
- 13:55Monorepo tooling challenges
- 14:37Faster testing with tooling
- 16:41Computation caching
- 18:30Task graph and parallel builds
- 20:38Distributed computation
- 22:05Conclusion and resources
related talks
46mExploring the power of monorepos: When and why to use them
41mHandling Monorepos Today
24mBuilding your ideal codebase: monorepos & multirepos living in harmony
50mScaling Monorepos
19mKeynote: Why Monorepos
30mPoly Monorepos, the Best of the Two Worlds
29mUnderstanding Monorepos: What you need to know
31mThe monorepo: self-organising codebases and automatic scaling
