Reorg script moving in folders (#4791)

* organize script in folder part 1

* improve test e2e

* fix smart build script

* fix relative path
This commit is contained in:
Eugenio Romano
2019-05-30 17:59:22 +01:00
committed by GitHub
parent cccd95562c
commit ce60915fd9
21 changed files with 22 additions and 67 deletions

View File

@@ -0,0 +1,26 @@
storage: ./.verdaccio_test_env/test-storage
uplinks:
npmjs:
url: https://registry.npmjs.org/
auth:
auth-memory:
users:
test:
name: test
password: test
logs:
- {type: stdout, format: pretty, level: trace}
packages:
'@*/*':
# scoped packages
access: $all
publish: $anonymous
proxy: npmjs
'**':
access: $all
publish: $anonymous
proxy: npmjs

View File

@@ -0,0 +1,23 @@
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
npm set registry https://registry.npmjs.org/
echo "====== Install verdaccio ===== "
npm install -g verdaccio
npm install -g concurrently
npm install -g verdaccio-auth-memory
echo "====== Update version ===== "
$DIR/update-version.sh -nextbeta -components
echo "====== Change registry ===== "
npm set registry http://localhost:4873/
echo "====== Run verdaccio ===== "
concurrently "verdaccio --listen 4873 --config $DIR/config/config-verdaccio.yaml" "$DIR/npm-publish.sh --sleep 20 -f"