Skip to content

Conversation

@bookernath
Copy link

Summary

This PR updates Next.js from 14.0.0 to 14.2.35 and removes the engines field from package.json to allow more flexible Node.js and pnpm version requirements.

Changes

  • Upgrade Next.js: Updated from 14.0.0 to 14.2.35
  • Remove engines constraint: Removed the engines field from package.json that required Node >=18 and pnpm >=7
  • Fix Suspense boundary error: Wrapped MobileMenu and Search components in Suspense boundaries to fix useSearchParams() prerender error
  • Remove deprecated config: Removed experimental.serverActions from next.config.js as Server Actions are now enabled by default

Test plan

  • Build compiles successfully with Next.js 14.2.35
  • Type checking passes
  • No Suspense boundary errors during build
  • No deprecated config warnings

🤖 Generated with Claude Code

bookernath and others added 3 commits December 15, 2025 11:28
Update Next.js from 14.0.0 to 14.2.35 and remove the engines field to allow more flexible Node.js and pnpm version requirements.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fix build error where useSearchParams() was not wrapped in a Suspense boundary, which prevented pre-rendering of the not-found page.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Server Actions are enabled by default in Next.js 14.2.35, so this experimental flag is no longer needed and causes a warning.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Dec 15, 2025

@bookernath is attempting to deploy a commit to the BigCommerce Platform Team on Vercel.

A member of the Team first needs to authorize it.

@chanceaclark chanceaclark merged commit 316be09 into bigcommerce:main Dec 15, 2025
0 of 2 checks passed
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