Last active
February 5, 2020 22:41
-
-
Save PierreBesson/02581d5e79d0842081492d4ab958a217 to your computer and use it in GitHub Desktop.
This file contains 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
# Setup JHipster to use the latest LTS version of NodeJS | |
nvm use --lts && node -v > .nvmrc | |
mvn versions:set-property -Dproperty=node.version -DnewVersion=$(cat .nvmrc) | |
# Setup JHipster to use your local version of yarn for prod builds | |
mvn versions:set-property -Dproperty=yarn.version -DnewVersion="v$(yarn -v)" | |
# Or Setup JHipster to use your local version of npm for prod builds | |
mvn versions:set-property -Dproperty=npm.version -DnewVersion="v$(npm -v)" | |
# Upgrading versions | |
## for yarn | |
yarn upgrade-interactive | |
## for maven | |
mvn versions:update-properties |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment