|
20 | 20 | "test:build-latest-webpack": "pnpm install && pnpm add next@latest && pnpm build-webpack", |
21 | 21 | "test:build-canary-webpack": "pnpm install && pnpm add next@canary && pnpm build-webpack", |
22 | 22 | "test:assert": "pnpm test:prod && pnpm test:dev", |
23 | | - "test:assert-webpack": "pnpm test:prod && pnpm test:dev-webpack" |
| 23 | + "test:assert-webpack": "pnpm test:prod && pnpm test:dev-webpack", |
| 24 | + "test:build:cloudflare": "pnpm install && _SENTRY_TUNNEL_DESTINATION_OVERRIDE=http://localhost:3031/ opennextjs-cloudflare build", |
| 25 | + "start:cloudflare": "opennextjs-cloudflare preview" |
24 | 26 | }, |
25 | 27 | "dependencies": { |
26 | | - "@sentry/nextjs": "file:../../packed/sentry-nextjs-packed.tgz", |
| 28 | + "@opennextjs/cloudflare": "^1.14.9", |
27 | 29 | "@sentry/core": "file:../../packed/sentry-core-packed.tgz", |
| 30 | + "@sentry/nextjs": "file:../../packed/sentry-nextjs-packed.tgz", |
28 | 31 | "ai": "^3.0.0", |
29 | 32 | "import-in-the-middle": "^1", |
30 | 33 | "next": "16.2.11", |
|
41 | 44 | "@types/react-dom": "^19", |
42 | 45 | "eslint": "^9", |
43 | 46 | "eslint-config-next": "^16", |
44 | | - "typescript": "^5" |
| 47 | + "typescript": "^5", |
| 48 | + "wrangler": "^4.61.0" |
45 | 49 | }, |
46 | 50 | "volta": { |
47 | 51 | "extends": "../../package.json" |
|
58 | 62 | "label": "nextjs-16-tunnel (turbopack)", |
59 | 63 | "assert-command": "pnpm test:assert" |
60 | 64 | } |
| 65 | + ], |
| 66 | + "optionalVariants": [ |
| 67 | + { |
| 68 | + "runtime": "cloudflare", |
| 69 | + "build-command": "pnpm test:build:cloudflare", |
| 70 | + "assert-command": "pnpm test:prod", |
| 71 | + "label": "nextjs-16-tunnel (cloudflare)" |
| 72 | + } |
61 | 73 | ] |
62 | 74 | } |
63 | 75 | } |
0 commit comments