/awesome-monorepo

A curated list of awesome Monorepo tools, software and architectures.

Awesome Monorepo Awesome

A curated list of awesome Monorepo tools, software and architectures. Monorepos, short for mono-repositories, are repositories that contain multiple projects, usually related to each other.

Inspired by https://github.com/vinta/awesome-python.

Contents

Build systems & dependency management tools

  • Bazel is Google's monorepo-oriented build system. More on Bazel: awesome-bazel
  • Buck is Facebook's monorepo-oriented build system.
  • Pants is a monorepo-oriented build system, used by Twitter, Foursquare and multiple other companies.
  • Yarn is a JavaScript dependency management tool that supports monorepos through workspaces.
  • Lerna is a tool for managing JavaScript projects with multiple packages, built on Yarn.
  • OAO is a Yarn-based, opinionated JavaScript monorepo management tool.
  • MBT is a build tool with differential build support.
  • Symplify\Monorepo is a PHP monorepo management tool.

Repository management tools

  • oao
  • FBShipIt
  • Syncpack allows managing multiple package.json files in Lerna Monorepos.
  • wsrun allows running a command in each package of a Yarn workspaces monorepo.

Good reads

Version control systems & add-ons

Git

Tools

  • Git shallow clones let you clone only part of your Git history.
  • Git filter-branch let you rewrite a repository's history and prune branches.
  • Git clone --single-branch
  • Git sparse-checkout
  • Git LFS improves the handling of large files in Git.
  • GVFS virtualizes the file system beneath your git repo so that git and all tools see what appears to be a normal repo, but GVFS only downloads objects as they are needed. Windows only.
  • SlothFS is similar to GVFS, but read-only. It works on Linux and OSX.
  • git subtree merges and splits subtrees from your project into subprojects and back.
    • git subsplit automates and simplifies the process of managing one-way read-only subtree splits.

Scaling info

Mercurial

Tools

Scaling info

Development process tools

Code reviews

  • Pull Review Hubot plugin to automate pull reviews with lots of configuration options.
  • Rietveld is a code review tool by Google used by Chromium.

CI tools

Code ownership

Notable public monorepos

Migration tools

License

CC0

To the extent possible under law, Uriel Corfa has waived all copyright and related or neighboring rights to this work.