Upgrade to Next.js 16#6
Merged
Merged
Conversation
- Bump next from ^14.2 to ^16.2.4 (resolved 16.2.6) - Bump @policyengine/ui-kit from ^0.8.0 to ^0.9.0 - Add turbopack.root to next.config.js to silence stray-lockfile warning React 19 and Tailwind 4 already in place. Static export, data pipeline, and all public/data CSVs preserved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Clean upgrade to Next.js 16. Verified that:
- Package versions match the PR description (next ^16.2.4, ui-kit ^0.9.0)
- Static export configuration is preserved (
output: 'export'andimages.unoptimizedretained) - The
turbopack.rootaddition properly points to__dirnameto silence stray-lockfile warnings - Lockfile shows proper dependency resolution with Next 16-specific packages (sharp, baseline-browser-mapping, updated SWC binaries)
- No application code or workflow changes
- CI workflow includes
bun run buildwhich will validate the upgrade
The changes align with the stated goals and preservation guarantees. Ready to merge once CI passes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nextfrom^14.2to^16.2.4(resolves to 16.2.6)@policyengine/ui-kitfrom^0.8.0to^0.9.0(picks up types-resolution fix and/legacycolors.blue/successrestoration)turbopack.roottonext.config.js(silences stray-lockfile warning when building from non-repo dirs)React 19.2.x and Tailwind 4.x were already in place; no changes needed there.
Preservation guarantees
output: "export"andimages.unoptimizedretained — static export toout/workspublic/data/*.csvoutputs from the Python pipeline pass through unchanged/,/_not-found) prerender as static contentTest plan
bun installcleanbun run buildsucceeds with Turbopack on Next 16.2.6index.html,404.html,data/*.csv,robots.txt,sitemap.xmlReplaces the stale #1 (closed today). Branch name is
upgrade-next-16— the previous attempt'supgrade-next-16-tw4suffix isn't relevant since Tailwind isn't being touched.🤖 Generated with Claude Code