wrangler 3.73.0 → 3.74.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/package.json +5 -5
- package/wrangler-dist/cli.d.ts +10 -4
- package/wrangler-dist/cli.js +296 -202
- package/templates/no-op-assets-worker.ts +0 -33
- package/wrangler-dist/cli.js.map +0 -7
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "wrangler",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.74.0",
|
4
4
|
"description": "Command-line interface for all things Cloudflare Workers",
|
5
5
|
"keywords": [
|
6
6
|
"wrangler",
|
@@ -65,9 +65,9 @@
|
|
65
65
|
"unenv": "npm:unenv-nightly@2.0.0-1724863496.70db6f1",
|
66
66
|
"workerd": "1.20240821.1",
|
67
67
|
"xxhash-wasm": "^1.0.1",
|
68
|
+
"@cloudflare/workers-shared": "0.4.1",
|
68
69
|
"@cloudflare/kv-asset-handler": "0.3.4",
|
69
|
-
"miniflare": "3.20240821.
|
70
|
-
"@cloudflare/workers-shared": "0.4.1"
|
70
|
+
"miniflare": "3.20240821.1"
|
71
71
|
},
|
72
72
|
"devDependencies": {
|
73
73
|
"@cloudflare/types": "^6.18.4",
|
@@ -152,9 +152,9 @@
|
|
152
152
|
"xdg-app-paths": "^8.3.0",
|
153
153
|
"yargs": "^17.7.2",
|
154
154
|
"yoga-layout": "file:../../vendor/yoga-layout-2.0.0-beta.1.tgz",
|
155
|
-
"@cloudflare/cli": "1.1.1",
|
156
155
|
"@cloudflare/eslint-config-worker": "1.1.0",
|
157
|
-
"@cloudflare/
|
156
|
+
"@cloudflare/cli": "1.1.1",
|
157
|
+
"@cloudflare/pages-shared": "^0.11.54",
|
158
158
|
"@cloudflare/workers-tsconfig": "0.0.0"
|
159
159
|
},
|
160
160
|
"peerDependencies": {
|
package/wrangler-dist/cli.d.ts
CHANGED
@@ -975,6 +975,7 @@ declare function deploy({ directory, accountId, projectName, branch, skipCaching
|
|
975
975
|
modified_on: string;
|
976
976
|
short_id: string;
|
977
977
|
build_image_major_version: number;
|
978
|
+
kv_namespaces?: any;
|
978
979
|
source?: {
|
979
980
|
type: "github" | "gitlab";
|
980
981
|
config: {
|
@@ -989,7 +990,6 @@ declare function deploy({ directory, accountId, projectName, branch, skipCaching
|
|
989
990
|
preview_branch_excludes?: string[] | undefined;
|
990
991
|
};
|
991
992
|
} | undefined;
|
992
|
-
kv_namespaces?: any;
|
993
993
|
env_vars?: any;
|
994
994
|
durable_object_namespaces?: any;
|
995
995
|
is_skipped?: boolean | undefined;
|
@@ -1409,8 +1409,6 @@ declare type Entry = {
|
|
1409
1409
|
format: CfScriptFormat;
|
1410
1410
|
/** The directory that contains all of a `--no-bundle` worker's modules. Usually `${directory}/src`. Defaults to path.dirname(file) */
|
1411
1411
|
moduleRoot: string;
|
1412
|
-
/** Whether this is a no-op worker that will not ultimately be uploaded e.g. for assets*/
|
1413
|
-
staticAssetsOnly?: boolean;
|
1414
1412
|
/**
|
1415
1413
|
* A worker's name
|
1416
1414
|
*/
|
@@ -2278,6 +2276,10 @@ declare type ExperimentalAssets = {
|
|
2278
2276
|
binding?: string;
|
2279
2277
|
};
|
2280
2278
|
|
2279
|
+
declare interface ExperimentalAssetsOptions extends ExperimentalAssets {
|
2280
|
+
routingConfig: RoutingConfig;
|
2281
|
+
}
|
2282
|
+
|
2281
2283
|
declare function fetch (
|
2282
2284
|
input: RequestInfo,
|
2283
2285
|
init?: RequestInit
|
@@ -25756,6 +25758,10 @@ declare namespace RetryHandler {
|
|
25756
25758
|
|
25757
25759
|
declare type Route = SimpleRoute | ZoneIdRoute | ZoneNameRoute | CustomDomainRoute;
|
25758
25760
|
|
25761
|
+
declare type RoutingConfig = {
|
25762
|
+
hasUserWorker: boolean;
|
25763
|
+
};
|
25764
|
+
|
25759
25765
|
/**
|
25760
25766
|
* A bundling resolver rule, defining the modules type for paths that match the specified globs.
|
25761
25767
|
*/
|
@@ -25932,7 +25938,7 @@ declare interface StartDevWorkerInput {
|
|
25932
25938
|
};
|
25933
25939
|
unsafe?: Omit<CfUnsafe, "bindings">;
|
25934
25940
|
experimental?: {
|
25935
|
-
assets?: Omit<
|
25941
|
+
assets?: Omit<ExperimentalAssetsOptions, "bindings">;
|
25936
25942
|
};
|
25937
25943
|
}
|
25938
25944
|
|