Add configuration for BMad, Claude, OpenCode, and other AI agent tools and workflows.
53 lines
1.3 KiB
JSON
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"
|
|
// }
|
|
// ]
|
|
}
|