expo-doctor 1.14.0-canary-20250811-5c940c0 → 1.15.0
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/build/expo-doctor/src/checks/AutolinkingDependencyDuplicatesCheck.d.ts +6 -0
- package/build/expo-doctor/src/checks/InstalledDependencyVersionCheck.d.ts +1 -1
- package/build/expo-doctor/src/utils/autolinkingExportsLoader.d.ts +3 -0
- package/build/expo-doctor/src/utils/doctorConfig.d.ts +1 -1
- package/build/expo-doctor/src/utils/parseInstallCheckOutput.d.ts +9 -0
- package/build/expo-doctor/src/utils/reactNativeDirectoryApi.d.ts +5 -0
- package/build/expo-doctor/src/utils/versionedNativeModules.d.ts +1 -0
- package/build/index.js +7 -7
- package/package.json +9 -8
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DoctorCheck, DoctorCheckParams, DoctorCheckResult } from './checks.types';
|
|
2
|
+
export declare class AutolinkingDependencyDuplicatesCheck implements DoctorCheck {
|
|
3
|
+
description: string;
|
|
4
|
+
sdkVersionRange: string;
|
|
5
|
+
runAsync({ projectRoot, exp }: DoctorCheckParams): Promise<DoctorCheckResult>;
|
|
6
|
+
}
|
|
@@ -2,5 +2,5 @@ import { DoctorCheck, DoctorCheckParams, DoctorCheckResult } from './checks.type
|
|
|
2
2
|
export declare class InstalledDependencyVersionCheck implements DoctorCheck {
|
|
3
3
|
description: string;
|
|
4
4
|
sdkVersionRange: string;
|
|
5
|
-
runAsync({ projectRoot }: DoctorCheckParams): Promise<DoctorCheckResult>;
|
|
5
|
+
runAsync({ exp, projectRoot }: DoctorCheckParams): Promise<DoctorCheckResult>;
|
|
6
6
|
}
|
|
@@ -34,7 +34,7 @@ interface DoctorPackageJsonConfig {
|
|
|
34
34
|
export declare function getDoctorConfig(pkg: any): DoctorPackageJsonConfig;
|
|
35
35
|
export declare function getReactNativeDirectoryCheckExcludes(pkg: any): (string | RegExp)[];
|
|
36
36
|
export declare function getReactNativeDirectoryCheckEnabled(exp: ExpoConfig, pkg: PackageJSONConfig): boolean;
|
|
37
|
-
export declare function getReactNativeDirectoryCheckListUnknownPackagesEnabled(pkg: any): boolean;
|
|
37
|
+
export declare function getReactNativeDirectoryCheckListUnknownPackagesEnabled(pkg: any): boolean | null;
|
|
38
38
|
/**
|
|
39
39
|
* Get status of appConfigFieldsNotSyncedCheck check
|
|
40
40
|
* @param pkg package.json
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parses the output from `npx expo install --check --json` and formats dependency
|
|
3
|
+
* version mismatches into a structured, color-coded report.
|
|
4
|
+
*
|
|
5
|
+
* @param stdout - Raw stdout from `npx expo install --check --json` command
|
|
6
|
+
* @param issues - Array to append formatted issue messages to
|
|
7
|
+
* @param projectMajorSdkVersion - The major version of the project's SDK
|
|
8
|
+
*/
|
|
9
|
+
export declare function parseInstallCheckOutput(stdout: string, issues: string[], projectMajorSdkVersion: number): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getVersionedNativeModuleNamesAsync(projectRoot: string, expoSdkVersion: string): Promise<string[] | null>;
|