mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Merge branch 'master' into dev-denys-340
This commit is contained in:
commit
2377a59361
20
scripts/npm-clean.sh
Executable file
20
scripts/npm-clean.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
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 "$DIR/../ng2-components/${PACKAGE}"
|
||||||
|
npm run clean
|
||||||
|
done
|
||||||
|
|
||||||
|
cd "$DIR/../demo-shell-ng2"
|
||||||
|
npm run clean
|
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
for PACKAGE in \
|
for PACKAGE in \
|
||||||
ng2-alfresco-core \
|
ng2-alfresco-core \
|
||||||
ng2-alfresco-datatable \
|
ng2-alfresco-datatable \
|
||||||
@ -9,12 +11,12 @@ for PACKAGE in \
|
|||||||
ng2-alfresco-upload \
|
ng2-alfresco-upload \
|
||||||
ng2-alfresco-viewer
|
ng2-alfresco-viewer
|
||||||
do
|
do
|
||||||
DESTDIR=././../ng2-components/${PACKAGE}
|
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||||
echo "====== linking component: ${DESTDIR} ====="
|
echo "====== linking component: ${DESTDIR} ====="
|
||||||
npm link ${DESTDIR} --access public
|
npm link ${DESTDIR} --access public
|
||||||
done
|
done
|
||||||
|
|
||||||
cd ./../demo-shell-ng2
|
cd "$DIR/../demo-shell-ng2"
|
||||||
|
|
||||||
for PACKAGE in \
|
for PACKAGE in \
|
||||||
ng2-alfresco-core \
|
ng2-alfresco-core \
|
||||||
@ -25,7 +27,7 @@ for PACKAGE in \
|
|||||||
ng2-alfresco-upload \
|
ng2-alfresco-upload \
|
||||||
ng2-alfresco-viewer
|
ng2-alfresco-viewer
|
||||||
do
|
do
|
||||||
DESTDIR=././../ng2-components/${PACKAGE}
|
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||||
echo "====== demo shell linking: ${PACKAGE} ====="
|
echo "====== demo shell linking: ${PACKAGE} ====="
|
||||||
npm link ${PACKAGE}
|
npm link ${PACKAGE}
|
||||||
done
|
done
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
for PACKAGE in \
|
for PACKAGE in \
|
||||||
ng2-alfresco-core \
|
ng2-alfresco-core \
|
||||||
ng2-alfresco-datatable \
|
ng2-alfresco-datatable \
|
||||||
@ -9,7 +11,7 @@ for PACKAGE in \
|
|||||||
ng2-alfresco-upload \
|
ng2-alfresco-upload \
|
||||||
ng2-alfresco-viewer
|
ng2-alfresco-viewer
|
||||||
do
|
do
|
||||||
DESTDIR=././../ng2-components/${PACKAGE}
|
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
|
||||||
echo "====== PUBLISHING: ${DESTDIR} ====="
|
echo "====== PUBLISHING: ${DESTDIR} ====="
|
||||||
npm publish ${DESTDIR}
|
npm publish ${DESTDIR}
|
||||||
done
|
done
|
||||||
|
@ -1,7 +1,25 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
cd ../demo-shell-ng2
|
|
||||||
|
|
||||||
#!/bin/sh
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
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 "$DIR/../ng2-components/${PACKAGE}"; npm version patch
|
||||||
|
done
|
||||||
|
|
||||||
|
"$DIR/update-version.sh" ^0.1.0
|
||||||
|
|
||||||
|
"$DIR/npm-link-demo-shell.sh"
|
||||||
|
|
||||||
|
cd "$DIR/../demo-shell-ng2"
|
||||||
|
|
||||||
if [[ $1 = "-install" ]]; then
|
if [[ $1 = "-install" ]]; then
|
||||||
npm install
|
npm install
|
||||||
npm run start
|
npm run start
|
||||||
@ -14,4 +32,4 @@ elif [[ $1 = "-cleanInstall" ]]; then
|
|||||||
npm run start
|
npm run start
|
||||||
else
|
else
|
||||||
npm run start
|
npm run start
|
||||||
fi
|
fi
|
||||||
|
@ -13,4 +13,4 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "====== RENAMING 0.0.0-PLACEHOLDER to N.N.N version ======"
|
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