create-cloudflare 2.18.0 → 2.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js
CHANGED
|
@@ -3897,7 +3897,7 @@ var init_args = __esm({
|
|
|
3897
3897
|
var version, devDependencies;
|
|
3898
3898
|
var init_package = __esm({
|
|
3899
3899
|
"package.json"() {
|
|
3900
|
-
version = "2.18.
|
|
3900
|
+
version = "2.18.1";
|
|
3901
3901
|
devDependencies = {
|
|
3902
3902
|
"@babel/parser": "^7.21.3",
|
|
3903
3903
|
"@babel/types": "^7.21.4",
|
|
@@ -24613,7 +24613,7 @@ var init_package2 = __esm({
|
|
|
24613
24613
|
"create-remix": "2.8.1",
|
|
24614
24614
|
"create-solid": "0.5.5",
|
|
24615
24615
|
"create-svelte": "6.0.10",
|
|
24616
|
-
"create-vue": "3.
|
|
24616
|
+
"create-vue": "3.10.2",
|
|
24617
24617
|
gatsby: "5.13.3",
|
|
24618
24618
|
nuxi: "3.11.1"
|
|
24619
24619
|
},
|
|
@@ -77676,7 +77676,7 @@ init_command();
|
|
|
77676
77676
|
init_packageManagers();
|
|
77677
77677
|
|
|
77678
77678
|
// ../wrangler/package.json
|
|
77679
|
-
var version2 = "3.
|
|
77679
|
+
var version2 = "3.50.0";
|
|
77680
77680
|
|
|
77681
77681
|
// src/git.ts
|
|
77682
77682
|
init_package();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cloudflare",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.1",
|
|
4
4
|
"description": "A CLI for creating and deploying new applications to Cloudflare.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"yargs": "^17.7.1",
|
|
70
70
|
"yarn": "^1.22.19",
|
|
71
71
|
"@cloudflare/cli": "1.1.1",
|
|
72
|
-
"
|
|
73
|
-
"
|
|
72
|
+
"wrangler": "3.50.0",
|
|
73
|
+
"@cloudflare/workers-tsconfig": "0.0.0"
|
|
74
74
|
},
|
|
75
75
|
"engines": {
|
|
76
76
|
"node": ">=18.14.1"
|
|
@@ -3,3 +3,97 @@ name = "<TBD>"
|
|
|
3
3
|
main = "src/entry.py"
|
|
4
4
|
compatibility_flags = ["python_workers"]
|
|
5
5
|
compatibility_date = "<TBD>"
|
|
6
|
+
|
|
7
|
+
# Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
|
|
8
|
+
# Note: Use secrets to store sensitive data.
|
|
9
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
|
|
10
|
+
# [vars]
|
|
11
|
+
# MY_VARIABLE = "production_value"
|
|
12
|
+
|
|
13
|
+
# Bind the Workers AI model catalog. Run machine learning models, powered by serverless GPUs, on Cloudflare’s global network
|
|
14
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#workers-ai
|
|
15
|
+
# [ai]
|
|
16
|
+
# binding = "AI"
|
|
17
|
+
|
|
18
|
+
# Bind an Analytics Engine dataset. Use Analytics Engine to write analytics within your Pages Function.
|
|
19
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#analytics-engine-datasets
|
|
20
|
+
# [[analytics_engine_datasets]]
|
|
21
|
+
# binding = "MY_DATASET"
|
|
22
|
+
|
|
23
|
+
# Bind a headless browser instance running on Cloudflare's global network.
|
|
24
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#browser-rendering
|
|
25
|
+
# [browser]
|
|
26
|
+
# binding = "MY_BROWSER"
|
|
27
|
+
|
|
28
|
+
# Bind a D1 database. D1 is Cloudflare’s native serverless SQL database.
|
|
29
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#d1-databases
|
|
30
|
+
# [[d1_databases]]
|
|
31
|
+
# binding = "MY_DB"
|
|
32
|
+
# database_name = "my-database"
|
|
33
|
+
# database_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
34
|
+
|
|
35
|
+
# Bind a dispatch namespace. Use Workers for Platforms to deploy serverless functions programmatically on behalf of your customers.
|
|
36
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#dispatch-namespace-bindings-workers-for-platforms
|
|
37
|
+
# [[dispatch_namespaces]]
|
|
38
|
+
# binding = "MY_DISPATCHER"
|
|
39
|
+
# namespace = "my-namespace"
|
|
40
|
+
|
|
41
|
+
# Bind a Durable Object. Durable objects are a scale-to-zero compute primitive based on the actor model.
|
|
42
|
+
# Durable Objects can live for as long as needed. Use these when you need a long-running "server", such as in realtime apps.
|
|
43
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#durable-objects
|
|
44
|
+
# [[durable_objects.bindings]]
|
|
45
|
+
# name = "MY_DURABLE_OBJECT"
|
|
46
|
+
# class_name = "MyDurableObject"
|
|
47
|
+
|
|
48
|
+
# Durable Object migrations.
|
|
49
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#migrations
|
|
50
|
+
# [[migrations]]
|
|
51
|
+
# tag = "v1"
|
|
52
|
+
# new_classes = ["MyDurableObject"]
|
|
53
|
+
|
|
54
|
+
# Bind a Hyperdrive configuration. Use to accelerate access to your existing databases from Cloudflare Workers.
|
|
55
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#hyperdrive
|
|
56
|
+
# [[hyperdrive]]
|
|
57
|
+
# binding = "MY_HYPERDRIVE"
|
|
58
|
+
# id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
59
|
+
|
|
60
|
+
# Bind a KV Namespace. Use KV as persistent storage for small key-value pairs.
|
|
61
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#kv-namespaces
|
|
62
|
+
# [[kv_namespaces]]
|
|
63
|
+
# binding = "MY_KV_NAMESPACE"
|
|
64
|
+
# id = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
65
|
+
|
|
66
|
+
# Bind an mTLS certificate. Use to present a client certificate when communicating with another service.
|
|
67
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#mtls-certificates
|
|
68
|
+
# [[mtls_certificates]]
|
|
69
|
+
# binding = "MY_CERTIFICATE"
|
|
70
|
+
# certificate_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
71
|
+
|
|
72
|
+
# Bind a Queue producer. Use this binding to schedule an arbitrary task that may be processed later by a Queue consumer.
|
|
73
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#queues
|
|
74
|
+
# [[queues.producers]]
|
|
75
|
+
# binding = "MY_QUEUE"
|
|
76
|
+
# queue = "my-queue"
|
|
77
|
+
|
|
78
|
+
# Bind a Queue consumer. Queue Consumers can retrieve tasks scheduled by Producers to act on them.
|
|
79
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#queues
|
|
80
|
+
# [[queues.consumers]]
|
|
81
|
+
# queue = "my-queue"
|
|
82
|
+
|
|
83
|
+
# Bind an R2 Bucket. Use R2 to store arbitrarily large blobs of data, such as files.
|
|
84
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#r2-buckets
|
|
85
|
+
# [[r2_buckets]]
|
|
86
|
+
# binding = "MY_BUCKET"
|
|
87
|
+
# bucket_name = "my-bucket"
|
|
88
|
+
|
|
89
|
+
# Bind another Worker service. Use this binding to call another Worker without network overhead.
|
|
90
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
|
|
91
|
+
# [[services]]
|
|
92
|
+
# binding = "MY_SERVICE"
|
|
93
|
+
# service = "my-service"
|
|
94
|
+
|
|
95
|
+
# Bind a Vectorize index. Use to store and query vector embeddings for semantic search, classification and other vector search use-cases.
|
|
96
|
+
# Docs: https://developers.cloudflare.com/workers/wrangler/configuration/#vectorize-indexes
|
|
97
|
+
# [[vectorize]]
|
|
98
|
+
# binding = "MY_INDEX"
|
|
99
|
+
# index_name = "my-index"
|