Open jonthysell opened 11 months ago
Background context:
npx react-native init
command
npx react-native-windows-init
command
react-native-windows-init
react-native-windows
@react-native-windows/cli
Argument | Type | Default | Req. | Hidden | Description |
---|---|---|---|---|---|
--help | bool | False | N | N | Show Help |
--version | string | Auto¹ | Y¹ | N | Specify RNW version |
--namespace | string | Auto² | Y² | N | Specify namespace for native code |
--language | string | "cpp" | Y | N | Specify programming language C++ or C# |
--projectType | string | "app" | N | N | Specify app or library (0.64+) |
--useWinUI3 | bool | False | N | Y | Target WinUI 3.0 instead of UWP XAML |
--useHermes | bool | False | N | Y | Use Hermes instead of Chakra (0.64+) |
--experimentalNuGetDependency | bool | False | N | Y | Build against Microsoft.ReactNative NuGet instead of source |
--verbose | bool | False | N | N | Verbose output |
--overwrite | bool | False | N | N | Overwrite files without prompting |
--telemetry | bool | False | N | N | Send usage telemetry to MSFT |
--useDevMode | bool | False | N | Y | Use local RNW clone |
--nuGetTestFeed | string | "" | N | Y | Use specified NuGet test feed |
--nuGetTestVersion | string | "" | N | Y | Use specified NuGet test version |
¹: If unspecified, calculated based on existing project RN version ²: If unspecified, calculated based on existing project name
More background context:
@jonthysell FYI adding link to #13362. Resolve when appropriate.
This item tracks all the work necessary to build a new simpler path for creating new RNW projects, with a primary focus of enabling the React Native New Architecture and golden-path supported scenarios.
Tasks