Skip to content

Commit 9372fa7

Browse files
fix(build-system-tests): override Angular latest to v20 for compatibility (#6759)
1 parent aedf9a0 commit 9372fa7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build-system-tests/scripts/setup-mega-app.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ echo "##################"
8282
echo "# Setup Mega App #"
8383
echo "##################"
8484

85+
# Override Angular latest to v20 until v21 compatibility is resolved
86+
if [ "$FRAMEWORK" == "angular" ] && [ "$BUILD_TOOL" == "angular-cli" ] && [ "$FRAMEWORK_VERSION" == "latest" ] && [ "$BUILD_TOOL_VERSION" == "latest" ]; then
87+
FRAMEWORK_VERSION="20"
88+
BUILD_TOOL_VERSION="20"
89+
echo "Overriding Angular latest to v20 to bypass compatibility issues with v21+"
90+
fi
91+
8592
BASE_OPTIONS="--build-tool $BUILD_TOOL --name $MEGA_APP_NAME --framework $FRAMEWORK --framework-version $FRAMEWORK_VERSION"
8693

8794
# Create mega app

0 commit comments

Comments
 (0)