mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +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:
26
scripts/misc/config/config-verdaccio.yaml
Normal file
26
scripts/misc/config/config-verdaccio.yaml
Normal 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
|
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