-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
always proxy to @react-native-community/cli (#45464)
Summary: Pull Request resolved: #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
- Loading branch information
1 parent
6e34283
commit 9aed45a
Showing
1 changed file
with
45 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters