Skip to content

Commit 31532b3

Browse files
fix up small regression on C3 next-on-pages from #8886
1 parent 349cffc commit 31532b3

File tree

2 files changed

+2
-36
lines changed

2 files changed

+2
-36
lines changed

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

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -354,13 +354,6 @@ export default function getFrameworkTestConfig(pm: string) {
354354
"next:pages": {
355355
argv: ["--platform", "pages"],
356356
timeout: LONG_TIMEOUT,
357-
unsupportedPms: ["pnpm"],
358-
promptHandlers: [
359-
{
360-
matcher: /Do you want to use the next-on-pages eslint-plugin\?/,
361-
input: ["y"],
362-
},
363-
],
364357
testCommitMessage: true,
365358
verifyDeploy: {
366359
route: "/",
@@ -373,32 +366,13 @@ export default function getFrameworkTestConfig(pm: string) {
373366
expectedText: "Create Next App",
374367
},
375368
nodeCompat: true,
376-
flags: [
377-
"--typescript",
378-
"--no-install",
379-
"--eslint",
380-
"--tailwind",
381-
"--src-dir",
382-
"--app",
383-
"--turbopack",
384-
"--import-alias",
385-
"@/*",
386-
],
369+
flags: ["--yes", "--no-install", "--import-alias", "@/*"],
387370
},
388371
"next:workers": {
389372
argv: ["--platform", "workers"],
390373
timeout: LONG_TIMEOUT,
391374
testCommitMessage: true,
392-
flags: [
393-
"--ts",
394-
"--tailwind",
395-
"--eslint",
396-
"--app",
397-
"--turbopack",
398-
"--import-alias",
399-
"@/*",
400-
"--src-dir",
401-
],
375+
flags: ["--yes", "--import-alias", "@/*"],
402376
verifyPreview: {
403377
previewArgs: ["--"],
404378
route: "/test",

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,6 @@ const configure = async (ctx: C3Context) => {
7575

7676
const usesTs = usesTypescript(ctx);
7777

78-
if (usesTs) {
79-
copyFile(
80-
join(getTemplatePath(ctx), "env.d.ts"),
81-
join(projectPath, "env.d.ts"),
82-
);
83-
updateStatus("Created an env.d.ts file");
84-
}
85-
8678
const installEslintPlugin = await shouldInstallNextOnPagesEslintPlugin(ctx);
8779

8880
if (installEslintPlugin) {

0 commit comments

Comments
 (0)