react-doctor 0.8.1-dev.3018538 → 0.8.1-dev.359d9b3
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 +14 -4
- package/dist/cli.js +696 -166
- package/dist/index.d.ts +42 -1
- package/dist/index.js +608 -123
- package/dist/lsp.js +608 -123
- package/dist/skills/react-doctor/SKILL.md +5 -0
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -9543,15 +9543,52 @@ interface ProjectInfo {
|
|
|
9543
9543
|
zodVersion: string | null;
|
|
9544
9544
|
/** Parsed major from `zodVersion`, or `null` when absent/unparseable. Mirrors `reactMajorVersion`. */
|
|
9545
9545
|
zodMajorVersion: number | null;
|
|
9546
|
+
/** Declared MobX core version spec. Optional so existing `ProjectInfo` consumers remain source-compatible. */
|
|
9547
|
+
mobxVersion?: string | null;
|
|
9548
|
+
/** Parsed major from `mobxVersion`, or `null` when absent/unparseable. */
|
|
9549
|
+
mobxMajorVersion?: number | null;
|
|
9550
|
+
hasMobxReact?: boolean;
|
|
9551
|
+
mobxReactVersion?: string | null;
|
|
9552
|
+
hasMobxReactLite?: boolean;
|
|
9553
|
+
mobxReactLiteVersion?: string | null;
|
|
9554
|
+
hasMobxStateTree?: boolean;
|
|
9555
|
+
hasMobxReactObserver?: boolean;
|
|
9556
|
+
/** Declared Zustand version spec. Optional so existing `ProjectInfo` consumers remain source-compatible. */
|
|
9557
|
+
zustandVersion?: string | null;
|
|
9558
|
+
/** Parsed major from `zustandVersion`, or `null` when absent/unparseable. */
|
|
9559
|
+
zustandMajorVersion?: number | null;
|
|
9546
9560
|
framework: Framework;
|
|
9547
9561
|
hasTypeScript: boolean;
|
|
9548
9562
|
hasReactCompiler: boolean;
|
|
9549
9563
|
hasReactCompilerLintPlugin?: boolean;
|
|
9550
9564
|
hasTanStackQuery: boolean;
|
|
9565
|
+
hasRemotion?: boolean;
|
|
9566
|
+
remotionVersion?: string | null;
|
|
9567
|
+
remotionMajorVersion?: number | null;
|
|
9551
9568
|
hasI18nLibrary?: boolean;
|
|
9552
9569
|
tanstackQueryVersion?: string | null;
|
|
9553
|
-
mobxVersion?: string | null;
|
|
9554
9570
|
styledComponentsVersion?: string | null;
|
|
9571
|
+
/** Whether the project or one of its workspaces declares Three.js, Fiber, or Drei. */
|
|
9572
|
+
hasThree?: boolean;
|
|
9573
|
+
/** Lowest declared Three.js version across the project and its workspaces. */
|
|
9574
|
+
threeVersion?: string | null;
|
|
9575
|
+
/** Three.js release number parsed from threeVersion (`0.146.x` becomes 146). */
|
|
9576
|
+
threeRelease?: number | null;
|
|
9577
|
+
/** Whether the project or one of its workspaces declares React Three Fiber or Drei. */
|
|
9578
|
+
hasReactThreeFiber?: boolean;
|
|
9579
|
+
/** Declared version of @react-three/fiber or its legacy package name, when directly present. */
|
|
9580
|
+
reactThreeFiberVersion?: string | null;
|
|
9581
|
+
/** Parsed major from reactThreeFiberVersion, or null when absent or unparseable. */
|
|
9582
|
+
reactThreeFiberMajorVersion?: number | null;
|
|
9583
|
+
/**
|
|
9584
|
+
* The declared `valtio` version spec, or `null` when no package in the
|
|
9585
|
+
* analyzed project declares Valtio. `useSnapshot` has kept the same
|
|
9586
|
+
* render-read contract across Valtio 1 and 2, so presence alone drives the
|
|
9587
|
+
* `valtio` capability and its parsed major-version ladder.
|
|
9588
|
+
*/
|
|
9589
|
+
valtioVersion: string | null;
|
|
9590
|
+
/** Parsed major from `valtioVersion`, or `null` when absent/unparseable. */
|
|
9591
|
+
valtioMajorVersion: number | null;
|
|
9555
9592
|
/**
|
|
9556
9593
|
* `true` when the project or a workspace declares a Vite-based SSR runtime
|
|
9557
9594
|
* such as React Router's Node adapter, Vike, or vite-plugin-ssr.
|
|
@@ -9585,6 +9622,10 @@ interface ProjectInfo {
|
|
|
9585
9622
|
hasReactNativeWorkspace: boolean;
|
|
9586
9623
|
nextjsVersion: string | null;
|
|
9587
9624
|
nextjsMajorVersion: number | null;
|
|
9625
|
+
/** Declared React Router runtime version from `@react-router/dev`, `react-router-dom`, or `react-router`. */
|
|
9626
|
+
reactRouterVersion?: string | null;
|
|
9627
|
+
/** Whether the project declares `@react-router/dev` and therefore uses Framework mode. */
|
|
9628
|
+
hasReactRouterFramework?: boolean;
|
|
9588
9629
|
/**
|
|
9589
9630
|
* The declared `expo` package version spec (e.g. `"~51.0.0"`), looked up
|
|
9590
9631
|
* in the project or any of its workspace packages, or `null` when `expo`
|