Skip to content

Update to Next.JS 12#142

Merged
tecc merged 1 commit intonotea-org:mainfrom
tecc:update-dependencies
Sep 5, 2022
Merged

Update to Next.JS 12#142
tecc merged 1 commit intonotea-org:mainfrom
tecc:update-dependencies

Conversation

@tecc
Copy link
Member

@tecc tecc commented Sep 5, 2022

Changelist:

  • Updated project to use Next.js 12, which should provide better performance and stuffs.
  • Removed .babelrc to take advantage of Next.js' SWC backend (which offers faster build times).
  • Commented out the "images" yarnclean directive, as it was causing issues with Next.js.
  • next-pwa has been updated, and next.config.js has been updated to use its newer API.
  • React has been updated to React 18. (Note: The @types/react package could not use the latest version due to some issues with the package itself.)

Next.js@12: Next.js 12 should provide better performance and stuffs.

.babelrc: .babelrc has been removed to take advantage of Next.js' SWC backend (which offers faster build times) - if the file was still present, Babel would automatically be chosen over SWC.

.yarnclean: Commented out the "images" yarnclean directive, as it was causing issues with Next.js.

next-pwa: next-pwa has been updated, and next.config.js has been updated to use its newer API.

react: React has been updated to React 18. The @types package could not use the latest version due to some issues with the package itself.

rich-markdown-editor: rich-markdown-editor could not be updated due to issues with theming.

BREAKING-CHANGE: Next.js and React have been upgraded to their later versions.
@tecc tecc added the dependencies Pull requests that update a dependency file label Sep 5, 2022
@tecc tecc merged commit 9b2dde4 into notea-org:main Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant