From b231ae8bc8546920e06a171ed4f1545e6eab7290 Mon Sep 17 00:00:00 2001 From: Frank Calise Date: Wed, 8 Nov 2023 08:06:08 -0500 Subject: [PATCH] chore: remove unused deps, upgrade mobx (#2543 by @frankcalise) * chore: remove unused deps, upgrade mobx * chore: bump expo version * fix(cli): remove expo-device from expo go compat --- boilerplate/package.json | 12 ++++-------- src/tools/expoGoCompatibility.ts | 3 +-- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/boilerplate/package.json b/boilerplate/package.json index b7afa90dc..a976f1f66 100644 --- a/boilerplate/package.json +++ b/boilerplate/package.json @@ -32,8 +32,6 @@ }, "dependencies": { "@expo-google-fonts/space-grotesk": "^0.2.2", - "@expo/metro-config": "~0.10.0", - "@expo/webpack-config": "^19.0.0", "@react-native-async-storage/async-storage": "1.19.3", "@react-navigation/bottom-tabs": "^6.3.2", "@react-navigation/native": "^6.0.2", @@ -41,20 +39,18 @@ "@shopify/flash-list": "^1.6.1", "apisauce": "3.0.1", "date-fns": "^2.30.0", - "expo": "^49.0.13", + "expo": "^49.0.16", "expo-application": "~5.4.0", "expo-build-properties": "~0.8.3", - "expo-device": "~5.6.0", - "expo-file-system": "~15.6.0", "expo-font": "~11.6.0", "expo-linking": "~5.0.2", "expo-localization": "~14.5.0", "expo-splash-screen": "~0.20.4", "expo-status-bar": "~1.6.0", "i18n-js": "3.9.2", - "mobx": "6.6.0", - "mobx-react-lite": "3.4.0", - "mobx-state-tree": "5.1.5", + "mobx": "6.10.2", + "mobx-react-lite": "4.0.5", + "mobx-state-tree": "5.3.0", "react": "18.2.0", "react-dom": "18.2.0", "react-native": "0.72.6", diff --git a/src/tools/expoGoCompatibility.ts b/src/tools/expoGoCompatibility.ts index 9e2a42471..fba009353 100644 --- a/src/tools/expoGoCompatibility.ts +++ b/src/tools/expoGoCompatibility.ts @@ -5,11 +5,10 @@ export const expoGoCompatExpectedVersions = { "@react-native-async-storage/async-storage": "1.18.2", "expo-application": "~5.3.0", - "expo-device": "~5.4.0", - "expo-file-system": "~15.4.4", "expo-font": "~11.4.0", "expo-localization": "~14.3.0", "@shopify/flash-list": "1.4.3", + "react-native": "0.72.5", } // This function takes a package.json file as a string and updates the versions of the