Skip to content

Contributing

The source is on GitHub. Issues and pull requests are welcome.

Terminal window
pnpm install
pnpm test # unit tests
pnpm typecheck
pnpm exec playwright install chromium # once
pnpm e2e # builds, then runs Playwright against an EmDash 1.0.1 starter in e2e/fixture
pnpm smoke # packs the tarball, installs it into a copy of the fixture, astro build + production server

The code is type-checked with TypeScript in strict mode (pnpm typecheck, run in CI). It is not yet linted.

The edit form is driven by a field list in src/core/fields.ts. To add a field, for example meta.consentCategory, add an entry there and the form picks it up.

MIT