[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
This commit is contained in:
Eugenio Romano
2018-03-20 11:53:11 +00:00
committed by GitHub
parent c06cf28769
commit c578529b15
19 changed files with 188 additions and 49 deletions

23
scripts/simulate-publish.sh Executable file
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 -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"