wrangler 4.18.0 → 4.19.1

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.
@@ -552,6 +552,10 @@
552
552
  "index_name": {
553
553
  "type": "string",
554
554
  "description": "The name of the index."
555
+ },
556
+ "remote": {
557
+ "type": "boolean",
558
+ "description": "Whether the Vectorize index should be remote or not (only available under `--x-mixed-mode`)"
555
559
  }
556
560
  },
557
561
  "required": [
@@ -657,6 +661,10 @@
657
661
  "properties": {
658
662
  "binding": {
659
663
  "type": "string"
664
+ },
665
+ "remote": {
666
+ "type": "boolean",
667
+ "description": "Whether the Browser binding should be remote or not (only available under `--x-mixed-mode`)"
660
668
  }
661
669
  },
662
670
  "required": [
@@ -674,6 +682,10 @@
674
682
  },
675
683
  "staging": {
676
684
  "type": "boolean"
685
+ },
686
+ "remote": {
687
+ "type": "boolean",
688
+ "description": "Whether the AI binding should be remote or not (only available under `--x-mixed-mode`)"
677
689
  }
678
690
  },
679
691
  "required": [
@@ -688,6 +700,10 @@
688
700
  "properties": {
689
701
  "binding": {
690
702
  "type": "string"
703
+ },
704
+ "remote": {
705
+ "type": "boolean",
706
+ "description": "Whether the Images binding should be remote or not (only available under `--x-mixed-mode`)"
691
707
  }
692
708
  },
693
709
  "required": [
@@ -826,6 +842,10 @@
826
842
  "outbound": {
827
843
  "$ref": "#/definitions/DispatchNamespaceOutbound",
828
844
  "description": "Details about the outbound Worker which will handle outbound requests from your namespace"
845
+ },
846
+ "remote": {
847
+ "type": "boolean",
848
+ "description": "Whether the Dispatch Namespace should be remote or not (only available under `--x-mixed-mode`)"
829
849
  }
830
850
  },
831
851
  "required": [
@@ -1512,6 +1532,10 @@
1512
1532
  "index_name": {
1513
1533
  "type": "string",
1514
1534
  "description": "The name of the index."
1535
+ },
1536
+ "remote": {
1537
+ "type": "boolean",
1538
+ "description": "Whether the Vectorize index should be remote or not (only available under `--x-mixed-mode`)"
1515
1539
  }
1516
1540
  },
1517
1541
  "required": [
@@ -1617,6 +1641,10 @@
1617
1641
  "properties": {
1618
1642
  "binding": {
1619
1643
  "type": "string"
1644
+ },
1645
+ "remote": {
1646
+ "type": "boolean",
1647
+ "description": "Whether the Browser binding should be remote or not (only available under `--x-mixed-mode`)"
1620
1648
  }
1621
1649
  },
1622
1650
  "required": [
@@ -1634,6 +1662,10 @@
1634
1662
  },
1635
1663
  "staging": {
1636
1664
  "type": "boolean"
1665
+ },
1666
+ "remote": {
1667
+ "type": "boolean",
1668
+ "description": "Whether the AI binding should be remote or not (only available under `--x-mixed-mode`)"
1637
1669
  }
1638
1670
  },
1639
1671
  "required": [
@@ -1648,6 +1680,10 @@
1648
1680
  "properties": {
1649
1681
  "binding": {
1650
1682
  "type": "string"
1683
+ },
1684
+ "remote": {
1685
+ "type": "boolean",
1686
+ "description": "Whether the Images binding should be remote or not (only available under `--x-mixed-mode`)"
1651
1687
  }
1652
1688
  },
1653
1689
  "required": [
@@ -1786,6 +1822,10 @@
1786
1822
  "outbound": {
1787
1823
  "$ref": "#/definitions/DispatchNamespaceOutbound",
1788
1824
  "description": "Details about the outbound Worker which will handle outbound requests from your namespace"
1825
+ },
1826
+ "remote": {
1827
+ "type": "boolean",
1828
+ "description": "Whether the Dispatch Namespace should be remote or not (only available under `--x-mixed-mode`)"
1789
1829
  }
1790
1830
  },
1791
1831
  "required": [
@@ -2348,6 +2388,13 @@
2348
2388
  "full_manual"
2349
2389
  ],
2350
2390
  "description": "How a rollout should be created. It supports the following modes: - full_auto: The container application will be rolled out fully automatically. - none: The container application won't have a roll out or update. - manual: The container application will be rollout fully by manually actioning progress steps."
2391
+ },
2392
+ "dev_exposed_ports": {
2393
+ "type": "array",
2394
+ "items": {
2395
+ "type": "number"
2396
+ },
2397
+ "description": "Ports to be exposed by the container application. Only applies to dev, on non-linux machines, and if the Dockerfile doesn't already declare exposed ports."
2351
2398
  }
2352
2399
  },
2353
2400
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wrangler",
3
- "version": "4.18.0",
3
+ "version": "4.19.1",
4
4
  "description": "Command-line interface for all things Cloudflare Workers",
5
5
  "keywords": [
6
6
  "wrangler",
@@ -57,7 +57,7 @@
57
57
  "unenv": "2.0.0-rc.17",
58
58
  "workerd": "1.20250525.0",
59
59
  "@cloudflare/kv-asset-handler": "0.4.0",
60
- "miniflare": "4.20250525.0"
60
+ "miniflare": "4.20250525.1"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@aws-sdk/client-s3": "^3.721.0",
@@ -65,7 +65,6 @@
65
65
  "@cloudflare/workers-types": "^4.20250525.0",
66
66
  "@cspotcode/source-map-support": "0.8.1",
67
67
  "@iarna/toml": "^3.0.0",
68
- "@microsoft/api-extractor": "^7.47.0",
69
68
  "@sentry/node": "^7.86.0",
70
69
  "@sentry/types": "^7.86.0",
71
70
  "@sentry/utils": "^7.86.0",
@@ -126,6 +125,7 @@
126
125
  "timeago.js": "^4.0.2",
127
126
  "ts-dedent": "^2.2.0",
128
127
  "ts-json-schema-generator": "^1.5.0",
128
+ "tsup": "8.3.0",
129
129
  "typescript": "^5.7.2",
130
130
  "undici": "^5.28.5",
131
131
  "update-check": "^1.5.4",
@@ -137,7 +137,7 @@
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.42",
140
+ "@cloudflare/pages-shared": "^0.13.43",
141
141
  "@cloudflare/workers-shared": "0.17.5",
142
142
  "@cloudflare/workers-tsconfig": "0.0.0"
143
143
  },
@@ -163,13 +163,11 @@
163
163
  },
164
164
  "scripts": {
165
165
  "assert-git-version": "node -r esbuild-register scripts/assert-git-version.ts",
166
- "build": "pnpm run clean && pnpm run bundle && pnpm run emit-types && pnpm run generate-json-schema",
167
- "bundle": "node -r esbuild-register scripts/bundle.ts",
166
+ "build": "pnpm run clean && pnpm tsup && pnpm run generate-json-schema",
168
167
  "check:lint": "eslint . --max-warnings=0",
169
168
  "check:type": "tsc -p ./tsconfig.json && tsc -p ./templates/tsconfig.json",
170
169
  "clean": "rimraf wrangler-dist miniflare-dist emitted-types",
171
- "dev": "pnpm run clean && concurrently -c black,blue --kill-others-on-fail false \"pnpm run bundle --watch\" \"pnpm run check:type --watch --preserveWatchOutput\"",
172
- "emit-types": "tsc -p tsconfig.emit.json && node -r esbuild-register scripts/emit-types.ts",
170
+ "dev": "pnpm run clean && concurrently -c black,blue --kill-others-on-fail false \"pnpm tsup --watch\" \"pnpm run check:type --watch --preserveWatchOutput\"",
173
171
  "generate-json-schema": "node -r esbuild-register scripts/generate-json-schema.ts",
174
172
  "start": "pnpm run bundle && cross-env NODE_OPTIONS=--enable-source-maps ./bin/wrangler.js",
175
173
  "test": "dotenv -- pnpm run assert-git-version && dotenv -- vitest",