mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
Fix the nx path to avoid installing it globally (#7681)
* fix nx path * fix nx * fix nx * fix nx * fix nx * fix nx * fix nx
This commit is contained in:
parent
3aa52c8f14
commit
851e153080
@ -9,10 +9,10 @@ echo "====== Build ======"
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building content-services for production"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build content-services --configuration production || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build content-services --configuration production || exit 1
|
||||
else
|
||||
echo "Building content-services for development"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build content-services || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build content-services || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Copy i18n ======"
|
||||
|
@ -9,10 +9,10 @@ echo "====== Build ======"
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building core for production"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build core --configuration production || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build core --configuration production || exit 1
|
||||
else
|
||||
echo "Building core for development"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build core || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build core || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Bundle styles ======"
|
||||
|
@ -7,8 +7,8 @@ cd $DIR/../..
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building extensions for production"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build extensions --configuration production || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build extensions --configuration production || exit 1
|
||||
else
|
||||
echo "Building extensions for development"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build extensions || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build extensions || exit 1
|
||||
fi
|
||||
|
@ -9,10 +9,10 @@ echo "====== Build ======"
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building insights for production"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build insights --configuration production || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build insights --configuration production || exit 1
|
||||
else
|
||||
echo "Building insights for development"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build insights || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build insights || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Copy i18n ======"
|
||||
|
@ -9,10 +9,10 @@ echo "====== Build ======"
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building process-services-cloud for production"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build process-services-cloud --configuration production || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build process-services-cloud --configuration production || exit 1
|
||||
else
|
||||
echo "Building process-services-cloud for development"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build process-services-cloud || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build process-services-cloud || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Copy i18n ======"
|
||||
|
@ -9,10 +9,10 @@ echo "====== Build ======"
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building process-services for production"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build process-services --configuration production || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build process-services --configuration production || exit 1
|
||||
else
|
||||
echo "Building process-services for development"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build process-services || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build process-services || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Copy i18n ======"
|
||||
|
@ -10,10 +10,10 @@ echo "====== Build ======"
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building testing for production"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build testing --configuration production || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build testing --configuration production || exit 1
|
||||
else
|
||||
echo "Building testing for development"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" nx build testing || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx build testing || exit 1
|
||||
fi
|
||||
|
||||
echo "====== Move to node_modules ======"
|
||||
|
Loading…
x
Reference in New Issue
Block a user