Skip to content

Commit 2e9aa53

Browse files
authored
fix(create-cloudflare): rename category (#6557)
1 parent a9f36ef commit 2e9aa53

4 files changed

Lines changed: 11 additions & 6 deletions

File tree

.changeset/three-months-work.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-cloudflare": patch
3+
---
4+
5+
fix: renamed the "Demo Application" category to "Application Starter"

packages/create-cloudflare/e2e-tests/cli.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ describe.skipIf(frameworkToTest || isQuarantineMode())(
236236
matcher: /What would you like to start with\?/,
237237
input: {
238238
type: "select",
239-
target: "Demo application",
239+
target: "Application Starter",
240240
assertDescriptionText:
241241
"Select from a range of starter applications using various Cloudflare products",
242242
},
@@ -255,7 +255,7 @@ describe.skipIf(frameworkToTest || isQuarantineMode())(
255255
);
256256

257257
expect(projectPath).toExist();
258-
expect(output).toContain(`category Demo application`);
258+
expect(output).toContain(`category Application Starter`);
259259
expect(output).toContain(`type API starter (OpenAPI compliant)`);
260260
},
261261
);
@@ -270,7 +270,7 @@ describe.skipIf(frameworkToTest || isQuarantineMode())(
270270
matcher: /What would you like to start with\?/,
271271
input: {
272272
type: "select",
273-
target: "Demo application",
273+
target: "Application Starter",
274274
},
275275
},
276276
{
@@ -300,7 +300,7 @@ describe.skipIf(frameworkToTest || isQuarantineMode())(
300300
input: {
301301
type: "select",
302302
target: "Framework Starter",
303-
assertDefaultSelection: "Demo application",
303+
assertDefaultSelection: "Application Starter",
304304
},
305305
},
306306
{

packages/create-cloudflare/src/helpers/args.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const cliDefinition: ArgumentsDefinition = {
5353
values: [
5454
{ name: "hello-world", description: "Hello World example" },
5555
{ name: "web-framework", description: "Framework Starter" },
56-
{ name: "demo", description: "Demo application" },
56+
{ name: "demo", description: "Application Starter" },
5757
{ name: "remote-template", description: "Template from a Github repo" },
5858
],
5959
},

packages/create-cloudflare/src/templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ export const createContext = async (
289289
description: "Select from the most popular full-stack web frameworks",
290290
},
291291
{
292-
label: "Demo application",
292+
label: "Application Starter",
293293
value: "demo",
294294
description:
295295
"Select from a range of starter applications using various Cloudflare products",

0 commit comments

Comments
 (0)