wrangler 4.52.1 → 4.54.0
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/config-schema.json +170 -28
- package/package.json +12 -12
- package/wrangler-dist/cli.d.ts +1638 -110
- package/wrangler-dist/cli.js +14122 -12686
- package/wrangler-dist/metafile-cjs.json +1 -1
package/config-schema.json
CHANGED
|
@@ -213,23 +213,75 @@
|
|
|
213
213
|
"description": "Include source maps when uploading this worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#source-maps"
|
|
214
214
|
},
|
|
215
215
|
"placement": {
|
|
216
|
-
"
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
"
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
216
|
+
"anyOf": [
|
|
217
|
+
{
|
|
218
|
+
"type": "object",
|
|
219
|
+
"properties": {
|
|
220
|
+
"mode": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"enum": [
|
|
223
|
+
"off",
|
|
224
|
+
"smart"
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
"hint": {
|
|
228
|
+
"type": "string"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
"required": [
|
|
232
|
+
"mode"
|
|
233
|
+
],
|
|
234
|
+
"additionalProperties": false
|
|
224
235
|
},
|
|
225
|
-
|
|
226
|
-
"type": "
|
|
236
|
+
{
|
|
237
|
+
"type": "object",
|
|
238
|
+
"properties": {
|
|
239
|
+
"mode": {
|
|
240
|
+
"type": "string",
|
|
241
|
+
"const": "targeted"
|
|
242
|
+
},
|
|
243
|
+
"region": {
|
|
244
|
+
"type": "string"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
"required": [
|
|
248
|
+
"region"
|
|
249
|
+
],
|
|
250
|
+
"additionalProperties": false
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"type": "object",
|
|
254
|
+
"properties": {
|
|
255
|
+
"mode": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"const": "targeted"
|
|
258
|
+
},
|
|
259
|
+
"host": {
|
|
260
|
+
"type": "string"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"required": [
|
|
264
|
+
"host"
|
|
265
|
+
],
|
|
266
|
+
"additionalProperties": false
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"type": "object",
|
|
270
|
+
"properties": {
|
|
271
|
+
"mode": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"const": "targeted"
|
|
274
|
+
},
|
|
275
|
+
"hostname": {
|
|
276
|
+
"type": "string"
|
|
277
|
+
}
|
|
278
|
+
},
|
|
279
|
+
"required": [
|
|
280
|
+
"hostname"
|
|
281
|
+
],
|
|
282
|
+
"additionalProperties": false
|
|
227
283
|
}
|
|
228
|
-
},
|
|
229
|
-
"required": [
|
|
230
|
-
"mode"
|
|
231
284
|
],
|
|
232
|
-
"additionalProperties": false,
|
|
233
285
|
"description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/"
|
|
234
286
|
},
|
|
235
287
|
"assets": {
|
|
@@ -1408,23 +1460,75 @@
|
|
|
1408
1460
|
"description": "Include source maps when uploading this worker.\n\nFor reference, see https://developers.cloudflare.com/workers/wrangler/configuration/#source-maps"
|
|
1409
1461
|
},
|
|
1410
1462
|
"placement": {
|
|
1411
|
-
"
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
"
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1463
|
+
"anyOf": [
|
|
1464
|
+
{
|
|
1465
|
+
"type": "object",
|
|
1466
|
+
"properties": {
|
|
1467
|
+
"mode": {
|
|
1468
|
+
"type": "string",
|
|
1469
|
+
"enum": [
|
|
1470
|
+
"off",
|
|
1471
|
+
"smart"
|
|
1472
|
+
]
|
|
1473
|
+
},
|
|
1474
|
+
"hint": {
|
|
1475
|
+
"type": "string"
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1478
|
+
"required": [
|
|
1479
|
+
"mode"
|
|
1480
|
+
],
|
|
1481
|
+
"additionalProperties": false
|
|
1419
1482
|
},
|
|
1420
|
-
|
|
1421
|
-
"type": "
|
|
1483
|
+
{
|
|
1484
|
+
"type": "object",
|
|
1485
|
+
"properties": {
|
|
1486
|
+
"mode": {
|
|
1487
|
+
"type": "string",
|
|
1488
|
+
"const": "targeted"
|
|
1489
|
+
},
|
|
1490
|
+
"region": {
|
|
1491
|
+
"type": "string"
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
"required": [
|
|
1495
|
+
"region"
|
|
1496
|
+
],
|
|
1497
|
+
"additionalProperties": false
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"type": "object",
|
|
1501
|
+
"properties": {
|
|
1502
|
+
"mode": {
|
|
1503
|
+
"type": "string",
|
|
1504
|
+
"const": "targeted"
|
|
1505
|
+
},
|
|
1506
|
+
"host": {
|
|
1507
|
+
"type": "string"
|
|
1508
|
+
}
|
|
1509
|
+
},
|
|
1510
|
+
"required": [
|
|
1511
|
+
"host"
|
|
1512
|
+
],
|
|
1513
|
+
"additionalProperties": false
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"type": "object",
|
|
1517
|
+
"properties": {
|
|
1518
|
+
"mode": {
|
|
1519
|
+
"type": "string",
|
|
1520
|
+
"const": "targeted"
|
|
1521
|
+
},
|
|
1522
|
+
"hostname": {
|
|
1523
|
+
"type": "string"
|
|
1524
|
+
}
|
|
1525
|
+
},
|
|
1526
|
+
"required": [
|
|
1527
|
+
"hostname"
|
|
1528
|
+
],
|
|
1529
|
+
"additionalProperties": false
|
|
1422
1530
|
}
|
|
1423
|
-
},
|
|
1424
|
-
"required": [
|
|
1425
|
-
"mode"
|
|
1426
1531
|
],
|
|
1427
|
-
"additionalProperties": false,
|
|
1428
1532
|
"description": "Specify how the Worker should be located to minimize round-trip time.\n\nMore details: https://developers.cloudflare.com/workers/platform/smart-placement/"
|
|
1429
1533
|
},
|
|
1430
1534
|
"assets": {
|
|
@@ -2829,6 +2933,44 @@
|
|
|
2829
2933
|
"description": "The instance type to be used for the container. Select from one of the following named instance types: - lite: 1/16 vCPU, 256 MiB memory, and 2 GB disk - basic: 1/4 vCPU, 1 GiB memory, and 4 GB disk - standard-1: 1/2 vCPU, 4 GiB memory, and 8 GB disk - standard-2: 1 vCPU, 6 GiB memory, and 12 GB disk - standard-3: 2 vCPU, 8 GiB memory, and 16 GB disk - standard-4: 4 vCPU, 12 GiB memory, and 20 GB disk - dev: 1/16 vCPU, 256 MiB memory, and 2 GB disk (deprecated, use \"lite\" instead) - standard: 1 vCPU, 4 GiB memory, and 4 GB disk (deprecated, use \"standard-1\" instead)\n\nCustomers on an enterprise plan have the additional option to set custom limits.",
|
|
2830
2934
|
"default": "dev"
|
|
2831
2935
|
},
|
|
2936
|
+
"wrangler_ssh": {
|
|
2937
|
+
"type": "object",
|
|
2938
|
+
"properties": {
|
|
2939
|
+
"enabled": {
|
|
2940
|
+
"type": "boolean",
|
|
2941
|
+
"description": "If enabled, those with write access to a container will be able to SSH into it through Wrangler.",
|
|
2942
|
+
"default": false
|
|
2943
|
+
},
|
|
2944
|
+
"port": {
|
|
2945
|
+
"type": "number",
|
|
2946
|
+
"description": "Port that the SSH service is running on"
|
|
2947
|
+
}
|
|
2948
|
+
},
|
|
2949
|
+
"required": [
|
|
2950
|
+
"enabled"
|
|
2951
|
+
],
|
|
2952
|
+
"additionalProperties": false
|
|
2953
|
+
},
|
|
2954
|
+
"authorized_keys": {
|
|
2955
|
+
"type": "array",
|
|
2956
|
+
"items": {
|
|
2957
|
+
"type": "object",
|
|
2958
|
+
"properties": {
|
|
2959
|
+
"name": {
|
|
2960
|
+
"type": "string"
|
|
2961
|
+
},
|
|
2962
|
+
"public_key": {
|
|
2963
|
+
"type": "string"
|
|
2964
|
+
}
|
|
2965
|
+
},
|
|
2966
|
+
"required": [
|
|
2967
|
+
"name",
|
|
2968
|
+
"public_key"
|
|
2969
|
+
],
|
|
2970
|
+
"additionalProperties": false
|
|
2971
|
+
},
|
|
2972
|
+
"description": "SSH public keys to put in the container's authorized_keys file."
|
|
2973
|
+
},
|
|
2832
2974
|
"rollout_step_percentage": {
|
|
2833
2975
|
"anyOf": [
|
|
2834
2976
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.54.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wrangler",
|
|
@@ -54,15 +54,15 @@
|
|
|
54
54
|
"esbuild": "0.27.0",
|
|
55
55
|
"path-to-regexp": "6.3.0",
|
|
56
56
|
"unenv": "2.0.0-rc.24",
|
|
57
|
-
"workerd": "1.
|
|
57
|
+
"workerd": "1.20251210.0",
|
|
58
58
|
"@cloudflare/kv-asset-handler": "0.4.1",
|
|
59
|
-
"
|
|
60
|
-
"
|
|
59
|
+
"@cloudflare/unenv-preset": "2.7.13",
|
|
60
|
+
"miniflare": "4.20251210.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@aws-sdk/client-s3": "^3.721.0",
|
|
64
64
|
"@cloudflare/types": "6.18.4",
|
|
65
|
-
"@cloudflare/workers-types": "^4.
|
|
65
|
+
"@cloudflare/workers-types": "^4.20251210.0",
|
|
66
66
|
"@cspotcode/source-map-support": "0.8.1",
|
|
67
67
|
"@netlify/build-info": "^10.0.9",
|
|
68
68
|
"@sentry/node": "^7.86.0",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"patch-console": "^1.0.0",
|
|
125
125
|
"pretty-bytes": "^6.0.0",
|
|
126
126
|
"prompts": "^2.4.2",
|
|
127
|
-
"recast": "0.
|
|
127
|
+
"recast": "0.23.11",
|
|
128
128
|
"resolve": "^1.22.8",
|
|
129
129
|
"rimraf": "^6.0.1",
|
|
130
130
|
"semiver": "^1.1.0",
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"ts-dedent": "^2.2.0",
|
|
139
139
|
"ts-json-schema-generator": "^1.5.0",
|
|
140
140
|
"tsup": "8.3.0",
|
|
141
|
-
"typescript": "
|
|
141
|
+
"typescript": "~5.8.3",
|
|
142
142
|
"undici": "7.14.0",
|
|
143
143
|
"update-check": "^1.5.4",
|
|
144
144
|
"vitest": "~3.2.0",
|
|
@@ -148,16 +148,16 @@
|
|
|
148
148
|
"yaml": "^2.8.1",
|
|
149
149
|
"yargs": "^17.7.2",
|
|
150
150
|
"@cloudflare/cli": "1.1.4",
|
|
151
|
-
"@cloudflare/containers-shared": "0.
|
|
151
|
+
"@cloudflare/containers-shared": "0.5.0",
|
|
152
152
|
"@cloudflare/eslint-config-shared": "1.1.0",
|
|
153
|
-
"@cloudflare/pages-shared": "^0.13.
|
|
154
|
-
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
153
|
+
"@cloudflare/pages-shared": "^0.13.93",
|
|
155
154
|
"@cloudflare/workers-shared": "0.18.9",
|
|
156
|
-
"@cloudflare/workers-
|
|
155
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
156
|
+
"@cloudflare/workers-utils": "0.4.0",
|
|
157
157
|
"@cloudflare/workflows-shared": "0.3.9"
|
|
158
158
|
},
|
|
159
159
|
"peerDependencies": {
|
|
160
|
-
"@cloudflare/workers-types": "^4.
|
|
160
|
+
"@cloudflare/workers-types": "^4.20251210.0"
|
|
161
161
|
},
|
|
162
162
|
"peerDependenciesMeta": {
|
|
163
163
|
"@cloudflare/workers-types": {
|