Monorepo Coexistence
Many engineering teams operate an existing monorepo (such as Turborepo, Nx, or Cargo) for web applications, but maintain separate repositories for infrastructure (Terraform), mobile applications, or compliance tooling.
Repo Nexus seamlessly orchestrates monorepos alongside external repositories without invasive migrations.
Architecture
umbrella-workspace/
├── rnex.yaml
└── repos/
├── core-monorepo/ (Turborepo / Nx monorepo with 12 packages)
│ ├── turbo.json
│ ├── apps/
│ └── packages/
├── terraform-infra/ (Autonomous infra repo -> infra.git)
└── mobile-app/ (Autonomous Flutter / Swift repo -> mobile.git)Configuration (rnex.yaml)
version: 0.5.13
repos_dir: ./repos
code_workspace: umbrella.code-workspace
repos:
core-monorepo:
url: git@github.com:my-org/core-monorepo.git
branch: main
enabled: true
terraform-infra:
url: git@github.com:my-org/terraform-infra.git
branch: main
enabled: true
mobile-app:
url: git@github.com:my-org/mobile-app.git
branch: main
enabled: true
plugins:
copilot:
instructions: true
prompts: trueManaging Monorepo Commands
Repo Nexus does not replace monorepo build tools; it coordinates around them:
Running Monorepo Builds
You can continue using standard Turborepo or Nx commands directly within the member clone:
cd repos/core-monorepo
pnpm turbo buildRunning Cross-Cutting Git Audits
Audit status across both the monorepo and external satellite repositories simultaneously:
rnex exec git status -sSelective AI Context
The copilot and claude plugins automatically mirror workspace instructions so that AI models understand when code lives inside the Turborepo packages vs the external mobile app.
