dashboard-app-template/wrangler.jsonc
Nicholai 84be4cc055 feat: initial dashboard-app-template setup
- Next.js 15 with Cloudflare Workers deployment via OpenNext
- ooIDE theme from tweakcn (Sora + IBM Plex Mono fonts, oklch colors)
- Full shadcn/ui component library installed
- dashboard-01 template at /dashboard route
- Simple landing page with link to dashboard
2026-01-22 04:38:44 -07:00

56 lines
1.7 KiB
JSON

/**
* For more details on how to configure Wrangler, refer to:
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
/**
* For more details on how to configure Wrangler, refer to:
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "dashboard-app-template",
"main": ".open-next/worker.js",
"compatibility_date": "2025-12-01",
"compatibility_flags": [
"nodejs_compat",
"global_fetch_strictly_public"
],
"assets": {
"binding": "ASSETS",
"directory": ".open-next/assets"
},
"images": {
// Enable image optimization
// see https://opennext.js.org/cloudflare/howtos/image
"binding": "IMAGES"
},
"services": [
{
// Self-reference service binding, the service name must match the worker name
// see https://opennext.js.org/cloudflare/caching
"binding": "WORKER_SELF_REFERENCE",
"service": "dashboard-app-template"
}
],
"observability": {
"enabled": true
}
/**
* Smart Placement
* https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
*/
// "placement": { "mode": "smart" }
/**
* Bindings
* Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
* databases, object storage, AI inference, real-time communication and more.
* https://developers.cloudflare.com/workers/runtime-apis/bindings/
*/
/**
* Environment Variables
* https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
* Note: Use secrets to store sensitive data.
* https://developers.cloudflare.com/workers/configuration/secrets/
*/
// "vars": { "MY_VARIABLE": "production_value" }
}