Cospace
Setup a `CoSpace` to link multiple (mono)repos together!
Install / Use
/learn @aruniverse/CospaceQuality Score
Category
Development & EngineeringSupported Platforms
README
CoSpace
Setup a CoSpace to link multiple (mono)repos together!
Powered by
Getting started
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 yourCoSpace. By default all packages under therepossub directory will be added to yourCoSpace; you will probably want to be more specific and build/link only what you need. -
Update the
cospace.code-workspacefile with all the repos you want to add to your vscode multi-root workspace. -
Run
pnpm exec cospace overrideto automatically update thepnpm.overridessection of theCoSpace'spackage.json, to link all the dependencies together with the copy found in the workspace. This will ignore semver and always use the local package version from the workspace, very useful for when you have pre-release versions of packages in your workspace. -
Run
pnpm installto install all dependecies in your workspace and link all the packages you've added to yourCoSpace. -
Run
pnpm buildto build all the packages you've added to yourCoSpaceusing your monorepo task runner. By default we use lage, but turborepo should work as well.
For more information visit the <a href="https://aruniverse.github.io/cospace/" target="_blank">docs site</a>.
example usage
- <a href="https://github.com/aruniverse/itwin-cospace" target="_blank">itwin-cospace</a>, an example of a
CoSpaceto help develop with the iTwin Platform.
Notes
Additional Reading
sparse-checkouts
git clone --filter=blob:none --no-checkout {repo}
cd {repo}
git checkout {branchName}
git sparse-checkout init --cone
git sparse-checkout set [...allSubDirs]
Related Skills
node-connect
339.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
