Skip to content

Conversation

@Saadnajmi
Copy link
Collaborator

Summary:

It's not clear (both to humans and to build tools like nx) that the only packages we fork from the React Native monorepo upstream are 'react-native' --> 'react-native-macos' and '@react-native/virtualized-lists' --> '@react-native-mac/virtualized-lists'. The rest of the packages should essentially only ever be used in local development, while the published package react-native-macos uses the upstream versions of these packages. We can solve this by marking the packages as private.

Test Plan:

IIRC, this caused some build failure last time I tried this.. let's see how CI reacts to this change. Further testing with nx release should be done locally to make sure the nx build graph stops marking the unforked monoreppo packages as dependencies.

@Saadnajmi Saadnajmi requested a review from a team as a code owner April 22, 2025 23:12
@Saadnajmi Saadnajmi marked this pull request as draft April 22, 2025 23:32
Copy link
Member

@tido64 tido64 left a comment

Choose a reason for hiding this comment

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

Looks right to me.

@Saadnajmi Saadnajmi marked this pull request as ready for review April 23, 2025 21:00
@Saadnajmi Saadnajmi merged commit 5c909b4 into microsoft:main Apr 23, 2025
12 checks passed
@Saadnajmi Saadnajmi deleted the private branch April 23, 2025 21:20
@Saadnajmi Saadnajmi mentioned this pull request Apr 25, 2025
4 tasks
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