Monorepo

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2021 Mar 1 11:13
Editor
Edited
Edited
2025 May 28 22:38
Monorepos
 
 
 
 
Design all tools to process at the change level rather than the entire repository (O(change) not O(repo)), ensuring consistency and scalability across the ecosystem
The Ingredients of a Productive Monorepo
So! Suppose you’re an intrepid engineer in a nascent Developer Productivity team. Your engineering organization has decided that it wants to move towards a monorepo. You’ve heard the stories told of Google, Meta, Uber - each a large technology company with developer productivity organizations consisting of hundreds of engineers - and you want to capture some of their magic in a bottle and give it to your users. You wonder - what work lies ahead of you?
Monorepo - Our experience
Nine months ago, we switched to a monorepo. Here is a retrospective on our experience with the switch so far.
Monorepo - Our experience

Git merge history - filter-repo is best for sub directory

Merging packages and their histories into a Lerna monorepo
Update: You probably just want to use lerna import. But if you'd like a manual technique, or aren't actually using Lerna, read on. Let's say you have a Lerna monorepo called acme. You have a package called app, presently in its own repository, that you want to move into repo.
Merging packages and their histories into a Lerna monorepo
sojin.io
Improve Git monorepo performance with a file system monitor
Monorepo performance can suffer due to the sheer number of files in your working directory. Git’s new builtin file system monitor makes it easy to speed up monorepo performance.
Improve Git monorepo performance with a file system monitor
 
 

Recommendations