react-native-windows-init 0.1.42 → 0.80.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,6 +21,8 @@ Options:
21
21
  | `--verbose` | Enables logging. | [boolean] |
22
22
  | `--language` | Which language the app is written in. | [string] [choices: "cs", "cpp"] [default: "cpp"] |
23
23
  | `--overwrite` | Overwrite any existing files without prompting | [boolean] |
24
+ | `--useWinUI3` | Targets WinUI 3 (through the [Windows App SDK](https://docs.microsoft.com/windows/apps/windows-app-sdk/)) instead of UWP XAML. | [boolean] |
25
+ | `--useHermes` | Use Hermes instead of Chakra as the JS engine (supported on 0.64+) | [boolean] |
24
26
  | `--no-telemetry` | Disables sending telemetry that allows analysis of failures of the react-native-windows CLI | [boolean] |
25
27
 
26
28
 
package/bin.js CHANGED
@@ -7,6 +7,7 @@
7
7
  * @format
8
8
  */
9
9
 
10
- // Yarn will fail to link workspace binaries if they haven't been built yet. Add
11
- // a simple JS file to forward to the CLI which is built after install.
12
- require('./lib-commonjs/Cli');
10
+ require('source-map-support').install();
11
+ const cli = require('./lib-commonjs/Cli');
12
+
13
+ cli.reactNativeWindowsInit();
@@ -1,7 +1,80 @@
1
- /**
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * @format
6
- */
7
- export {};
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * @format
6
+ */
7
+ import yargs from 'yargs';
8
+ export declare const windowsInitOptions: {
9
+ version: {
10
+ type: "string";
11
+ describe: string;
12
+ };
13
+ namespace: {
14
+ type: "string";
15
+ describe: string;
16
+ };
17
+ verbose: {
18
+ type: "boolean";
19
+ describe: string;
20
+ default: boolean;
21
+ };
22
+ telemetry: {
23
+ type: "boolean";
24
+ describe: string;
25
+ default: boolean;
26
+ };
27
+ language: {
28
+ type: "string";
29
+ describe: string;
30
+ choices: string[];
31
+ default: string;
32
+ };
33
+ overwrite: {
34
+ type: "boolean";
35
+ describe: string;
36
+ default: boolean;
37
+ };
38
+ projectType: {
39
+ type: "string";
40
+ describe: string;
41
+ choices: string[];
42
+ default: string;
43
+ };
44
+ experimentalNuGetDependency: {
45
+ type: "boolean";
46
+ describe: string;
47
+ hidden: true;
48
+ default: boolean;
49
+ };
50
+ useHermes: {
51
+ type: "boolean";
52
+ describe: string;
53
+ default: boolean;
54
+ };
55
+ useWinUI3: {
56
+ type: "boolean";
57
+ describe: string;
58
+ hidden: true;
59
+ default: boolean;
60
+ };
61
+ nuGetTestVersion: {
62
+ type: "string";
63
+ describe: string;
64
+ hidden: true;
65
+ };
66
+ nuGetTestFeed: {
67
+ type: "string";
68
+ describe: string;
69
+ hidden: true;
70
+ };
71
+ useDevMode: {
72
+ type: "boolean";
73
+ describe: string;
74
+ hidden: true;
75
+ default: undefined;
76
+ conflicts: string;
77
+ };
78
+ };
79
+ export declare function reactNativeWindowsInit(args?: string[]): Promise<void>;
80
+ export type WindowsInitOptions = yargs.InferredOptionTypes<typeof windowsInitOptions>;