Back to blog
Blog·6 min read

Why we moved a client's codebase to a monorepo (and when we wouldn't)

xcodelab team·

A client had three separate repos — web app, admin dashboard, and a shared API client — that were drifting out of sync with every release.

Moving to a monorepo let us share types and UI components directly, catch breaking changes at build time, and cut their release coordination overhead significantly.

It's not free: build tooling gets more complex, and CI times can grow if you don't set up caching and affected-project detection properly.

We only recommend a monorepo migration when teams are already sharing code through copy-paste or a fragile private package. If projects are genuinely independent, separate repos are simpler and that's fine.

#architecture#tooling