Introduction
Seriously? You want another monorepo tool?!
So you've broken your monolithic codebase into a monorepo separating concerns into separate packages. You're able to take advantage of shared code, tooling and reuse it across your monorepo. But you had to break your monorepo up further due to different teams wanting to use different tools, move at a faster pace and you just don't have the bandwidth to build out tooling and infrastructure to easily support them all. Now you're constantly working across multiple (mono)repos and there are multiple packages shared across them. It's a pain to manually run the equivalent of npm link
for each and every package. Wouldn't it be convenient if you could have a massive monorepo linking them all together? Here's where CoSpace
comes in.
How does it work?
CoSpace
is a CLI wrapper around pnpm workspaces and a monorepo task runner (lage) that allows you to link packages from multiple (mono)repos together and run commands across them.
Example Use Case
Use CoSpace
to link your SDK from the Platform team to your app from the Product team.