feat: added new route for transforming js to zod directly#427
Open
LeonMueller-OneAndOnly wants to merge 6 commits intoritz078:masterfrom
Open
feat: added new route for transforming js to zod directly#427LeonMueller-OneAndOnly wants to merge 6 commits intoritz078:masterfrom
LeonMueller-OneAndOnly wants to merge 6 commits intoritz078:masterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Author
|
The error message says that the prescribed node js version of 16 is incompatible with vercel build, which wants to have v18. |
Author
|
Since node v16 isnt supported by vercel anymore i bumped the node version to v22 (current long term support version). I added the node option for legacy openssl support via te NODE_OPTIONS env variable to the relevant dev and build scripts, so they do work. Since node v18 some hash functions used by webpack internally are not supported anymore without this. Security wise this is not a problem, since as far as i am aware these hash functions are only used by webpack to name the generated chunks. |
…th node 18+ (no legacy providers anymore) this allows us to remove the node optiosn for legacy support
… the dependency 'esm'
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.
since "javascript to json" and "json to zod" are already supported, this is a shortcut I would like to have
Vercel only supports node v20 & v22, therefore i bumped the engine version and solved some conflicts too in order for a successfull prwview branch