🪙 Weak Monorepos

Adam Crockett 🌀 - Jun 28 '21 - - Dev Community

I'm 🪙 coining the term weak monorepo for a solution to specific problem.

Imagine a consultancy where everyone needs the same generic tooling. Each person might work on different projects and some people might not be security clear to see every project 👀 due to top secret NDA's.

You then have the dilemma of packing every project with the same tooling over and over, keeping them all up to date.
Or having a separate bunch of tooling which points to a project or projects, not ideal.

How do you solve this?

The solution is pretty simple, create a monorepo as normal but then git ignore the packages / projects folder whatever you call it. Then instead if monorepo packages in one repo, keep the project as repositories of thier own cloning as needed into the packages / projects folder.
I believe this is the best of both worlds.

Just make sure your CWD is in the package your working in when using GIT other that that it's business as usual.

Oh but also you can individually branch your packages like a sane system of organisation.

This solution is something I am trailing at work and we will see how everyone likes it.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player