mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +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 core for production"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build core --prod || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build core --configuration production || exit 1
|
||||
else
|
||||
echo "Building core for development"
|
||||
nx build core || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build core || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Build style ======"
|
||||
node ./lib/config/bundle-core-scss.js || exit 1
|
||||
echo "====== Bundle styles ======"
|
||||
npm run scss-bundle:core || exit 1
|
||||
|
||||
echo "====== Copy i18n ======"
|
||||
mkdir -p ./lib/dist/core/bundles/assets/adf-core/i18n
|
||||
|
Reference in New Issue
Block a user