Update to Yarn 3 (#13140)

This commit is contained in:
Nicolò Ribaudo
2021-09-16 22:23:46 +02:00
committed by GitHub
parent 137fecc765
commit 2ffb19828f
17 changed files with 2126 additions and 1453 deletions

View File

@@ -9,8 +9,8 @@ function startLocalRegistry {
# Start local registry
tmp_registry_log=`mktemp`
echo "Registry output file: $tmp_registry_log"
(cd && nohup npx ${VERDACCIO_PACKAGE:-$default_verdaccio_package} -c $1 &>$tmp_registry_log &)
yarn global add verdaccio-memory@~9.7.2
(cd && nohup npx verdaccio@~5.1.2 -c $1 &>$tmp_registry_log &)
YARN_IGNORE_PATH=1 yarn global add verdaccio-memory@~10.0.0
# Wait for Verdaccio to boot
grep -q "http address" <(tail -f $tmp_registry_log)