Skip to content

Remove Community CLI platform config (upstreamed) (2/2) - #58671

Open
huntie wants to merge 2 commits into
react:mainfrom
huntie:remove-community-cli-platform-config
Open

huntie wants to merge 2 commits into
react:mainfrom
huntie:remove-community-cli-platform-config

Conversation

@huntie

@huntie huntie commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary:

Replaces #57353.

Depends on #58670 and react-native-community/cli#2817. See also react-native-community/template#235.

Note

This PR includes the commit from #58670 until that lands. Review the top commit only.

Deletes the react-native.config.js file we ship with react-native. The iOS and Android Community CLI platforms are moving back to being included by default (and in the first place, should not have been wired up here!), and all commands are self-registered by @react-native/community-cli-plugin.

RNTester, pinned to @react-native-community/cli 20.2.0, registers the iOS and Android platforms in its own react-native.config.js until it moves to 21.x.

Changelog:
[General][Changed] - Platform registration config for the Community CLI is removed from the react-native package. No breaking change with @react-native-community/cli 21.x (required).

Test Plan:

RNTester

Template-shaped app (no react-native.config.js in the project or in react-native)

  • ✅ With the Fix tiny grammatical error #2817 build: android and ios platforms from the CLI, plus the plugin's bundle, start, spm, and codegen
  • ✅ With CLI 20.2.0: no platforms, confirming 21.x is required

Screenshots of the template app are in the react-native-community/cli#2817 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 Sep 24, 2026
@huntie
huntie force-pushed the remove-community-cli-platform-config branch from 9b9a022 to aa9dde6 Compare September 24, 2026 14:13
@huntie
huntie marked this pull request as ready for review September 24, 2026 14:18
@huntie huntie changed the title Remove Community CLI platform config (upstreamed) Remove Community CLI platform config (upstreamed) (2/2) Sep 24, 2026
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Sep 24, 2026

This branch has not been deployed

No deployments
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. 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.

1 participant