Skip to content

Commit 47df992

Browse files
committed
update labels
1 parent e04363c commit 47df992

File tree

5 files changed

+10
-9
lines changed
  • packages/create-cloudflare/templates
    • hello-world-assets-only
    • hello-world-durable-object-with-assets
    • hello-world-durable-object
    • hello-world-with-assets
    • hello-world

5 files changed

+10
-9
lines changed

packages/create-cloudflare/templates/hello-world-assets-only/c3.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ const config: TemplateConfig = {
44
configVersion: 1,
55
id: "hello-world-assets-only",
66
path: "templates/hello-world-assets-only",
7-
displayName: "Static Assets only",
8-
description: "Get started with a basic Worker that only serves static assets",
7+
displayName: "Assets only",
8+
description:
9+
"For static sites (including SPAs) or when using your own backend",
910
platform: "workers",
1011
copyFiles: {
1112
path: "./templates",

packages/create-cloudflare/templates/hello-world-durable-object-with-assets/c3.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ const config: TemplateConfig = {
44
configVersion: 1,
55
id: "hello-world-durable-object-with-assets",
66
path: "templates/hello-world-durable-object-with-assets",
7-
displayName: "Worker + Static Assets + Durable Objects",
7+
displayName: "Worker + Durable Objects + Assets",
88
description:
9-
"Get started with a basic stateful app to build projects like real-time chats, collaborative apps, and multiplayer games, which hosts assets",
9+
"For full-stack applications requiring static assets, an API, and real-time coordination",
1010
platform: "workers",
1111
copyFiles: {
1212
variants: {

packages/create-cloudflare/templates/hello-world-durable-object/c3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default {
33
id: "hello-world-durable-object",
44
displayName: "Worker + Durable Objects",
55
description:
6-
"Get started with a basic stateful app to build projects like real-time chats, collaborative apps, and multiplayer games",
6+
"For multiplayer apps using WebSockets, or when you need synchronization",
77
platform: "workers",
88
copyFiles: {
99
variants: {

packages/create-cloudflare/templates/hello-world-with-assets/c3.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ export default {
22
configVersion: 1,
33
id: "hello-world-with-assets",
44
path: "templates/hello-world-with-assets",
5-
displayName: "Worker + Static Assets",
6-
description:
7-
"Get started with a basic Worker that also serves static assets, in the language of your choice",
5+
displayName: "Worker + Assets",
6+
description: "For static sites with an API or server-side rendering (SSR)",
87
platform: "workers",
98
copyFiles: {
109
variants: {

packages/create-cloudflare/templates/hello-world/c3.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ export default {
66
configVersion: 1,
77
id: "hello-world",
88
displayName: "Worker only",
9-
description: "Get started with a basic Worker in the language of your choice",
9+
description:
10+
"For processing requests, transforming responses, or API endpoints",
1011
platform: "workers",
1112
async configure(ctx) {
1213
if (ctx.args.lang === "python") {

0 commit comments

Comments
 (0)