DEV Community

Discussion on: Volta + Netlify

Collapse
 
gnclmorais profile image
Gonçalo Morais

Bonus points: run this and you’ll have in your clipboard (ready to paste on your netfily.toml both Node and Yarn versions:

jq -r '.volta | to_entries | map("  \(.key | ascii_upcase)_VERSION = \"\(.value|tostring)\"")|.[]' package.json | pbcopy
Enter fullscreen mode Exit fullscreen mode