@react-native-windows/cli 0.73.2 → 0.74.0-preview.1

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.
Files changed (76) hide show
  1. package/lib-commonjs/commands/autolinkWindows/autolinkWindows.d.ts +87 -87
  2. package/lib-commonjs/commands/autolinkWindows/autolinkWindows.js +654 -654
  3. package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.d.ts +14 -14
  4. package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.js +32 -32
  5. package/lib-commonjs/commands/codegenWindows/codegenWindows.d.ts +27 -27
  6. package/lib-commonjs/commands/codegenWindows/codegenWindows.js +205 -205
  7. package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.d.ts +12 -12
  8. package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.js +22 -22
  9. package/lib-commonjs/commands/config/configUtils.d.ts +123 -123
  10. package/lib-commonjs/commands/config/configUtils.js +380 -380
  11. package/lib-commonjs/commands/config/dependencyConfig.d.ts +37 -37
  12. package/lib-commonjs/commands/config/dependencyConfig.js +227 -227
  13. package/lib-commonjs/commands/config/projectConfig.d.ts +27 -27
  14. package/lib-commonjs/commands/config/projectConfig.js +180 -180
  15. package/lib-commonjs/commands/healthCheck/healthCheckList.d.ts +6 -6
  16. package/lib-commonjs/commands/healthCheck/healthCheckList.js +20 -20
  17. package/lib-commonjs/commands/healthCheck/healthCheckList.js.map +1 -1
  18. package/lib-commonjs/commands/healthCheck/healthChecks.d.ts +7 -7
  19. package/lib-commonjs/commands/healthCheck/healthChecks.js +123 -123
  20. package/lib-commonjs/commands/initWindows/initWindows.d.ts +46 -46
  21. package/lib-commonjs/commands/initWindows/initWindows.js +243 -243
  22. package/lib-commonjs/commands/initWindows/initWindowsOptions.d.ts +15 -15
  23. package/lib-commonjs/commands/initWindows/initWindowsOptions.js +37 -37
  24. package/lib-commonjs/commands/runWindows/runWindows.d.ts +10 -10
  25. package/lib-commonjs/commands/runWindows/runWindows.js +321 -321
  26. package/lib-commonjs/commands/runWindows/runWindowsOptions.d.ts +56 -56
  27. package/lib-commonjs/commands/runWindows/runWindowsOptions.js +132 -132
  28. package/lib-commonjs/e2etest/autolink.test.d.ts +6 -6
  29. package/lib-commonjs/e2etest/autolink.test.js +366 -366
  30. package/lib-commonjs/e2etest/dependencyConfig.test.d.ts +6 -6
  31. package/lib-commonjs/e2etest/dependencyConfig.test.js +129 -129
  32. package/lib-commonjs/e2etest/healthChecks.test.d.ts +6 -6
  33. package/lib-commonjs/e2etest/healthChecks.test.js +30 -30
  34. package/lib-commonjs/e2etest/initWindows.test.d.ts +6 -6
  35. package/lib-commonjs/e2etest/initWindows.test.js +42 -42
  36. package/lib-commonjs/e2etest/projectConfig.test.d.ts +6 -6
  37. package/lib-commonjs/e2etest/projectConfig.test.js +110 -110
  38. package/lib-commonjs/e2etest/projectConfig.utils.d.ts +8 -8
  39. package/lib-commonjs/e2etest/projectConfig.utils.js +76 -76
  40. package/lib-commonjs/e2etest/runWindows.test.d.ts +6 -6
  41. package/lib-commonjs/e2etest/runWindows.test.js +60 -60
  42. package/lib-commonjs/e2etest/typesUpToDate.test.d.ts +6 -0
  43. package/lib-commonjs/e2etest/typesUpToDate.test.js +21 -0
  44. package/lib-commonjs/e2etest/typesUpToDate.test.js.map +1 -0
  45. package/lib-commonjs/generator-common/index.d.ts +39 -39
  46. package/lib-commonjs/generator-common/index.js +242 -242
  47. package/lib-commonjs/generator-windows/index.d.ts +10 -10
  48. package/lib-commonjs/generator-windows/index.js +316 -316
  49. package/lib-commonjs/index.d.ts +50 -50
  50. package/lib-commonjs/index.js +77 -77
  51. package/lib-commonjs/utils/build.d.ts +12 -12
  52. package/lib-commonjs/utils/build.js +84 -84
  53. package/lib-commonjs/utils/checkRequirements.d.ts +6 -6
  54. package/lib-commonjs/utils/checkRequirements.js +69 -69
  55. package/lib-commonjs/utils/commandWithProgress.d.ts +21 -21
  56. package/lib-commonjs/utils/commandWithProgress.js +149 -149
  57. package/lib-commonjs/utils/deploy.d.ts +12 -12
  58. package/lib-commonjs/utils/deploy.js +353 -353
  59. package/lib-commonjs/utils/info.d.ts +6 -6
  60. package/lib-commonjs/utils/info.js +28 -28
  61. package/lib-commonjs/utils/msbuildtools.d.ts +28 -28
  62. package/lib-commonjs/utils/msbuildtools.js +273 -273
  63. package/lib-commonjs/utils/msbuildtools.js.map +1 -1
  64. package/lib-commonjs/utils/pathHelpers.d.ts +9 -9
  65. package/lib-commonjs/utils/pathHelpers.js +36 -36
  66. package/lib-commonjs/utils/telemetryHelpers.d.ts +29 -29
  67. package/lib-commonjs/utils/telemetryHelpers.js +120 -120
  68. package/lib-commonjs/utils/version.d.ts +19 -19
  69. package/lib-commonjs/utils/version.js +109 -109
  70. package/lib-commonjs/utils/vsInstalls.d.ts +34 -34
  71. package/lib-commonjs/utils/vsInstalls.js +99 -99
  72. package/lib-commonjs/utils/vstools.d.ts +16 -16
  73. package/lib-commonjs/utils/vstools.js +189 -189
  74. package/lib-commonjs/utils/winappdeploytool.d.ts +24 -24
  75. package/lib-commonjs/utils/winappdeploytool.js +108 -108
  76. package/package.json +16 -16
@@ -1,181 +1,181 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- * @format
6
- */
7
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
- if (k2 === undefined) k2 = k;
9
- var desc = Object.getOwnPropertyDescriptor(m, k);
10
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
- desc = { enumerable: true, get: function() { return m[k]; } };
12
- }
13
- Object.defineProperty(o, k2, desc);
14
- }) : (function(o, m, k, k2) {
15
- if (k2 === undefined) k2 = k;
16
- o[k2] = m[k];
17
- }));
18
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
19
- Object.defineProperty(o, "default", { enumerable: true, value: v });
20
- }) : function(o, v) {
21
- o["default"] = v;
22
- });
23
- var __importStar = (this && this.__importStar) || function (mod) {
24
- if (mod && mod.__esModule) return mod;
25
- var result = {};
26
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
27
- __setModuleDefault(result, mod);
28
- return result;
29
- };
30
- var __importDefault = (this && this.__importDefault) || function (mod) {
31
- return (mod && mod.__esModule) ? mod : { "default": mod };
32
- };
33
- Object.defineProperty(exports, "__esModule", { value: true });
34
- exports.projectConfigWindows = void 0;
35
- // Types in this file are inaccurate compared to usage in terms of falsiness.
36
- // We should try to rewrite some of this to do automated schema validation to
37
- // guarantee correct types
38
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
39
- const os_1 = require("os");
40
- const path_1 = __importDefault(require("path"));
41
- const configUtils = __importStar(require("./configUtils"));
42
- /**
43
- * Gets the config of any RNW apps under the target folder.
44
- * @param folder The absolute path to the target folder.
45
- * @param userConfig A manually specified override config.
46
- * @return The config if any RNW apps exist.
47
- */
48
- // Disabled due to existing high cyclomatic complexity
49
- // eslint-disable-next-line complexity
50
- function projectConfigWindows(folder, userConfig = {}) {
51
- var _a;
52
- if ((0, os_1.platform)() !== 'win32') {
53
- return null;
54
- }
55
- if (userConfig === null) {
56
- return null;
57
- }
58
- const usingManualOverride = 'sourceDir' in userConfig;
59
- const sourceDir = usingManualOverride
60
- ? path_1.default.join(folder, userConfig.sourceDir)
61
- : configUtils.findWindowsFolder(folder);
62
- if (sourceDir === null) {
63
- // Nothing to look for here, bail
64
- return null;
65
- }
66
- const result = {
67
- folder: folder,
68
- sourceDir: path_1.default.relative(folder, sourceDir),
69
- };
70
- let validSolution = false;
71
- let validProject = false;
72
- if (usingManualOverride) {
73
- // Manual override, try to use it for solutionFile
74
- if (!('solutionFile' in userConfig)) {
75
- result.solutionFile =
76
- 'Error: Solution file is required but not specified in react-native.config.';
77
- }
78
- else if (userConfig.solutionFile === null) {
79
- result.solutionFile =
80
- 'Error: Solution file is null in react-native.config.';
81
- }
82
- else {
83
- result.solutionFile = path_1.default.normalize(userConfig.solutionFile);
84
- validSolution = true;
85
- }
86
- // Manual override, try to use it for project
87
- if (!('project' in userConfig)) {
88
- result.project = {
89
- projectFile: 'Error: Project is required but not specified in react-native.config.',
90
- };
91
- }
92
- else if (!userConfig.project) {
93
- result.project = {
94
- projectFile: 'Error: Project is null in react-native.config.',
95
- };
96
- }
97
- else {
98
- if (!('projectFile' in userConfig.project)) {
99
- result.project = {
100
- projectFile: 'Error: Project file is required for project in react-native.config.',
101
- };
102
- }
103
- else if (userConfig.project.projectFile === null) {
104
- result.project = {
105
- projectFile: 'Error: Project file is null in react-native.config.',
106
- };
107
- }
108
- else {
109
- result.project = {
110
- projectFile: path_1.default.normalize(userConfig.project.projectFile),
111
- };
112
- validProject = true;
113
- }
114
- }
115
- if ('useWinUI3' in userConfig) {
116
- result.useWinUI3 = userConfig.useWinUI3;
117
- }
118
- }
119
- else {
120
- // No manually provided solutionFile, try to find it
121
- const foundSolutions = configUtils.findSolutionFiles(sourceDir);
122
- if (foundSolutions.length === 0) {
123
- result.solutionFile =
124
- 'Error: No app solution file found, please specify in react-native.config.';
125
- }
126
- else if (foundSolutions.length > 1) {
127
- result.solutionFile =
128
- 'Error: Too many app solution files found, please specify in react-native.config.';
129
- }
130
- else {
131
- result.solutionFile = path_1.default.normalize(foundSolutions[0]);
132
- validSolution = true;
133
- }
134
- // No manually provided project, try to find it
135
- const foundProjects = configUtils.findAppProjectFiles(sourceDir);
136
- if (foundProjects.length === 0) {
137
- result.project = {
138
- projectFile: 'Error: No app project file found, please specify in react-native.config.',
139
- };
140
- }
141
- else if (foundProjects.length > 1) {
142
- result.project = {
143
- projectFile: 'Error: Too many app project files found, please specify in react-native.config.',
144
- };
145
- }
146
- else {
147
- result.project = {
148
- projectFile: path_1.default.normalize(foundProjects[0]),
149
- };
150
- validProject = true;
151
- }
152
- }
153
- if (validSolution) {
154
- result.solutionFile = path_1.default.relative(sourceDir, path_1.default.join(sourceDir, result.solutionFile));
155
- // Populating experimental features from ExperimentalFeatures.props
156
- const experimentalFeatures = configUtils.getExperimentalFeatures(path_1.default.dirname(path_1.default.join(sourceDir, result.solutionFile)));
157
- if (experimentalFeatures) {
158
- result.experimentalFeatures = experimentalFeatures;
159
- }
160
- }
161
- if (validProject) {
162
- const projectFile = path_1.default.join(sourceDir, result.project.projectFile);
163
- const projectContents = configUtils.readProjectFile(projectFile);
164
- result.project.projectFile = path_1.default.relative(sourceDir, projectFile);
165
- // Add missing (auto) items
166
- result.project.projectName = configUtils.getProjectName(projectFile, projectContents);
167
- result.project.projectLang = configUtils.getProjectLanguage(projectFile);
168
- result.project.projectGuid = configUtils.getProjectGuid(projectContents);
169
- // Since we moved the UseExperimentalNuget property from the project to the
170
- // ExperimentalFeatures.props file, we should should double-check the project file
171
- // in case it was made with an older template
172
- const useExperimentalNuget = configUtils.tryFindPropertyValue(projectContents, 'UseExperimentalNuget');
173
- if (useExperimentalNuget) {
174
- result.experimentalFeatures = (_a = result.experimentalFeatures) !== null && _a !== void 0 ? _a : {};
175
- result.experimentalFeatures.UseExperimentalNuget = useExperimentalNuget;
176
- }
177
- }
178
- return result;
179
- }
180
- exports.projectConfigWindows = projectConfigWindows;
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ * @format
6
+ */
7
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ var desc = Object.getOwnPropertyDescriptor(m, k);
10
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
11
+ desc = { enumerable: true, get: function() { return m[k]; } };
12
+ }
13
+ Object.defineProperty(o, k2, desc);
14
+ }) : (function(o, m, k, k2) {
15
+ if (k2 === undefined) k2 = k;
16
+ o[k2] = m[k];
17
+ }));
18
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
19
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
20
+ }) : function(o, v) {
21
+ o["default"] = v;
22
+ });
23
+ var __importStar = (this && this.__importStar) || function (mod) {
24
+ if (mod && mod.__esModule) return mod;
25
+ var result = {};
26
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
27
+ __setModuleDefault(result, mod);
28
+ return result;
29
+ };
30
+ var __importDefault = (this && this.__importDefault) || function (mod) {
31
+ return (mod && mod.__esModule) ? mod : { "default": mod };
32
+ };
33
+ Object.defineProperty(exports, "__esModule", { value: true });
34
+ exports.projectConfigWindows = void 0;
35
+ // Types in this file are inaccurate compared to usage in terms of falsiness.
36
+ // We should try to rewrite some of this to do automated schema validation to
37
+ // guarantee correct types
38
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
39
+ const os_1 = require("os");
40
+ const path_1 = __importDefault(require("path"));
41
+ const configUtils = __importStar(require("./configUtils"));
42
+ /**
43
+ * Gets the config of any RNW apps under the target folder.
44
+ * @param folder The absolute path to the target folder.
45
+ * @param userConfig A manually specified override config.
46
+ * @return The config if any RNW apps exist.
47
+ */
48
+ // Disabled due to existing high cyclomatic complexity
49
+ // eslint-disable-next-line complexity
50
+ function projectConfigWindows(folder, userConfig = {}) {
51
+ var _a;
52
+ if ((0, os_1.platform)() !== 'win32') {
53
+ return null;
54
+ }
55
+ if (userConfig === null) {
56
+ return null;
57
+ }
58
+ const usingManualOverride = 'sourceDir' in userConfig;
59
+ const sourceDir = usingManualOverride
60
+ ? path_1.default.join(folder, userConfig.sourceDir)
61
+ : configUtils.findWindowsFolder(folder);
62
+ if (sourceDir === null) {
63
+ // Nothing to look for here, bail
64
+ return null;
65
+ }
66
+ const result = {
67
+ folder: folder,
68
+ sourceDir: path_1.default.relative(folder, sourceDir),
69
+ };
70
+ let validSolution = false;
71
+ let validProject = false;
72
+ if (usingManualOverride) {
73
+ // Manual override, try to use it for solutionFile
74
+ if (!('solutionFile' in userConfig)) {
75
+ result.solutionFile =
76
+ 'Error: Solution file is required but not specified in react-native.config.';
77
+ }
78
+ else if (userConfig.solutionFile === null) {
79
+ result.solutionFile =
80
+ 'Error: Solution file is null in react-native.config.';
81
+ }
82
+ else {
83
+ result.solutionFile = path_1.default.normalize(userConfig.solutionFile);
84
+ validSolution = true;
85
+ }
86
+ // Manual override, try to use it for project
87
+ if (!('project' in userConfig)) {
88
+ result.project = {
89
+ projectFile: 'Error: Project is required but not specified in react-native.config.',
90
+ };
91
+ }
92
+ else if (!userConfig.project) {
93
+ result.project = {
94
+ projectFile: 'Error: Project is null in react-native.config.',
95
+ };
96
+ }
97
+ else {
98
+ if (!('projectFile' in userConfig.project)) {
99
+ result.project = {
100
+ projectFile: 'Error: Project file is required for project in react-native.config.',
101
+ };
102
+ }
103
+ else if (userConfig.project.projectFile === null) {
104
+ result.project = {
105
+ projectFile: 'Error: Project file is null in react-native.config.',
106
+ };
107
+ }
108
+ else {
109
+ result.project = {
110
+ projectFile: path_1.default.normalize(userConfig.project.projectFile),
111
+ };
112
+ validProject = true;
113
+ }
114
+ }
115
+ if ('useWinUI3' in userConfig) {
116
+ result.useWinUI3 = userConfig.useWinUI3;
117
+ }
118
+ }
119
+ else {
120
+ // No manually provided solutionFile, try to find it
121
+ const foundSolutions = configUtils.findSolutionFiles(sourceDir);
122
+ if (foundSolutions.length === 0) {
123
+ result.solutionFile =
124
+ 'Error: No app solution file found, please specify in react-native.config.';
125
+ }
126
+ else if (foundSolutions.length > 1) {
127
+ result.solutionFile =
128
+ 'Error: Too many app solution files found, please specify in react-native.config.';
129
+ }
130
+ else {
131
+ result.solutionFile = path_1.default.normalize(foundSolutions[0]);
132
+ validSolution = true;
133
+ }
134
+ // No manually provided project, try to find it
135
+ const foundProjects = configUtils.findAppProjectFiles(sourceDir);
136
+ if (foundProjects.length === 0) {
137
+ result.project = {
138
+ projectFile: 'Error: No app project file found, please specify in react-native.config.',
139
+ };
140
+ }
141
+ else if (foundProjects.length > 1) {
142
+ result.project = {
143
+ projectFile: 'Error: Too many app project files found, please specify in react-native.config.',
144
+ };
145
+ }
146
+ else {
147
+ result.project = {
148
+ projectFile: path_1.default.normalize(foundProjects[0]),
149
+ };
150
+ validProject = true;
151
+ }
152
+ }
153
+ if (validSolution) {
154
+ result.solutionFile = path_1.default.relative(sourceDir, path_1.default.join(sourceDir, result.solutionFile));
155
+ // Populating experimental features from ExperimentalFeatures.props
156
+ const experimentalFeatures = configUtils.getExperimentalFeatures(path_1.default.dirname(path_1.default.join(sourceDir, result.solutionFile)));
157
+ if (experimentalFeatures) {
158
+ result.experimentalFeatures = experimentalFeatures;
159
+ }
160
+ }
161
+ if (validProject) {
162
+ const projectFile = path_1.default.join(sourceDir, result.project.projectFile);
163
+ const projectContents = configUtils.readProjectFile(projectFile);
164
+ result.project.projectFile = path_1.default.relative(sourceDir, projectFile);
165
+ // Add missing (auto) items
166
+ result.project.projectName = configUtils.getProjectName(projectFile, projectContents);
167
+ result.project.projectLang = configUtils.getProjectLanguage(projectFile);
168
+ result.project.projectGuid = configUtils.getProjectGuid(projectContents);
169
+ // Since we moved the UseExperimentalNuget property from the project to the
170
+ // ExperimentalFeatures.props file, we should should double-check the project file
171
+ // in case it was made with an older template
172
+ const useExperimentalNuget = configUtils.tryFindPropertyValue(projectContents, 'UseExperimentalNuget');
173
+ if (useExperimentalNuget) {
174
+ result.experimentalFeatures = (_a = result.experimentalFeatures) !== null && _a !== void 0 ? _a : {};
175
+ result.experimentalFeatures.UseExperimentalNuget = useExperimentalNuget;
176
+ }
177
+ }
178
+ return result;
179
+ }
180
+ exports.projectConfigWindows = projectConfigWindows;
181
181
  //# sourceMappingURL=projectConfig.js.map
@@ -1,6 +1,6 @@
1
- /**
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- * @format
5
- */
6
- export declare const HealthCheckList: (string | boolean)[][];
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ * @format
5
+ */
6
+ export declare const HealthCheckList: (string | boolean)[][];
@@ -1,21 +1,21 @@
1
- "use strict";
2
- /**
3
- * Copyright (c) Microsoft Corporation.
4
- * Licensed under the MIT License.
5
- * @format
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.HealthCheckList = void 0;
9
- // Store list of health checks here to avoid having to launch PowerShell on every react-native config call
10
- exports.HealthCheckList = [
11
- [false, 'FreeSpace', 'Free space on current drive > 15 GB'],
12
- [false, 'InstalledMemory', 'Installed memory >= 16 GB'],
13
- [true, 'WindowsVersion', 'Windows version >= 10.0.17763.0'],
14
- [true, 'DeveloperMode', 'Developer mode is on'],
15
- [true, 'LongPath', 'Long path support is enabled'],
16
- [true, 'VSUWP', 'Visual Studio 2022 (>= 17.3) & req. components'],
17
- [true, 'Node', 'Node.js (LTS, >= 18.0)'],
18
- [true, 'Yarn', 'Yarn'],
19
- [true, 'DotNetCore', '.NET SDK (LTS, = 6.0)'],
20
- ];
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) Microsoft Corporation.
4
+ * Licensed under the MIT License.
5
+ * @format
6
+ */
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ exports.HealthCheckList = void 0;
9
+ // Store list of health checks here to avoid having to launch PowerShell on every react-native config call
10
+ exports.HealthCheckList = [
11
+ [false, 'FreeSpace', 'Free space on current drive > 15 GB'],
12
+ [false, 'InstalledMemory', 'Installed memory >= 16 GB'],
13
+ [true, 'WindowsVersion', 'Windows version >= 10.0.17763.0'],
14
+ [true, 'DeveloperMode', 'Developer mode is on'],
15
+ [true, 'LongPath', 'Long path support is enabled'],
16
+ [true, 'VSUWP', 'Visual Studio 2022 (>= 17.9) & req. components'],
17
+ [true, 'Node', 'Node.js (LTS, >= 18.0)'],
18
+ [true, 'Yarn', 'Yarn'],
19
+ [true, 'DotNetCore', '.NET SDK (LTS, = 6.0)'],
20
+ ];
21
21
  //# sourceMappingURL=healthCheckList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"healthCheckList.js","sourceRoot":"","sources":["../../../src/commands/healthCheck/healthCheckList.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,0GAA0G;AAC7F,QAAA,eAAe,GAAG;IAC7B,CAAC,KAAK,EAAE,WAAW,EAAE,qCAAqC,CAAC;IAC3D,CAAC,KAAK,EAAE,iBAAiB,EAAE,2BAA2B,CAAC;IACvD,CAAC,IAAI,EAAE,gBAAgB,EAAE,iCAAiC,CAAC;IAC3D,CAAC,IAAI,EAAE,eAAe,EAAE,sBAAsB,CAAC;IAC/C,CAAC,IAAI,EAAE,UAAU,EAAE,8BAA8B,CAAC;IAClD,CAAC,IAAI,EAAE,OAAO,EAAE,gDAAgD,CAAC;IACjE,CAAC,IAAI,EAAE,MAAM,EAAE,wBAAwB,CAAC;IACxC,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;IACtB,CAAC,IAAI,EAAE,YAAY,EAAE,uBAAuB,CAAC;CAC9C,CAAC","sourcesContent":["/**\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n * @format\n */\n\n// Store list of health checks here to avoid having to launch PowerShell on every react-native config call\nexport const HealthCheckList = [\n [false, 'FreeSpace', 'Free space on current drive > 15 GB'],\n [false, 'InstalledMemory', 'Installed memory >= 16 GB'],\n [true, 'WindowsVersion', 'Windows version >= 10.0.17763.0'],\n [true, 'DeveloperMode', 'Developer mode is on'],\n [true, 'LongPath', 'Long path support is enabled'],\n [true, 'VSUWP', 'Visual Studio 2022 (>= 17.3) & req. components'],\n [true, 'Node', 'Node.js (LTS, >= 18.0)'],\n [true, 'Yarn', 'Yarn'],\n [true, 'DotNetCore', '.NET SDK (LTS, = 6.0)'],\n];\n"]}
1
+ {"version":3,"file":"healthCheckList.js","sourceRoot":"","sources":["../../../src/commands/healthCheck/healthCheckList.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,0GAA0G;AAC7F,QAAA,eAAe,GAAG;IAC7B,CAAC,KAAK,EAAE,WAAW,EAAE,qCAAqC,CAAC;IAC3D,CAAC,KAAK,EAAE,iBAAiB,EAAE,2BAA2B,CAAC;IACvD,CAAC,IAAI,EAAE,gBAAgB,EAAE,iCAAiC,CAAC;IAC3D,CAAC,IAAI,EAAE,eAAe,EAAE,sBAAsB,CAAC;IAC/C,CAAC,IAAI,EAAE,UAAU,EAAE,8BAA8B,CAAC;IAClD,CAAC,IAAI,EAAE,OAAO,EAAE,gDAAgD,CAAC;IACjE,CAAC,IAAI,EAAE,MAAM,EAAE,wBAAwB,CAAC;IACxC,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC;IACtB,CAAC,IAAI,EAAE,YAAY,EAAE,uBAAuB,CAAC;CAC9C,CAAC","sourcesContent":["/**\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n * @format\n */\n\n// Store list of health checks here to avoid having to launch PowerShell on every react-native config call\nexport const HealthCheckList = [\n [false, 'FreeSpace', 'Free space on current drive > 15 GB'],\n [false, 'InstalledMemory', 'Installed memory >= 16 GB'],\n [true, 'WindowsVersion', 'Windows version >= 10.0.17763.0'],\n [true, 'DeveloperMode', 'Developer mode is on'],\n [true, 'LongPath', 'Long path support is enabled'],\n [true, 'VSUWP', 'Visual Studio 2022 (>= 17.9) & req. components'],\n [true, 'Node', 'Node.js (LTS, >= 18.0)'],\n [true, 'Yarn', 'Yarn'],\n [true, 'DotNetCore', '.NET SDK (LTS, = 6.0)'],\n];\n"]}
@@ -1,7 +1,7 @@
1
- /**
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- * @format
5
- */
6
- import type { HealthCheckCategory } from '@react-native-community/cli-doctor/build/types';
7
- export declare function getHealthChecks(): HealthCheckCategory[] | undefined;
1
+ /**
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ * @format
5
+ */
6
+ import type { HealthCheckCategory } from '@react-native-community/cli-doctor/build/types';
7
+ export declare function getHealthChecks(): HealthCheckCategory[] | undefined;