diff --git a/.changeset/three-months-work.md b/.changeset/three-months-work.md new file mode 100644 index 000000000000..4d0cb89cd6e7 --- /dev/null +++ b/.changeset/three-months-work.md @@ -0,0 +1,5 @@ +--- +"create-cloudflare": patch +--- + +fix: renamed the "Demo Application" category to "Application Starter" diff --git a/packages/create-cloudflare/e2e-tests/cli.test.ts b/packages/create-cloudflare/e2e-tests/cli.test.ts index 59c88a7dfff8..17812cf6bbc5 100644 --- a/packages/create-cloudflare/e2e-tests/cli.test.ts +++ b/packages/create-cloudflare/e2e-tests/cli.test.ts @@ -236,7 +236,7 @@ describe.skipIf(frameworkToTest || isQuarantineMode())( matcher: /What would you like to start with\?/, input: { type: "select", - target: "Demo application", + target: "Application Starter", assertDescriptionText: "Select from a range of starter applications using various Cloudflare products", }, @@ -255,7 +255,7 @@ describe.skipIf(frameworkToTest || isQuarantineMode())( ); expect(projectPath).toExist(); - expect(output).toContain(`category Demo application`); + expect(output).toContain(`category Application Starter`); expect(output).toContain(`type API starter (OpenAPI compliant)`); }, ); @@ -270,7 +270,7 @@ describe.skipIf(frameworkToTest || isQuarantineMode())( matcher: /What would you like to start with\?/, input: { type: "select", - target: "Demo application", + target: "Application Starter", }, }, { @@ -300,7 +300,7 @@ describe.skipIf(frameworkToTest || isQuarantineMode())( input: { type: "select", target: "Framework Starter", - assertDefaultSelection: "Demo application", + assertDefaultSelection: "Application Starter", }, }, { diff --git a/packages/create-cloudflare/src/helpers/args.ts b/packages/create-cloudflare/src/helpers/args.ts index 1d148ecd36a2..6638dfb42516 100644 --- a/packages/create-cloudflare/src/helpers/args.ts +++ b/packages/create-cloudflare/src/helpers/args.ts @@ -53,7 +53,7 @@ const cliDefinition: ArgumentsDefinition = { values: [ { name: "hello-world", description: "Hello World example" }, { name: "web-framework", description: "Framework Starter" }, - { name: "demo", description: "Demo application" }, + { name: "demo", description: "Application Starter" }, { name: "remote-template", description: "Template from a Github repo" }, ], }, diff --git a/packages/create-cloudflare/src/templates.ts b/packages/create-cloudflare/src/templates.ts index 4a046298634a..17266540a7c1 100644 --- a/packages/create-cloudflare/src/templates.ts +++ b/packages/create-cloudflare/src/templates.ts @@ -289,7 +289,7 @@ export const createContext = async ( description: "Select from the most popular full-stack web frameworks", }, { - label: "Demo application", + label: "Application Starter", value: "demo", description: "Select from a range of starter applications using various Cloudflare products",