Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.
The English summary is being prepared. Showing the original description.
Deploy Next.js to Cloudflare Workers using OpenNext adapter
The English summary is being prepared. Showing the original description.
Review the instructions the agent will receive before you install.
Deploy Next.js applications to Cloudflare Workers using the @opennextjs/cloudflare adapter.
@opennextjs/cloudflare v1.19.11--dangerouslyUseUnsupportedNextVersion)namiasnodejs_compat| File | Purpose |
|---|---|
wrangler.jsonc | Cloudflare Workers configuration |
open-next.config.ts | OpenNext build configuration |
src/middleware.ts | Middleware (renamed from proxy.ts for compatibility) |
npx @opennextjs/cloudflare build
npx wrangler deploy
Deployment happens via GitHub Actions on push to main:
.github/workflows/cloudflare-deploy.ymlCLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_IDsrc/proxy.ts is not supported in newer OpenNext versionssrc/middleware.ts--dangerouslyUseUnsupportedNextVersion flag to build commandnodejs_compat compatibility flag"compatibility_flags": ["nodejs_compat"] to wrangler.jsoncglobal_fetch_strictly_public flag"compatibility_flags": ["global_fetch_strictly_public"] to wrangler.jsoncSet in Cloudflare dashboard or wrangler.jsonc:
| Variable | Purpose |
|---|---|
NEXT_RUNTIME | Set to edge |
SANITY_API_CDN | Sanity CDN URL |
SANITY_API_WRITE | Sanity write API URL |
SANITY_AUTH_TOKEN | Sanity auth token |
SANITY_REVALIDATE_SECRET | Revalidation webhook secret |
CANARY_SLACK_WEBHOOK | Canary notification webhook |
CANARY_DISCORD_WEBHOOK | Canary notification webhook |
CANARY_EMAIL | Canary notification email |
CANARY_HONEYTOKEN | Canary token value |
HONEYPOT_USERNAME | Honeypot form field |
HONEYPOT_WEBSITE | Honeypot form field |
wrangler.jsonc has correct compatibility flagssrc/middleware.ts exists (not proxy.ts)npx @opennextjs/cloudflare buildNo reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Audit and fix accessibility issues across the portfolio to ensure WCAG 2.1 AA compliance.
The English summary is being prepared. Showing the original description.
Creates a new blog post document in the Sanity studio. Use when the user wants to write a blog post, publish an article, or schedule a future post.
The English summary is being prepared. Showing the original description.
Creates a new certification document in the Sanity studio. Use when the user wants to add a credential, certificate, or professional accreditation to the Certifications collection.
The English summary is being prepared. Showing the original description.
Adds a new skill MD file to the studio's skills collection. Use when the user wants to author a new step-by-step recipe for the studio's in-app Skills tool or the .agents mirror.
The English summary is being prepared. Showing the original description.
Creates a new project document in the Sanity studio. Use when the user wants to add a new portfolio project, a case study, or a work sample to the Projects collection.
The English summary is being prepared. Showing the original description.
Creates a new experience document in the Sanity studio. Use when the user wants to add a job, role, internship, or work history entry to the Experience collection.
The English summary is being prepared. Showing the original description.