Skip to content

Conversation

@JasonVMo
Copy link
Contributor

Platforms Impacted

-all

Description of changes

This is part of the 81 changes I'm splitting out to reduce the diffs. This reduces the dependencies, cleans up usage of jest/babel configs where they aren't needed, converts more things to catalogs (including added the 0.73, 0.74, 0.78, and 0.81 catalogs from rnx-kit). Probably the most subtle change is that the @fluentui-react-native/babel-config now has @react-native/babel-preset as a peer dependency so that it can be used by different versions in the same repo.

On the tooling side the furn align-deps preset has added some functionality by modifying the core profiles:

  • added more tool capabilities, including ones that automatically manage the babel config workspace
  • removed metro config and community cli from the core capability. This is needed for apps (which we have 3 of) but not for libraries, which we have like 70 of.
  • added 'core-dev-only', 'core-windows-dev-only', etc. capabilities for packages which only use react-native for test code. This avoids unnecessary peer dependency declarations.
  • added @types/react and @types/react-test-renderer to management under the 'react' and 'react-test-renderer' capability respectively.

Note: you can't really use align-deps to route to the capabilities yet, I tried rewriting the version numbers but that messes up the resolution logic for peer dependencies. I'll likely make an rnx-kit change at some point.

@JasonVMo JasonVMo merged commit 752b12d into main Jan 29, 2026
11 checks passed
@JasonVMo JasonVMo deleted the user/jasonvmo/more-dependency-cleanup branch January 29, 2026 05:17
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.

3 participants