alfresco-ng2-components/scripts/simulate-publish.sh
Eugenio Romano c578529b15
[ADF-2514][ADF-2517][ADF-2143] Fix build isssues (#3097)
* fix remove angular folder problem

* fix npm import cli

* fix search module

* fix comment

* fix tsconfig output

* es 20016 tsconfig

* travis add demo shell dist

* exclude datapicker process services

* demo shell script fix

* bundle check new build

* add simulate publish

* invert publish

* test distribution

* improve sh help

* uncomment script

* finally got the guilty piece of code

* run e2e
2018-03-20 11:53:11 +00:00

24 lines
546 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 -nextalpha
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"