Fix angular 13 migration (#7754)

* Fix angular 13 migration

* Add prerelease alpha versions deprecation support

* Another fix
This commit is contained in:
Popovics András
2022-08-09 15:30:46 +02:00
committed by GitHub
parent a609dbb131
commit 58660b0395
4 changed files with 19 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ for PACKAGE in ${projects[@]}
do
echo "@alfresco/$PACKAGE"
for VERSION_TO_DEPRECATE in $(npm view "@alfresco/$PACKAGE" versions --json | jq -r '.[] | select( . | contains("-")) | select( . | contains("'$VERSION'"))')
for VERSION_TO_DEPRECATE in $(npm view "@alfresco/$PACKAGE" versions --json | jq -r '.[] | select( . | match("-[0-9].*$") ) | select( . | contains("'$VERSION'"))')
do
deprecated=$(npm view "@alfresco/$PACKAGE@$VERSION_TO_DEPRECATE" -json | jq '.deprecated')