From 5cc3bb10ae3027fa40c77f42e94e6fb0eae710ce Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Tue, 7 Jan 2025 10:23:07 +0100 Subject: [PATCH] [C3] Consistently use full official full stack framework names (#7664) --- .changeset/quick-years-run.md | 7 +++++++ .../create-cloudflare/templates-experimental/next/c3.ts | 2 +- .../create-cloudflare/templates-experimental/solid/c3.ts | 2 +- packages/create-cloudflare/templates/next/c3.ts | 2 +- packages/create-cloudflare/templates/solid/c3.ts | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 .changeset/quick-years-run.md diff --git a/.changeset/quick-years-run.md b/.changeset/quick-years-run.md new file mode 100644 index 000000000000..271f4a4598c0 --- /dev/null +++ b/.changeset/quick-years-run.md @@ -0,0 +1,7 @@ +--- +"create-cloudflare": patch +--- + +Consistently use full official full stack framework names + +Rename the `Solid` framework entry to `SolidStart` and `Next` to `Next.js` so that these alongside `SvelteKit` present the full official unshortened names of full stack frameworks diff --git a/packages/create-cloudflare/templates-experimental/next/c3.ts b/packages/create-cloudflare/templates-experimental/next/c3.ts index 80f0959f68ac..86f2bf7f9251 100644 --- a/packages/create-cloudflare/templates-experimental/next/c3.ts +++ b/packages/create-cloudflare/templates-experimental/next/c3.ts @@ -38,7 +38,7 @@ export default { // is not yet fully ready for Next.js 15, once it is we should remove the following frameworkCliPinnedVersion: "14.2.5", platform: "workers", - displayName: "Next (using Node.js compat + Workers Assets)", + displayName: "Next.js (using Node.js compat + Workers Assets)", path: "templates-experimental/next", copyFiles: { path: "./templates", diff --git a/packages/create-cloudflare/templates-experimental/solid/c3.ts b/packages/create-cloudflare/templates-experimental/solid/c3.ts index 6f481f60e6fe..088774a570f0 100644 --- a/packages/create-cloudflare/templates-experimental/solid/c3.ts +++ b/packages/create-cloudflare/templates-experimental/solid/c3.ts @@ -72,7 +72,7 @@ const config: TemplateConfig = { configVersion: 1, id: "solid", frameworkCli: "create-solid", - displayName: "Solid", + displayName: "SolidStart", platform: "workers", copyFiles: { path: "./templates", diff --git a/packages/create-cloudflare/templates/next/c3.ts b/packages/create-cloudflare/templates/next/c3.ts index 61447f4972e5..71cb7b480c68 100644 --- a/packages/create-cloudflare/templates/next/c3.ts +++ b/packages/create-cloudflare/templates/next/c3.ts @@ -176,7 +176,7 @@ export default { id: "next", frameworkCli: "create-next-app", platform: "pages", - displayName: "Next", + displayName: "Next.js", generate, configure, copyFiles: { diff --git a/packages/create-cloudflare/templates/solid/c3.ts b/packages/create-cloudflare/templates/solid/c3.ts index 6898b7a39bad..e406ad86e30d 100644 --- a/packages/create-cloudflare/templates/solid/c3.ts +++ b/packages/create-cloudflare/templates/solid/c3.ts @@ -66,7 +66,7 @@ const config: TemplateConfig = { configVersion: 1, id: "solid", frameworkCli: "create-solid", - displayName: "Solid", + displayName: "SolidStart", platform: "pages", copyFiles: { path: "./templates",