wrangler 4.14.2 → 4.14.3
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 +40 -5
- package/package.json +7 -7
- package/wrangler-dist/cli.d.ts +24 -1
- package/wrangler-dist/cli.js +12655 -12070
package/config-schema.json
CHANGED
@@ -2160,13 +2160,31 @@
|
|
2160
2160
|
"type": "object",
|
2161
2161
|
"properties": {
|
2162
2162
|
"name": {
|
2163
|
-
"type": "string"
|
2163
|
+
"type": "string",
|
2164
|
+
"description": "Name of the application"
|
2164
2165
|
},
|
2165
2166
|
"instances": {
|
2166
|
-
"type": "number"
|
2167
|
+
"type": "number",
|
2168
|
+
"description": "Number of application instances"
|
2169
|
+
},
|
2170
|
+
"max_instances": {
|
2171
|
+
"type": "number",
|
2172
|
+
"description": "Number of maximum application instances. Only applicable to Durable Object container applications"
|
2167
2173
|
},
|
2168
2174
|
"image": {
|
2169
|
-
"type": "string"
|
2175
|
+
"type": "string",
|
2176
|
+
"description": "The path to a Dockerfile, or an image URI. Can be defined both here or by setting the `image` key in the `ContainerApp` configuration"
|
2177
|
+
},
|
2178
|
+
"image_build_context": {
|
2179
|
+
"type": "string",
|
2180
|
+
"description": "Build context of the application. By default it is the directory of `image`."
|
2181
|
+
},
|
2182
|
+
"image_vars": {
|
2183
|
+
"type": "object",
|
2184
|
+
"additionalProperties": {
|
2185
|
+
"type": "string"
|
2186
|
+
},
|
2187
|
+
"description": "Image variables to be passed along the image"
|
2170
2188
|
},
|
2171
2189
|
"class_name": {
|
2172
2190
|
"type": "string"
|
@@ -2176,7 +2194,8 @@
|
|
2176
2194
|
"enum": [
|
2177
2195
|
"regional",
|
2178
2196
|
"moon"
|
2179
|
-
]
|
2197
|
+
],
|
2198
|
+
"description": "The scheduling policy of the application, default is regional"
|
2180
2199
|
},
|
2181
2200
|
"configuration": {
|
2182
2201
|
"type": "object",
|
@@ -2252,12 +2271,28 @@
|
|
2252
2271
|
"type": "number"
|
2253
2272
|
}
|
2254
2273
|
},
|
2274
|
+
"additionalProperties": false,
|
2275
|
+
"description": "Scheduling constraints"
|
2276
|
+
},
|
2277
|
+
"durable_objects": {
|
2278
|
+
"type": "object",
|
2279
|
+
"properties": {
|
2280
|
+
"namespace_id": {
|
2281
|
+
"type": "string"
|
2282
|
+
}
|
2283
|
+
},
|
2284
|
+
"required": [
|
2285
|
+
"namespace_id"
|
2286
|
+
],
|
2255
2287
|
"additionalProperties": false
|
2288
|
+
},
|
2289
|
+
"rollout_step_percentage": {
|
2290
|
+
"type": "number",
|
2291
|
+
"description": "How a rollout should be done, defining the size of it"
|
2256
2292
|
}
|
2257
2293
|
},
|
2258
2294
|
"required": [
|
2259
2295
|
"name",
|
2260
|
-
"instances",
|
2261
2296
|
"class_name",
|
2262
2297
|
"configuration"
|
2263
2298
|
],
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wrangler",
|
3
|
-
"version": "4.14.
|
3
|
+
"version": "4.14.3",
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
5
5
|
"keywords": [
|
6
6
|
"wrangler",
|
@@ -52,17 +52,17 @@
|
|
52
52
|
"dependencies": {
|
53
53
|
"@cloudflare/unenv-preset": "2.3.1",
|
54
54
|
"blake3-wasm": "2.1.5",
|
55
|
-
"esbuild": "0.25.
|
55
|
+
"esbuild": "0.25.4",
|
56
56
|
"path-to-regexp": "6.3.0",
|
57
57
|
"unenv": "2.0.0-rc.15",
|
58
|
-
"workerd": "1.
|
58
|
+
"workerd": "1.20250507.0",
|
59
59
|
"@cloudflare/kv-asset-handler": "0.4.0",
|
60
|
-
"miniflare": "4.
|
60
|
+
"miniflare": "4.20250507.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.20250507.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",
|
@@ -137,12 +137,12 @@
|
|
137
137
|
"yargs": "^17.7.2",
|
138
138
|
"@cloudflare/cli": "1.1.1",
|
139
139
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
140
|
+
"@cloudflare/pages-shared": "^0.13.36",
|
140
141
|
"@cloudflare/workers-shared": "0.17.5",
|
141
|
-
"@cloudflare/pages-shared": "^0.13.35",
|
142
142
|
"@cloudflare/workers-tsconfig": "0.0.0"
|
143
143
|
},
|
144
144
|
"peerDependencies": {
|
145
|
-
"@cloudflare/workers-types": "^4.
|
145
|
+
"@cloudflare/workers-types": "^4.20250507.0"
|
146
146
|
},
|
147
147
|
"peerDependenciesMeta": {
|
148
148
|
"@cloudflare/workers-types": {
|
package/wrangler-dist/cli.d.ts
CHANGED
@@ -1059,10 +1059,27 @@ options?: { dispatcher?: Dispatcher } & Omit<Dispatcher.ConnectOptions, 'origin'
|
|
1059
1059
|
* Configuration for a container application
|
1060
1060
|
*/
|
1061
1061
|
declare type ContainerApp = {
|
1062
|
+
/** Name of the application*/
|
1062
1063
|
name: string;
|
1063
|
-
instances
|
1064
|
+
/** Number of application instances */
|
1065
|
+
instances?: number;
|
1066
|
+
/** Number of maximum application instances. Only applicable to Durable Object container applications */
|
1067
|
+
max_instances?: number;
|
1068
|
+
/**
|
1069
|
+
* The path to a Dockerfile, or an image URI.
|
1070
|
+
* Can be defined both here or by setting the `image` key in the `ContainerApp` configuration
|
1071
|
+
*/
|
1064
1072
|
image?: string;
|
1073
|
+
/**
|
1074
|
+
* Build context of the application. By default it is the directory of `image`.
|
1075
|
+
*/
|
1076
|
+
image_build_context?: string;
|
1077
|
+
/**
|
1078
|
+
* Image variables to be passed along the image
|
1079
|
+
*/
|
1080
|
+
image_vars?: Record<string, string>;
|
1065
1081
|
class_name: string;
|
1082
|
+
/** The scheduling policy of the application, default is regional */
|
1066
1083
|
scheduling_policy?: "regional" | "moon";
|
1067
1084
|
configuration: {
|
1068
1085
|
image: string;
|
@@ -1076,11 +1093,17 @@ declare type ContainerApp = {
|
|
1076
1093
|
secret: string;
|
1077
1094
|
}[];
|
1078
1095
|
};
|
1096
|
+
/** Scheduling constraints */
|
1079
1097
|
constraints?: {
|
1080
1098
|
regions?: string[];
|
1081
1099
|
cities?: string[];
|
1082
1100
|
tier?: number;
|
1083
1101
|
};
|
1102
|
+
durable_objects?: {
|
1103
|
+
namespace_id: string;
|
1104
|
+
};
|
1105
|
+
/** How a rollout should be done, defining the size of it */
|
1106
|
+
rollout_step_percentage?: number;
|
1084
1107
|
};
|
1085
1108
|
|
1086
1109
|
declare abstract class Controller<EventMap extends ControllerEventMap = ControllerEventMap> extends TypedEventEmitterImpl<EventMap> {
|