Skip to content

Conversation

amgleitman
Copy link
Member

Summary:

This is a follow-up to #2524 where we expect the RNCore version to be explicitly specified as a peer dependency in our stable branches.

#2530 brings this in for 0.74-stable; this brings it into the main branch for cherry-picking into other branches.

Test Plan:

If CIs pass, we're good.

This shouldn't do anything on the main branch anyway, since we don't run through any of the peer dependency logic. Either way, a quick run of RNTester validates that we're still getting our Hermes version via the same git merge-base approach.

@amgleitman amgleitman requested review from Saadnajmi and tido64 July 1, 2025 01:39
@amgleitman amgleitman changed the title Use peerDependencies to get Hermes version on stable branches build: Use peerDependencies to get Hermes version on stable branches Jul 1, 2025
@Saadnajmi Saadnajmi changed the title build: Use peerDependencies to get Hermes version on stable branches feat: Use peerDependencies to get Hermes version on stable branches Jul 1, 2025
@amgleitman amgleitman merged commit 626c8cc into microsoft:main Jul 1, 2025
20 checks passed
amgleitman pushed a commit to amgleitman/react-native-macos that referenced this pull request Jul 1, 2025
…icrosoft#2531)

This is a follow-up to microsoft#2524 where we expect the RNCore version to be
explicitly specified as a peer dependency in our stable branches.
branch for cherry-picking into other branches.

If CIs pass, we're good.

This shouldn't do anything on the main branch anyway, since we don't run
through any of the peer dependency logic. Either way, a quick run of
RNTester validates that we're still getting our Hermes version via the
same `git merge-base` approach.

---------

Co-authored-by: Adam Gleitman <[email protected]>
@amgleitman amgleitman deleted the hermes-better-logic branch July 1, 2025 23:16
Saadnajmi pushed a commit that referenced this pull request Jul 2, 2025
## Summary:

Discovered when cherry-picking #2531 into #2530. I didn't catch it
before because we don't actually run through this part on the main
branch.

## Test Plan:

No effects on main branch, but #2530 CIs should succeed now.

Co-authored-by: Adam Gleitman <[email protected]>
amgleitman added a commit to amgleitman/react-native-macos that referenced this pull request Jul 2, 2025
…icrosoft#2531)

## Summary:

This is a follow-up to microsoft#2524 where we expect the RNCore version to be
explicitly specified as a peer dependency in our stable branches.

microsoft#2530 brings this in for 0.74-stable; this brings it into the main
branch for cherry-picking into other branches.

## Test Plan:

If CIs pass, we're good.

This shouldn't do anything on the main branch anyway, since we don't run
through any of the peer dependency logic. Either way, a quick run of
RNTester validates that we're still getting our Hermes version via the
same `git merge-base` approach.

---------

Co-authored-by: Adam Gleitman <[email protected]>
amgleitman added a commit to amgleitman/react-native-macos that referenced this pull request Jul 2, 2025
## Summary:

Discovered when cherry-picking microsoft#2531 into microsoft#2530. I didn't catch it
before because we don't actually run through this part on the main
branch.

## Test Plan:

No effects on main branch, but microsoft#2530 CIs should succeed now.

Co-authored-by: Adam Gleitman <[email protected]>
amgleitman added a commit that referenced this pull request Jul 2, 2025
## Summary:

This is a cherry-pick of #2524 with some more reliable logic for stable
branches. The latter will be brought into the main branch in #2531.

## Test Plan:

CIs should pass.

---------

Co-authored-by: Adam Gleitman <[email protected]>
amgleitman pushed a commit to amgleitman/react-native-macos that referenced this pull request Jul 2, 2025
This is a cherry-pick of microsoft#2524 with some more reliable logic for stable
branches. The latter will be brought into the main branch in microsoft#2531.

CIs should pass.

---------

Co-authored-by: Adam Gleitman <[email protected]>
amgleitman pushed a commit to amgleitman/react-native-macos that referenced this pull request Jul 2, 2025
This is a cherry-pick of microsoft#2524 with some more reliable logic for stable
branches. The latter will be brought into the main branch in microsoft#2531.

CIs should pass.

---------

Co-authored-by: Adam Gleitman <[email protected]>
amgleitman pushed a commit to amgleitman/react-native-macos that referenced this pull request Jul 2, 2025
This is a cherry-pick of microsoft#2524 with some more reliable logic for stable
branches. The latter will be brought into the main branch in microsoft#2531.

CIs should pass.

---------

Co-authored-by: Adam Gleitman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants