Skip to content

Commit

Permalink
reverting mega app install
Browse files Browse the repository at this point in the history
  • Loading branch information
esauerbo committed Oct 17, 2023
1 parent 8b1791a commit a8d06d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build-system-tests/scripts/mega-app-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ echo "##########################"
echo "# Start Mega App Install #"
echo "##########################"

DEPENDENCIES="$FRAMEWORK@$FRAMEWORK_VERSION @aws-amplify/ui-$FRAMEWORK aws-amplify@5"
DEPENDENCIES="$FRAMEWORK@$FRAMEWORK_VERSION @aws-amplify/ui-$FRAMEWORK aws-amplify"

echo "cd ./mega-apps/${MEGA_APP_NAME}"
cd ./mega-apps/${MEGA_APP_NAME}
Expand All @@ -102,8 +102,8 @@ if [ "$FRAMEWORK" == 'react' ]; then
elif [ "$FRAMEWORK" == 'angular' ]; then
# remove angular since it's deprecated https://www.npmjs.com/package/angular
# We've install @amplify/cli when creating the app
echo "DEPENDENCIES="@aws-amplify/ui-$FRAMEWORK aws-amplify@5""
DEPENDENCIES="@aws-amplify/ui-$FRAMEWORK aws-amplify@5"
echo "DEPENDENCIES="@aws-amplify/ui-$FRAMEWORK aws-amplify""
DEPENDENCIES="@aws-amplify/ui-$FRAMEWORK aws-amplify"
fi

echo "Dependencies to be installed: $DEPENDENCIES"
Expand Down Expand Up @@ -136,8 +136,8 @@ else
fi

if [[ "$FRAMEWORK" == "react-native" ]]; then
echo "npm install @aws-amplify/ui-react-native aws-amplify@5 react-native-safe-area-context amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values react-native-url-polyfill"
npm install @aws-amplify/ui-react-native aws-amplify@5 react-native-safe-area-context amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values react-native-url-polyfill
echo "npm install @aws-amplify/ui-react-native aws-amplify react-native-safe-area-context amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values react-native-url-polyfill"
npm install @aws-amplify/ui-react-native aws-amplify react-native-safe-area-context amazon-cognito-identity-js @react-native-community/netinfo @react-native-async-storage/async-storage react-native-get-random-values react-native-url-polyfill
if [[ "$BUILD_TOOL" == "expo" ]]; then
echo "npx expo install --fix"
npx expo install --fix # fix the dependencies that are incompatible with the installed expo versio
Expand Down

0 comments on commit a8d06d3

Please sign in to comment.