mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4495] Fix Remove dependencies script
This commit is contained in:
@@ -3,7 +3,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
echo "====== Removing Alfresco dependencies from package.json ====="
|
||||
|
||||
grep -wirn '@alfresco\/adf*' $DIR/../package.json
|
||||
sed -i '' 's/"@alfresco\/adf-[^,]*,//' $DIR/../package.json
|
||||
sed -i '' '/^[[:space:]]*$/d' $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 ====="
|
||||
|
Reference in New Issue
Block a user