Skip to content

Latest commit

 

History

History
50 lines (35 loc) · 701 Bytes

File metadata and controls

50 lines (35 loc) · 701 Bytes

Development

Prereqs

  • Node ≥ 20
  • pnpm ≥ 9

Setup

pnpm install
pnpm build

Link the CLI for local use:

cd apps/cli && pnpm link --global
colony --help

When the linked colony binary runs from a source checkout, it rebuilds stale CLI dist automatically before loading dist/index.js. Set COLONY_SKIP_AUTO_BUILD=1 to use the current dist without this freshness check.

Run against a scratch data dir

export COLONY_HOME=$PWD/.colony-dev
pnpm dev

Gates

pnpm typecheck
pnpm lint
pnpm test
pnpm build

All four must pass before merging.

Adding a changeset

pnpm changeset

Commit the generated file with your PR.