diff --git a/tasks/e2e-installs.sh b/tasks/e2e-installs.sh index b58cd5eafca..48ab42508be 100755 --- a/tasks/e2e-installs.sh +++ b/tasks/e2e-installs.sh @@ -86,7 +86,7 @@ yarn # Start local registry tmp_registry_log=`mktemp` -nohup npx verdaccio@2.7.2 -c tasks/verdaccio.yaml &>$tmp_registry_log & +nohup npx verdaccio@3.2.0 -c tasks/verdaccio.yaml &>$tmp_registry_log & # Wait for `verdaccio` to boot grep -q 'http address' <(tail -f $tmp_registry_log) @@ -95,7 +95,7 @@ npm set registry "$custom_registry_url" yarn config set registry "$custom_registry_url" # Login so we can publish packages -npx npm-cli-login@0.0.10 -u user -p password -e user@example.com -r "$custom_registry_url" --quotes +(cd && npx npm-auth-to-token@1.0.0 -u user -p password -e user@example.com -r "$custom_registry_url") # Publish the monorepo git clean -df diff --git a/tasks/e2e-kitchensink.sh b/tasks/e2e-kitchensink.sh index b40a487ae4b..833956d0c0e 100755 --- a/tasks/e2e-kitchensink.sh +++ b/tasks/e2e-kitchensink.sh @@ -79,7 +79,7 @@ yarn # Start local registry tmp_registry_log=`mktemp` -nohup npx verdaccio@2.7.2 -c tasks/verdaccio.yaml &>$tmp_registry_log & +nohup npx verdaccio@3.2.0 -c tasks/verdaccio.yaml &>$tmp_registry_log & # Wait for `verdaccio` to boot grep -q 'http address' <(tail -f $tmp_registry_log) @@ -88,7 +88,7 @@ npm set registry "$custom_registry_url" yarn config set registry "$custom_registry_url" # Login so we can publish packages -npx npm-cli-login@0.0.10 -u user -p password -e user@example.com -r "$custom_registry_url" --quotes +(cd && npx npm-auth-to-token@1.0.0 -u user -p password -e user@example.com -r "$custom_registry_url") # Publish the monorepo git clean -df diff --git a/tasks/e2e-monorepos.sh b/tasks/e2e-monorepos.sh index ac7609e79e2..0f3f70219bd 100755 --- a/tasks/e2e-monorepos.sh +++ b/tasks/e2e-monorepos.sh @@ -73,7 +73,7 @@ yarn # Start local registry tmp_registry_log=`mktemp` -nohup npx verdaccio@2.7.2 -c tasks/verdaccio.yaml &>$tmp_registry_log & +nohup npx verdaccio@3.2.0 -c tasks/verdaccio.yaml &>$tmp_registry_log & # Wait for `verdaccio` to boot grep -q 'http address' <(tail -f $tmp_registry_log) @@ -82,7 +82,7 @@ npm set registry "$custom_registry_url" yarn config set registry "$custom_registry_url" # Login so we can publish packages -npx npm-cli-login@0.0.10 -u user -p password -e user@example.com -r "$custom_registry_url" --quotes +(cd && npx npm-auth-to-token@1.0.0 -u user -p password -e user@example.com -r "$custom_registry_url") git clean -df ./tasks/publish.sh --yes --force-publish=* --skip-git --cd-version=prerelease --exact --npm-tag=latest diff --git a/tasks/e2e-simple.sh b/tasks/e2e-simple.sh index 701763679c5..da0d9219502 100755 --- a/tasks/e2e-simple.sh +++ b/tasks/e2e-simple.sh @@ -86,7 +86,7 @@ yarn # Start local registry tmp_registry_log=`mktemp` -nohup npx verdaccio@2.7.2 -c tasks/verdaccio.yaml &>$tmp_registry_log & +nohup npx verdaccio@3.2.0 -c tasks/verdaccio.yaml &>$tmp_registry_log & # Wait for `verdaccio` to boot grep -q 'http address' <(tail -f $tmp_registry_log) @@ -95,7 +95,7 @@ npm set registry "$custom_registry_url" yarn config set registry "$custom_registry_url" # Login so we can publish packages -npx npm-cli-login@0.0.10 -u user -p password -e user@example.com -r "$custom_registry_url" --quotes +(cd && npx npm-auth-to-token@1.0.0 -u user -p password -e user@example.com -r "$custom_registry_url") # Lint own code ./node_modules/.bin/eslint --max-warnings 0 packages/babel-preset-react-app/ diff --git a/tasks/verdaccio.yaml b/tasks/verdaccio.yaml index e8a621ed0a4..e98643b7b76 100644 --- a/tasks/verdaccio.yaml +++ b/tasks/verdaccio.yaml @@ -1,6 +1,6 @@ # -# This is the default config file. It allows all users to do anything, -# so don't use it on production systems. +# This is based on verdaccio's default config file. It allows all users +# to do anything, so don't use it on production systems. # # Look here for more config file examples: # https://github.com/verdaccio/verdaccio/tree/master/conf @@ -25,7 +25,7 @@ packages: '@*/*': # scoped packages access: $all - publish: $ll + publish: $all proxy: npmjs '**':