Skip to content

Commit 8e05701

Browse files
C3: Remove the Remix option since the framework is no longer recommended for new applications (#10700)
* C3: Remove the Remix option since the framework is no longer recommended for new applications * update changeset as suggested * Apply suggestion from @dario-piotrowicz
1 parent 738211d commit 8e05701

File tree

16 files changed

+179
-392
lines changed

16 files changed

+179
-392
lines changed

.changeset/bright-signs-report.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"create-cloudflare": minor
3+
---
4+
5+
Remove the Remix option since the framework is no longer recommended by the Remix team for new applications

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

Lines changed: 169 additions & 169 deletions
Large diffs are not rendered by default.

packages/create-cloudflare/e2e/tests/frameworks/fixtures/remix/app/routes/test.tsx

Lines changed: 0 additions & 20 deletions
This file was deleted.

packages/create-cloudflare/e2e/tests/frameworks/test-config.ts

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -333,44 +333,6 @@ function getFrameworkTestConfig(pm: string): NamedFrameworkTestConfig[] {
333333
},
334334
nodeCompat: true,
335335
},
336-
{
337-
name: "remix:pages",
338-
argv: ["--platform", "pages"],
339-
testCommitMessage: true,
340-
timeout: LONG_TIMEOUT,
341-
unsupportedPms: ["yarn"],
342-
unsupportedOSs: ["win32"],
343-
verifyDeploy: {
344-
route: "/",
345-
expectedText: "Welcome to Remix",
346-
},
347-
verifyPreview: {
348-
previewArgs: ["--inspector-port=0"],
349-
route: "/test",
350-
expectedText: "C3_TEST",
351-
},
352-
nodeCompat: false,
353-
flags: ["--typescript", "--no-install", "--no-git-init"],
354-
},
355-
{
356-
name: "remix:workers",
357-
argv: ["--platform", "workers"],
358-
testCommitMessage: true,
359-
timeout: LONG_TIMEOUT,
360-
unsupportedPms: ["yarn"],
361-
unsupportedOSs: ["win32"],
362-
verifyDeploy: {
363-
route: "/",
364-
expectedText: "Welcome to Remix",
365-
},
366-
verifyPreview: {
367-
previewArgs: ["--inspector-port=0"],
368-
route: "/test",
369-
expectedText: "C3_TEST",
370-
},
371-
nodeCompat: false,
372-
flags: ["--typescript", "--no-install", "--no-git-init"],
373-
},
374336
{
375337
name: "next:pages",
376338
argv: ["--platform", "pages"],

packages/create-cloudflare/src/frameworks/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"create-next-app": "15.4.6",
1414
"create-qwik": "1.16.0",
1515
"create-vite": "7.1.1",
16-
"create-remix": "2.16.8",
1716
"create-react-router": "7.8.2",
1817
"create-solid": "0.6.7",
1918
"create-vue": "3.18.0",

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const cliDefinition: ArgumentsDefinition = {
109109
requiresArg: true,
110110
description: `The type of framework to use to create a web application (when using this option "--category" is coerced to "web-framework")
111111
112-
When using the --framework option, C3 will dispatch to the official creation tool used by the framework (ex. "create-remix" is used for Remix).
112+
When using the --framework option, C3 will dispatch to the official creation tool used by the framework (e.g. "create-astro" is used for Astro).
113113
114114
You may specify additional arguments to be passed directly to these underlying tools by adding them after a "--" argument, like so:
115115
@@ -204,9 +204,9 @@ export const cliDefinition: ArgumentsDefinition = {
204204
type: "string",
205205
requiresArg: true,
206206
description: `The mechanism to use when fetching the template.
207-
208-
Can be either "git" or "tar". "tar" does not support fetching from private
209-
repositories. By default, degit will use "tar" if the template is hosted on GitHub, BitBucket, GitLab, or git.sr.ht.
207+
208+
Can be either "git" or "tar". "tar" does not support fetching from private
209+
repositories. By default, degit will use "tar" if the template is hosted on GitHub, BitBucket, GitLab, or git.sr.ht.
210210
Otherwise, it will use "git".
211211
`,
212212
values: [

packages/create-cloudflare/src/templates.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ import queuesTemplate from "templates/queues/c3";
3939
import qwikTemplate from "templates/qwik/c3";
4040
import reactRouterTemplate from "templates/react-router/c3";
4141
import reactTemplate from "templates/react/c3";
42-
import remixTemplate from "templates/remix/c3";
4342
import scheduledTemplate from "templates/scheduled/c3";
4443
import solidTemplate from "templates/solid/c3";
4544
import svelteTemplate from "templates/svelte/c3";
@@ -202,7 +201,6 @@ export function getFrameworkMap({ experimental = false }): TemplateMap {
202201
qwik: qwikTemplate,
203202
react: reactTemplate,
204203
"react-router": reactRouterTemplate,
205-
remix: remixTemplate,
206204
solid: solidTemplate,
207205
svelte: svelteTemplate,
208206
vue: vueTemplate,

packages/create-cloudflare/src/workers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export async function updateTsConfig(
170170
}
171171

172172
/**
173-
* TODO: delete if/when qwik and remix move to wrangler v4
173+
* TODO: delete if/when qwik move to wrangler v4
174174
* Installs the latest version of the `@cloudflare/workers-types` package
175175
* and updates the .tsconfig file to use the latest entrypoint version.
176176
*/

packages/create-cloudflare/templates/remix/c3.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/create-cloudflare/templates/remix/pages/c3.ts

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)