editor: I forked Outline's rich-markdown-editor and made a Notea version for it. Now more of the editor-related issues can be fixed.
prosemirror-model: Upgraded prosemirror-model to 1.16.1. I don't know why 1.17+ doesn't work (suspecting something with instanceof not working) so this is a hack.
pwa-config: The `pwa` property has been removed from the `withPWA` call, and its contained properties have been moved to the `nextPWA` options object. This removes all warnings from Next.
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.