Update to node 22.14.0 #208
Open
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.
The reason behind this pull request is that node 16 has been deprecated on Vercel:
Node.js version 16.x has reached End-of-Life. Deployments created on or after 2025-01-31 will fail to build. Please set Node.js Version to 20.x in your Project Settings to use Node.js 20.After updating to node 22.14.0, there were new errors, and the following libs were updated:
The node update also forced an eslint update, which wasn't really happy with our previous rules, so a lot of files were changed to have a "correct" syntax
There was no prettier rules in the /app project, so I added one, and ran prettier on the whole repo, that is why the pull request is huge (but the prettier changes are isolated in a single commit for convenience)