Skip to content

Fix updating peerDependencies for releases#55630

Closed
mdjastrzebski wants to merge 1 commit intofacebook:mainfrom
mdjastrzebski:fix/updating-peer-deps
Closed

Fix updating peerDependencies for releases#55630
mdjastrzebski wants to merge 1 commit intofacebook:mainfrom
mdjastrzebski:fix/updating-peer-deps

Conversation

@mdjastrzebski
Copy link
Contributor

@mdjastrzebski mdjastrzebski commented Feb 19, 2026

Summary:

Recently added @react-native/jest-preset package is an optional peer dep to the main react-native package. However, it's version dep is not updated correctly for nightly builds.

Peer dep version for latest nightly is :

"peerDependencies": {
    "@eact-native/jest-preset": "0.84.0-main",
    // ....
  },

From my analysis this is because publishing scripts only update deps and devDeps but not peerDeps. Proposed change adds peerDeps to the list of potential deps locations to update

Changelog:

[INTERNAL] [FIXED] - Fix peer deps version to @react-native/jest-preset.

Test Plan:

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 19, 2026
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Feb 19, 2026
Copy link
Member

@huntie huntie left a comment

Choose a reason for hiding this comment

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

Can we tighten up the commit message? ("chore" / conventional commits aren't used by this repo)

This is ~"Fix updating peerDependencies for releases"

@mdjastrzebski mdjastrzebski changed the title chore: update peerDeps for releases Fix updating peerDependencies for releases Feb 20, 2026
@mdjastrzebski
Copy link
Contributor Author

mdjastrzebski commented Feb 20, 2026

Changed the PR title

@meta-codesync
Copy link

meta-codesync bot commented Feb 20, 2026

@huntie has imported this pull request. If you are a Meta employee, you can view this in D93850121.

@meta-codesync meta-codesync bot closed this in 8a740ac Feb 20, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 20, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 20, 2026

@huntie merged this pull request in 8a740ac.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @mdjastrzebski in 8a740ac

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments