Skip to content

chore: upgrade dependencies across the repository - #10210

Merged
pawicao merged 7 commits into
mainfrom
@pawicao/deps-upgrade
Aug 11, 2026
Merged

chore: upgrade dependencies across the repository#10210
pawicao merged 7 commits into
mainfrom
@pawicao/deps-upgrade

Conversation

@pawicao

@pawicao pawicao commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

This PR upgrades various dependencies in the repository and adds minor adjustments, through that achieving the following:

Dep upgrade

  • focusing mostly around React, React Native and its libraries and having them updated to the latest (or latest possible) version
  • with that it bumps some related other libraries with their corresponding patch releases

Having example app opt-out from built-in kotlin and new DSL

The Upgrade Helper recommends to opt-out from AGP 9's built-in kotlin and new DSL. In our packages we do handle both configurations for those options both enabled and disabled. It is not the same in the case of other libraries we are using, therefore if we wanted to keep those properties set to true, we'd have to keep manual patches for each of those libraries in the repository which makes maintenance more troublesome and messy. A cleaner approach is to opt-out of those in our example app.

Patches cleanup

The dep upgrade and the above opt-out both help us reduce the number of patches the repo needed to make example apps work. Now only the necessary ones are left.

RN Screens as peer dep across example apps

Previously RN Screens was just a dep in the common-app that the actual example apps import. This had to change now because:

  • we wanted RN Screens in its latest 4.27.0 version that supports RN 0.87
  • at the same time that RN Screens version didn't work well with our macos-example due to some import mismatches
  • moving RN Screens to be a peer dep allowed us to be more granular per example app

As a result we both have the newest RN Screens in normal example apps, and also a working one in the macOS example

Other remarks

  • This PR does not do any deps bump in the docs apps.
  • I had to pin our metro patches resolutions to 0.87.0, otherwise they were also applied to the macOS example that should be using older metro

Test plan

Tested with all the example apps. All build and are working.

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 42400151-023a-4aeb-9f09-218d8b10f651

📥 Commits

Reviewing files that changed from the base of the PR and between f6cebaa and 2872ce3.

📒 Files selected for processing (1)
  • scripts/toggle-bundle-mode.sh

📝 Walkthrough

Summary by CodeRabbit

  • Enhancements

    • Improved compatibility across Android, macOS, tvOS, web, and Next.js example applications.
    • Added React Native Screens support across supported examples.
    • Enabled edge-to-edge display behavior in the Android example.
    • Added an option to disable bundle mode during development setup.
  • Maintenance

    • Updated React, React Native platform tooling, Metro, Expo, and related components for improved stability and consistency across platforms.

Walkthrough

The PR updates React Native dependencies across workspace packages and example applications. It adds react-native-screens, refreshes Metro patches, updates Fabric Android settings, and disables bundle mode before macOS builds.

Changes

Dependency and example alignment

Layer / File(s) Summary
Workspace tooling and resolutions
.yarnrc.yml, package.json, scripts/patches/resolutions.patch, packages/*/package.json
Updates Yarn approvals, development dependencies, and Metro patches from 0.84.4 to 0.87.0.
Common app and Fabric configuration
apps/common-app/package.json, apps/fabric-example/package.json, apps/fabric-example/android/*
Adds react-native-screens peer and development dependencies, updates React versions, applies the Kotlin Android plugin, and changes Android Gradle settings.
Platform example dependencies
apps/macos-example/*, apps/tvos-example/package.json, apps/web-example/package.json, apps/next-example/package.json
Updates example dependencies and configures react-native-screens for macOS, tvOS, web, and Next examples.
Bundle-mode disable flow
scripts/toggle-bundle-mode.sh, apps/macos-example/package.json
Adds strict shell handling and --off patch reversal, then invokes it before the macOS build steps.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

Suggested reviewers: tomekzaw, tjzel

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description clearly explains the dependency upgrades, configuration changes, patch cleanup, and testing performed.
Title check ✅ Passed The title clearly summarizes the primary repository-wide dependency upgrade.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch @pawicao/deps-upgrade

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/tvos-example/package.json`:
- Around line 30-34: Remove the unused `@types/react-test-renderer` and
react-test-renderer entries from the tvOS example’s package.json dependencies,
leaving the remaining packages unchanged; no testing-library migration is
needed.

In `@apps/web-example/package.json`:
- Around line 20-23: Align the dependency versions in the web-example package
manifest by replacing react-native 0.87.0-rc.4 with the React Native 0.86.x
version supported by Expo 57, or upgrade Expo packages to a release supporting
0.87. Afterward, run Expo dependency checks to verify the package matrix is
consistent.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 74b56722-7eeb-4cb5-af3e-9a03c86e217c

📥 Commits

Reviewing files that changed from the base of the PR and between 88099e8 and 16a167d.

⛔ Files ignored due to path filters (15)
  • .yarn/patches/@gorhom-bottom-sheet-npm-5.2.8-1ad4b8f529.patch is excluded by !**/.yarn/**
  • .yarn/patches/fuse.js-npm-7.1.0-5dcae892a6.patch is excluded by !**/.yarn/**
  • .yarn/patches/metro-npm-0.87.0-1c5c005545.patch is excluded by !**/.yarn/**
  • .yarn/patches/metro-runtime-npm-0.87.0-2e4e60a54a.patch is excluded by !**/.yarn/**
  • .yarn/patches/react-native-gesture-handler-npm-3.0.2-893975050e.patch is excluded by !**/.yarn/**
  • .yarn/patches/react-native-macos-npm-0.81.9-aa583a0648.patch is excluded by !**/.yarn/**
  • .yarn/patches/react-native-mmkv-npm-4.3.2-24e071ac53.patch is excluded by !**/.yarn/**
  • .yarn/patches/react-native-nitro-modules-npm-0.36.1-32b64d0393.patch is excluded by !**/.yarn/**
  • .yarn/patches/react-native-safe-area-context-npm-5.8.0-98d3ae1299.patch is excluded by !**/.yarn/**
  • .yarn/patches/react-native-screens-npm-4.26.0-54f969441f.patch is excluded by !**/.yarn/**
  • .yarn/patches/react-native-tvos-npm-0.86.0-1-2baf7632d6.patch is excluded by !**/.yarn/**
  • apps/fabric-example/ios/Podfile.lock is excluded by !**/*.lock
  • apps/macos-example/macos/Podfile.lock is excluded by !**/*.lock
  • apps/tvos-example/ios/Podfile.lock is excluded by !**/*.lock
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (15)
  • .yarnrc.yml
  • apps/common-app/package.json
  • apps/fabric-example/android/app/build.gradle
  • apps/fabric-example/android/gradle.properties
  • apps/fabric-example/package.json
  • apps/macos-example/metro.config.js
  • apps/macos-example/package.json
  • apps/next-example/package.json
  • apps/tvos-example/package.json
  • apps/web-example/package.json
  • package.json
  • packages/eslint-plugin-reanimated/package.json
  • packages/react-native-reanimated/package.json
  • packages/react-native-worklets/package.json
  • scripts/patches/resolutions.patch

Comment thread apps/tvos-example/package.json
Comment thread apps/web-example/package.json
Comment thread scripts/patches/resolutions.patch
Add a macOS-local helper to turn bundle mode off when working on the macOS example.
@pawicao
pawicao requested a review from tjzel August 11, 2026 13:31

@tjzel tjzel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved with szpont machen

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@scripts/toggle-bundle-mode.sh`:
- Around line 19-22: Update the bundle-mode disable flow around the PATCHES
reversal loop and yarn install so failures from git apply --reverse or
YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install are detected and propagated
instead of printing success or exiting 0. Handle already-reversed patches by
retrying installation or restoring the prior patch state, ensuring a failed
install does not leave the script reporting bundle mode as successfully
disabled.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 35ac5d1b-77fe-45a2-81e6-84e5984dcdda

📥 Commits

Reviewing files that changed from the base of the PR and between 611a258 and f6cebaa.

📒 Files selected for processing (2)
  • apps/macos-example/package.json
  • scripts/toggle-bundle-mode.sh

Comment thread scripts/toggle-bundle-mode.sh
@pawicao
pawicao merged commit a5dbdbf into main Aug 11, 2026
18 of 21 checks passed
@pawicao
pawicao deleted the @pawicao/deps-upgrade branch August 11, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants