mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-9186] Filter tasks by assignee (#7784)
* [AAE-9186] Filter tasks by assignee * add status filter enum * remove useless case * remove useless unit test * improve task assignment filter unit tests * remove useless imports * rebase * fix lint * run the copydist only for affected * Build always cli and testing to use local * Add back test and cli Co-authored-by: Maurizio Vitale <maurizio.vitale@alfresco.com>
This commit is contained in:
@@ -8,7 +8,7 @@ echo "====== Run lib ====="
|
||||
|
||||
if [ "$CI" = "true" ]; then
|
||||
echo "Building libs for production with NX_FLAG $NX_CALCULATION_FLAGS"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --prod --exclude=demoshell || exit 1
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --prod --exclude="demoshell,cli,testing" || exit 1
|
||||
else
|
||||
echo "Building libs for development with NX_FLAG $NX_CALCULATION_FLAGS"
|
||||
NODE_OPTIONS="--max-old-space-size=8192" $(npm bin)/nx affected:build $NX_CALCULATION_FLAGS --exclude=demoshell || exit 1
|
||||
|
@@ -11,6 +11,6 @@ cp -R ./lib/cli/dist dist/libs/cli/
|
||||
cp ./lib/cli/README.md dist/libs/cli/README.md
|
||||
|
||||
echo "====== Cli Move to node_modules ======"
|
||||
rm -rf ./node_modules/@alfresco/adf-cli/ && \
|
||||
mkdir -p ./node_modules/@alfresco/adf-cli/ && \
|
||||
cp -R ./dist/libs/cli/* ./node_modules/@alfresco/adf-cli/
|
||||
nx build cli
|
||||
nx run cli:copydist
|
||||
|
||||
|
@@ -7,5 +7,4 @@ cd $DIR/../..
|
||||
echo "====== Core ======"
|
||||
|
||||
echo "====== Prebuilt Themes ====="
|
||||
npm run webpack -- --config ./lib/config/webpack.style.js --progress --profile --bail
|
||||
rm ./dist/libs/core/lib/prebuilt-themes/*.js
|
||||
nx affected $NX_CALCULATION_FLAGS --target=pretheme
|
||||
|
@@ -7,6 +7,5 @@ cd $DIR/../..
|
||||
echo "====== Testing ======"
|
||||
|
||||
echo "====== Move to node_modules ======"
|
||||
rm -rf ./node_modules/@alfresco/adf-testing/ && \
|
||||
mkdir -p ./node_modules/@alfresco/adf-testing/ && \
|
||||
cp -R ./dist/libs/testing/* ./node_modules/@alfresco/adf-testing/
|
||||
nx build testing
|
||||
nx run testing:copydist
|
||||
|
Reference in New Issue
Block a user