Repository navigation
Commit 7196305
feat: scaffold Astro 7 site on Cloudflare Workers
Adds apps/site (@codingcatdev/site) as a new workspace package alongside the
existing Next app, which keeps building until the dashboard is ported.
Added rather than replacing apps/web because the pre-Next Astro app (branch
`dev`) was also named @codingcatdev/web — replacing in place would make every
`pnpm --filter` and the git history ambiguous.
- output: "server" + @astrojs/cloudflare 14 (SSR on Workers)
- wrangler.jsonc with dev/production envs; D1 binding deliberately omitted
until the codingcat.dev Cloudflare account is available
- rawFonts() Vite plugin harvested verbatim from dev:apps/web/astro.config.mjs
(Workers has no filesystem; needed for OG image generation)
- Dropped that config's Vite alias/dedupe/optimizeDeps block — it existed to
fight @sanity/visual-editing under Astro 6 and is obsoleted by
@sanity/visual-editing-standalone
- Node pinned to >=22.12 (.nvmrc + engines), required by sanity 6 / @sanity/ui 4
- baseline/ holds pre-migration production sitemap + RSS snapshots for
post-cutover parity diffing (472 URLs, 50 items per feed)
Verified: pnpm build succeeds and wrangler dev serves SSR HTML via workerd.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HZ4S1uTJwFdbv3A6PHWfw21 parent 648523f commit 7196305
18 files changed
Lines changed: 13247 additions & 2001 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments