mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[ADF-4411] Keep js-api dependecy in remove script (#4661)
This commit is contained in:
parent
9297c63a21
commit
669c64fb46
@ -2,8 +2,8 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
echo "====== Removing Alfresco dependencies from package.json ====="
|
||||
|
||||
grep -wirn '@alfresco*' $DIR/../package.json
|
||||
|
||||
sed -i '' '/@alfresco*/,// d' $DIR/../package.json
|
||||
grep -wirn '@alfresco\/adf*' $DIR/../package.json
|
||||
sed -i '' 's/"@alfresco\/adf-[^,]*,//' $DIR/../package.json
|
||||
sed -i '' '/^[[:space:]]*$/d' $DIR/../package.json
|
||||
|
||||
echo "====== Alfresco dependencies removed from package.json ====="
|
||||
|
Loading…
x
Reference in New Issue
Block a user