@react-native-windows/cli 0.73.2 → 0.74.0-preview.2
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/lib-commonjs/commands/autolinkWindows/autolinkWindows.d.ts +87 -87
- package/lib-commonjs/commands/autolinkWindows/autolinkWindows.js +654 -654
- package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.d.ts +14 -14
- package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.js +32 -32
- package/lib-commonjs/commands/codegenWindows/codegenWindows.d.ts +27 -27
- package/lib-commonjs/commands/codegenWindows/codegenWindows.js +205 -205
- package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.d.ts +12 -12
- package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.js +22 -22
- package/lib-commonjs/commands/config/configUtils.d.ts +123 -123
- package/lib-commonjs/commands/config/configUtils.js +380 -380
- package/lib-commonjs/commands/config/dependencyConfig.d.ts +37 -37
- package/lib-commonjs/commands/config/dependencyConfig.js +227 -227
- package/lib-commonjs/commands/config/projectConfig.d.ts +27 -27
- package/lib-commonjs/commands/config/projectConfig.js +180 -180
- package/lib-commonjs/commands/healthCheck/healthCheckList.d.ts +6 -6
- package/lib-commonjs/commands/healthCheck/healthCheckList.js +20 -20
- package/lib-commonjs/commands/healthCheck/healthCheckList.js.map +1 -1
- package/lib-commonjs/commands/healthCheck/healthChecks.d.ts +7 -7
- package/lib-commonjs/commands/healthCheck/healthChecks.js +123 -123
- package/lib-commonjs/commands/initWindows/initWindows.d.ts +46 -46
- package/lib-commonjs/commands/initWindows/initWindows.js +243 -243
- package/lib-commonjs/commands/initWindows/initWindowsOptions.d.ts +15 -15
- package/lib-commonjs/commands/initWindows/initWindowsOptions.js +37 -37
- package/lib-commonjs/commands/runWindows/runWindows.d.ts +10 -10
- package/lib-commonjs/commands/runWindows/runWindows.js +321 -321
- package/lib-commonjs/commands/runWindows/runWindowsOptions.d.ts +56 -56
- package/lib-commonjs/commands/runWindows/runWindowsOptions.js +132 -132
- package/lib-commonjs/e2etest/autolink.test.d.ts +6 -6
- package/lib-commonjs/e2etest/autolink.test.js +366 -366
- package/lib-commonjs/e2etest/dependencyConfig.test.d.ts +6 -6
- package/lib-commonjs/e2etest/dependencyConfig.test.js +129 -129
- package/lib-commonjs/e2etest/healthChecks.test.d.ts +6 -6
- package/lib-commonjs/e2etest/healthChecks.test.js +30 -30
- package/lib-commonjs/e2etest/initWindows.test.d.ts +6 -6
- package/lib-commonjs/e2etest/initWindows.test.js +42 -42
- package/lib-commonjs/e2etest/projectConfig.test.d.ts +6 -6
- package/lib-commonjs/e2etest/projectConfig.test.js +110 -110
- package/lib-commonjs/e2etest/projectConfig.utils.d.ts +8 -8
- package/lib-commonjs/e2etest/projectConfig.utils.js +76 -76
- package/lib-commonjs/e2etest/runWindows.test.d.ts +6 -6
- package/lib-commonjs/e2etest/runWindows.test.js +60 -60
- package/lib-commonjs/e2etest/typesUpToDate.test.d.ts +6 -0
- package/lib-commonjs/e2etest/typesUpToDate.test.js +21 -0
- package/lib-commonjs/e2etest/typesUpToDate.test.js.map +1 -0
- package/lib-commonjs/generator-common/index.d.ts +39 -39
- package/lib-commonjs/generator-common/index.js +242 -242
- package/lib-commonjs/generator-windows/index.d.ts +10 -10
- package/lib-commonjs/generator-windows/index.js +316 -316
- package/lib-commonjs/index.d.ts +50 -50
- package/lib-commonjs/index.js +77 -77
- package/lib-commonjs/utils/build.d.ts +12 -12
- package/lib-commonjs/utils/build.js +84 -84
- package/lib-commonjs/utils/checkRequirements.d.ts +6 -6
- package/lib-commonjs/utils/checkRequirements.js +69 -69
- package/lib-commonjs/utils/commandWithProgress.d.ts +21 -21
- package/lib-commonjs/utils/commandWithProgress.js +149 -149
- package/lib-commonjs/utils/deploy.d.ts +12 -12
- package/lib-commonjs/utils/deploy.js +353 -353
- package/lib-commonjs/utils/info.d.ts +6 -6
- package/lib-commonjs/utils/info.js +28 -28
- package/lib-commonjs/utils/msbuildtools.d.ts +28 -28
- package/lib-commonjs/utils/msbuildtools.js +273 -273
- package/lib-commonjs/utils/msbuildtools.js.map +1 -1
- package/lib-commonjs/utils/pathHelpers.d.ts +9 -9
- package/lib-commonjs/utils/pathHelpers.js +36 -36
- package/lib-commonjs/utils/telemetryHelpers.d.ts +29 -29
- package/lib-commonjs/utils/telemetryHelpers.js +120 -120
- package/lib-commonjs/utils/version.d.ts +19 -19
- package/lib-commonjs/utils/version.js +109 -109
- package/lib-commonjs/utils/vsInstalls.d.ts +34 -34
- package/lib-commonjs/utils/vsInstalls.js +99 -99
- package/lib-commonjs/utils/vstools.d.ts +16 -16
- package/lib-commonjs/utils/vstools.js +189 -189
- package/lib-commonjs/utils/winappdeploytool.d.ts +24 -24
- package/lib-commonjs/utils/winappdeploytool.js +108 -108
- package/package.json +16 -16
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* @format
|
|
5
|
-
*/
|
|
6
|
-
export declare function getEnvironmentInfo(): Promise<string>;
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
* @format
|
|
5
|
+
*/
|
|
6
|
+
export declare function getEnvironmentInfo(): Promise<string>;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright (c) Microsoft Corporation.
|
|
4
|
-
* Licensed under the MIT License.
|
|
5
|
-
* @format
|
|
6
|
-
*/
|
|
7
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
-
};
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.getEnvironmentInfo = void 0;
|
|
12
|
-
// @ts-ignore no typings
|
|
13
|
-
const envinfo_1 = __importDefault(require("envinfo"));
|
|
14
|
-
async function getEnvironmentInfo() {
|
|
15
|
-
return await envinfo_1.default.run({
|
|
16
|
-
System: ['OS', 'CPU', 'Memory', 'Shell'],
|
|
17
|
-
Binaries: ['Node', 'Yarn', 'npm', 'Watchman'],
|
|
18
|
-
npmPackages: [
|
|
19
|
-
'react',
|
|
20
|
-
'react-native',
|
|
21
|
-
'react-native-windows',
|
|
22
|
-
'@react-native-community/cli',
|
|
23
|
-
'react-native-cli',
|
|
24
|
-
],
|
|
25
|
-
npmGlobalPackages: ['*react-native*'],
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
exports.getEnvironmentInfo = getEnvironmentInfo;
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) Microsoft Corporation.
|
|
4
|
+
* Licensed under the MIT License.
|
|
5
|
+
* @format
|
|
6
|
+
*/
|
|
7
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.getEnvironmentInfo = void 0;
|
|
12
|
+
// @ts-ignore no typings
|
|
13
|
+
const envinfo_1 = __importDefault(require("envinfo"));
|
|
14
|
+
async function getEnvironmentInfo() {
|
|
15
|
+
return await envinfo_1.default.run({
|
|
16
|
+
System: ['OS', 'CPU', 'Memory', 'Shell'],
|
|
17
|
+
Binaries: ['Node', 'Yarn', 'npm', 'Watchman'],
|
|
18
|
+
npmPackages: [
|
|
19
|
+
'react',
|
|
20
|
+
'react-native',
|
|
21
|
+
'react-native-windows',
|
|
22
|
+
'@react-native-community/cli',
|
|
23
|
+
'react-native-cli',
|
|
24
|
+
],
|
|
25
|
+
npmGlobalPackages: ['*react-native*'],
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
exports.getEnvironmentInfo = getEnvironmentInfo;
|
|
29
29
|
//# sourceMappingURL=info.js.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* @format
|
|
5
|
-
*/
|
|
6
|
-
import Version from './version';
|
|
7
|
-
import { BuildArch, BuildConfig } from '../commands/runWindows/runWindowsOptions';
|
|
8
|
-
export default class MSBuildTools {
|
|
9
|
-
readonly version: string;
|
|
10
|
-
readonly installationPath: string;
|
|
11
|
-
readonly installationVersion: string;
|
|
12
|
-
/**
|
|
13
|
-
* @param version is something like 17.0 for 2022
|
|
14
|
-
* @param installationPath Path to installation root
|
|
15
|
-
* @param installationVersion is the full version e.g. 17.3.32929.385
|
|
16
|
-
*/
|
|
17
|
-
constructor(version: string, installationPath: string, installationVersion: string);
|
|
18
|
-
/**
|
|
19
|
-
* @returns directory where
|
|
20
|
-
*/
|
|
21
|
-
msbuildPath(): string;
|
|
22
|
-
cleanProject(slnFile: string): void;
|
|
23
|
-
restorePackageConfigs(slnFile: any, buildArch: BuildArch, buildType: BuildConfig): Promise<void>;
|
|
24
|
-
buildProject(slnFile: string, buildType: BuildConfig, buildArch: BuildArch, msBuildProps: Record<string, string>, verbose: boolean, target: 'build' | 'deploy', buildLogDirectory: string | undefined, singleproc?: boolean): Promise<void>;
|
|
25
|
-
static findAvailableVersion(buildArch: BuildArch, verbose: boolean, prerelease?: boolean): MSBuildTools;
|
|
26
|
-
static getAllAvailableUAPVersions(): Version[];
|
|
27
|
-
evaluateMSBuildProperties(solutionFile: string, projectFile: string, propertyNames?: string[], extraMsBuildProps?: Record<string, string>): Record<string, string>;
|
|
28
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
* @format
|
|
5
|
+
*/
|
|
6
|
+
import Version from './version';
|
|
7
|
+
import { BuildArch, BuildConfig } from '../commands/runWindows/runWindowsOptions';
|
|
8
|
+
export default class MSBuildTools {
|
|
9
|
+
readonly version: string;
|
|
10
|
+
readonly installationPath: string;
|
|
11
|
+
readonly installationVersion: string;
|
|
12
|
+
/**
|
|
13
|
+
* @param version is something like 17.0 for 2022
|
|
14
|
+
* @param installationPath Path to installation root
|
|
15
|
+
* @param installationVersion is the full version e.g. 17.3.32929.385
|
|
16
|
+
*/
|
|
17
|
+
constructor(version: string, installationPath: string, installationVersion: string);
|
|
18
|
+
/**
|
|
19
|
+
* @returns directory where x64 msbuild can be found
|
|
20
|
+
*/
|
|
21
|
+
msbuildPath(): string;
|
|
22
|
+
cleanProject(slnFile: string): void;
|
|
23
|
+
restorePackageConfigs(slnFile: any, buildArch: BuildArch, buildType: BuildConfig): Promise<void>;
|
|
24
|
+
buildProject(slnFile: string, buildType: BuildConfig, buildArch: BuildArch, msBuildProps: Record<string, string>, verbose: boolean, target: 'build' | 'deploy', buildLogDirectory: string | undefined, singleproc?: boolean): Promise<void>;
|
|
25
|
+
static findAvailableVersion(buildArch: BuildArch, verbose: boolean, prerelease?: boolean): MSBuildTools;
|
|
26
|
+
static getAllAvailableUAPVersions(): Version[];
|
|
27
|
+
evaluateMSBuildProperties(solutionFile: string, projectFile: string, propertyNames?: string[], extraMsBuildProps?: Record<string, string>): Record<string, string>;
|
|
28
|
+
}
|