- Node.js 22+ (see
.nvmrc) - pnpm (not npm, yarn, or bun)
git clone https://github.com/safeinsights/canopycms.git
cd canopycms
pnpm install
pnpm typecheck
pnpm testSee DEVELOPING.md for detailed development patterns, testing practices, and architecture. See AGENTS.md for project goals, code organization, and working agreements.
- Create a branch from
main. - Make your changes. Follow existing code style and conventions.
- Run
pnpm typecheckandpnpm testto verify. - Run
pnpm test:e2elocally before submitting. CI runs e2e too (4-way sharded, path-filtered), but a local run catches failures before the PR. - Open a PR. CI must pass (typecheck + unit tests).
This project uses Claude Code with specialized agents in .claude/agents/ for testing, type checking, code review, debugging, and documentation. These are optional but can speed up development.
This is a pnpm workspaces monorepo:
packages/canopycms— core CMS packagepackages/canopycms-next— Next.js adapterpackages/canopycms-auth-clerk— Clerk auth providerpackages/canopycms-auth-dev— dev auth provider (no external service needed)packages/canopycms-cdk— AWS CDK deployment constructsapps/example1— example app demonstrating CanopyCMS in useapps/test-app— E2E test harness