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 +2 -0
- package/bin.js +4 -3
- package/lib-commonjs/Cli.d.ts +80 -7
- package/lib-commonjs/Cli.js +483 -426
- package/lib-commonjs/Cli.js.map +1 -1
- package/lib-commonjs/GenerateWindowsType.d.ts +9 -9
- package/lib-commonjs/GenerateWindowsType.js +8 -8
- package/lib-commonjs/GenerateWindowsType.js.map +1 -1
- package/lib-commonjs/e2etest/cli.test.d.ts +7 -0
- package/lib-commonjs/e2etest/cli.test.js +69 -0
- package/lib-commonjs/e2etest/cli.test.js.map +1 -0
- package/lib-commonjs/requireGenerateWindows.d.ts +12 -12
- package/lib-commonjs/requireGenerateWindows.js +28 -28
- package/lib-commonjs/requireGenerateWindows.js.map +1 -1
- package/package.json +46 -30
- package/CHANGELOG.json +0 -646
- package/CHANGELOG.md +0 -298
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
require('source-map-support').install();
|
|
11
|
+
const cli = require('./lib-commonjs/Cli');
|
|
12
|
+
|
|
13
|
+
cli.reactNativeWindowsInit();
|
package/lib-commonjs/Cli.d.ts
CHANGED
|
@@ -1,7 +1,80 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
*
|
|
5
|
-
* @format
|
|
6
|
-
*/
|
|
7
|
-
|
|
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>;
|