expo-doctor 1.2.0 → 1.3.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/doctor.d.ts +11 -0
- package/build/index.js +9 -9
- package/build/utils/env.d.ts +2 -0
- package/package.json +2 -2
package/build/doctor.d.ts
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
import { ExpoConfig } from '@expo/config';
|
|
2
|
+
import { DirectPackageInstallCheck } from './checks/DirectPackageInstallCheck';
|
|
3
|
+
import { ExpoConfigCommonIssueCheck } from './checks/ExpoConfigCommonIssueCheck';
|
|
4
|
+
import { ExpoConfigSchemaCheck } from './checks/ExpoConfigSchemaCheck';
|
|
5
|
+
import { GlobalPackageInstalledCheck } from './checks/GlobalPackageInstalledCheck';
|
|
6
|
+
import { GlobalPrereqsVersionCheck } from './checks/GlobalPrereqsVersionCheck';
|
|
7
|
+
import { IllegalPackageCheck } from './checks/IllegalPackageCheck';
|
|
8
|
+
import { PackageJsonCheck } from './checks/PackageJsonCheck';
|
|
9
|
+
import { ProjectSetupCheck } from './checks/ProjectSetupCheck';
|
|
10
|
+
import { SupportPackageVersionCheck } from './checks/SupportPackageVersionCheck';
|
|
1
11
|
import { DoctorCheck, DoctorCheckParams, DoctorCheckResult } from './checks/checks.types';
|
|
2
12
|
type CheckError = Error & {
|
|
3
13
|
code?: string;
|
|
@@ -18,5 +28,6 @@ export declare function printFailedCheckIssueAndAdvice(job: DoctorCheckRunnerJob
|
|
|
18
28
|
* @returns check with its associated results or exception if it failed unexpectedly
|
|
19
29
|
*/
|
|
20
30
|
export declare function runChecksAsync(checks: DoctorCheck[], checkParams: DoctorCheckParams, onCheckComplete: (checkRunnerJob: DoctorCheckRunnerJob) => void): Promise<DoctorCheckRunnerJob[]>;
|
|
31
|
+
export declare function getChecksInScopeForProject(exp: ExpoConfig): (GlobalPrereqsVersionCheck | IllegalPackageCheck | GlobalPackageInstalledCheck | SupportPackageVersionCheck | ExpoConfigSchemaCheck | ExpoConfigCommonIssueCheck | DirectPackageInstallCheck | PackageJsonCheck | ProjectSetupCheck)[];
|
|
21
32
|
export declare function actionAsync(projectRoot: string): Promise<void>;
|
|
22
33
|
export {};
|