react-doctor 0.9.3 → 0.9.4-dev.25dbf6d
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 +1456 -695
- package/dist/index.d.ts +10 -2
- package/dist/index.js +820 -393
- package/dist/lsp.js +861 -355
- package/dist/run-scan-app-C8iWVgvR.js +2326 -0
- package/package.json +7 -6
- package/dist/run-scan-app-DHRvqfkX.js +0 -1733
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FrameworkToken } from "oxlint-plugin-react-doctor/core";
|
|
2
|
+
import fs from "node:fs";
|
|
2
3
|
|
|
3
4
|
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.70/node_modules/effect/dist/Types.d.ts
|
|
4
5
|
/**
|
|
@@ -9965,6 +9966,10 @@ interface JsonReportDiffInfo {
|
|
|
9965
9966
|
changedFileCount: number;
|
|
9966
9967
|
isCurrentChanges: boolean;
|
|
9967
9968
|
}
|
|
9969
|
+
interface JsonReportSkippedProject {
|
|
9970
|
+
directory: string;
|
|
9971
|
+
reason: "max-duration";
|
|
9972
|
+
}
|
|
9968
9973
|
interface JsonReportProjectEntry {
|
|
9969
9974
|
directory: string;
|
|
9970
9975
|
project: ProjectInfo;
|
|
@@ -10045,6 +10050,8 @@ interface JsonReportV1$1 {
|
|
|
10045
10050
|
reactDetected?: boolean;
|
|
10046
10051
|
diff: JsonReportDiffInfo | null;
|
|
10047
10052
|
projects: JsonReportProjectEntry[];
|
|
10053
|
+
/** Workspace projects that were selected but never started. */
|
|
10054
|
+
skippedProjects?: JsonReportSkippedProject[];
|
|
10048
10055
|
/**
|
|
10049
10056
|
* Flattened across `projects[].diagnostics` for convenience. Equivalent to
|
|
10050
10057
|
* `projects.flatMap((project) => project.diagnostics)`.
|
|
@@ -10278,6 +10285,7 @@ interface BuildJsonReportInput {
|
|
|
10278
10285
|
directory: string;
|
|
10279
10286
|
result: InspectResult;
|
|
10280
10287
|
}>;
|
|
10288
|
+
skippedProjects?: ReadonlyArray<JsonReportSkippedProject>;
|
|
10281
10289
|
totalElapsedMilliseconds: number;
|
|
10282
10290
|
/**
|
|
10283
10291
|
* Present for a baseline run — `scans[].result.diagnostics` are then the
|
|
@@ -10340,7 +10348,7 @@ declare const defineConfig: (config: ReactDoctorConfig) => ReactDoctorConfig; //
|
|
|
10340
10348
|
* React-runtime rule family was gated off for the project.
|
|
10341
10349
|
*/
|
|
10342
10350
|
declare const hasReactRuntime: (project: ProjectInfo) => boolean; //#endregion
|
|
10343
|
-
//#region src/utils/
|
|
10351
|
+
//#region src/utils/filter-paths-outside-directories.d.ts
|
|
10344
10352
|
//#endregion
|
|
10345
10353
|
//#region ../api/dist/index.d.ts
|
|
10346
10354
|
//#region src/diagnose.d.ts
|
|
@@ -10368,5 +10376,5 @@ interface ToJsonReportOptions {
|
|
|
10368
10376
|
}
|
|
10369
10377
|
declare const toJsonReport: (result: DiagnoseResult, options: ToJsonReportOptions) => JsonReport;
|
|
10370
10378
|
//#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 };
|
|
10379
|
+
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
10380
|
//# sourceMappingURL=index.d.ts.map
|