mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix angular 13 migration (#7754)
* Fix angular 13 migration * Add prerelease alpha versions deprecation support * Another fix
This commit is contained in:
@@ -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')
|
||||
|
||||
|
Reference in New Issue
Block a user