Hacker News new | ask | show | jobs
by gardenhedge 1230 days ago
I've never experienced a monorepo like Googles. How does it work? Are Chrome and Gmail in the same repo? I assume they're built separately and pushing code to one doesn't affect the other.
1 comments

No, Chrome and Gmail are in different monorepos.

>How does it work?

Different projects are in different folders instead of different repos.

>I assume they're built separately and pushing code to one doesn't affect the other.

Yes, building or testing something only builds its dependencies.

For GP, note Chrome is a special case because it's an open source-first project so it is not in the same repo as Gmail.

However products are in the same repo such a gmail, youtube, search (frontend, mobile, server, infra, etc), photos, maps, play, translate and literally thousands of other internal and external products and projects.