A framework for building native applications using React
always proxy to @react-native-community/cli (#45464)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45464 Previous work would cause versions >= react-native 0.76 to exit if called through `npx react-native <cmd>`. This was intended to be full deprecated and removed. The intention was to shift users to calling react-native-community/cli directly. This change allows commands to be proxied to react-native-community/cli but with no guarantees of success. It's up to each framework / project to explicitly create that dependency. This also provides warnings, which won't go away, suggesting the supported method of calling the community CLI directly. The outcome is that we're not going to break existing workflows. closes: #45461 Changelog: [General][Fixed] allow proxying commands from react-native to react-native-community/cli with explicit warning Reviewed By: cortinico Differential Revision: D59805357 fbshipit-source-id: 21e23b082a9c709effa050d8e7dd04a40f5ab0e6
B
Blake Friedman committed
9aed45a9d99218e7468ce2779dcbaa40cce50c83
Parent: 6e34283
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 7/18/2024, 11:48:19 AM