mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-5410] code fixes and updates prior to Angular 12 upgrade (#7177)
* package fixes * upgrade stylelint config * upgrade configuration and stats * code fixes based on Angular upgrade * rework scss-bundle usage * use node 14 with travis (lts) * fix production builds * fix node sass version
This commit is contained in:
@@ -9,14 +9,14 @@ echo "====== Build ======"
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building insights for production"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build insights --prod || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build insights --configuration production || exit 1
|
||||
else
|
||||
echo "Building insights for development"
|
||||
nx build insights || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build insights || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Build style ======"
|
||||
node ./lib/config/bundle-insights-scss.js || exit 1
|
||||
echo "====== Bundle styles ======"
|
||||
npm run scss-bundle:insights || exit 1
|
||||
|
||||
echo "====== Copy i18n ======"
|
||||
mkdir -p ./lib/dist/insights/bundles/assets/adf-insights/i18n
|
||||
|
Reference in New Issue
Block a user