
Everything I need to know about monorepos I learned in kindergarten: A story about sharing and boundaries
Every kindergarten class has two kids.
One hoards the blocks and won't let anyone near them.
The other gives away all his toys and goes home with nothing.
Monorepos have both, and neither of them is having a good time.
Sharing code is why we build monorepos in the first place, but shared code without boundaries turns into a shared folder that owns everything and can't be changed by anyone.
In this talk we'll walk through an Nx workspace structure that makes boundaries obvious before you enforce them, then set up those boundaries properly with tags and dependency constraints.
From there, we'll look at the sharing decisions that actually come up day to day, and at what separates code that's genuinely shared from code that just ended up in the same folder.

