react-doctor 0.9.3 → 0.9.4-dev.8b97fdc
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/dist/cli.js +1143 -559
- package/dist/index.d.ts +9 -2
- package/dist/index.js +643 -349
- package/dist/lsp.js +655 -327
- package/dist/run-scan-app-QbtG43NL.js +2326 -0
- package/package.json +7 -6
- package/dist/run-scan-app-DHRvqfkX.js +0 -1733
package/dist/index.d.ts
CHANGED
|
@@ -9965,6 +9965,10 @@ interface JsonReportDiffInfo {
|
|
|
9965
9965
|
changedFileCount: number;
|
|
9966
9966
|
isCurrentChanges: boolean;
|
|
9967
9967
|
}
|
|
9968
|
+
interface JsonReportSkippedProject {
|
|
9969
|
+
directory: string;
|
|
9970
|
+
reason: "max-duration";
|
|
9971
|
+
}
|
|
9968
9972
|
interface JsonReportProjectEntry {
|
|
9969
9973
|
directory: string;
|
|
9970
9974
|
project: ProjectInfo;
|
|
@@ -10045,6 +10049,8 @@ interface JsonReportV1$1 {
|
|
|
10045
10049
|
reactDetected?: boolean;
|
|
10046
10050
|
diff: JsonReportDiffInfo | null;
|
|
10047
10051
|
projects: JsonReportProjectEntry[];
|
|
10052
|
+
/** Workspace projects that were selected but never started. */
|
|
10053
|
+
skippedProjects?: JsonReportSkippedProject[];
|
|
10048
10054
|
/**
|
|
10049
10055
|
* Flattened across `projects[].diagnostics` for convenience. Equivalent to
|
|
10050
10056
|
* `projects.flatMap((project) => project.diagnostics)`.
|
|
@@ -10278,6 +10284,7 @@ interface BuildJsonReportInput {
|
|
|
10278
10284
|
directory: string;
|
|
10279
10285
|
result: InspectResult;
|
|
10280
10286
|
}>;
|
|
10287
|
+
skippedProjects?: ReadonlyArray<JsonReportSkippedProject>;
|
|
10281
10288
|
totalElapsedMilliseconds: number;
|
|
10282
10289
|
/**
|
|
10283
10290
|
* Present for a baseline run — `scans[].result.diagnostics` are then the
|
|
@@ -10340,7 +10347,7 @@ declare const defineConfig: (config: ReactDoctorConfig) => ReactDoctorConfig; //
|
|
|
10340
10347
|
* React-runtime rule family was gated off for the project.
|
|
10341
10348
|
*/
|
|
10342
10349
|
declare const hasReactRuntime: (project: ProjectInfo) => boolean; //#endregion
|
|
10343
|
-
//#region src/utils/
|
|
10350
|
+
//#region src/utils/filter-paths-outside-directories.d.ts
|
|
10344
10351
|
//#endregion
|
|
10345
10352
|
//#region ../api/dist/index.d.ts
|
|
10346
10353
|
//#region src/diagnose.d.ts
|
|
@@ -10368,5 +10375,5 @@ interface ToJsonReportOptions {
|
|
|
10368
10375
|
}
|
|
10369
10376
|
declare const toJsonReport: (result: DiagnoseResult, options: ToJsonReportOptions) => JsonReport;
|
|
10370
10377
|
//#endregion
|
|
10371
|
-
export { AmbiguousProjectError, type DiagnoseOptions, type DiagnoseProjectsInput, type DiagnoseProjectsResult, type DiagnoseResult, type Diagnostic, type DiffInfo, type JsonReport, type JsonReportDiffInfo, type JsonReportError, type JsonReportMode, type JsonReportProjectEntry, type JsonReportSummary, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, type ProjectDefinition, type ProjectInfo, ProjectNotFoundError, type ProjectResult, type ProjectResultError, type ProjectResultOk, type ReactDoctorConfig, ReactDoctorError, type ScoreResult, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
|
|
10378
|
+
export { AmbiguousProjectError, type DiagnoseOptions, type DiagnoseProjectsInput, type DiagnoseProjectsResult, type DiagnoseResult, type Diagnostic, type DiffInfo, type JsonReport, type JsonReportDiffInfo, type JsonReportError, type JsonReportMode, type JsonReportProjectEntry, type JsonReportSkippedProject, type JsonReportSummary, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, type ProjectDefinition, type ProjectInfo, ProjectNotFoundError, type ProjectResult, type ProjectResultError, type ProjectResultOk, type ReactDoctorConfig, ReactDoctorError, type ScoreResult, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
|
|
10372
10379
|
//# sourceMappingURL=index.d.ts.map
|