@react-native-windows/cli 0.0.0-canary.28 → 0.0.0-canary.281
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 +117 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindows.d.ts +88 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindows.js +705 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindows.js.map +1 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.d.ts +14 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.js +33 -0
- package/lib-commonjs/commands/autolinkWindows/autolinkWindowsOptions.js.map +1 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindows.d.ts +27 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindows.js +211 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindows.js.map +1 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.d.ts +12 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.js +23 -0
- package/lib-commonjs/commands/codegenWindows/codegenWindowsOptions.js.map +1 -0
- package/lib-commonjs/{config → commands/config}/configUtils.d.ts +141 -93
- package/lib-commonjs/commands/config/configUtils.js +433 -0
- package/lib-commonjs/commands/config/configUtils.js.map +1 -0
- package/lib-commonjs/{config → commands/config}/dependencyConfig.d.ts +38 -37
- package/lib-commonjs/{config → commands/config}/dependencyConfig.js +229 -171
- package/lib-commonjs/commands/config/dependencyConfig.js.map +1 -0
- package/lib-commonjs/{config → commands/config}/projectConfig.d.ts +28 -25
- package/lib-commonjs/commands/config/projectConfig.js +191 -0
- package/lib-commonjs/commands/config/projectConfig.js.map +1 -0
- package/lib-commonjs/commands/healthCheck/healthCheckList.d.ts +6 -0
- package/lib-commonjs/commands/healthCheck/healthCheckList.js +21 -0
- package/lib-commonjs/commands/healthCheck/healthCheckList.js.map +1 -0
- package/lib-commonjs/commands/healthCheck/healthChecks.d.ts +7 -0
- package/lib-commonjs/commands/healthCheck/healthChecks.js +121 -0
- package/lib-commonjs/commands/healthCheck/healthChecks.js.map +1 -0
- package/lib-commonjs/commands/initWindows/initWindows.d.ts +46 -0
- package/lib-commonjs/commands/initWindows/initWindows.js +290 -0
- package/lib-commonjs/commands/initWindows/initWindows.js.map +1 -0
- package/lib-commonjs/commands/initWindows/initWindowsOptions.d.ts +16 -0
- package/lib-commonjs/commands/initWindows/initWindowsOptions.js +42 -0
- package/lib-commonjs/commands/initWindows/initWindowsOptions.js.map +1 -0
- package/lib-commonjs/{runWindows → commands/runWindows}/runWindows.d.ts +10 -10
- package/lib-commonjs/commands/runWindows/runWindows.js +327 -0
- package/lib-commonjs/commands/runWindows/runWindows.js.map +1 -0
- package/lib-commonjs/{runWindows → commands/runWindows}/runWindowsOptions.d.ts +54 -52
- package/lib-commonjs/{runWindows → commands/runWindows}/runWindowsOptions.js +128 -131
- package/lib-commonjs/commands/runWindows/runWindowsOptions.js.map +1 -0
- package/lib-commonjs/e2etest/autolink.test.d.ts +6 -0
- package/lib-commonjs/e2etest/autolink.test.js +367 -0
- package/lib-commonjs/e2etest/autolink.test.js.map +1 -0
- package/lib-commonjs/e2etest/createRnwApp.test.d.ts +6 -0
- package/lib-commonjs/e2etest/createRnwApp.test.js +296 -0
- package/lib-commonjs/e2etest/createRnwApp.test.js.map +1 -0
- package/lib-commonjs/e2etest/dependencyConfig.test.d.ts +6 -6
- package/lib-commonjs/e2etest/dependencyConfig.test.js +109 -101
- package/lib-commonjs/e2etest/dependencyConfig.test.js.map +1 -1
- package/lib-commonjs/e2etest/healthChecks.test.d.ts +6 -0
- package/lib-commonjs/e2etest/healthChecks.test.js +31 -0
- package/lib-commonjs/e2etest/healthChecks.test.js.map +1 -0
- package/lib-commonjs/e2etest/initWindows.test.d.ts +6 -0
- package/lib-commonjs/e2etest/initWindows.test.js +110 -0
- package/lib-commonjs/e2etest/initWindows.test.js.map +1 -0
- package/lib-commonjs/e2etest/projectConfig.test.d.ts +6 -6
- package/lib-commonjs/e2etest/projectConfig.test.js +107 -101
- package/lib-commonjs/e2etest/projectConfig.test.js.map +1 -1
- package/lib-commonjs/e2etest/projectConfig.utils.d.ts +8 -0
- package/lib-commonjs/e2etest/projectConfig.utils.js +54 -0
- package/lib-commonjs/e2etest/projectConfig.utils.js.map +1 -0
- package/lib-commonjs/e2etest/runWindows.test.d.ts +6 -0
- package/lib-commonjs/e2etest/runWindows.test.js +60 -0
- package/lib-commonjs/e2etest/runWindows.test.js.map +1 -0
- 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 -222
- package/lib-commonjs/generator-common/index.js.map +1 -1
- package/lib-commonjs/generator-windows/index.d.ts +10 -10
- package/lib-commonjs/generator-windows/index.js +331 -366
- package/lib-commonjs/generator-windows/index.js.map +1 -1
- package/lib-commonjs/index.d.ts +49 -47
- package/lib-commonjs/index.js +77 -39
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/{runWindows/utils → utils}/build.d.ts +12 -13
- package/lib-commonjs/{runWindows/utils → utils}/build.js +89 -91
- package/lib-commonjs/utils/build.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/checkRequirements.d.ts +6 -6
- package/lib-commonjs/{runWindows/utils → utils}/checkRequirements.js +69 -65
- package/lib-commonjs/utils/checkRequirements.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/commandWithProgress.d.ts +21 -13
- package/lib-commonjs/{runWindows/utils → utils}/commandWithProgress.js +149 -113
- package/lib-commonjs/utils/commandWithProgress.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/deploy.d.ts +12 -12
- package/lib-commonjs/utils/deploy.js +351 -0
- package/lib-commonjs/utils/deploy.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/info.d.ts +6 -6
- package/lib-commonjs/{runWindows/utils → utils}/info.js +28 -25
- package/lib-commonjs/utils/info.js.map +1 -0
- package/lib-commonjs/utils/msbuildtools.d.ts +28 -0
- package/lib-commonjs/utils/msbuildtools.js +280 -0
- package/lib-commonjs/utils/msbuildtools.js.map +1 -0
- package/lib-commonjs/utils/nameHelpers.d.ts +9 -0
- package/lib-commonjs/utils/nameHelpers.js +46 -0
- package/lib-commonjs/utils/nameHelpers.js.map +1 -0
- package/lib-commonjs/utils/oldArchWarning.d.ts +9 -0
- package/lib-commonjs/utils/oldArchWarning.js +29 -0
- package/lib-commonjs/utils/oldArchWarning.js.map +1 -0
- package/lib-commonjs/utils/pathHelpers.d.ts +6 -0
- package/lib-commonjs/utils/pathHelpers.js +19 -0
- package/lib-commonjs/utils/pathHelpers.js.map +1 -0
- package/lib-commonjs/utils/telemetryHelpers.d.ts +29 -0
- package/lib-commonjs/utils/telemetryHelpers.js +127 -0
- package/lib-commonjs/utils/telemetryHelpers.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/version.d.ts +19 -19
- package/lib-commonjs/{runWindows/utils → utils}/version.js +109 -109
- package/lib-commonjs/utils/version.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/vsInstalls.d.ts +34 -34
- package/lib-commonjs/utils/vsInstalls.js +102 -0
- package/lib-commonjs/utils/vsInstalls.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/vstools.d.ts +16 -16
- package/lib-commonjs/{runWindows/utils → utils}/vstools.js +189 -157
- package/lib-commonjs/utils/vstools.js.map +1 -0
- package/lib-commonjs/{runWindows/utils → utils}/winappdeploytool.d.ts +24 -24
- package/lib-commonjs/{runWindows/utils → utils}/winappdeploytool.js +108 -105
- package/lib-commonjs/utils/winappdeploytool.js.map +1 -0
- package/package.json +50 -31
- package/{powershell → src/powershell}/Add-AppDevPackage.ps1 +2 -2
- package/src/powershell/Eval-MsBuildProperties.ps1 +156 -0
- package/src/powershell/WindowsStoreAppUtils.psm1 +465 -0
- package/CHANGELOG.json +0 -443
- package/CHANGELOG.md +0 -216
- package/lib-commonjs/config/configUtils.js +0 -253
- package/lib-commonjs/config/configUtils.js.map +0 -1
- package/lib-commonjs/config/dependencyConfig.js.map +0 -1
- package/lib-commonjs/config/projectConfig.js +0 -121
- package/lib-commonjs/config/projectConfig.js.map +0 -1
- package/lib-commonjs/runWindows/runWindows.js +0 -159
- package/lib-commonjs/runWindows/runWindows.js.map +0 -1
- package/lib-commonjs/runWindows/runWindowsOptions.js.map +0 -1
- package/lib-commonjs/runWindows/utils/autolink.d.ts +0 -7
- package/lib-commonjs/runWindows/utils/autolink.js +0 -404
- package/lib-commonjs/runWindows/utils/autolink.js.map +0 -1
- package/lib-commonjs/runWindows/utils/build.js.map +0 -1
- package/lib-commonjs/runWindows/utils/checkRequirements.js.map +0 -1
- package/lib-commonjs/runWindows/utils/commandWithProgress.js.map +0 -1
- package/lib-commonjs/runWindows/utils/deploy.js +0 -247
- package/lib-commonjs/runWindows/utils/deploy.js.map +0 -1
- package/lib-commonjs/runWindows/utils/info.js.map +0 -1
- package/lib-commonjs/runWindows/utils/msbuildtools.d.ts +0 -22
- package/lib-commonjs/runWindows/utils/msbuildtools.js +0 -195
- package/lib-commonjs/runWindows/utils/msbuildtools.js.map +0 -1
- package/lib-commonjs/runWindows/utils/version.js.map +0 -1
- package/lib-commonjs/runWindows/utils/vsInstalls.js +0 -70
- package/lib-commonjs/runWindows/utils/vsInstalls.js.map +0 -1
- package/lib-commonjs/runWindows/utils/vstools.js.map +0 -1
- package/lib-commonjs/runWindows/utils/winappdeploytool.js.map +0 -1
- package/powershell/WindowsStoreAppUtils.ps1 +0 -264
package/README.md
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# @react-native-windows/cli
|
|
2
|
+
|
|
3
|
+
CLI to build and run React Native for Windows apps.
|
|
4
|
+
|
|
5
|
+
## `autolink-windows`
|
|
6
|
+
|
|
7
|
+
The `autolink-windows` CLI command is used to link the native code and build systems for a React Native for Windows app with any native community modules it uses.
|
|
8
|
+
|
|
9
|
+
**Note:** Autolinking runs automatically as part of running the `run-windows` CLI command, unless the `--no-autolink` argument is used.
|
|
10
|
+
|
|
11
|
+
### Usage
|
|
12
|
+
Runs Windows-specific autolinking for your RNW project.
|
|
13
|
+
|
|
14
|
+
```bat
|
|
15
|
+
npx @react-native-community/cli autolink-windows
|
|
16
|
+
```
|
|
17
|
+
### Options
|
|
18
|
+
|
|
19
|
+
Here are the options that `npx @react-native-community/cli autolink-windows` takes:
|
|
20
|
+
| Option | Input Type | Description |
|
|
21
|
+
|-----------------------|------------|--------------------------------------------------|
|
|
22
|
+
| `--logging` | boolean | Verbose output logging |
|
|
23
|
+
| `--check` | boolean | Only check whether any autolinked files need to change |
|
|
24
|
+
| `--sln` | string | Override the app solution file determined by 'npx @react-native-community/cli config', i.e. `windows\myApp.sln` |
|
|
25
|
+
| `--proj` | string | Override the app project file determined by 'npx @react-native-community/cli config', i.e. `windows\myApp\myApp.vcxproj` |
|
|
26
|
+
| `--no-telemetry` | boolean | Disables sending telemetry that allows analysis of usage and failures of the react-native-windows CLI |
|
|
27
|
+
| `-h`, `--help` | boolean | Display help for command |
|
|
28
|
+
|
|
29
|
+
## `codegen-windows`
|
|
30
|
+
|
|
31
|
+
The `codegen-windows` CLI command is used to generate some necessary Windows-specific native code for native modules.
|
|
32
|
+
|
|
33
|
+
### Usage
|
|
34
|
+
Runs Windows-specific codegen for native modules.
|
|
35
|
+
|
|
36
|
+
```bat
|
|
37
|
+
npx @react-native-community/cli codegen-windows
|
|
38
|
+
```
|
|
39
|
+
### Options
|
|
40
|
+
|
|
41
|
+
Here are the options that `npx @react-native-community/cli codegen-windows` takes:
|
|
42
|
+
| Option | Input Type | Description |
|
|
43
|
+
|-----------------------|------------|--------------------------------------------------|
|
|
44
|
+
| `--logging` | boolean | Verbose output logging |
|
|
45
|
+
| `--check` | boolean | Only check whether any codegen files need to change |
|
|
46
|
+
| `--no-telemetry` | boolean | Disables sending telemetry that allows analysis of usage and failures of the react-native-windows CLI |
|
|
47
|
+
| `-h`, `--help` | boolean | Display help for command |
|
|
48
|
+
|
|
49
|
+
## `init-windows`
|
|
50
|
+
|
|
51
|
+
The `init-windows` CLI command is used to initialize a new React Native for Windows project inside an existing React Native project.
|
|
52
|
+
|
|
53
|
+
### Usage
|
|
54
|
+
Initializes a new RNW project from a given template.
|
|
55
|
+
|
|
56
|
+
```bat
|
|
57
|
+
npx @react-native-community/cli init-windows
|
|
58
|
+
```
|
|
59
|
+
### Options
|
|
60
|
+
|
|
61
|
+
Here are the options that `npx @react-native-community/cli init-windows` takes:
|
|
62
|
+
| Option | Input Type | Description |
|
|
63
|
+
|-----------------------|------------|--------------------------------------------------|
|
|
64
|
+
| `--logging` | boolean | Verbose output logging |
|
|
65
|
+
| `--template` | string | Specify the template to use |
|
|
66
|
+
| `--name` | string | The native project name. Defaults to the name property in `app.json` or `package.json` |
|
|
67
|
+
| `--namespace` | string | The native project namespace, expressed using dots as separators, i.e. `Level1.Level2.Level3`. Defaults to the same as name |
|
|
68
|
+
| `--overwrite` | boolean | Overwrite any existing files without prompting |
|
|
69
|
+
| `--no-telemetry` | boolean | Disables sending telemetry that allows analysis of usage and failures of the react-native-windows CLI |
|
|
70
|
+
| `-h`, `--help` | boolean | Display help for command |
|
|
71
|
+
|
|
72
|
+
## `run-windows`
|
|
73
|
+
|
|
74
|
+
The `run-windows` CLI command is used to build and run React Native for Windows apps.
|
|
75
|
+
|
|
76
|
+
### Usage
|
|
77
|
+
Builds your RNW app and starts it on a connected Windows desktop, emulator or device.
|
|
78
|
+
|
|
79
|
+
```bat
|
|
80
|
+
npx @react-native-community/cli run-windows
|
|
81
|
+
```
|
|
82
|
+
### Options
|
|
83
|
+
|
|
84
|
+
> **Note:** Remote Debugging was officially marked as [deprecated](https://github.com/react-native-community/discussions-and-proposals/discussions/734) in RN 0.73 and will be removed in a later release.
|
|
85
|
+
|
|
86
|
+
Here are the options that `npx @react-native-community/cli run-windows` takes:
|
|
87
|
+
| Option | Input Type | Description |
|
|
88
|
+
|-----------------------|------------|--------------------------------------------------|
|
|
89
|
+
| `--release` | boolean | Specifies a Release build |
|
|
90
|
+
| `--root` | string | Override the root directory for the project which contains the `windows` folder |
|
|
91
|
+
| `--arch` | string | The build architecture, i.e. `ARM64`, `x86`, `x64`. Defaults to system architecture |
|
|
92
|
+
| `--singleproc` | boolean | Disables multi-proc build |
|
|
93
|
+
| `--emulator` | boolean | Deploys the app to an emulator |
|
|
94
|
+
| `--device` | boolean | Deploys the app to a connected device |
|
|
95
|
+
| `--target` | string | Deploys the app to the specified `GUID` for a device |
|
|
96
|
+
| `--logging` | boolean | Verbose output logging |
|
|
97
|
+
| `--no-packager` | boolean | Do not launch the packager while building |
|
|
98
|
+
| `--bundle` | boolean | Enable Bundle configuration, i.e. `ReleaseBundle`/`DebugBundle` rather than `Release`/`Debug` |
|
|
99
|
+
| `--no-launch` | boolean | Do not launch the app after deployment |
|
|
100
|
+
| `--no-autolink` | boolean | Do not run autolinking |
|
|
101
|
+
| `--no-build` | boolean | Do not build the solution |
|
|
102
|
+
| `--no-deploy` | boolean | Do not deploy the app |
|
|
103
|
+
| `--deploy-from-layout`| boolean | Force deploy from layout even in Release builds |
|
|
104
|
+
| `--sln` | string | Override the app solution file determined by 'npx @react-native-community/cli config', i.e. `windows\myApp.sln` |
|
|
105
|
+
| `--proj` | string | Override the app project file determined by 'npx @react-native-community/cli config', i.e. `windows\myApp\myApp.vcxproj` |
|
|
106
|
+
| `--msbuildprops` | string | Comma separated props to pass to MSBuild, i.e. `prop1=value1,prop2=value2` |
|
|
107
|
+
| `--buildLogDirectory` | string | Optional directory where MSBuild log files should be stored |
|
|
108
|
+
| `--info` | boolean | Dump environment information |
|
|
109
|
+
| `--direct-debugging` | number | Enable direct debugging on specified port |
|
|
110
|
+
| `--no-telemetry` | boolean | Disables sending telemetry that allows analysis of usage and failures of the react-native-windows CLI |
|
|
111
|
+
| `-h`, `--help` | boolean | Display help for command |
|
|
112
|
+
| `--client-logs` | boolean | Enable plain text JavaScript log streaming for all connected apps |
|
|
113
|
+
|
|
114
|
+
## Data Collection
|
|
115
|
+
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
|
|
116
|
+
|
|
117
|
+
This data collection notice only applies to the process of running the react-native-windows CLI (i.e. the commands above).
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
* @format
|
|
5
|
+
*/
|
|
6
|
+
import { Ora } from 'ora';
|
|
7
|
+
import type { Command, Config, DependencyConfig, ProjectConfig } from '@react-native-community/cli-types';
|
|
8
|
+
import type { AutoLinkOptions } from './autolinkWindowsOptions';
|
|
9
|
+
import type { WindowsProjectConfig } from '../config/projectConfig';
|
|
10
|
+
export declare class AutoLinkWindows {
|
|
11
|
+
readonly projectConfig: ProjectConfig;
|
|
12
|
+
readonly dependenciesConfig: {
|
|
13
|
+
[key: string]: DependencyConfig;
|
|
14
|
+
};
|
|
15
|
+
readonly options: AutoLinkOptions;
|
|
16
|
+
private changesNecessary;
|
|
17
|
+
protected windowsAppConfig: WindowsProjectConfig;
|
|
18
|
+
areChangesNeeded(): boolean;
|
|
19
|
+
private getWindowsConfig;
|
|
20
|
+
private getSolutionFile;
|
|
21
|
+
constructor(projectConfig: ProjectConfig, dependenciesConfig: {
|
|
22
|
+
[key: string]: DependencyConfig;
|
|
23
|
+
}, options: AutoLinkOptions);
|
|
24
|
+
run(spinner: Ora): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Handles the --proj command-line option by consuming its value into the windowsAppConfig
|
|
27
|
+
*/
|
|
28
|
+
fixUpForProjOption(): void;
|
|
29
|
+
/**
|
|
30
|
+
* Handles the --sln command-line option by consuming its value into the windowsAppConfig
|
|
31
|
+
*/
|
|
32
|
+
fixUpForSlnOption(): void;
|
|
33
|
+
/** Validates the all of the required app (solution) properties are present and valid */
|
|
34
|
+
validateRequiredAppProperties(): void;
|
|
35
|
+
/** @return the full path to the project file (.vcxproj or .csproj) */
|
|
36
|
+
private getProjectFile;
|
|
37
|
+
/** Validates that all of the required app _project_ properties are present and valid */
|
|
38
|
+
validateRequiredProjectProperties(): void;
|
|
39
|
+
private getAutolinkTemplateFile;
|
|
40
|
+
private generateCppAutolinking;
|
|
41
|
+
getCppReplacements(): {
|
|
42
|
+
cppPackageProviders: string;
|
|
43
|
+
cppIncludes: string;
|
|
44
|
+
};
|
|
45
|
+
private generateCSAutolinking;
|
|
46
|
+
getCsReplacements(): {
|
|
47
|
+
csUsingNamespaces: string;
|
|
48
|
+
csReactPackageProviders: string;
|
|
49
|
+
};
|
|
50
|
+
/** Cache of dependencies */
|
|
51
|
+
private windowsDependencies;
|
|
52
|
+
private getWindowsDependencies;
|
|
53
|
+
/**
|
|
54
|
+
* Updates the target file with the expected contents if it's different.
|
|
55
|
+
* @param filePath Path to the target file to update.
|
|
56
|
+
* @param expectedContents The expected contents of the file.
|
|
57
|
+
* @return Whether any changes were necessary.
|
|
58
|
+
*/
|
|
59
|
+
protected updateFile(filePath: string, expectedContents: string): Promise<boolean>;
|
|
60
|
+
private generateAutolinkTargets;
|
|
61
|
+
private generateAutolinkProps;
|
|
62
|
+
private getCSModules;
|
|
63
|
+
private updateSolution;
|
|
64
|
+
protected getExperimentalFeaturesPropsXml(): {
|
|
65
|
+
path: string;
|
|
66
|
+
content: Document;
|
|
67
|
+
} | undefined;
|
|
68
|
+
ensureXAMLDialect(): Promise<boolean>;
|
|
69
|
+
protected getPackagesConfigXml(): {
|
|
70
|
+
path: string;
|
|
71
|
+
content: Document;
|
|
72
|
+
} | undefined;
|
|
73
|
+
private updatePackagesConfigXAMLDialect;
|
|
74
|
+
private updatePackagesConfig;
|
|
75
|
+
/** @return The CLI command to invoke autolink-windows independently */
|
|
76
|
+
getAutolinkWindowsCommand(): string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Performs auto-linking for RNW native modules and apps.
|
|
80
|
+
* @param args Unprocessed args passed from react-native CLI.
|
|
81
|
+
* @param config Config passed from react-native CLI.
|
|
82
|
+
* @param options Options passed from react-native CLI.
|
|
83
|
+
*/
|
|
84
|
+
export declare function autolinkWindowsInternal(args: string[], config: Config, options: AutoLinkOptions): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Performs auto-linking for RNW native modules and apps.
|
|
87
|
+
*/
|
|
88
|
+
export declare const autolinkCommand: Command;
|