upgrade: next.js 16, react 19, axios 1, jest 30, typescript 5#186
Open
karldreher wants to merge 2 commits intomasterfrom
Open
upgrade: next.js 16, react 19, axios 1, jest 30, typescript 5#186karldreher wants to merge 2 commits intomasterfrom
karldreher wants to merge 2 commits intomasterfrom
Conversation
updates to support latest framework versions. key changes: - next.js 11→16: uses webpack (turbopack dynamic requires not yet supported) - react 17→19: react.vfc removed, use react.fc - react 19 in node context leaves open handles; add process.exit(0) to manifest.js - axios 0.23→1.x for latest features and bug fixes - jest 29→30, typescript 4→5 per next.js 16 peer dependencies - esbuild 0.13→0.28 for build performance - javascript-time-ago pinned to ~2.3.9 (newer versions are esm-only, break sync require) - columns.ts: dual api (sync getColumnDefinition for jest, async getColumnDefinitionAsync for next.js webpack) - react.vfc→react.fc in repl.tsx - next.config.js: explicit --webpack flag to avoid turbopack dynamic require issues all 254 tests pass, all 88 pages generate, next.js build succeeds. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
Framework and dependency upgrades across the stack to support latest versions and fix deployment issues from PR #185.
React.VFC(useReact.FC)require())Key fixes
process.exit(0)toscript/manifest.js(React 19 leaves open event loop handles)getColumnDefinitioninto sync (for Jest) and async (for Next.js webpack context)--webpackflag in build script (dynamic__dirnamerequires not supported yet)Test plan
/preview/[slug]routes)npm run build🤖 Generated with Claude Code