react-doctor 0.9.2-dev.b1352a2 → 0.9.2-dev.bf470d5
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 +2 -2
- package/dist/cli.js +947 -192
- package/dist/index.d.ts +9 -3
- package/dist/index.js +658 -93
- package/dist/lsp.js +640 -89
- package/dist/{run-scan-app-C9MJnVwv.js → run-scan-app-DHRvqfkX.js} +11 -10
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FrameworkToken } from "oxlint-plugin-react-doctor";
|
|
1
|
+
import { FrameworkToken } from "oxlint-plugin-react-doctor/core";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.70/node_modules/effect/dist/Types.d.ts
|
|
4
4
|
/**
|
|
@@ -9333,11 +9333,17 @@ interface ReactDoctorConfig {
|
|
|
9333
9333
|
* Entries resolve exactly like `--project` values: workspace package
|
|
9334
9334
|
* names (or directory basenames) first, then directory paths relative to
|
|
9335
9335
|
* the scanned root. `"*"` selects every discovered workspace project.
|
|
9336
|
-
* Invalid entries fail the run with the same error as the flag
|
|
9336
|
+
* Invalid entries fail the run with the same error as the flag — except
|
|
9337
|
+
* under `--staged`, where they warn and fall back to a single scan at the
|
|
9338
|
+
* root, because `--staged` runs in a commit hook and a stale entry there
|
|
9339
|
+
* would block every commit.
|
|
9337
9340
|
*
|
|
9338
9341
|
* Precedence: an explicit `--project` flag overrides this list. Only the
|
|
9339
9342
|
* config at the invocation root is consulted — `projects` inside a
|
|
9340
|
-
* module's own config is ignored (modules can't redirect the scan).
|
|
9343
|
+
* module's own config is ignored (modules can't redirect the scan). Under
|
|
9344
|
+
* `--staged` this list applies only when you invoke react-doctor from the
|
|
9345
|
+
* directory that declared it, so a per-package or positional run does not
|
|
9346
|
+
* resolve an ancestor's entries against the package.
|
|
9341
9347
|
*/
|
|
9342
9348
|
projects?: string[];
|
|
9343
9349
|
textComponents?: string[];
|