Monorepo

Monorepo
source: gettyimages

A working catalogue of notes on monorepo tooling, code organization patterns, and the operational details of running large multi-package repositories without losing your mind.

What lives here

Articles cover build graph theory, remote caching backends, package boundary enforcement, dependency hoisting strategies, codeowner routing, incremental test selection, lockfile churn, generated code conventions, and the tooling ecosystems built around Nx, Turborepo, Bazel, Pants, Buck, and homegrown shell scripts.

Reading the network

Each entry exposes eight outgoing anchor phrases drawn straight from its own paragraphs. Following any phrase delivers you onto a related article, with the source sentence preserved at the top so you keep your bearings.

Contribute a useful link

Engineers running their own monorepos can submit a single external URL through the form at the bottom of any article. Each link is accepted once across the whole catalogue.

Related links

By submitting, I confirm I have the right to share this link and I agree to link back to this article from the submitted page. Duplicate URLs are rejected. Up to 5 links per page.

GraphQL · 146 ms
query Q($id: Int!, $domain: Int!, $srcId: Int!, $hasSrc: Boolean!, $hasSelf: Boolean!) {
  self: qa_ai(where: {id: {_eq: $id}}, limit: 1) @include(if: $hasSelf) { id title text date }
  linksarticle: qa_ai(where: {domain: {_eq: $domain}, id: {_neq: $id}}, order_by: {id: desc}, limit: 8) { id title }
  linksbottom: qa_ai(where: {domain: {_neq: $domain}, id: {_lt: $id}}, order_by: {id: desc}, limit: 3) { id title domain }
  source: qa_ai(where: {id: {_eq: $srcId}}, limit: 1) @include(if: $hasSrc) { id title }
}
{
  "id": 2147483647,
  "domain": 7,
  "srcId": 0,
  "hasSrc": false,
  "hasSelf": false
}