Skip to content

Commit

Permalink
Add the package deps needed in case there are libs not affected, fetc…
Browse files Browse the repository at this point in the history
…hed from npm
  • Loading branch information
mauriziovitale committed Jul 10, 2020
1 parent 16545c1 commit fed4e0f
Show file tree
Hide file tree
Showing 9 changed files with 134 additions and 58 deletions.
148 changes: 92 additions & 56 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@
"process services-cloud"
],
"dependencies": {
"@alfresco/js-api": "3.9.0",
"@alfresco/adf-content-services": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42",
"@alfresco/adf-core": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42",
"@alfresco/adf-extensions": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42",
"@alfresco/adf-process-services": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42",
"@alfresco/adf-process-services-cloud": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42",
"@alfresco/js-api": "3.10.0-bd9df0a20f5d769e9d7329d7a3d265f3938c2fc0",
"@angular/animations": "^10.0.2",
"@angular/cdk": "10.0.1",
"@angular/common": "^10.0.2",
Expand Down Expand Up @@ -108,7 +113,7 @@
"zone.js": "~0.10.2"
},
"devDependencies": {
"@alfresco/adf-cli": "3.9.0",
"@alfresco/adf-cli": "3.10.0-be83676a8eb9b7aff06b557c6416211ae6a6fc42",
"@angular-devkit/build-angular": "~0.1000.1",
"@angular-devkit/build-ng-packagr": "~0.1000.1",
"@angular/cli": "^10.0.1",
Expand Down
5 changes: 5 additions & 0 deletions scripts/build/build-content-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ cp -R ./lib/content-services/src/lib/i18n/* ./lib/dist/content-services/bundles/

echo "====== Copy assets ======"
cp -R ./lib/content-services/src/lib/assets/* ./lib/dist/content-services/bundles/assets

echo "====== Move to node_modules ======"
rm -rf ./node_modules/@alfresco/adf-content-services/ && \
mkdir -p ./node_modules/@alfresco/adf-content-services/ && \
cp -R ./lib/dist/content-services/* ./node_modules/@alfresco/adf-content-services/
5 changes: 5 additions & 0 deletions scripts/build/build-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ cp -R ./lib/core/assets/* ./lib/dist/core/bundles/assets

npm run webpack -- --config ./lib/config/webpack.style.js --progress --profile --bail
rm ./lib/dist/core/prebuilt-themes/*.js

echo "====== Move to node_modules ======"
rm -rf ./node_modules/@alfresco/adf-core/ && \
mkdir -p ./node_modules/@alfresco/adf-core/ && \
cp -R ./lib/dist/core/* ./node_modules/@alfresco/adf-core/
5 changes: 5 additions & 0 deletions scripts/build/build-extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,8 @@ else
echo "Building extensions for development"
npm run ng -- build extensions || exit 1
fi

echo "====== Move to node_modules ======"
rm -rf ./node_modules/@alfresco/adf-extensions/ && \
mkdir -p ./node_modules/@alfresco/adf-extensions/ && \
cp -R ./lib/dist/extensions/* ./node_modules/@alfresco/adf-extensions/
5 changes: 5 additions & 0 deletions scripts/build/build-insights.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ node ./lib/config/bundle-insights-scss.js || exit 1
echo "====== Copy i18n ======"
mkdir -p ./lib/dist/insights/bundles/assets/adf-insights/i18n
cp -R ./lib/insights/src/lib/i18n/* ./lib/dist/insights/bundles/assets/adf-insights/i18n

echo "====== Move to node_modules ======"
rm -rf ./node_modules/@alfresco/adf-insights/ && \
mkdir -p ./node_modules/@alfresco/adf-insights/ && \
cp -R ./lib/dist/insights/* ./node_modules/@alfresco/adf-insights/
5 changes: 5 additions & 0 deletions scripts/build/build-process-services-cloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ cp -R ./lib/process-services-cloud/src/lib/i18n/* ./lib/dist/process-services-cl

echo "====== Copy assets ======"
cp -R ./lib/process-services-cloud/src/lib/assets/* ./lib/dist/process-services-cloud/bundles/assets

echo "====== Move to node_modules ======"
rm -rf ./node_modules/@alfresco/adf-process-services-cloud/ && \
mkdir -p ./node_modules/@alfresco/adf-process-services-cloud/ && \
cp -R ./lib/dist/process-services-cloud/* ./node_modules/@alfresco/adf-process-services-cloud/
5 changes: 5 additions & 0 deletions scripts/build/build-process-services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ cp -R ./lib/process-services/src/lib/i18n/* ./lib/dist/process-services/bundles/

echo "====== Copy assets ======"
cp -R ./lib/process-services/src/lib/assets/* ./lib/dist/process-services/bundles/assets

echo "====== Move to node_modules ======"
rm -rf ./node_modules/@alfresco/adf-process-services/ && \
mkdir -p ./node_modules/@alfresco/adf-process-services/ && \
cp -R ./lib/dist/process-services/* ./node_modules/@alfresco/adf-process-services/
5 changes: 5 additions & 0 deletions scripts/build/build-testing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ else
echo "Building testing for development"
npm run ng -- build testing || exit 1
fi

echo "====== Move to node_modules ======"
rm -rf ./node_modules/@alfresco/adf-testing/ && \
mkdir -p ./node_modules/@alfresco/adf-testing/ && \
cp -R ./lib/dist/testing/* ./node_modules/@alfresco/adf-testing/

0 comments on commit fed4e0f

Please sign in to comment.