Skip to content

Commit 818e05a

Browse files
authored
chore: revert build system override (#6442)
1 parent 8baf069 commit 818e05a

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ else
110110

111111
# react-native-safe-area-context v5 is required for >= 0.74
112112
if [[ "$FRAMEWORK_VERSION" == "latest" || $FRAMEWORK_VERSION > "0.74" ]]; then
113-
# build system test uses latest tag, will need to remove force after release
114-
DEPENDENCIES="$DEPENDENCIES react-native-safe-area-context --force"
113+
DEPENDENCIES="$DEPENDENCIES react-native-safe-area-context"
115114
else
116115
DEPENDENCIES="$DEPENDENCIES react-native-safe-area-context@^4.2.5"
117116
fi;
@@ -120,12 +119,6 @@ else
120119
install_dependencies_with_retries npm "$DEPENDENCIES"
121120
if [[ "$BUILD_TOOL" == "expo" ]]; then
122121
if [[ "$FRAMEWORK_VERSION" == "0.75" ]]; then
123-
# Prevent Expo from "fixing" force installed dependency
124-
# Can be removed once peer dependency is available with latest tag
125-
tmp=$(mktemp)
126-
jq '.overrides."@aws-amplify/ui-react-native"."react-native-safe-area-context" = "$react-native-safe-area-context"' package.json > "$tmp"
127-
mv "$tmp" package.json
128-
129122
# Expo SDK version 51.0.0 supports RN 0.74 and 0.75 but installs 0.74 by default https://expo.dev/changelog/2024/08-14-react-native-0.75#2-install-updated-packages
130123
echo "npx expo install react-native@~0.75.0"
131124
npx expo install react-native@~0.75.0

0 commit comments

Comments
 (0)