Skip to content

fix(align-deps): add React Native type profiles#4182

Open
vivekjm wants to merge 1 commit into
microsoft:mainfrom
vivekjm:add-types-react-native-profile
Open

fix(align-deps): add React Native type profiles#4182
vivekjm wants to merge 1 commit into
microsoft:mainfrom
vivekjm:add-types-react-native-profile

Conversation

@vivekjm
Copy link
Copy Markdown
Contributor

@vivekjm vivekjm commented May 30, 2026

Summary

  • add a types/react-native align-deps capability for React Native 0.61 through 0.70
  • make React Native core profiles resolve @types/react-native as a dev-only dependency for those versions
  • stop resolving the community type package starting with the 0.71 profile, where React Native ships its own TypeScript declarations
  • update capability, manifest, set-version, and snapshot coverage

Fixes #269.

Test Plan

  • PATH="$HOME/.nvm/versions/node/v22.22.0/bin:$PATH" yarn workspace @rnx-kit/align-deps test test/capabilities.test.ts
  • PATH="$HOME/.nvm/versions/node/v22.22.0/bin:$PATH" yarn workspace @rnx-kit/align-deps test test/manifest.test.ts
  • PATH="$HOME/.nvm/versions/node/v22.22.0/bin:$PATH" yarn workspace @rnx-kit/align-deps test
  • PATH="$HOME/.nvm/versions/node/v22.22.0/bin:$PATH" yarn workspace @rnx-kit/align-deps build

Note: yarn change:check --since origin/main could not run in this checkout because the local Yarn dependency map is missing oxlint@npm:1.61.0; I added the required Changesets entry manually.

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.

align-deps profiles: add a few more dependencies to the profiles

1 participant