create-cloudflare 2.43.5 → 2.43.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 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.43.5";
74563
+ var version = "2.43.7";
74564
74564
 
74565
74565
  // src/metrics.ts
74566
74566
  var import_node_async_hooks = require("node:async_hooks");
@@ -76204,8 +76204,8 @@ var config16 = {
76204
76204
  configVersion: 1,
76205
76205
  id: "hello-world-assets-only",
76206
76206
  path: "templates/hello-world-assets-only",
76207
- displayName: "Assets only",
76208
- description: "For static sites (including SPAs) or when using your own backend",
76207
+ displayName: "Static site",
76208
+ description: "For static sites or when using your own backend. Uses Workers Static Assets.",
76209
76209
  platform: "workers",
76210
76210
  copyFiles: {
76211
76211
  path: "./templates"
@@ -76259,8 +76259,8 @@ var config19 = {
76259
76259
  configVersion: 1,
76260
76260
  id: "hello-world-with-assets",
76261
76261
  path: "templates/hello-world-with-assets",
76262
- displayName: "Worker + Assets",
76263
- description: "For static sites with an API or server-side rendering (SSR)",
76262
+ displayName: "SSR / full-stack app",
76263
+ description: "For sites with a backend API, or server-side rendering (SSR). Uses Static Assets with a Worker.",
76264
76264
  platform: "workers",
76265
76265
  copyFiles: {
76266
76266
  variants: {
@@ -76984,7 +76984,7 @@ async function copyExistingWorkerFiles(ctx) {
76984
76984
  await runCommand(
76985
76985
  [
76986
76986
  ...dlx,
76987
- "wrangler@3",
76987
+ "wrangler@latest",
76988
76988
  "init",
76989
76989
  "--from-dash",
76990
76990
  ctx.args.existingScript,
@@ -78065,7 +78065,7 @@ var c3_default50 = config47;
78065
78065
  var import_node_assert = __toESM(require("node:assert"));
78066
78066
 
78067
78067
  // ../wrangler/package.json
78068
- var version2 = "4.9.0";
78068
+ var version2 = "4.10.0";
78069
78069
 
78070
78070
  // src/git.ts
78071
78071
  var offerGit = async (ctx) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cloudflare",
3
- "version": "2.43.5",
3
+ "version": "2.43.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.20250405.0",
33
+ "@cloudflare/workers-types": "^4.20250409.0",
34
34
  "@iarna/toml": "^3.0.0",
35
35
  "@types/command-exists": "^1.2.0",
36
36
  "@types/cross-spawn": "^6.0.2",
@@ -70,12 +70,12 @@
70
70
  "wrap-ansi": "^9.0.0",
71
71
  "xdg-app-paths": "^8.3.0",
72
72
  "yargs": "^17.7.2",
73
- "@cloudflare/cli": "1.1.1",
74
73
  "@cloudflare/eslint-config-worker": "1.1.0",
75
74
  "@cloudflare/mock-npm-registry": "0.0.0",
76
- "@cloudflare/vite-plugin": "1.0.2",
75
+ "@cloudflare/vite-plugin": "1.0.5",
77
76
  "@cloudflare/workers-tsconfig": "0.0.0",
78
- "wrangler": "4.9.0"
77
+ "wrangler": "4.10.0",
78
+ "@cloudflare/cli": "1.1.1"
79
79
  },
80
80
  "engines": {
81
81
  "node": ">=18.14.1"
@@ -4,9 +4,9 @@ const config: TemplateConfig = {
4
4
  configVersion: 1,
5
5
  id: "hello-world-assets-only",
6
6
  path: "templates/hello-world-assets-only",
7
- displayName: "Assets only",
7
+ displayName: "Static site",
8
8
  description:
9
- "For static sites (including SPAs) or when using your own backend",
9
+ "For static sites or when using your own backend. Uses Workers Static Assets.",
10
10
  platform: "workers",
11
11
  copyFiles: {
12
12
  path: "./templates",
@@ -4,8 +4,9 @@ const config: TemplateConfig = {
4
4
  configVersion: 1,
5
5
  id: "hello-world-with-assets",
6
6
  path: "templates/hello-world-with-assets",
7
- displayName: "Worker + Assets",
8
- description: "For static sites with an API or server-side rendering (SSR)",
7
+ displayName: "SSR / full-stack app",
8
+ description:
9
+ "For sites with a backend API, or server-side rendering (SSR). Uses Static Assets with a Worker.",
9
10
  platform: "workers",
10
11
  copyFiles: {
11
12
  variants: {
@@ -32,7 +32,7 @@ export async function copyExistingWorkerFiles(ctx: C3Context) {
32
32
  await runCommand(
33
33
  [
34
34
  ...dlx,
35
- "wrangler@3",
35
+ "wrangler@latest",
36
36
  "init",
37
37
  "--from-dash",
38
38
  ctx.args.existingScript,