MonoRepo (vs ManyRepos)

About

MonoRepo is a single repository where all code resides.

Pro and cons

Pros

  • Single lint, build, test and release process.
  • Easy to coordinate changes across modules.
  • Single place to report issues.
  • Easier to setup a development environment.
  • Tests across modules are run together which finds bugs that touch multiple modules easier.

Cons

  • Codebase looks more intimidating.
  • Repo is bigger in size.

Example

Google

The vast majority of Google's software assets continues to be stored in a single, shared repository. See Why Google Stores Billions of Lines of Code in a Single Repository - The Google proprietary system that was built to store, version, and vend this codebase is code-named Piper. Google practices trunk-based development on top of the Piper source repository. The vast majority of Piper users work at the head

Symphony Blackfire

Javascript

Discussion / Article


Powered by ComboStrap