chore: workaround yarn issue (#10958)

This commit is contained in:
Huáng Jùnliàng 2020-01-04 05:35:24 -05:00 committed by Nicolò Ribaudo
parent 03d163a0d9
commit a7dac49518

View File

@ -23,6 +23,8 @@ cd tmp/vue-cli || exit
startLocalRegistry "$PWD"/../../verdaccio-config.yml startLocalRegistry "$PWD"/../../verdaccio-config.yml
yarn install yarn install
# Workaround https://github.com/yarnpkg/yarn/issues/7797
yarn add --dev -W @babel/core
# "yarn upgrade --scope @babel --latest" doesn't seem to work. # "yarn upgrade --scope @babel --latest" doesn't seem to work.
# a means "all", while \n is the enter needed to confirm the selection. # a means "all", while \n is the enter needed to confirm the selection.
printf "a\n" | yarn upgrade-interactive --scope @babel --latest printf "a\n" | yarn upgrade-interactive --scope @babel --latest