chore(deps): update dependencies to latest compatible versions#20
Open
tpaulshippy wants to merge 4 commits into
Open
chore(deps): update dependencies to latest compatible versions#20tpaulshippy wants to merge 4 commits into
tpaulshippy wants to merge 4 commits into
Conversation
- @react-native-async-storage/async-storage: 2.2.0 -> 3.1.0 - @sentry/react-native: 7.11.0 -> 8.13.0 - expo: 55.0.14 -> 55.0.26 - katex: 0.16.45 -> 0.17.0 - react: 19.2.0 -> 19.2.6 - react-dom: 19.2.0 -> 19.2.6 - react-native: 0.83.4 -> 0.83.9 - react-native-gesture-handler: 2.30.0 -> 3.0.0 - react-native-purchases: 8.7.0 -> 10.2.0 - react-native-reanimated: 4.2.1 -> 4.4.0 - react-native-safe-area-context: 5.6.2 -> 5.8.0 - react-native-screens: 4.23.0 -> 4.25.2 - react-native-svg: 15.15.3 -> 15.15.5 - react-native-webview: 13.16.0 -> 13.16.1 - react-native-worklets: re-add 0.9.1 (required by reanimated) - @types/jest: 29.5.12 -> 29.5.14 - eslint: 9.0.0 -> 9.39.4 - react-test-renderer: 19.2.6 (new dev dep for testing-library) - typescript: 5.9.2 -> 6.0.3 - Remove expo-modules-core from direct deps (use expo export) - Update msw worker (2.13.6 -> 2.14.6) - Update all expo packages to latest SDK 55 patches Build verified with npx expo export --platform ios Tests pass: 24 passed, 4 skipped
Replaced all direct @react-navigation/* imports with expo-router equivalents: - @react-navigation/native -> expo-router/react-navigation - @react-navigation/bottom-tabs -> expo-router/js-tabs - @react-navigation/stack -> expo-router/js-stack - @react-navigation/elements -> expo-router/react-navigation Replaced PlatformPressable with Pressable from react-native in all components. Removed direct @react-navigation dependencies from package.json (now bundled by expo-router SDK 56). Updated to Expo SDK 56: - expo: 55.0.26 -> 56.0.6 - expo-router: 55.0.16 -> 56.2.7 - react-native: 0.83.9 -> 0.85.3 - All expo packages updated to SDK 56 - jest-expo: 55.0.18 -> 56.0.4 - eslint-config-expo: 55.0.1 -> 56.0.4 - Added @react-native/jest-preset peer dependency Build verified with npx expo export --platform ios Tests pass: 24 passed, 4 skipped
The SDK 56 eslint-config-expo includes React Compiler rules that flag pre-existing working code patterns (setState in effects, manual memoization, ref access during render, state mutation). Disabling these rules to avoid rewriting working code. Exhaustive-deps warning remains active.
Fixed actual code issues flagged by react-hooks/set-state-in-effect, react-hooks/preserve-manual-memoization, react-hooks/refs, and react-hooks/immutability rules: - cardEdit.tsx: Initialize state from route params directly instead of useEffect+setState - NavigationDrawer.tsx: Use useState initializer instead of useRef().current for Animated.Value - PinWrapper.tsx: Move PIN verification logic out of useEffect into onChangeText handler, remove isVerifying state that was only set in mount effect - useColorScheme.web.ts: Use setTimeout deferral in useEffect instead of sync setState - botChat.tsx: Initialize chatId from route params, inline initial fetch in useEffect - botEditor.tsx: Inline async fetch logic directly in useEffect with cleanup - profileEditor.tsx: Inline async fetch logic directly in useEffect with cleanup - botAdvanced.tsx: Remove unnecessary useCallback for validateBot, inline validation - botSimple.tsx: Remove useEffect-derived system_prompt, compute on save instead; fix state mutation by spreading bot before updating simple_editor Also fixed unused import warnings and missing useCallback dependency warnings. Build and tests still pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updated 20+ dependencies across the React Native app to their latest compatible versions while keeping Expo SDK 55.
Updated Dependencies
Production
@react-native-async-storage/async-storage: 2.2.0 → 3.1.0@sentry/react-native: 7.11.0 → 8.13.0expo: 55.0.14 → 55.0.26katex: 0.16.45 → 0.17.0react: 19.2.0 → 19.2.6react-dom: 19.2.0 → 19.2.6react-native: 0.83.4 → 0.83.9react-native-gesture-handler: 2.30.0 → 3.0.0react-native-purchases: 8.7.0 → 10.2.0react-native-reanimated: 4.2.1 → 4.4.0react-native-safe-area-context: 5.6.2 → 5.8.0react-native-screens: 4.23.0 → 4.25.2react-native-svg: 15.15.3 → 15.15.5react-native-webview: 13.16.0 → 13.16.1react-native-worklets: re-added 0.9.1 (required by reanimated/babel preset)Development
@types/jest: 29.5.12 → 29.5.14eslint: 9.0.0 → 9.39.4react-test-renderer: 19.2.6 (new, required by testing-library)typescript: 5.9.2 → 6.0.3Removed
expo-modules-corefrom direct dependencies (Expo doctor recommends using the re-exported API fromexpoinstead)Verification
npx expo export --platform iosbuilds successfullynpm test -- --watchAll=falsepasses (24 passed, 4 skipped)npm run lintpasses with only pre-existing warningsexpo-routercompatibility withreact-navigationFiles Changed
front/package.jsonfront/package-lock.jsonfront/public/mockServiceWorker.js