Open
Conversation
Contributor
Author
|
/azp run PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azp run PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
iamAbhi-916
reviewed
Feb 18, 2026
Contributor
iamAbhi-916
left a comment
There was a problem hiding this comment.
@vineethkuttan has to verify with the next integration chunk!
Contributor
Author
|
/azp run PR |
|
Azure Pipelines failed to run 1 pipeline(s). |
Contributor
Author
|
/azp run PR |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
My current integration is going to finish, Will test this with next integration and will share my review |
acoates-ms
reviewed
Feb 25, 2026
| */ | ||
|
|
||
| // Ensure the package is built from latest source before running | ||
| const {execSync} = require('child_process'); |
Contributor
There was a problem hiding this comment.
This is an anti pattern.
Rather than doing this, we should just move to executing the TS directly. node 22 supports running ts scripts directly. So there is no need to compile integrate-rn at all. -- We should only be running tsc during build to do type checking.
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.
Description
yarn integrate-rnscript doesn't update the nightly build version in all packages.json file during integration requiring us to manually update the files. This PR fixes theintegrate-rnscript.Type of Change
Why
yarn integrate-rnscript doesn't update the nightly build version in all packages.json file during integration requiring us to manually update the files. This PR fixes theintegrate-rnscript.Resolves [https://github.com//issues/15504]
What
Updated below
overrides.json baseVersion not updating (integrateRN.ts): upgradePlatformOverrides was calling upgradeOverrides() without passing reactNativeVersion, so the library fell back to auto-detecting from Node's module cache (which could resolve the old version). Fixed by explicitly passing the new version.
@react-native/* deps in package.json files not updating (upgradeDependencies.ts): Only 3 specific @react-native/* packages (metro-config, metro-babel-transformer, babel-preset) were hardcoded for nightly bumps. Other packages like @react-native/new-app-screen, @react-native/eslint-config, @react-native/popup-menu-android were missed. Fixed by adding a generic bumpReactNativeNightlyDeps helper that bumps any @react-native/* dependency referencing a nightly version, applied across all packages' dependencies and devDependencies.
Stale compiled output (bin.js): The script runs from compiled JS in lib-commonjs/, so source changes had no effect until manually rebuilt. Fixed by adding an automatic tsc compilation step in bin.js before execution.
Screenshots
Before

After

Tested with updating nightly build version 0.83.0-nightly-20250917-18cb4edfa to 0.83.0-nightly-20250922-5ef054921
using
yarn integrate-rn 0.83.0-nightly-20250922-5ef054921All of the 4 remaining results are expected:
3 change files → historical records from the previous integration, cleaned up by beachball later
1 overrides.json per-override baseVersion → a conflict that couldn't be auto-merged, requires manual resolution using
react-native-platform-override upgradeChangelog
Should this change be included in the release notes: no
Add a brief summary of the change to use in the release notes for the next release.
Microsoft Reviewers: Open in CodeFlow