KnearMe Edge Worker Local Development
Prerequisites
Section titled “Prerequisites”- Node.js and pnpm workspace install.
- Wrangler CLI available through workspace deps.
- Cloudflare auth for environment-dependent flows.
Start local worker
Section titled “Start local worker”pnpm -C apps/knearme-edge devLocal quality loop
Section titled “Local quality loop”pnpm -C apps/knearme-edge typecheckpnpm -C apps/knearme-edge testStaging-targeted checks
Section titled “Staging-targeted checks”Use --env staging in ops scripts when validating staging resources and bindings.
Example:
pnpm -C apps/knearme-edge ops:preflight -- --env staging --env-file ./ops/env/edge-secrets.staging.env