Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions astro-blog-starter-template/wrangler.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
{
"name": "astro-blog-starter-template",
"compatibility_date": "2025-10-08",
"compatibility_flags": ["nodejs_compat"],
"main": "./dist/_worker.js/index.js",
"assets": {
"directory": "./dist",
"binding": "ASSETS"
},
"observability": {
"enabled": true
},
"upload_source_maps": true
"name": "astro-blog-starter-template",
"compatibility_date": "2025-10-08",
"compatibility_flags": [
"nodejs_compat"
],
"main": "./dist/_worker.js/index.js",
"assets": {
"directory": "./dist",
"binding": "ASSETS"
},
"observability": {
"enabled": true
},
"upload_source_maps": true
}
28 changes: 14 additions & 14 deletions chanfana-openapi-template/wrangler.jsonc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"compatibility_date": "2025-10-08",
"main": "src/index.ts",
"name": "chanfana-openapi-template",
"upload_source_maps": true,
"observability": {
"enabled": true
},
"d1_databases": [
{
"binding": "DB",
"database_name": "openapi-template-db",
"database_id": "18d141d5-062d-46a0-a92a-bade3f8c4b00"
}
]
"compatibility_date": "2025-10-08",
"main": "src/index.ts",
"name": "chanfana-openapi-template",
"upload_source_maps": true,
"observability": {
"enabled": true
},
"d1_databases": [
{
"binding": "DB",
"database_name": "openapi-template-db",
"database_id": "18d141d5-062d-46a0-a92a-bade3f8c4b00"
}
]
}
64 changes: 34 additions & 30 deletions containers-template/wrangler.jsonc
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "containers-template",
"main": "src/index.ts",
"compatibility_date": "2025-10-08",
"compatibility_flags": ["nodejs_compat"],
"observability": {
"enabled": true
},
"containers": [
{
"class_name": "MyContainer",
"image": "./Dockerfile",
"max_instances": 10
}
],
"durable_objects": {
"bindings": [
{
"class_name": "MyContainer",
"name": "MY_CONTAINER"
}
]
},
"migrations": [
{
"new_sqlite_classes": ["MyContainer"],
"tag": "v1"
}
],
"upload_source_maps": true
"$schema": "node_modules/wrangler/config-schema.json",
"name": "containers-template",
"main": "src/index.ts",
"compatibility_date": "2025-10-08",
"compatibility_flags": [
"nodejs_compat"
],
"observability": {
"enabled": true
},
"containers": [
{
"class_name": "MyContainer",
"image": "./Dockerfile",
"max_instances": 10
}
],
"durable_objects": {
"bindings": [
{
"class_name": "MyContainer",
"name": "MY_CONTAINER"
}
]
},
"migrations": [
{
"new_sqlite_classes": [
"MyContainer"
],
"tag": "v1"
}
],
"upload_source_maps": true
}
38 changes: 19 additions & 19 deletions d1-starter-sessions-api-template/wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "d1-starter-sessions-api-template",
"main": "src/index.ts",
"compatibility_date": "2025-10-08",
"observability": {
"enabled": true
},
"assets": {
"directory": "./public/"
},
/**
"$schema": "node_modules/wrangler/config-schema.json",
"name": "d1-starter-sessions-api-template",
"main": "src/index.ts",
"compatibility_date": "2025-10-08",
"observability": {
"enabled": true
},
"assets": {
"directory": "./public/"
},
/**
* 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/
*/
"d1_databases": [
{
"binding": "DB01",
"database_name": "d1-starter-sessions-api",
"database_id": "3690f364-3425-4fab-8eb7-c74c5717578a"
}
],
"upload_source_maps": true
"d1_databases": [
{
"binding": "DB01",
"database_name": "d1-starter-sessions-api",
"database_id": "3690f364-3425-4fab-8eb7-c74c5717578a"
}
],
"upload_source_maps": true
}
28 changes: 14 additions & 14 deletions d1-template/wrangler.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"compatibility_date": "2025-10-08",
"main": "src/index.ts",
"name": "d1-template",
"upload_source_maps": true,
"d1_databases": [
{
"binding": "DB",
"database_id": "151f7d9b-365f-41d7-83ed-0bf4eeef5086",
"database_name": "d1-template-database"
}
],
"observability": {
"enabled": true
}
"compatibility_date": "2025-10-08",
"main": "src/index.ts",
"name": "d1-template",
"upload_source_maps": true,
"d1_databases": [
{
"binding": "DB",
"database_id": "151f7d9b-365f-41d7-83ed-0bf4eeef5086",
"database_name": "d1-template-database"
}
],
"observability": {
"enabled": true
}
}
60 changes: 31 additions & 29 deletions durable-chat-template/wrangler.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
{
"compatibility_date": "2025-10-08",
"main": "src/server/index.ts",
"name": "durable-chat-template",
"migrations": [
{
"new_sqlite_classes": ["Chat"],
"tag": "v1"
}
],
"assets": {
"directory": "./public",
"binding": "ASSETS",
"not_found_handling": "single-page-application"
},
"build": {
"command": "esbuild src/client/index.tsx --bundle --splitting --format=esm --platform=browser --outdir=public/dist"
},
"durable_objects": {
"bindings": [
{
"class_name": "Chat",
"name": "Chat"
}
]
},
"observability": {
"enabled": true
},
"upload_source_maps": true
"compatibility_date": "2025-10-08",
"main": "src/server/index.ts",
"name": "durable-chat-template",
"migrations": [
{
"new_sqlite_classes": [
"Chat"
],
"tag": "v1"
}
],
"assets": {
"directory": "./public",
"binding": "ASSETS",
"not_found_handling": "single-page-application"
},
"build": {
"command": "esbuild src/client/index.tsx --bundle --splitting --format=esm --platform=browser --outdir=public/dist"
},
"durable_objects": {
"bindings": [
{
"class_name": "Chat",
"name": "Chat"
}
]
},
"observability": {
"enabled": true
},
"upload_source_maps": true
}
46 changes: 24 additions & 22 deletions hello-world-do-template/wrangler.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "hello-world-do-template",
"main": "src/index.ts",
"compatibility_date": "2025-10-08",
"upload_source_maps": true,
"migrations": [
{
"new_sqlite_classes": ["MyDurableObject"],
"tag": "v1"
}
],
"durable_objects": {
"bindings": [
{
"class_name": "MyDurableObject",
"name": "MY_DURABLE_OBJECT"
}
]
},
"observability": {
"enabled": true
}
"$schema": "node_modules/wrangler/config-schema.json",
"name": "hello-world-do-template",
"main": "src/index.ts",
"compatibility_date": "2025-10-08",
"upload_source_maps": true,
"migrations": [
{
"new_sqlite_classes": [
"MyDurableObject"
],
"tag": "v1"
}
],
"durable_objects": {
"bindings": [
{
"class_name": "MyDurableObject",
"name": "MY_DURABLE_OBJECT"
}
]
},
"observability": {
"enabled": true
}
}
35 changes: 19 additions & 16 deletions llm-chat-app-template/wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,23 @@
* https://developers.cloudflare.com/workers/wrangler/configuration/
*/
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "llm-chat-app-template",
"main": "src/index.ts",
"compatibility_date": "2025-10-08",
"compatibility_flags": ["nodejs_compat", "global_fetch_strictly_public"],
"assets": {
"binding": "ASSETS",
"directory": "./public"
},
"observability": {
"enabled": true
},
"ai": {
"binding": "AI"
},
"upload_source_maps": true
"$schema": "node_modules/wrangler/config-schema.json",
"name": "llm-chat-app-template",
"main": "src/index.ts",
"compatibility_date": "2025-10-08",
"compatibility_flags": [
"nodejs_compat",
"global_fetch_strictly_public"
],
"assets": {
"binding": "ASSETS",
"directory": "./public"
},
"observability": {
"enabled": true
},
"ai": {
"binding": "AI"
},
"upload_source_maps": true
}
Loading
Loading