create-cloudflare 2.44.1 → 2.45.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/dist/cli.js CHANGED
@@ -74560,7 +74560,7 @@ var Yargs = YargsFactory(esm_default);
74560
74560
  var yargs_default = Yargs;
74561
74561
 
74562
74562
  // package.json
74563
- var version = "2.44.1";
74563
+ var version = "2.45.0";
74564
74564
 
74565
74565
  // src/metrics.ts
74566
74566
  var import_node_async_hooks = require("node:async_hooks");
@@ -75335,21 +75335,21 @@ var package_default = {
75335
75335
  "so that we can use dependabot to update these dependencies automatically."
75336
75336
  ],
75337
75337
  dependencies: {
75338
- "create-astro": "4.11.1",
75338
+ "create-astro": "4.11.2",
75339
75339
  "create-analog": "1.8.1",
75340
- "@angular/create": "19.2.7",
75340
+ "@angular/create": "19.2.8",
75341
75341
  "create-docusaurus": "3.7.0",
75342
75342
  "create-hono": "0.17.0",
75343
- "create-next-app": "15.3.0",
75343
+ "create-next-app": "15.3.1",
75344
75344
  "create-qwik": "1.13.0",
75345
- "create-vite": "6.3.1",
75345
+ "create-vite": "6.4.1",
75346
75346
  "create-remix": "2.16.5",
75347
- "create-react-router": "7.5.0",
75347
+ "create-react-router": "7.5.1",
75348
75348
  "create-solid": "0.6.2",
75349
75349
  "create-vue": "3.16.4",
75350
75350
  gatsby: "5.14.3",
75351
75351
  sv: "0.8.1",
75352
- nuxi: "3.24.1"
75352
+ nuxi: "3.25.0"
75353
75353
  }
75354
75354
  };
75355
75355
 
@@ -77190,8 +77190,6 @@ var configure12 = async (ctx) => {
77190
77190
  const cmd = [name2 === "pnpm" ? npm13 : npx5, "qwik", "add", "cloudflare-pages"];
77191
77191
  endSection(`Running ${quoteShellArgs(cmd)}`);
77192
77192
  await runCommand(cmd);
77193
- removeFile("./public/_headers");
77194
- removeFile("./public/_redirects");
77195
77193
  removeFile("./public/_routes.json");
77196
77194
  addBindingsProxy2(ctx);
77197
77195
  populateCloudflareEnv2();
@@ -77231,7 +77229,7 @@ var addBindingsProxy2 = (ctx) => {
77231
77229
  return false;
77232
77230
  }
77233
77231
  if (configArgument.type !== "ObjectExpression") {
77234
- crash("Failed to update `vite.config.ts`");
77232
+ throw new Error("Failed to update `vite.config.ts`");
77235
77233
  }
77236
77234
  configArgument.properties.push(platformPropery);
77237
77235
  return false;
@@ -78065,7 +78063,7 @@ var c3_default50 = config47;
78065
78063
  var import_node_assert = __toESM(require("node:assert"));
78066
78064
 
78067
78065
  // ../wrangler/package.json
78068
- var version2 = "4.12.0";
78066
+ var version2 = "4.12.1";
78069
78067
 
78070
78068
  // src/git.ts
78071
78069
  var offerGit = async (ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cloudflare",
3
- "version": "2.44.1",
3
+ "version": "2.45.0",
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.20250415.0",
33
+ "@cloudflare/workers-types": "^4.20250417.0",
34
34
  "@iarna/toml": "^3.0.0",
35
35
  "@types/command-exists": "^1.2.0",
36
36
  "@types/cross-spawn": "^6.0.2",
@@ -73,9 +73,9 @@
73
73
  "@cloudflare/cli": "1.1.1",
74
74
  "@cloudflare/eslint-config-worker": "1.1.0",
75
75
  "@cloudflare/mock-npm-registry": "0.0.0",
76
- "@cloudflare/vite-plugin": "1.0.8",
76
+ "@cloudflare/vite-plugin": "1.0.9",
77
77
  "@cloudflare/workers-tsconfig": "0.0.0",
78
- "wrangler": "4.12.0"
78
+ "wrangler": "4.12.1"
79
79
  },
80
80
  "engines": {
81
81
  "node": ">=18.14.1"
@@ -1,4 +1,4 @@
1
- import { crash, endSection } from "@cloudflare/cli";
1
+ import { endSection } from "@cloudflare/cli";
2
2
  import { brandColor } from "@cloudflare/cli/colors";
3
3
  import { spinner } from "@cloudflare/cli/interactive";
4
4
  import { runFrameworkGenerator } from "frameworks/index";
@@ -24,8 +24,6 @@ const configure = async (ctx: C3Context) => {
24
24
  await runCommand(cmd);
25
25
 
26
26
  // Remove the extraneous Pages files
27
- removeFile("./public/_headers");
28
- removeFile("./public/_redirects");
29
27
  removeFile("./public/_routes.json");
30
28
 
31
29
  addBindingsProxy(ctx);
@@ -81,7 +79,7 @@ const addBindingsProxy = (ctx: C3Context) => {
81
79
  }
82
80
 
83
81
  if (configArgument.type !== "ObjectExpression") {
84
- crash("Failed to update `vite.config.ts`");
82
+ throw new Error("Failed to update `vite.config.ts`");
85
83
  }
86
84
 
87
85
  // Add the `platform` object to the object