Upgrade site Next.js version with Babel and TypeScript #848
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.
Checklist
Change information
Update the Next.js version from
12.0.9-canary.0
to12.3.4
and also some small changes on the following packages:@babel/*
is now using7.23.x
with exception of@babel/preset-react
(7.22.15
);@mapbox/rehype-prism
is now using0.8.0
which also update its dependencies;@next/mdx
is now using the latest12.x
version compatible with Next.js v12;typescript
is now using the latest v4 version which requires upgradingttypescript
;extract-mdx-metadata
is now using v2 which brings a series of security fixes;fs-extra
is now using v11 which drops Node.js v12 and brings better compatibility with TS;@types/react-*
is now using the latest version under v17;NOTE: During the TypeScript upgrade, some types have gotten errors and were updated.