fix(0.81): fix yarn constraints failures after release bumps#2909
Merged
Saadnajmi merged 1 commit intomicrosoft:0.81-stablefrom Apr 9, 2026
Merged
Conversation
|
1 task
Mark root monorepo and nx-release-version packages as private with a fixed version of 1000.0.0, decoupling them from the release versioning. Add a yarn constraint to enforce this. Previously, nx release only bumped packages/react-native and packages/virtualized-lists, leaving these internal packages behind and causing yarn constraints to fail. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
86827dc to
a3cb4ce
Compare
vmoroz
approved these changes
Apr 9, 2026
Saadnajmi
added a commit
that referenced
this pull request
Apr 9, 2026
…2910) ## Summary - Update `enforceReactNativeMacosPrivatePackageVersion` constraint to use `1000.0.0` instead of `0.1.0`, matching the upstream convention for non-published packages - Remove the `isMainBranch` guard so the constraint applies consistently on all branches See also: #2909 (0.81-stable counterpart) ## Test plan - [ ] `yarn constraints` passes on main 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
@react-native-macos/monorepoand@react-native-macos/nx-release-versionpackages asprivate: truewith a fixed version of1000.0.0enforceReactNativeMacosPrivatePackageVersionyarn constraint to enforce thisreact-native-macosand@react-native-macos/virtualized-lists, so these internal packages were getting left behind and causingyarn constraintsto fail after every releaseTest plan
yarn constraintspasses locally🤖 Generated with Claude Code