[ADF-868] Use new ADF prefix in all tags (#2035)

* use new ADF prefix in all thr tag

* fix failing test

* fix datatable test
This commit is contained in:
Eugenio Romano
2017-07-04 09:47:29 +02:00
parent 6ac4edde24
commit c3561510b9
95 changed files with 373 additions and 471 deletions

View File

@@ -239,14 +239,13 @@ For development environment configuration please refer to [project docs](../demo
# npm-clean.sh
***npm-clean.sh*** clean all the projects folder : ng2-components, ng2-components/*.*/demo and demo-shell-ng2.
***npm-clean.sh*** clean all the projects folder : ng2-components and demo-shell-ng2.
## Options
| Option | Description |
| --- | --- |
| -h or --help | show the help |
| -sd or --skipDemo | skip the demo folder clean |
# npm-check-bundles.sh
@@ -270,8 +269,6 @@ Add a package across all the pacakge json in the project
| -h or --help | show the help |
| --save | save it in dependencies |
| --save-dev | save it in dev dependencies |
| -sd | skip the demo projects |
* Add a package in the project

View File

@@ -2,7 +2,6 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
eval EXEC_DEMO=true
eval NAME_PKG=''
eval SAVE_OPT=false
eval SAVE_DEV_OPT=false
@@ -11,7 +10,6 @@ show_help() {
echo "Usage: npm-clean.sh"
echo "--save"
echo "--save-dev"
echo "-sd or -skipDemo skip the clean of the demo folder of any components"
}
eval projects=( "ng2-activiti-diagrams"
@@ -32,10 +30,6 @@ eval projects=( "ng2-activiti-diagrams"
"ng2-alfresco-webscript"
"ng2-alfresco-userinfo" )
clea_demo() {
EXEC_DEMO=false
}
save(){
NAME_PKG=$1
SAVE_OPT=true
@@ -51,7 +45,6 @@ while [[ $1 == -* ]]; do
-h|--help|-\?) show_help; exit 0;;
--save) save $2; shift 2;;
--save-dev) save_dev $2; shift 2;;
-sd|--skipDemo) clea_demo; shift;;
-*) echo "invalid option: $1" 1>&2; show_help; exit 0;;
esac
done

View File

@@ -1,74 +0,0 @@
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
eval EXEC_GIT_NPM_INSTALL_JSAPI=false
eval EXEC_BUILD=true
eval EXEC_INSTALL=true
eval projects=(
"ng2-alfresco-core"
"ng2-alfresco-datatable"
"ng2-activiti-diagrams"
"ng2-activiti-analytics"
"ng2-activiti-form"
"ng2-activiti-tasklist"
"ng2-activiti-processlist"
"ng2-alfresco-documentlist"
"ng2-alfresco-login"
"ng2-alfresco-search"
"ng2-alfresco-social"
"ng2-alfresco-tag"
"ng2-alfresco-social"
"ng2-alfresco-upload"
"ng2-alfresco-viewer"
"ng2-alfresco-webscript"
"ng2-alfresco-userinfo" )
enable_js_api_git_link() {
GIT_ISH='git://github.com/Alfresco/alfresco-js-api.git#'$1
EXEC_GIT_NPM_INSTALL_JSAPI=true
}
show_help() {
echo "Usage: npm-build-all-demo.sh"
echo ""
echo "-t or -test build all your local component and run also the test on them , this parameter accept also a wildecard to execute test for example -t "ng2-alfresco-core" "
echo "-gitjsapi to build all the components against a commit-ish version of the JS-API"
}
exclude_build(){
EXEC_BUILD=false
}
exec_install(){
EXEC_INSTALL=false
}
while [[ $1 == -* ]]; do
case "$1" in
-h|--help|-\?) show_help; exit 0;;
-si|--skipinstall) exec_install; shift;;
-sb|--skipbuild) exclude_build; shift;;
-gitjsapi) enable_js_api_git_link $2; shift 2;;
-*) echo "invalid option: $1" 1>&2; show_help; exit 1;;
esac
done
cd "$DIR/../ng2-components/"
for PACKAGE in ${projects[@]}
do
DESTDIR="$DIR/../ng2-components/$PACKAGE/demo"
if $EXEC_GIT_NPM_INSTALL_JSAPI == true; then
echo "====== Use the alfresco JS-API '$GIT_ISH' in $PACKAGE demo ====="
cd $DESTDIR
npm install $GIT_ISH
cd "$DIR/../ng2-components/$PACKAGE/demo/node_modules/alfresco-js-api"
npm install
fi
cd $DESTDIR
npm run buil:dev
done

View File

@@ -7,7 +7,6 @@ eval EXEC_CLEAN_DEMO=true
show_help() {
echo "Usage: npm-clean.sh"
echo ""
echo "-sd or -skipDemo skip the clean of the demo folder of any components"
}
eval projects=( "ng2-activiti-diagrams"
@@ -28,13 +27,9 @@ eval projects=( "ng2-activiti-diagrams"
"ng2-alfresco-webscript"
"ng2-alfresco-userinfo" )
clea_demo() {
EXEC_CLEAN_DEMO=false
}
while [[ $1 == -* ]]; do
case "$1" in
-h|--help|-\?) show_help; exit 0;;
-sd|--skipDemo) clea_demo; shift;;
-*) echo "invalid option: $1" 1>&2; show_help; exit 0;;
esac
done
@@ -46,15 +41,6 @@ do
echo "====== clean component: ${PACKAGE} ====="
cd "$DIR/../ng2-components/${PACKAGE}"
npm run clean
if $EXEC_CLEAN_DEMO == true; then
if [ -d "$DIR/../ng2-components/${PACKAGE}/demo" ]; then
echo "====== clean component demo: ${PACKAGE} ====="
cd "$DIR/../ng2-components/${PACKAGE}/demo"
npm install rimraf
npm run clean
fi
fi
done
cd "$DIR/../demo-shell-ng2"