wrangler 4.86.0 → 4.87.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/bin/wrangler.js +2 -3
- package/config-schema.json +1113 -474
- package/package.json +11 -11
- package/wrangler-dist/cli.d.ts +85 -18
- package/wrangler-dist/cli.js +2308 -950
- package/wrangler-dist/metafile-cjs.json +1 -1
package/bin/wrangler.js
CHANGED
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
const { spawn } = require("child_process");
|
|
3
3
|
const path = require("path");
|
|
4
4
|
|
|
5
|
-
const
|
|
6
|
-
const MIN_NODE_VERSION = "20.0.0";
|
|
5
|
+
const MIN_NODE_VERSION = "22.0.0";
|
|
7
6
|
let wranglerProcess;
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* Executes ../wrangler-dist/cli.js
|
|
11
10
|
*/
|
|
12
11
|
function runWrangler() {
|
|
13
|
-
if (semiver(process.versions.node,
|
|
12
|
+
if (semiver(process.versions.node, MIN_NODE_VERSION) < 0) {
|
|
14
13
|
// Note Volta and nvm are also recommended in the official docs:
|
|
15
14
|
// https://developers.cloudflare.com/workers/get-started/guide#2-install-the-workers-cli
|
|
16
15
|
console.error(
|