mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-06-30 18:15:11 +00:00
clean script and better linking
This commit is contained in:
parent
15198c7991
commit
51b7b77a94
19
scripts/npm-clean.sh
Executable file
19
scripts/npm-clean.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
for PACKAGE in \
|
||||
ng2-alfresco-core \
|
||||
ng2-alfresco-datatable \
|
||||
ng2-alfresco-documentlist \
|
||||
ng2-alfresco-login \
|
||||
ng2-alfresco-search \
|
||||
ng2-alfresco-upload \
|
||||
ng2-alfresco-viewer
|
||||
do
|
||||
echo "====== clean component: ${PACKAGE} ====="
|
||||
cd ../ng2-components/${PACKAGE}
|
||||
npm run clean
|
||||
cd ../../scripts/
|
||||
done
|
||||
|
||||
cd ./../demo-shell-ng2
|
||||
npm run clean
|
@ -1,4 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
for PACKAGE in \
|
||||
ng2-alfresco-core \
|
||||
ng2-alfresco-datatable \
|
||||
ng2-alfresco-documentlist \
|
||||
ng2-alfresco-login \
|
||||
ng2-alfresco-search \
|
||||
ng2-alfresco-upload \
|
||||
ng2-alfresco-viewer
|
||||
do
|
||||
cd ../ng2-components/${PACKAGE}; npm version patch ; cd ../../scripts/
|
||||
done
|
||||
|
||||
./update-version.sh ^0.1.0
|
||||
|
||||
./npm-link-demo-shell.sh
|
||||
|
||||
cd ../demo-shell-ng2
|
||||
|
||||
#!/bin/sh
|
||||
|
@ -13,4 +13,4 @@ then
|
||||
fi
|
||||
|
||||
echo "====== RENAMING 0.0.0-PLACEHOLDER to N.N.N version ======"
|
||||
find ././../ng2-components/ -type f -name package.json -print0 | xargs -0 sed -i '' "s/0\\.0\\.0-PLACEHOLDER/${VERSION}/g"
|
||||
find ././../ -type f -name package.json -print0 | xargs -0 sed -i '' "s/0\\.0\\.0-PLACEHOLDER/${VERSION}/g"
|
Loading…
x
Reference in New Issue
Block a user