Add cf:* scripts and Workers deploy docs
The frontend deploys to Cloudflare Workers via @opennextjs/cloudflare, not Cloudflare Pages. Add explicit cf:build, cf:deploy, cf:preview scripts so the Cloudflare project's build/deploy commands map directly to npm scripts (the existing combined preview/deploy/upload scripts are kept for backward compatibility). Document the Workers deploy flow in the README so contributors don't reach for the Pages path. wrangler.jsonc already satisfies the OpenNext-on-Workers requirements (main: .open-next/worker.js, assets.directory: .open-next/assets, assets.binding: ASSETS, compatibility_flags includes nodejs_compat). https://claude.ai/code/session_01McEfVnpbGdMs5TgeTM7P3R
| Repository | foolish-bandit/gary |
|---|---|
| Author | Claude <noreply@anthropic.com> |
| Authored | |
| Parents | f01df75f |
| Stats | 2 files changed , +21 |
| Part of | Cloudflare Workers frontend deploy via @opennextjs/cloudflare |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-befcd221.md
from inside the repo you want the change in.