Skip to content

Commit 13c3e75

Browse files
authored
refactor: only test prisma v7 with turbopack (#1247)
1 parent 5d2014f commit 13c3e75

4 files changed

Lines changed: 2 additions & 14 deletions

File tree

examples/common/config-e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export function configurePlaywright(
1414
multipleBrowsers = false,
1515
// Whether to run tests in single file in parallel
1616
parallel = true,
17-
// Use the turbopack runtime
17+
// Use the turbopack runtime (execute the `build:worker-turbopack` script instead of `build:worker`)
1818
useTurbopack = false,
1919
} = {}
2020
) {

examples/prisma-7/e2e/playwright.turbopack.config.ts

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

examples/prisma-7/open-next.turbopack.config.ts

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

examples/prisma-7/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@
55
"type": "module",
66
"scripts": {
77
"dev": "next dev --turbopack",
8-
"build": "next build",
8+
"build": "next build --turbopack",
99
"start": "next start",
1010
"lint": "next lint",
1111
"prepare:db": "npx prisma generate && wrangler d1 execute db --file populate.sql",
1212
"build:worker": "pnpm prepare:db && pnpm opennextjs-cloudflare build",
13-
"build:worker-turbopack": "pnpm prepare:db && pnpm opennextjs-cloudflare build --openNextConfigPath open-next.turbopack.config.ts",
1413
"preview:worker": "pnpm opennextjs-cloudflare preview",
1514
"preview": "pnpm build:worker && pnpm preview:worker",
1615
"e2e": "playwright test -c e2e/playwright.config.ts",
17-
"e2e-turbopack": "playwright test -c e2e/playwright.turbopack.config.ts",
1816
"e2e:dev": "playwright test -c e2e/playwright.dev.config.ts",
1917
"cf-typegen": "wrangler types --env-interface CloudflareEnv"
2018
},

0 commit comments

Comments
 (0)