Note: full pnpm lint still reports a pre-existing formatting issue in src/lib/components/first-admin-form.svelte, which this PR does not touch.
## Summary
- add a request-aware Drizzle runtime database that uses Cloudflare D1 via the DB binding when DATABASE_URL is not set
- keep local SQLite/libSQL development through DATABASE_URL and defer local client creation until runtime
- add the DB D1 binding to wrangler.jsonc, regenerate Worker types, and document local/production database flows
- make Better Auth build-safe while still requiring ORIGIN and BETTER_AUTH_SECRET at runtime
## Checks
- pnpm check
- pnpm build
- pnpm exec prettier --check src/lib/server/db/index.ts src/lib/server/auth.ts README.md wrangler.jsonc worker-configuration.d.ts
- pnpm exec eslint src/lib/server/db/index.ts src/lib/server/auth.ts
Note: full pnpm lint still reports a pre-existing formatting issue in src/lib/components/first-admin-form.svelte, which this PR does not touch.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Checks
Note: full pnpm lint still reports a pre-existing formatting issue in src/lib/components/first-admin-form.svelte, which this PR does not touch.