MCPcopy
hub / github.com/aidenybai/react-grab / ProjectInfo

Interface ProjectInfo

packages/cli/src/utils/detect.ts:13–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11export type UnsupportedFramework = "remix" | "astro" | "sveltekit" | "gatsby" | null;
12
13export interface ProjectInfo {
14 packageManager: PackageManager;
15 framework: Framework;
16 nextRouterType: NextRouterType;
17 isMonorepo: boolean;
18 projectRoot: string;
19 hasReactGrab: boolean;
20 isReactGrabConfigured: boolean;
21 reactGrabVersion: string | null;
22 unsupportedFramework: UnsupportedFramework;
23}
24
25const VALID_PACKAGE_MANAGERS: ReadonlySet<string> = new Set(["npm", "yarn", "pnpm", "bun"]);
26

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…