ld.← ALL FIELD NOTESSELECTED WORK ↗
FIELD NOTES / 25DEVELOPER TOOLING   ·   ENGINEERING PRACTICE

What a monorepo made easier—and harder.

One repository made it easier to share code and add services. Getting the build system right took more work than I expected.

Shared structure, shared responsibility

I first explored a monorepo while building Scope Seeker in college. At my current workplace, we chose pnpm and Turbo to keep services and shared packages together.

pnpm catalogs help keep common dependency versions aligned. The trade-off is that a breaking change in a shared package can affect many consumers at once; I learned that during a real incident.

The cache only knows what you describe

Turbo can avoid repeating work, but task dependencies and inputs need to be described correctly. An incomplete configuration risks stale results; an overly broad one can cause unnecessary rebuilds.

The payoff became clear when adding services: the structure and build pipeline were already familiar. I would choose the setup again—and spend more time on the task graph earlier.

Continue the conversation

KEEP READING / 24Make invalid state transitions impossible.

Another note from the notebook.