Skip to content

Commit 647f4c9

Browse files
committed
review
1 parent dc89bf0 commit 647f4c9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/cloudflare/src/cli/build/build.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ function ensureNextjsVersionSupported(options: buildHelper.BuildOptions) {
9999
}
100100
// TODO: remove when 15.4 is supported
101101
// Note: `e2e/experimental` is on 15.4.0-canary.14 which works
102-
// if (
103-
// !options.appPath.endsWith("opennextjs-cloudflare/examples/e2e/experimental") &&
104-
// buildHelper.compareSemver(options.nextVersion, ">=", "15.4.0")
105-
// ) {
106-
// logger.error("Next.js version unsupported, the latest supported version is 15.3");
107-
// process.exit(1);
108-
// }
102+
if (
103+
!options.appPath.endsWith("opennextjs-cloudflare/examples/e2e/experimental") &&
104+
buildHelper.compareSemver(options.nextVersion, ">=", "15.4.0")
105+
) {
106+
logger.error("Next.js version unsupported, the latest supported version is 15.3");
107+
process.exit(1);
108+
}
109109
}

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ catalogs:
4545
"@types/react-dom": 19.0.0
4646
"@types/react": 19.0.0
4747
autoprefixer: 10.4.15
48-
next: ~15.3.5
48+
next: ~15.4.5
4949
postcss: 8.4.27
5050
react-dom: 19.0.0
5151
react: 19.0.0

0 commit comments

Comments
 (0)