create-cloudflare 0.0.0-d719ee1a → 0.0.0-d885fbea
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 +1472 -54
- package/package.json +9 -3
- package/templates/queues/js/wrangler.toml +2 -2
- package/templates/queues/ts/wrangler.toml +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cloudflare",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-d885fbea",
|
|
4
4
|
"description": "A CLI for creating and deploying new applications to Cloudflare.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
"check:type": "tsc",
|
|
32
32
|
"lint": "eslint",
|
|
33
33
|
"prepublishOnly": "npm run build",
|
|
34
|
-
"test:e2e": "
|
|
34
|
+
"test:e2e:cleanup": "node scripts/e2eCleanup.mjs",
|
|
35
|
+
"test:e2e:npm": "npm run build && TEST_PM=npm vitest run --config ./vitest-e2e.config.ts",
|
|
36
|
+
"test:e2e:pnpm": "npm run build && TEST_PM=pnpm vitest run --config ./vitest-e2e.config.ts",
|
|
35
37
|
"test:unit": "vitest run --config ./vitest.config.ts",
|
|
36
38
|
"watch": "node scripts/build.js --watch"
|
|
37
39
|
},
|
|
@@ -44,6 +46,7 @@
|
|
|
44
46
|
"@cloudflare/workers-types": "^4.20230419.0",
|
|
45
47
|
"@types/command-exists": "^1.2.0",
|
|
46
48
|
"@types/cross-spawn": "^6.0.2",
|
|
49
|
+
"@types/dns2": "^2.0.3",
|
|
47
50
|
"@types/esprima": "^4.0.3",
|
|
48
51
|
"@types/node": "^18.15.3",
|
|
49
52
|
"@types/which-pm-runs": "^1.0.0",
|
|
@@ -53,11 +56,13 @@
|
|
|
53
56
|
"chalk": "^5.2.0",
|
|
54
57
|
"command-exists": "^1.2.9",
|
|
55
58
|
"cross-spawn": "^7.0.3",
|
|
59
|
+
"dns2": "^2.1.0",
|
|
56
60
|
"esbuild": "^0.17.12",
|
|
57
61
|
"execa": "^7.1.1",
|
|
58
62
|
"haikunator": "^2.1.2",
|
|
59
63
|
"log-update": "^5.0.1",
|
|
60
64
|
"open": "^8.4.0",
|
|
65
|
+
"pnpm": "^8.6.11",
|
|
61
66
|
"recast": "^0.22.0",
|
|
62
67
|
"semver": "^7.5.1",
|
|
63
68
|
"typescript": "^5.0.2",
|
|
@@ -66,7 +71,8 @@
|
|
|
66
71
|
"vitest": "^0.30.0",
|
|
67
72
|
"which-pm-runs": "^1.1.0",
|
|
68
73
|
"wrangler": "*",
|
|
69
|
-
"yargs": "^17.7.1"
|
|
74
|
+
"yargs": "^17.7.1",
|
|
75
|
+
"yarn": "^1.22.19"
|
|
70
76
|
},
|
|
71
77
|
"engines": {
|
|
72
78
|
"node": ">=16.13.0"
|
|
@@ -4,13 +4,13 @@ compatibility_date = "<TBD>"
|
|
|
4
4
|
|
|
5
5
|
# Bind a Queue producer. Use this binding to schedule an arbitrary task that may be processed later by a Queue consumer.
|
|
6
6
|
# Docs: https://developers.cloudflare.com/queues/get-started
|
|
7
|
-
|
|
7
|
+
[[queues.producers]]
|
|
8
8
|
binding = "MY_QUEUE"
|
|
9
9
|
queue = "my-queue"
|
|
10
10
|
|
|
11
11
|
# Bind a Queue consumer. Queue Consumers can retrieve tasks scheduled by Producers to act on them.
|
|
12
12
|
# Docs: https://developers.cloudflare.com/queues/get-started
|
|
13
|
-
|
|
13
|
+
[[queues.consumers]]
|
|
14
14
|
queue = "my-queue"
|
|
15
15
|
# Optional: Configure batching and retries: https://developers.cloudflare.com/queues/learning/batching-retries/
|
|
16
16
|
# max_batch_size = 10
|
|
@@ -4,13 +4,13 @@ compatibility_date = "<TBD>"
|
|
|
4
4
|
|
|
5
5
|
# Bind a Queue producer. Use this binding to schedule an arbitrary task that may be processed later by a Queue consumer.
|
|
6
6
|
# Docs: https://developers.cloudflare.com/queues/get-started
|
|
7
|
-
|
|
7
|
+
[[queues.producers]]
|
|
8
8
|
binding = "MY_QUEUE"
|
|
9
9
|
queue = "my-queue"
|
|
10
10
|
|
|
11
11
|
# Bind a Queue consumer. Queue Consumers can retrieve tasks scheduled by Producers to act on them.
|
|
12
12
|
# Docs: https://developers.cloudflare.com/queues/get-started
|
|
13
|
-
|
|
13
|
+
[[queues.consumers]]
|
|
14
14
|
queue = "my-queue"
|
|
15
15
|
# Optional: Configure batching and retries: https://developers.cloudflare.com/queues/learning/batching-retries/
|
|
16
16
|
# max_batch_size = 10
|