[ACS-5027] Fix ADF linking in ACA (#3114)

This commit is contained in:
MichalKinas 2023-04-11 16:06:00 +02:00 committed by GitHub
parent af2f9eb344
commit b37584ee8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,11 @@ runs:
BRANCH=`echo $COMMIT_MESSAGE | grep -o "\[link-adf\:[^]]*\]" | sed -e 's#\[link-adf:##g' | sed -e 's#\]##g'`
echo "Cloning ADF with branch ${BRANCH}" && \
git clone https://github.com/Alfresco/alfresco-ng2-components.git --depth=1 --branch ${BRANCH} ../alfresco-ng2-components
# ADF theming needs it the styling
CWD=`pwd`
cd ../alfresco-ng2-components
npm install @angular/material
cd $CWD
else
echo -e "Using ADF from installed node_modules."
fi ;

View File

@ -23,6 +23,7 @@
"paths": {
"@alfresco/adf-testing": ["../alfresco-ng2-components/lib/testing"],
"@alfresco/adf-testing/shared": ["../alfresco-ng2-components/lib/testing/src/lib/shared"],
"@alfresco/playwright-shared": ["e2e/playwright/shared/index.ts"],
"@alfresco/adf-core": ["../alfresco-ng2-components/lib/core"],
"@alfresco/adf-core/*": ["../alfresco-ng2-components/lib/core/*/public-api.ts"],
"@alfresco/adf-core/shell": ["../alfresco-ng2-components/lib/core/shell/src/index.ts"],