React Native has a community managed CLI project, which has a number of useful commands for creating, running, and debugging React Native projects.
There are 3 main scenarios we'll want to cover with this project:
- A developer with an existing React Native app for another platform wants to add a project for UWP.
- A developer with an existing UWP app wants to add a React Native component to their app.
- A developer wants to create a greenfield React Native app for UWP.
The current implementation of react-native-windows has a command for generating C# projects, but we'll need to update this command to also be able to generate C++ projects.
While we're refactoring this tool, it may make sense to update the approach to installing React Native platform extensions (like react-native-windows). For example, we may be able to remove the rnpm-plugin-windows package dependency in favor of an
platform command on the global CLI.