Skip to content

Upgrade Next.js scaffold to v15.5.9#752

Open
ymekuria wants to merge 19 commits intomainfrom
feature/upgrade-nextjs-scaffold
Open

Upgrade Next.js scaffold to v15.5.9#752
ymekuria wants to merge 19 commits intomainfrom
feature/upgrade-nextjs-scaffold

Conversation

@ymekuria
Copy link
Collaborator

@ymekuria ymekuria commented Nov 25, 2025

Summary

  • Upgrade Next.js from 14.2.12 to 15.5.7
  • Add --no-turbopack flag to create-next-app
  • Update next.config to TypeScript format (next.config.ts)
  • Add turbopack resolveAlias for o1js (for future turbopack compatibility)
  • Add webpack resolve.fallback for Node.js modules (fs, crypto, path, stream)
  • Update tsconfig moduleResolution to "bundler" for Next.js 15
  • Update tests for Next.js 15 scaffold

Refactoring

  • Extract Next.js config template to src/lib/ui/next/nextConfig.js
  • Extract Next.js tsconfig template to src/lib/ui/next/tsConfig.js
  • Extract Svelte tsconfig template to src/lib/ui/svelte/tsConfig.js

Test plan

  • Run zk project test --ui next and verify scaffold completes
  • Run npm run dev in the ui folder and verify page loads
  • Run npm run build and verify production build succeeds
  • All unit tests pass

@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (ac9347a) to head (f420f78).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #752   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines         1492      1487    -5     
  Branches       304       304           
=========================================
- Hits          1492      1487    -5     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ymekuria ymekuria changed the title Upgrade Next.js scaffold to v15.5.4 Upgrade Next.js scaffold to v15.5.7 Dec 8, 2025
@ymekuria ymekuria changed the title Upgrade Next.js scaffold to v15.5.7 Upgrade Next.js scaffold to v15.5.9 Dec 20, 2025
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