mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* organize script in folder part 1 * improve test e2e * fix smart build script * fix relative path
24 lines
571 B
Bash
Executable File
24 lines
571 B
Bash
Executable File
#!/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"
|