mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
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:
23
scripts/misc/simulate-publish.sh
Executable file
23
scripts/misc/simulate-publish.sh
Executable 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"
|
Reference in New Issue
Block a user