[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:
Tomasz Gnyp
2022-08-26 13:53:06 +02:00
committed by GitHub
parent 2ef40b150f
commit c7d769510d
17 changed files with 598 additions and 322 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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