mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e350859d72
Summary: `react-native/community-cli-plugin` is unable to resolve out-of-tree platforms in monorepos because the package may not be hoisted to the same location. For example, if `react-native/community-cli-plugin` was hoisted: ``` /~/node_modules/react-native/community-cli-plugin/dist/utils ``` It may never find `react-native-macos` if it wasn't hoisted: ``` /~/packages/my-app/node_modules/react-native-macos ``` ## Changelog: [GENERAL] [FIXED] - Fix `react-native/community-cli-plugin` is unable to resolve out-of-tree platforms in monorepos Pull Request resolved: https://github.com/facebook/react-native/pull/42875 Test Plan: Tested in an internal project. Reviewed By: cipolleschi Differential Revision: D53426607 Pulled By: robhogan fbshipit-source-id: 29b9fe92d5773d0160bba375d2e92ec688652e3e