Integration harness and examples for @chester-hill-solutions/cms-* packages.
Runtime CMS libraries live in the chester-hill-solutions monorepo and install from GitHub Packages. This repo validates those packages end-to-end with runnable examples.
Classic PAT with read:packages + repo (SSO authorized for the org):
export NODE_AUTH_TOKEN=ghp_xxxxxxxxRoot .npmrc is committed; it references ${NODE_AUTH_TOKEN}.
npm install| Example | Command |
|---|---|
| minimal-site — full D1 + R2 + admin | npm run example:dev |
| gh-pages — browser-only editor demo | npm run example:pages:dev |
npm exec cms-setup init
wrangler d1 create my-campaign-cms
wrangler r2 bucket create my-campaign-media
npm exec cms-setup wrangler # merge snippet into wrangler.jsonc
wrangler d1 migrations apply my-campaign-cms --local| Package | Repository |
|---|---|
@chester-hill-solutions/cms-core |
packages/cms-core |
@chester-hill-solutions/cms-server |
packages/cms-server |
@chester-hill-solutions/cms-react |
packages/cms-react |
@chester-hill-solutions/cms-agent |
packages/cms-agent |
@chester-hill-solutions/cms-setup |
packages/cms-setup |
Consumer setup: USING-PACKAGES.md
Normalization work on this repo uses feature branches (e.g. chs/w1-campaign-cms-harness); merge via PR to main only.
Older guides under docs/ may still reference @campaign/cms-* or local packages/ — update as you touch them, or follow the monorepo READMEs as source of truth.