Monorepos, are they right for you?
summary
Monorepos claim to simplify multi-package changes by letting a single PR across packages include coordinated edits and releases, demonstrated with the yarn repo holding 40 workspaces. Tooling specifics: yarn workspaces for linking local packages, constraints to enforce exact dependency ranges, and release helpers like changesets or leona to bump versions. Benefits include CI validating the whole codebase, shared infra and contextual reviews; downsides are larger clones, tangled history, boundary leaks and hard access control for private subprojects.
AI-written summary · about
chapters (7)
- 0:00Start
- 3:50Monorepos: Pros
- 20:13Rules of Thumb
- 22:08Use workspaces
- 23:17Enforce consistency
- 24:59Abstract your tools
- 26:28Use a tool to manage your releases
related talks
19mMonorepos: Any Size Fits All
46mExploring the power of monorepos: When and why to use them
50mScaling Monorepos
24mBuilding your ideal codebase: monorepos & multirepos living in harmony
19mKeynote: Why Monorepos
07mStreamlining Development with the Monorepo Ecosystem
19mKeynote: Why Monorepos
31mMonoRepos for the Masses
