Skip to content

feat: override buildcommand when building with opennextjs-cloudflare#2537

Merged
matthewvolk merged 1 commit intocanaryfrom
break-infinite-build-command
Aug 19, 2025
Merged

feat: override buildcommand when building with opennextjs-cloudflare#2537
matthewvolk merged 1 commit intocanaryfrom
break-infinite-build-command

Conversation

@matthewvolk
Copy link
Copy Markdown
Contributor

What/Why?

When we place scripts.build in core/package.json with catalyst build instead of next build, opennextjs-cloudflare build will just recursively call pnpm run build — this PR overrides the build command allowing us to break out of the recursion.

Testing

N/A

Migration

N/A

@matthewvolk matthewvolk requested a review from a team August 19, 2025 22:05
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Aug 19, 2025

⚠️ No Changeset found

Latest commit: 2fa4590

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
catalyst-b2b Ready Ready Preview Comment Aug 19, 2025 10:07pm
catalyst-canary Ready Ready Preview Comment Aug 19, 2025 10:07pm
3 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
catalyst Ignored Ignored Aug 19, 2025 10:07pm
catalyst-au Ignored Ignored Aug 19, 2025 10:07pm
catalyst-uk Ignored Ignored Aug 19, 2025 10:07pm

@matthewvolk matthewvolk added this pull request to the merge queue Aug 19, 2025
Merged via the queue into canary with commit 4bb2979 Aug 19, 2025
14 checks passed
@matthewvolk matthewvolk deleted the break-infinite-build-command branch August 19, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants