react-doctor 0.8.1-dev.a667b45 → 0.8.1-dev.af33723
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 +549 -141
- package/dist/index.d.ts +29 -0
- package/dist/index.js +458 -97
- package/dist/lsp.js +458 -97
- package/dist/skills/react-doctor/SKILL.md +5 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -9543,11 +9543,40 @@ 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;
|
|
9568
|
+
hasI18nLibrary?: boolean;
|
|
9569
|
+
tanstackQueryVersion?: string | null;
|
|
9570
|
+
styledComponentsVersion?: string | null;
|
|
9571
|
+
/**
|
|
9572
|
+
* The declared `valtio` version spec, or `null` when no package in the
|
|
9573
|
+
* analyzed project declares Valtio. `useSnapshot` has kept the same
|
|
9574
|
+
* render-read contract across Valtio 1 and 2, so presence alone drives the
|
|
9575
|
+
* `valtio` capability and its parsed major-version ladder.
|
|
9576
|
+
*/
|
|
9577
|
+
valtioVersion: string | null;
|
|
9578
|
+
/** Parsed major from `valtioVersion`, or `null` when absent/unparseable. */
|
|
9579
|
+
valtioMajorVersion: number | null;
|
|
9551
9580
|
/**
|
|
9552
9581
|
* `true` when the project or a workspace declares a Vite-based SSR runtime
|
|
9553
9582
|
* such as React Router's Node adapter, Vike, or vite-plugin-ssr.
|