Patch Changes
-
#1215
608893eThanks @vicb! - Factor large repeated values in manifestsThis reduce the size of the generated code.
-
#1218
f0d0226Thanks @314systems! - removeprocess.versionoverrideRemove process.version / process.versions.node overrides now that unjs/unenv#493 is merged and shipped in unenv@2.0.0-rc.16 (project uses 2.0.0-rc.24)
-
#1199
32594d6Thanks @SdSadat! - fix(cli): fail fast in non-TTY environments instead of hanging on config-creation promptsWhen
open-next.config.ts(orwrangler.(toml|json|jsonc)) is missing, the CLI
prompts the user to auto-create it. In non-TTY environments (Cloudflare Workers
Builds, Docker, CI) the Enquirer prompt can't read stdin, so the build hangs or
fails with a truncated prompt and a cryptic exit code — the user sees
? Missing required open-next.config.ts file, do you want to create one? (Y/n)
and thenELIFECYCLE Command failed with exit code 13, with no hint at what
to do next.Now, in non-interactive environments, both prompts throw an actionable error
with the exact template to paste (foropen-next.config.ts) or point at the
existing--skipWranglerConfigCheck/SKIP_WRANGLER_CONFIG_CHECKescape
hatch (for the wrangler config). Interactive behavior is unchanged.