upgrade Next.js 12 to 14, React 17 to 18 - #222
Open
nilmeh wants to merge 1 commit into
Open
Conversation
- Upgrade next, react, react-dom, eslint-config-next to v14/v18
- Remove unused next-plugin-transpile-modules and export script
- Run next-image-to-legacy-image codemod (24 files)
- Run new-link codemod for Next.js 13+ Link API
- Migrate images.domains to images.remotePatterns in next.config
- Move GA/Chartbeat Script tags from _document to _app (afterInteractive)
- Keep Broadstreet beforeInteractive in _document
- Add baseUrl to tsconfig.json for module resolution
- Fix ESLint rule: next/no-img-element -> @next/next/no-img-element
- Add eslint.ignoreDuringBuilds for pre-existing lint errors
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.
Note: We upgraded to Next.js 14 for now as Next.js 15 would require React 19 which has different behavior in some cases and stricter peer dependencies so that upgrade was not made for now