MonoRepo (vs ManyRepos)

Card Puncher Data Processing

MonoRepo (vs ManyRepos)

About

MonoRepo is a single repository where all code resides.

It's also called a multi-package / multi app repositories.

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

monorepo

Operation

Sync to standalone repo

Discussion / Article





Discover More
Card Puncher Data Processing
Code Versionning - Repository

A repository is a file system storage that version each file. repository of library See
Javascript - MonoRepo

in the Javascript context When starting with monorepo, integrate first the leaf projects of the dependency graph (ie project without dependency). To use the library locally without publishing to...



Share this page:
Follow us:
Task Runner