Getting Started
Prerequisites
Create a new CoSpace
Initialize
npx cospace@latest init my-cospace
Link your (mono)repos
cd my-cospace
Clone all the repos you want to link together under the
repossub directory.Update the
pnpm-workspace.yamlfile with all the packages you want to add to your CoSpace. By default all packages under thereposdirectory will be added to your CoSpace, but you probably want to add them at a more granular level.Update the
cospace.code-workspacefile with all the repos you want to add to your vscode multi-root workspace.Run
pnpm exec cospace overrideto link all the packages in your CoSpace together.Run
pnpm installto install all the packages you've added to your CoSpace.Run
pnpm buildto build all the packages you've added to your CoSpace using your monorepo task runner. By default we use lage, but turborepo should theoretically work.