mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
move tslint ADF rules in principal repo (#3247)
* move tslint ADF rules in principal repo * fix style issues * change pacakge.json position * update to angular cli 6.0.0 * reorganization package.json * remove node modules2 folder * exclude integration * rollback alfresco-js-api * solve types problems * fix pdf test * fix errors and exclude two tests * fix e2e * fix test * copy all the new packages in node_modules * fix test * fix packaging script * scss issue fix * move test export in tools
This commit is contained in:
@@ -2,14 +2,9 @@
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo "====== Install demo-shell ===== "
|
||||
|
||||
cd $DIR/../demo-shell
|
||||
npm install
|
||||
|
||||
echo "====== Install lib ===== "
|
||||
|
||||
cd $DIR/../lib
|
||||
cd $DIR/../
|
||||
npm install
|
||||
|
||||
echo "====== Install JS-API alpha ===== "
|
||||
@@ -18,25 +13,24 @@ npm install alfresco-js-api@alpha
|
||||
|
||||
echo "====== Build ADF ===== "
|
||||
|
||||
npm run build
|
||||
npm run build-lib
|
||||
|
||||
echo "====== COPY new build in demo shell node_modules ===== "
|
||||
echo "====== COPY new build in node_modules ===== "
|
||||
|
||||
rm -rf ../demo-shell/node_modules/@alfresco
|
||||
rm -rf ../node_modules/@alfresco
|
||||
|
||||
mkdir -p $DIR/../demo-shell/node_modules/@alfresco/adf-core
|
||||
mkdir -p $DIR/../demo-shell/node_modules/@alfresco/adf-content-services
|
||||
mkdir -p $DIR/../demo-shell/node_modules/@alfresco/adf-process-services
|
||||
mkdir -p $DIR/../demo-shell/node_modules/@alfresco/adf-insights
|
||||
mkdir -p $DIR/../node_modules/@alfresco/adf-core
|
||||
mkdir -p $DIR/../node_modules/@alfresco/adf-content-services
|
||||
mkdir -p $DIR/../node_modules/@alfresco/adf-process-services
|
||||
mkdir -p $DIR/../node_modules/@alfresco/adf-insights
|
||||
|
||||
cp -R $DIR/../lib/dist/core/* $DIR/../demo-shell/node_modules/@alfresco/adf-core
|
||||
cp -R $DIR/../lib/dist/content-services/* $DIR/../demo-shell/node_modules/@alfresco/adf-content-services
|
||||
cp -R $DIR/../lib/dist/process-services/* $DIR/../demo-shell/node_modules/@alfresco/adf-process-services
|
||||
cp -R $DIR/../lib/dist/insights/* $DIR/../demo-shell/node_modules/@alfresco/adf-insights
|
||||
cp -R $DIR/../lib/dist/core/* $DIR/..//node_modules/@alfresco/adf-core
|
||||
cp -R $DIR/../lib/dist/content-services/* $DIR/../node_modules/@alfresco/adf-content-services
|
||||
cp -R $DIR/../lib/dist/process-services/* $DIR/../node_modules/@alfresco/adf-process-services
|
||||
cp -R $DIR/../lib/dist/insights/* $DIR/../node_modules/@alfresco/adf-insights
|
||||
|
||||
echo "====== Build dist demo shell ===== "
|
||||
|
||||
cd $DIR/../demo-shell
|
||||
npm run build:dist
|
||||
|
||||
echo "====== e2e test ===== "
|
||||
|
Reference in New Issue
Block a user