create-cloudflare 2.51.6 → 2.51.7
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/dist/cli.js +6 -2
- package/package.json +5 -5
package/dist/cli.js
CHANGED
|
@@ -79300,7 +79300,7 @@ var Yargs = YargsFactory(esm_default);
|
|
|
79300
79300
|
var yargs_default = Yargs;
|
|
79301
79301
|
|
|
79302
79302
|
// package.json
|
|
79303
|
-
var version = "2.51.
|
|
79303
|
+
var version = "2.51.7";
|
|
79304
79304
|
|
|
79305
79305
|
// src/metrics.ts
|
|
79306
79306
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -82778,7 +82778,7 @@ var c3_default50 = config46;
|
|
|
82778
82778
|
var import_node_assert2 = __toESM(require("node:assert"));
|
|
82779
82779
|
|
|
82780
82780
|
// ../wrangler/package.json
|
|
82781
|
-
var version2 = "4.
|
|
82781
|
+
var version2 = "4.39.0";
|
|
82782
82782
|
|
|
82783
82783
|
// src/git.ts
|
|
82784
82784
|
var offerGit = async (ctx) => {
|
|
@@ -83313,6 +83313,10 @@ var createContext = async (args, prevArgs) => {
|
|
|
83313
83313
|
return goBack("platform");
|
|
83314
83314
|
}
|
|
83315
83315
|
frameworkConfig = frameworkConfig.platformVariants[platform];
|
|
83316
|
+
} else if (args.platform && args.platform !== frameworkConfig.platform) {
|
|
83317
|
+
throw new Error(
|
|
83318
|
+
`The ${frameworkConfig.displayName} framework doesn't support the "${args.platform}" platform`
|
|
83319
|
+
);
|
|
83316
83320
|
}
|
|
83317
83321
|
template = {
|
|
83318
83322
|
deployScript: "pages:deploy",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cloudflare",
|
|
3
|
-
"version": "2.51.
|
|
3
|
+
"version": "2.51.7",
|
|
4
4
|
"description": "A CLI for creating and deploying new applications to Cloudflare.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@babel/parser": "^7.21.3",
|
|
31
31
|
"@babel/types": "^7.21.4",
|
|
32
32
|
"@clack/prompts": "^0.6.3",
|
|
33
|
-
"@cloudflare/workers-types": "^4.
|
|
33
|
+
"@cloudflare/workers-types": "^4.20250923.0",
|
|
34
34
|
"@iarna/toml": "^3.0.0",
|
|
35
35
|
"@types/command-exists": "^1.2.0",
|
|
36
36
|
"@types/cross-spawn": "^6.0.2",
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"wrap-ansi": "^9.0.0",
|
|
73
73
|
"xdg-app-paths": "^8.3.0",
|
|
74
74
|
"yargs": "^17.7.2",
|
|
75
|
-
"@cloudflare/mock-npm-registry": "0.0.0",
|
|
76
75
|
"@cloudflare/eslint-config-shared": "1.1.0",
|
|
76
|
+
"@cloudflare/mock-npm-registry": "0.0.0",
|
|
77
77
|
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
78
|
-
"@cloudflare/vite-plugin": "1.13.0",
|
|
79
78
|
"@cloudflare/cli": "1.1.2",
|
|
80
|
-
"
|
|
79
|
+
"@cloudflare/vite-plugin": "1.13.4",
|
|
80
|
+
"wrangler": "4.39.0"
|
|
81
81
|
},
|
|
82
82
|
"engines": {
|
|
83
83
|
"node": ">=18.14.1"
|