Files
website-enchun-mgr/.agent/skills/astro-cloudflare-deploy/assets/wrangler-hybrid.jsonc
pkupuk ad8e2e313e chore(agent): configure AI agents and tools
Add configuration for BMad, Claude, OpenCode, and other AI agent tools and workflows.
2026-02-11 11:51:23 +08:00

53 lines
1.3 KiB
JSON

{
"$schema": "./node_modules/wrangler/config-schema.json",
"// Comment": "Hybrid rendering configuration for Astro on Cloudflare Workers",
"name": "your-app-name",
"compatibility_date": "2025-01-19",
"compatibility_flags": ["nodejs_compat"],
"assets": {
"directory": "./dist",
"binding": "ASSETS"
},
"vars": {
"ENVIRONMENT": "production",
"PUBLIC_SITE_URL": "https://your-app-name.workers.dev"
},
"// Comment env": "Environment-specific configurations",
"env": {
"staging": {
"name": "your-app-name-staging",
"vars": {
"ENVIRONMENT": "staging",
"PUBLIC_SITE_URL": "https://staging-your-app-name.workers.dev"
}
},
"production": {
"name": "your-app-name-production",
"vars": {
"ENVIRONMENT": "production",
"PUBLIC_SITE_URL": "https://your-app-name.workers.dev"
}
}
},
"// Comment bindings_examples": "Uncomment and configure as needed",
"// kv_namespaces": [
// {
// "binding": "MY_KV",
// "id": "your-kv-namespace-id"
// }
// ],
"// d1_databases": [
// {
// "binding": "DB",
// "database_name": "my-database",
// "database_id": "your-d1-database-id"
// }
// ],
"// r2_buckets": [
// {
// "binding": "BUCKET",
// "bucket_name": "my-bucket"
// }
// ]
}