microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.3k stars 1.14k forks source link

Make react-native-windows-init oblivious to project generation flags #6445

Open NickGerleman opened 3 years ago

NickGerleman commented 3 years ago

CLI Options for project generation can vary between different versions of RNW as new features/flavors are added or removed. Each of these currently need to be added to react-native-windows-init, which needs to support every version of RNW.

We should try to make react-native-windows-init oblivious to project generation options and expose a mechanism to declare them on the project generation side of the boundary.

NickGerleman commented 3 years ago

Tagging for 0.65 since we will want to change CLI options if we want to make binary distribution the default.