CLI Usage
npx cospace@latest <command> [<args>]
Commands
init
npx cospace@latest init <dir>
- Initialize a new CoSpace under the directory specified with all the config files needed. If
<dir>
is not provided, will default to current directory.
override
npx cospace@latest override
- Automatically update the
pnpm.overrides
section of the CoSpace'spackage.json
, to ignore semver and always use the local package version ("workspace:*"
) from the workspace. Useful for when you have pre-release or different major versions of packages in your workspace.
purge
npx cospace@latest purge
- Recursievely delete all
node_modules
from the CoSpace.