Skip to content

Development

Local repo setup, tests, harness commands, and integration environment.

Terminal window
bun install
bun run build
bun run typecheck
bun run test
Terminal window
bun run testharness --
bun run testharness -- --integration
bun run testharness -- --all
bun run testharness -- --typecheck
CF_ACCOUNT_ID
CF_API_TOKEN
CF_ARTIFACTS_NAMESPACE
CF_ARTIFACTS_REPO
CF_ARTIFACTS_BRANCH optional, default main
{
"build": "build all packages and harness",
"typecheck": "build/typecheck packages and harness",
"test": "run package test suites",
"testharness": "run harness package"
}
  • TypeScript strict ESM packages.
  • Bun is the package manager and test runner.
  • Core runtime dependencies are diff and nanoid.
  • Local, GitHub, and Cloudflare adapters shell out to git.
  • The current core uses Node APIs, including EventEmitter and a filesystem-backed session store.