mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
update wrangler.toml of _example
This commit is contained in:
parent
a7fb285264
commit
3df5024a51
@ -1,9 +1,7 @@
|
||||
name = "basic-auth-proxy"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2022-05-13"
|
||||
compatibility_flags = [
|
||||
"streams_enable_constructors"
|
||||
]
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
3
_examples/cache/wrangler.toml
vendored
3
_examples/cache/wrangler.toml
vendored
@ -1,6 +1,7 @@
|
||||
name = "cache"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2023-02-24"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,6 +1,7 @@
|
||||
name = "scheduled"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2023-02-24"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
workers_dev = false
|
||||
|
||||
[triggers]
|
||||
|
@ -1,6 +1,7 @@
|
||||
name = "d1-blog-server"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2024-04-15"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,9 +1,7 @@
|
||||
name = "durable-object-counter"
|
||||
main = "./worker.mjs"
|
||||
compatibility_date = "2022-05-13"
|
||||
compatibility_flags = [
|
||||
"streams_enable_constructors"
|
||||
]
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
6
_examples/env/wrangler.toml
vendored
6
_examples/env/wrangler.toml
vendored
@ -1,9 +1,7 @@
|
||||
name = "env"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2022-05-13"
|
||||
compatibility_flags = [
|
||||
"streams_enable_constructors"
|
||||
]
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,6 +1,7 @@
|
||||
name = "fetch-event"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2023-02-24"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
routes = [
|
||||
{ pattern = "example.com/*", zone_name = "example.com" }
|
||||
|
@ -1,6 +1,7 @@
|
||||
name = "fetch"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2023-02-24"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,9 +1,7 @@
|
||||
name = "hello"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2022-05-13"
|
||||
compatibility_flags = [
|
||||
"streams_enable_constructors"
|
||||
]
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,9 +1,7 @@
|
||||
name = "incoming"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2022-05-13"
|
||||
compatibility_flags = [
|
||||
"streams_enable_constructors"
|
||||
]
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,9 +1,7 @@
|
||||
name = "kv-counter"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2022-05-13"
|
||||
compatibility_flags = [
|
||||
"streams_enable_constructors"
|
||||
]
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[[kv_namespaces]]
|
||||
binding = "COUNTER"
|
||||
|
@ -1,6 +1,7 @@
|
||||
name = "multiple-handlers"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2023-02-24"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
workers_dev = false
|
||||
|
||||
[triggers]
|
||||
|
@ -1,6 +1,7 @@
|
||||
name = "mysql-blog-server"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2024-01-03"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,2 +1,3 @@
|
||||
name = "pages-functions"
|
||||
compatibility_date = "2023-04-30"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
@ -1,9 +1,7 @@
|
||||
name = "queues-producer"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2022-05-13"
|
||||
compatibility_flags = [
|
||||
"streams_enable_constructors"
|
||||
]
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[[queues.producers]]
|
||||
queue = "my-queue"
|
||||
|
@ -1,9 +1,7 @@
|
||||
name = "r2-image-server"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2022-05-13"
|
||||
compatibility_flags = [
|
||||
"streams_enable_constructors"
|
||||
]
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,9 +1,7 @@
|
||||
name = "r2-image-viewer-tinygo"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2022-05-13"
|
||||
compatibility_flags = [
|
||||
"streams_enable_constructors"
|
||||
]
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,6 +1,7 @@
|
||||
name = "service-bindings"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2023-02-24"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
services = [
|
||||
{ binding = "hello", service = "hello" }
|
||||
]
|
||||
|
@ -1,9 +1,7 @@
|
||||
name = "simple-json-server"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2022-05-13"
|
||||
compatibility_flags = [
|
||||
"streams_enable_constructors"
|
||||
]
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,6 +1,7 @@
|
||||
name = "sockets"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2024-01-03"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
@ -1,6 +1,7 @@
|
||||
name = "stream-large-file"
|
||||
main = "./build/worker.mjs"
|
||||
compatibility_date = "2023-12-01"
|
||||
compatibility_date = "2024-11-12"
|
||||
compatibility_flags = ["nodejs_compat"]
|
||||
|
||||
[build]
|
||||
command = "make build"
|
||||
|
Loading…
x
Reference in New Issue
Block a user