wrangler 4.53.0 → 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 +38 -0
- package/package.json +8 -8
- package/wrangler-dist/cli.d.ts +26 -2
- package/wrangler-dist/cli.js +11264 -10742
- package/wrangler-dist/metafile-cjs.json +1 -1
package/config-schema.json
CHANGED
|
@@ -2933,6 +2933,44 @@
|
|
|
2933
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.",
|
|
2934
2934
|
"default": "dev"
|
|
2935
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
|
+
},
|
|
2936
2974
|
"rollout_step_percentage": {
|
|
2937
2975
|
"anyOf": [
|
|
2938
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
59
|
"@cloudflare/unenv-preset": "2.7.13",
|
|
60
|
-
"miniflare": "4.
|
|
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",
|
|
@@ -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.
|
|
153
|
+
"@cloudflare/pages-shared": "^0.13.93",
|
|
154
154
|
"@cloudflare/workers-shared": "0.18.9",
|
|
155
155
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
156
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": {
|
package/wrangler-dist/cli.d.ts
CHANGED
|
@@ -840,6 +840,12 @@ type ReadConfigOptions = ResolveConfigPathOptions & {
|
|
|
840
840
|
*/
|
|
841
841
|
declare function readConfig(args: ReadConfigCommandArgs, options?: ReadConfigOptions): Config$1;
|
|
842
842
|
|
|
843
|
+
/**
|
|
844
|
+
* Based on the migrations, infer what the current Durable Object class names are.
|
|
845
|
+
* This includes unbound (ctx.exports) and bound DOs.
|
|
846
|
+
* Returns class name mapped to whether it uses SQLite storage.
|
|
847
|
+
* This is imperfect because you can delete a migration after it has been applied.
|
|
848
|
+
*/
|
|
843
849
|
declare function getDurableObjectClassNameToUseSQLiteMap(migrations: Config$1["migrations"] | undefined): Map<string, boolean>;
|
|
844
850
|
|
|
845
851
|
/**
|
|
@@ -1027,6 +1033,25 @@ type ContainerApp = {
|
|
|
1027
1033
|
/** @defaults to 2 GB */
|
|
1028
1034
|
disk_mb?: number;
|
|
1029
1035
|
};
|
|
1036
|
+
wrangler_ssh?: {
|
|
1037
|
+
/**
|
|
1038
|
+
* If enabled, those with write access to a container will be able to SSH into it through Wrangler.
|
|
1039
|
+
* @default false
|
|
1040
|
+
*/
|
|
1041
|
+
enabled: boolean;
|
|
1042
|
+
/**
|
|
1043
|
+
* Port that the SSH service is running on
|
|
1044
|
+
* @defaults to 22
|
|
1045
|
+
*/
|
|
1046
|
+
port?: number;
|
|
1047
|
+
};
|
|
1048
|
+
/**
|
|
1049
|
+
* SSH public keys to put in the container's authorized_keys file.
|
|
1050
|
+
*/
|
|
1051
|
+
authorized_keys?: {
|
|
1052
|
+
name: string;
|
|
1053
|
+
public_key: string;
|
|
1054
|
+
}[];
|
|
1030
1055
|
/**
|
|
1031
1056
|
* @deprecated Use top level `containers` fields instead.
|
|
1032
1057
|
* `configuration.image` should be `image`
|
|
@@ -2442,8 +2467,7 @@ type ConfigurationResults = {
|
|
|
2442
2467
|
declare abstract class Framework {
|
|
2443
2468
|
name: string;
|
|
2444
2469
|
constructor(name?: string);
|
|
2445
|
-
|
|
2446
|
-
get configured(): boolean;
|
|
2470
|
+
isConfigured(_projectPath: string): boolean;
|
|
2447
2471
|
abstract configure(options: ConfigurationOptions): Promise<ConfigurationResults> | ConfigurationResults;
|
|
2448
2472
|
configurationDescription?: string;
|
|
2449
2473
|
}
|