Skip to content

ci: mark unforked monorepo packages as private #2483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2025

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