wrangler 4.1.0 → 4.3.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 +1793 -1805
- package/package.json +12 -12
- package/wrangler-dist/cli.d.ts +6 -12
- package/wrangler-dist/cli.js +2814 -2451
- package/wrangler-dist/cli.js.map +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wrangler",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wrangler",
|
|
@@ -50,19 +50,19 @@
|
|
|
50
50
|
"config-schema.json"
|
|
51
51
|
],
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@cloudflare/unenv-preset": "2.0
|
|
53
|
+
"@cloudflare/unenv-preset": "2.2.0",
|
|
54
54
|
"blake3-wasm": "2.1.5",
|
|
55
55
|
"esbuild": "0.24.2",
|
|
56
56
|
"path-to-regexp": "6.3.0",
|
|
57
|
-
"unenv": "2.0.0-rc.
|
|
58
|
-
"workerd": "1.
|
|
57
|
+
"unenv": "2.0.0-rc.15",
|
|
58
|
+
"workerd": "1.20250319.0",
|
|
59
59
|
"@cloudflare/kv-asset-handler": "0.4.0",
|
|
60
|
-
"miniflare": "4.
|
|
60
|
+
"miniflare": "4.20250319.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.20250319.0",
|
|
66
66
|
"@cspotcode/source-map-support": "0.8.1",
|
|
67
67
|
"@iarna/toml": "^3.0.0",
|
|
68
68
|
"@microsoft/api-extractor": "^7.47.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@types/supports-color": "^8.1.1",
|
|
85
85
|
"@types/ws": "^8.5.7",
|
|
86
86
|
"@types/yargs": "^17.0.22",
|
|
87
|
-
"@vitest/ui": "~3.0.
|
|
87
|
+
"@vitest/ui": "~3.0.8",
|
|
88
88
|
"@webcontainer/env": "^1.1.0",
|
|
89
89
|
"chalk": "^5.2.0",
|
|
90
90
|
"chokidar": "^4.0.1",
|
|
@@ -129,20 +129,20 @@
|
|
|
129
129
|
"typescript": "^5.7.2",
|
|
130
130
|
"undici": "^5.28.5",
|
|
131
131
|
"update-check": "^1.5.4",
|
|
132
|
-
"vitest": "~3.0.
|
|
132
|
+
"vitest": "~3.0.8",
|
|
133
133
|
"vitest-websocket-mock": "^0.4.0",
|
|
134
134
|
"ws": "8.18.0",
|
|
135
135
|
"xdg-app-paths": "^8.3.0",
|
|
136
136
|
"xxhash-wasm": "^1.0.1",
|
|
137
137
|
"yargs": "^17.7.2",
|
|
138
138
|
"@cloudflare/cli": "1.1.1",
|
|
139
|
+
"@cloudflare/pages-shared": "^0.13.17",
|
|
139
140
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
|
140
|
-
"@cloudflare/
|
|
141
|
-
"@cloudflare/workers-shared": "0.16.0",
|
|
141
|
+
"@cloudflare/workers-shared": "0.17.0",
|
|
142
142
|
"@cloudflare/workers-tsconfig": "0.0.0"
|
|
143
143
|
},
|
|
144
144
|
"peerDependencies": {
|
|
145
|
-
"@cloudflare/workers-types": "^4.
|
|
145
|
+
"@cloudflare/workers-types": "^4.20250319.0"
|
|
146
146
|
},
|
|
147
147
|
"peerDependenciesMeta": {
|
|
148
148
|
"@cloudflare/workers-types": {
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"clean": "rimraf wrangler-dist miniflare-dist emitted-types",
|
|
172
172
|
"dev": "pnpm run clean && concurrently -c black,blue --kill-others-on-fail false \"pnpm run bundle --watch\" \"pnpm run check:type --watch --preserveWatchOutput\"",
|
|
173
173
|
"emit-types": "tsc -p tsconfig.emit.json && node -r esbuild-register scripts/emit-types.ts",
|
|
174
|
-
"generate-json-schema": "
|
|
174
|
+
"generate-json-schema": "node -r esbuild-register scripts/generate-json-schema.ts",
|
|
175
175
|
"start": "pnpm run bundle && cross-env NODE_OPTIONS=--enable-source-maps ./bin/wrangler.js",
|
|
176
176
|
"test": "dotenv -- pnpm run assert-git-version && dotenv -- vitest",
|
|
177
177
|
"test:ci": "pnpm run test run",
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -1038,6 +1038,8 @@ options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.ConnectOptions, 'origin'
|
|
|
1038
1038
|
declare type ContainerApp = {
|
|
1039
1039
|
name: string;
|
|
1040
1040
|
instances: number;
|
|
1041
|
+
image?: string;
|
|
1042
|
+
class_name: string;
|
|
1041
1043
|
scheduling_policy?: "regional" | "moon";
|
|
1042
1044
|
configuration: {
|
|
1043
1045
|
image: string;
|
|
@@ -1928,19 +1930,11 @@ declare interface EnvironmentNonInheritable {
|
|
|
1928
1930
|
cloudchamber: CloudchamberConfig;
|
|
1929
1931
|
/**
|
|
1930
1932
|
* Container related configuration
|
|
1933
|
+
*
|
|
1934
|
+
* @default []
|
|
1935
|
+
* @nonInheritable
|
|
1931
1936
|
*/
|
|
1932
|
-
containers
|
|
1933
|
-
/**
|
|
1934
|
-
* Container app configuration
|
|
1935
|
-
*
|
|
1936
|
-
* NOTE: This field is not automatically inherited from the top level environment,
|
|
1937
|
-
* and so must be specified in every named environment.
|
|
1938
|
-
*
|
|
1939
|
-
* @default {}
|
|
1940
|
-
* @nonInheritable
|
|
1941
|
-
*/
|
|
1942
|
-
app: ContainerApp[];
|
|
1943
|
-
};
|
|
1937
|
+
containers?: ContainerApp[];
|
|
1944
1938
|
/**
|
|
1945
1939
|
* These specify any Workers KV Namespaces you want to
|
|
1946
1940
|
* access from inside your Worker.
|