react-doctor 0.9.12-dev.8c2f03a → 0.9.12-dev.f7efb7d

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.
Files changed (27) hide show
  1. package/dist/{build-section-divider-DuozMmwU.js → build-section-divider-LBEprrSw.js} +7 -7
  2. package/dist/{ci-Bwd2LJZC.js → ci-B80oWpS1.js} +11 -11
  3. package/dist/cli.js +25 -25
  4. package/dist/{design-Q4Umr_4T.js → design-Doxh3Oua.js} +4 -4
  5. package/dist/{exit-gracefully-vUI1H1zC.js → exit-gracefully-Z8iBwlMI.js} +6 -6
  6. package/dist/index.d.ts +2 -2
  7. package/dist/index.js +61 -43
  8. package/dist/{inspect-RxIsB8bi.js → inspect-qNFSJB8s.js} +20 -19
  9. package/dist/{install-CI0nvC_v.js → install-CxK6oNgV.js} +8 -8
  10. package/dist/{install-doctor-script-BAmTZygh.js → install-doctor-script-rddKhKYf.js} +4 -4
  11. package/dist/{install-github-workflow-Dg2sosDx.js → install-github-workflow-telZkaCp.js} +6 -6
  12. package/dist/{install-react-doctor-CIJcnTik.js → install-react-doctor-DoKoYt2g.js} +47 -45
  13. package/dist/{print-branded-header-kwnSGrfR.js → print-branded-header-514lsPsP.js} +4 -4
  14. package/dist/{read-object-file-m5uVvcBp.js → read-object-file-0FXK_1Lr.js} +4 -4
  15. package/dist/{record-metric-DospZkfP.js → record-metric-DFQYh2Mf.js} +99 -73
  16. package/dist/{report-error-CAp5cil9.js → report-error-Bg7eABmv.js} +5 -5
  17. package/dist/{report-workflow-result-D0GvvJtT.js → report-workflow-result-Dd3jJHJr.js} +5 -5
  18. package/dist/{resolve-scope-eXawiGEH.js → resolve-scope-CsMf2eUG.js} +6 -6
  19. package/dist/{rules-C_xYDSz8.js → rules-Bmw6adjU.js} +6 -6
  20. package/dist/{run-scan-app-CeNk17wq.js → run-scan-app-CwcrBTC4.js} +15 -10
  21. package/dist/{scan-DIwsgV6M.js → scan-D7bmiqv1.js} +8 -8
  22. package/dist/{should-fail-scan-gate-BWTNIU5h.js → should-fail-scan-gate-Cd68GDY-.js} +21 -13
  23. package/dist/{should-skip-prompts-oK3MwWyB.js → should-skip-prompts-oFD5z_9E.js} +4 -4
  24. package/dist/{unref-stdin-BGZVK4sJ.js → unref-stdin-C5xln9RW.js} +4 -4
  25. package/dist/{version-9-2T2YQf.js → version-Bg3OKWjm.js} +4 -4
  26. package/dist/{why-BOiuB_qy.js → why-DPksh2dy.js} +4 -4
  27. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7fbceb12-b91b-5945-969c-c6bfc4005674")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="52765b53-f0a2-5ce1-a6e9-3cb568adcd7b")}catch(e){}}();
3
3
  import { i as __toESM$1, r as __require, t as __commonJSMin$1 } from "./chunk-ChKA3wi6.js";
4
4
  import { n as require_picomatch, t as require_semver } from "./semver-DFtnEmN-.js";
5
5
  import { createRequire } from "node:module";
@@ -62323,7 +62323,7 @@ var ProjectNotFoundError = class extends Error {
62323
62323
  kind;
62324
62324
  constructor(directory, options) {
62325
62325
  const kind = options?.kind ?? "no-project";
62326
- super(kind === "missing-path" ? `Scan target "${directory}" does not exist. Check the path and try again.` : `No React project found in ${directory}. Expected a package.json at the directory root or a nested package.json with a React dependency.`, options);
62326
+ super(kind === "missing-path" ? `Scan target "${directory}" does not exist. Check the path and try again.` : `No React or Three.js project found in ${directory}. Expected a package.json at the directory root or a nested package.json with a React or Three.js dependency.`, options);
62327
62327
  this.directory = directory;
62328
62328
  this.kind = kind;
62329
62329
  }
@@ -62357,7 +62357,7 @@ var AmbiguousProjectError = class extends Error {
62357
62357
  directory;
62358
62358
  candidates;
62359
62359
  constructor(directory, candidates, options) {
62360
- super(`Multiple React projects found under ${directory} (${candidates.length} candidates): ${candidates.join(", ")}. Re-run diagnose() with one of those subdirectories, or iterate them yourself.`, options);
62360
+ super(`Multiple React or Three.js projects found under ${directory} (${candidates.length} candidates): ${candidates.join(", ")}. Re-run diagnose() with one of those subdirectories, or iterate them yourself.`, options);
62361
62361
  this.directory = directory;
62362
62362
  this.candidates = candidates;
62363
62363
  }
@@ -63697,9 +63697,11 @@ const FRAMEWORK_PACKAGES = {
63697
63697
  "@remix-run/react": "remix",
63698
63698
  gatsby: "gatsby",
63699
63699
  astro: "astro",
63700
+ "@astrojs/react": "astro",
63700
63701
  vite: "vite",
63701
63702
  "react-scripts": "cra",
63702
63703
  expo: "expo",
63704
+ "expo-router": "expo",
63703
63705
  "react-native": "react-native"
63704
63706
  };
63705
63707
  const detectFramework = (dependencies) => {
@@ -64191,20 +64193,39 @@ const getDependencyDeclaration = ({ packageJson, packageName, sections }) => {
64191
64193
  version: null
64192
64194
  };
64193
64195
  };
64194
- const REACT_DEPENDENCY_NAMES = new Set([
64196
+ const REACT_PROJECT_DEPENDENCY_NAMES = new Set([
64195
64197
  "react",
64198
+ "react-dom",
64196
64199
  "react-native",
64197
64200
  "next",
64198
- "preact"
64201
+ "preact",
64202
+ "expo",
64203
+ "expo-router",
64204
+ "gatsby",
64205
+ "@remix-run/react",
64206
+ "@tanstack/react-start",
64207
+ "react-scripts",
64208
+ "@astrojs/react"
64199
64209
  ]);
64210
+ const REACT_THREE_FIBER_DEPENDENCY_NAMES = ["@react-three/fiber", "react-three-fiber"];
64211
+ const REACT_THREE_FIBER_ECOSYSTEM_DEPENDENCY_NAMES = [
64212
+ ...REACT_THREE_FIBER_DEPENDENCY_NAMES,
64213
+ "@react-three/drei",
64214
+ "@react-three/rapier",
64215
+ "@react-three/postprocessing",
64216
+ "@react-three/xr",
64217
+ "@react-three/cannon"
64218
+ ];
64219
+ const THREE_DEPENDENCY_NAMES = ["three", ...REACT_THREE_FIBER_ECOSYSTEM_DEPENDENCY_NAMES];
64200
64220
  const hasReactDependency = (packageJson) => {
64201
64221
  const allDependencies = {
64202
64222
  ...packageJson.peerDependencies,
64203
64223
  ...packageJson.dependencies,
64204
64224
  ...packageJson.devDependencies
64205
64225
  };
64206
- return Object.keys(allDependencies).some((packageName) => REACT_DEPENDENCY_NAMES.has(packageName));
64226
+ return Object.keys(allDependencies).some((packageName) => REACT_PROJECT_DEPENDENCY_NAMES.has(packageName));
64207
64227
  };
64228
+ const hasSupportedProjectDependency = (packageJson) => hasReactDependency(packageJson) || getDependencySpec(packageJson, "remotion") !== null || THREE_DEPENDENCY_NAMES.some((packageName) => getDependencySpec(packageJson, packageName) !== null);
64208
64229
  const getPreactVersion = (packageJson) => getDependencySpec(packageJson, "preact");
64209
64230
  const resolveCatalogBackedDependencyVersion = ({ rootDirectory, rootPackageJson, packageName, sourceDirectory = rootDirectory, sourcePackageJson = rootPackageJson, version }) => {
64210
64231
  if (version === null || !isCatalogReference(version)) return version;
@@ -64395,7 +64416,7 @@ const listWorkspacePackages = (rootDirectory) => {
64395
64416
  seenDirectories.add(workspacePackage.directory);
64396
64417
  packages.push(workspacePackage);
64397
64418
  };
64398
- if (hasReactDependency(packageJson)) pushIfNew({
64419
+ if (hasSupportedProjectDependency(packageJson)) pushIfNew({
64399
64420
  name: packageJson.name ?? path$1$1.basename(rootDirectory),
64400
64421
  directory: rootDirectory
64401
64422
  });
@@ -64403,7 +64424,7 @@ const listWorkspacePackages = (rootDirectory) => {
64403
64424
  const directories = resolveWorkspaceDirectories(rootDirectory, pattern);
64404
64425
  for (const workspaceDirectory of directories) {
64405
64426
  const workspacePackageJson = readPackageJson(path$1$1.join(workspaceDirectory, "package.json"));
64406
- if (!hasReactDependency(workspacePackageJson)) continue;
64427
+ if (!hasSupportedProjectDependency(workspacePackageJson)) continue;
64407
64428
  pushIfNew({
64408
64429
  name: workspacePackageJson.name ?? path$1$1.basename(workspaceDirectory),
64409
64430
  directory: workspaceDirectory
@@ -64470,7 +64491,6 @@ const MOBX_REACT_PACKAGE_NAME = "mobx-react";
64470
64491
  const MOBX_REACT_LITE_PACKAGE_NAME = "mobx-react-lite";
64471
64492
  const MOBX_STATE_TREE_PACKAGE_NAME = "mobx-state-tree";
64472
64493
  const MOBX_REACT_OBSERVER_PACKAGE_NAME = "mobx-react-observer";
64473
- const REACT_THREE_FIBER_DEPENDENCY_NAMES = ["@react-three/fiber", "react-three-fiber"];
64474
64494
  const REACT_THREE_FIBER_SECTIONS = [
64475
64495
  "dependencies",
64476
64496
  "peerDependencies",
@@ -64483,8 +64503,6 @@ const THREE_DEPENDENCY_SECTIONS = [
64483
64503
  "optionalDependencies",
64484
64504
  "devDependencies"
64485
64505
  ];
64486
- const REACT_THREE_FIBER_ECOSYSTEM_DEPENDENCY_NAMES = [...REACT_THREE_FIBER_DEPENDENCY_NAMES, "@react-three/drei"];
64487
- const THREE_DEPENDENCY_NAMES = [...REACT_THREE_FIBER_ECOSYSTEM_DEPENDENCY_NAMES, "three"];
64488
64506
  const REACT_ROUTER_DEPENDENCY_NAMES = [
64489
64507
  "@react-router/dev",
64490
64508
  "react-router-dom",
@@ -64985,13 +65003,13 @@ const detectTargetBlankOpenerProtection = (directory, packageJson) => {
64985
65003
  if (browserslistRequirement === "noreferrer" || electronRequirement === "noreferrer") return "noreferrer";
64986
65004
  if (browserslistRequirement === "noopener" || electronRequirement === "noopener") return "noopener";
64987
65005
  };
64988
- const toReactWorkspacePackages = (directories) => {
65006
+ const toSupportedWorkspacePackages = (directories) => {
64989
65007
  const packages = [];
64990
65008
  for (const directory of directories) {
64991
65009
  const packageJsonPath = path$1$1.join(directory, "package.json");
64992
65010
  if (!isFile(packageJsonPath)) continue;
64993
65011
  const packageJson = readPackageJson(packageJsonPath);
64994
- if (!hasReactDependency(packageJson)) continue;
65012
+ if (!hasSupportedProjectDependency(packageJson)) continue;
64995
65013
  const name = packageJson.name ?? path$1$1.basename(directory);
64996
65014
  packages.push({
64997
65015
  name,
@@ -65004,7 +65022,7 @@ const listManifestWorkspacePackages = (rootDirectory) => {
65004
65022
  if (isFile(path$1$1.join(rootDirectory, "package.json"))) return listWorkspacePackages(rootDirectory);
65005
65023
  const patterns = parsePnpmWorkspacePatterns(rootDirectory);
65006
65024
  const nxPatterns = patterns.length > 0 ? [] : getNxWorkspaceDirectories(rootDirectory);
65007
- return toReactWorkspacePackages((patterns.length > 0 ? patterns : nxPatterns).flatMap((pattern) => resolveWorkspaceDirectories(rootDirectory, pattern)));
65025
+ return toSupportedWorkspacePackages((patterns.length > 0 ? patterns : nxPatterns).flatMap((pattern) => resolveWorkspaceDirectories(rootDirectory, pattern)));
65008
65026
  };
65009
65027
  const NON_PROJECT_DIRECTORIES = new Set([
65010
65028
  "AppData",
@@ -65012,7 +65030,7 @@ const NON_PROJECT_DIRECTORIES = new Set([
65012
65030
  "Library"
65013
65031
  ]);
65014
65032
  const MAX_SCAN_DEPTH = 6;
65015
- const discoverReactSubprojectsByFilesystem = (rootDirectory) => {
65033
+ const discoverSupportedSubprojectsByFilesystem = (rootDirectory) => {
65016
65034
  const packages = [];
65017
65035
  const pendingDirectories = [{
65018
65036
  directory: rootDirectory,
@@ -65025,7 +65043,7 @@ const discoverReactSubprojectsByFilesystem = (rootDirectory) => {
65025
65043
  const packageJsonPath = path$1$1.join(currentDirectory, "package.json");
65026
65044
  if (isFile(packageJsonPath)) {
65027
65045
  const packageJson = readPackageJson(packageJsonPath);
65028
- if (hasReactDependency(packageJson)) {
65046
+ if (hasSupportedProjectDependency(packageJson)) {
65029
65047
  const name = packageJson.name ?? path$1$1.basename(currentDirectory);
65030
65048
  packages.push({
65031
65049
  name,
@@ -65045,11 +65063,11 @@ const discoverReactSubprojectsByFilesystem = (rootDirectory) => {
65045
65063
  }
65046
65064
  return packages;
65047
65065
  };
65048
- const discoverReactSubprojects = (rootDirectory) => {
65066
+ const discoverSupportedSubprojects = (rootDirectory) => {
65049
65067
  if (!isDirectory(rootDirectory)) return [];
65050
65068
  const manifestPackages = listManifestWorkspacePackages(rootDirectory);
65051
65069
  if (manifestPackages.length > 0) return manifestPackages;
65052
- return discoverReactSubprojectsByFilesystem(rootDirectory);
65070
+ return discoverSupportedSubprojectsByFilesystem(rootDirectory);
65053
65071
  };
65054
65072
  const cachedProjectInfos = /* @__PURE__ */ new Map();
65055
65073
  /**
@@ -65320,16 +65338,31 @@ const discoverProject = (directory, options = {}) => {
65320
65338
  cachedProjectInfos.set(directory, projectInfo);
65321
65339
  return projectInfo;
65322
65340
  };
65341
+ const REACT_COMPATIBLE_FRAMEWORKS = new Set([
65342
+ "nextjs",
65343
+ "tanstack-start",
65344
+ "cra",
65345
+ "remix",
65346
+ "gatsby",
65347
+ "expo",
65348
+ "react-native",
65349
+ "preact"
65350
+ ]);
65323
65351
  /**
65324
- * A project is worth scanning when it has React/Preact (the framework-
65352
+ * Whether project discovery resolved a React-compatible runtime directly or
65353
+ * through a framework whose runtime is necessarily React-compatible.
65354
+ */
65355
+ const hasReactRuntime = (project) => project.reactVersion !== null || project.preactVersion !== null || REACT_COMPATIBLE_FRAMEWORKS.has(project.framework);
65356
+ /**
65357
+ * A project is worth scanning when it has a supported runtime (the runtime-
65325
65358
  * specific rules apply) OR it simply has source files to lint. The
65326
65359
  * second arm is what lets a plain TypeScript/JavaScript codebase — no
65327
65360
  * React dependency at all — run the framework-agnostic rules
65328
65361
  * (security, architecture, zod, bundle-size, …) instead of hard-failing
65329
- * with "No React dependency". Only a directory with neither React nor a
65330
- * single source file has nothing to analyze.
65362
+ * with "No React dependency". Only a directory with neither a supported
65363
+ * runtime nor a single source file has nothing to analyze.
65331
65364
  */
65332
- const isAnalyzableProject = (project) => project.reactVersion !== null || project.preactVersion !== null || project.sourceFileCount > 0;
65365
+ const isAnalyzableProject = (project) => hasReactRuntime(project) || project.hasThree === true || project.hasRemotion === true || project.sourceFileCount > 0;
65333
65366
  const LEGACY_RULE_KEY_TO_NATIVE_RULE_KEY = {
65334
65367
  "deslop/circular-dependency": "react-doctor/circular-dependency",
65335
65368
  "deslop/unused-dependency": "react-doctor/unused-dependency",
@@ -67503,11 +67536,11 @@ const resolveConfigRootDir = (config, configSourceDirectory) => {
67503
67536
  };
67504
67537
  const resolveDiagnoseTarget = (directory, options = {}) => {
67505
67538
  if (isFile(path$1$1.join(directory, "package.json"))) return directory;
67506
- const reactSubprojects = discoverReactSubprojects(directory);
67507
- if (reactSubprojects.length === 0) return null;
67508
- if (reactSubprojects.length === 1) return reactSubprojects[0].directory;
67539
+ const subprojects = discoverSupportedSubprojects(directory);
67540
+ if (subprojects.length === 0) return null;
67541
+ if (subprojects.length === 1) return subprojects[0].directory;
67509
67542
  if (options.allowAmbiguous === true) return null;
67510
- throw new AmbiguousProjectError(directory, reactSubprojects.map((subproject) => path$1$1.relative(directory, subproject.directory)).toSorted());
67543
+ throw new AmbiguousProjectError(directory, subprojects.map((subproject) => path$1$1.relative(directory, subproject.directory)).toSorted());
67511
67544
  };
67512
67545
  /**
67513
67546
  * The canonical entry-point translation shared by every public shell
@@ -69242,21 +69275,6 @@ function* collectSecurityScanFiles(rootDirectory, excludedDirectories = /* @__PU
69242
69275
  }
69243
69276
  }
69244
69277
  }
69245
- const REACT_COMPATIBLE_FRAMEWORKS = new Set([
69246
- "nextjs",
69247
- "tanstack-start",
69248
- "cra",
69249
- "remix",
69250
- "gatsby",
69251
- "expo",
69252
- "react-native",
69253
- "preact"
69254
- ]);
69255
- /**
69256
- * Whether project discovery resolved a React-compatible runtime directly or
69257
- * through a framework whose runtime is necessarily React-compatible.
69258
- */
69259
- const hasReactRuntime = (project) => project.reactVersion !== null || project.preactVersion !== null || REACT_COMPATIBLE_FRAMEWORKS.has(project.framework);
69260
69278
  const CLIENT_ONLY_FRAMEWORKS = new Set([
69261
69279
  "vite",
69262
69280
  "cra",
@@ -72876,7 +72894,7 @@ const buildRelatedLocations = (labels, filePath, sourceBuffer) => {
72876
72894
  const isOxlintSpan = (value) => isRecord(value) && typeof value.offset === "number" && typeof value.length === "number" && typeof value.line === "number" && typeof value.column === "number";
72877
72895
  const isOxlintLabel = (value) => isRecord(value) && isOxlintSpan(value.span);
72878
72896
  const isMappableOxlintDiagnostic = (value) => isRecord(value) && typeof value.code === "string" && value.code.length > 0 && typeof value.filename === "string" && value.filename.length > 0 && (value.severity === "warning" || value.severity === "error") && Array.isArray(value.labels) && value.labels.every(isOxlintLabel);
72879
- const isEngineFailureDiagnostic = (value) => !isRecord(value) || typeof value.filename !== "string" || value.filename.length === 0;
72897
+ const isEngineFailureDiagnostic = (value) => !isRecord(value) || typeof value.filename !== "string" || value.filename.length === 0 || typeof value.message === "string" && value.message.startsWith("Error running JS plugin.") && (typeof value.code !== "string" || value.code.length === 0) && Array.isArray(value.labels) && value.labels.length === 0;
72880
72898
  const isOxlintOutput = (value) => isRecord(value) && Array.isArray(value.diagnostics);
72881
72899
  /**
72882
72900
  * Parses one oxlint subprocess's stdout into a flat `Diagnostic[]`.
@@ -76450,7 +76468,7 @@ const makeNoopConsole = () => ({
76450
76468
  });
76451
76469
  //#endregion
76452
76470
  //#region src/cli/utils/version.ts
76453
- const VERSION = "0.9.12-dev.8c2f03a";
76471
+ const VERSION = "0.9.12-dev.f7efb7d";
76454
76472
  //#endregion
76455
76473
  //#region src/cli/utils/json-mode.ts
76456
76474
  let context = null;
@@ -76615,33 +76633,41 @@ const buildRunContext = () => {
76615
76633
  * omits `projectName` and `rootDirectory`, the two identifying fields, so the
76616
76634
  * project can't be tied back to a specific company/repo.
76617
76635
  */
76618
- const buildSentryProjectContext = (projectInfo) => ({
76619
- tags: {
76620
- "project.framework": projectInfo.framework,
76621
- "project.reactMajor": projectInfo.reactMajorVersion,
76622
- "project.typescript": projectInfo.hasTypeScript,
76623
- "project.reactCompiler": projectInfo.hasReactCompiler,
76624
- "project.expo": projectInfo.expoVersion !== null,
76625
- "project.reactNative": projectInfo.hasReactNativeWorkspace
76626
- },
76627
- context: {
76628
- framework: projectInfo.framework,
76629
- reactVersion: projectInfo.reactVersion,
76630
- reactMajorVersion: projectInfo.reactMajorVersion,
76631
- hasTypeScript: projectInfo.hasTypeScript,
76632
- hasReactCompiler: projectInfo.hasReactCompiler,
76633
- tanstackQueryVersion: projectInfo.tanstackQueryVersion,
76634
- mobxVersion: projectInfo.mobxVersion,
76635
- styledComponentsVersion: projectInfo.styledComponentsVersion,
76636
- tailwindVersion: projectInfo.tailwindVersion,
76637
- zodVersion: projectInfo.zodVersion,
76638
- preactVersion: projectInfo.preactVersion,
76639
- hasReactNativeWorkspace: projectInfo.hasReactNativeWorkspace,
76640
- expoVersion: projectInfo.expoVersion,
76641
- hasReanimated: projectInfo.hasReanimated,
76642
- sourceFileCount: projectInfo.sourceFileCount
76643
- }
76644
- });
76636
+ const buildSentryProjectContext = (projectInfo) => {
76637
+ const capabilities = buildCapabilities(projectInfo);
76638
+ const supportedRuntimes = [];
76639
+ if (capabilities.has("react")) supportedRuntimes.push("react");
76640
+ if (capabilities.has("three")) supportedRuntimes.push("three");
76641
+ if (capabilities.has("remotion")) supportedRuntimes.push("remotion");
76642
+ return {
76643
+ tags: {
76644
+ "project.framework": projectInfo.framework,
76645
+ "project.runtime": supportedRuntimes.join("+") || "unknown",
76646
+ "project.reactMajor": projectInfo.reactMajorVersion,
76647
+ "project.typescript": projectInfo.hasTypeScript,
76648
+ "project.reactCompiler": projectInfo.hasReactCompiler,
76649
+ "project.expo": projectInfo.expoVersion !== null,
76650
+ "project.reactNative": projectInfo.hasReactNativeWorkspace
76651
+ },
76652
+ context: {
76653
+ framework: projectInfo.framework,
76654
+ reactVersion: projectInfo.reactVersion,
76655
+ reactMajorVersion: projectInfo.reactMajorVersion,
76656
+ hasTypeScript: projectInfo.hasTypeScript,
76657
+ hasReactCompiler: projectInfo.hasReactCompiler,
76658
+ tanstackQueryVersion: projectInfo.tanstackQueryVersion,
76659
+ mobxVersion: projectInfo.mobxVersion,
76660
+ styledComponentsVersion: projectInfo.styledComponentsVersion,
76661
+ tailwindVersion: projectInfo.tailwindVersion,
76662
+ zodVersion: projectInfo.zodVersion,
76663
+ preactVersion: projectInfo.preactVersion,
76664
+ hasReactNativeWorkspace: projectInfo.hasReactNativeWorkspace,
76665
+ expoVersion: projectInfo.expoVersion,
76666
+ hasReanimated: projectInfo.hasReanimated,
76667
+ sourceFileCount: projectInfo.sourceFileCount
76668
+ }
76669
+ };
76670
+ };
76645
76671
  let currentProjectInfo = null;
76646
76672
  const setSentryProjectInfo = (projectInfo) => {
76647
76673
  currentProjectInfo = projectInfo;
@@ -76772,7 +76798,7 @@ const recordDistribution = (name, value, options = {}) => {
76772
76798
  } catch {}
76773
76799
  };
76774
76800
  //#endregion
76775
- export { Maintainability as $, CANONICAL_GITHUB_URL as $n, listSourceFiles as $t, SCAN_RESULT_CACHE_MAX_HASHED_FILE_SIZE_BYTES as A, makeSpan$1 as An, filterDiagnosticsForSurface as At, isGitHookEnvironment as B, try_ as Bn, getEquivalentRuleKeys as Bt, GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS as C, info as Cn, toCanonicalPath as Cr, computeConfigFingerprint as Ct, REACT_DOCTOR_CONFIG_PROJECT_NAME as D, decodeUnknownSync as Dn, createOxlintSpawnSlots as Dt, NANOSECONDS_PER_MILLISECOND as E, Diagnostic as En, createNodeReadFileLinesSync as Et, STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES as F, provideContext as Fn, formatReactDoctorError as Ft, isCiOrCodingAgentEnvironment as G, succeed$3 as Gn, highlighter as Gt, ACTION_INPUT_ENVIRONMENT_VARIABLES as H, buildWithScope as Hn, hasPublishedFixRecipe as Ht, TUI_REPORT_COMPACT_MAX_ROWS as I, provideService as In, getBaselineDiffPlan as It, Files as J, fail$5 as Jn, isProjectDiscoveryError as Jt, isCodingAgentEnvironment as K, close as Kn, isMonorepoRoot as Kt, TUI_REPORT_DETAIL_WIDTH_FRACTION as L, runPromise as Ln, getChangedLineRanges as Lt, SENTRY_FLUSH_TIMEOUT_MS as M, orElseSucceed as Mn, filterSourceFiles as Mt, SENTRY_RELEASE_PREFIX as N, promise as Nn, findLegacyConfig as Nt, RUN_GIT_MAX_BUFFER_BYTES as O, make$30 as On, detectAiTrainingEnvironment as Ot, STAGED_FILES_TEMP_DIR_PREFIX as P, provide as Pn, formatErrorChain as Pt, Linter as Q, CANONICAL_DISCORD_URL as Qn, layerObservability as Qt, CliInputError as R, runSync as Rn, getDiagnosticRuleIdentity as Rt, CI_TRUST_COMPANIES as S, error as Sn, messageFromUnknown as Sr, collectSourceFileCountsByDirectory as St, MINIMUM_VTE_VERSION_FOR_HYPERLINKS as T, warn$1 as Tn, countOptInProjectRuleSelections as Tt, detectRunnerOs as U, mergeAll$1 as Un, hasSupportedFrameworkOrLibrary as Ut, isDebugFlagEnabled as V, void_ as Vn, groupBy as Vt, isCiEnvironment as W, provide$2 as Wn, hashFileContents as Wt, LEGACY_CONFIG_FILENAME as X, ParentSpan as Xn, isSameRuleKey as Xt, Git as Y, void_$1 as Yn, isReactDoctorError as Yt, LintPartialFailures as Z, AXIOM_DEFAULT_DOMAIN as Zn, isScanComplete as Zt, makeNoopConsole as _, summarizeDiagnostics as _n, getCategoryImpact as _r, buildSkippedChecks as _t, isEnvFlagEnabled as a, mergeReactDoctorConfigs as an, DOCS_URL as ar, Project as at, AXIOM_TRACES_DATASET as b, yieldToEventLoop as bn, isFile as br, classifyFileContext as bt, setSentryProjectInfo as c, resolveLintBatchOrdering as cn, GIT_SHOW_MAX_BUFFER_BYTES as cr, SidecarLintCacheEnabled as ct, isJsonModeActive as d, resolveScanTarget as dn, JSX_FILE_PATTERN as dr, anonymizeInPlace as dt, listSourceFilesCooperative as en, CI_URL as er, NodeResolver as et, setJsonReportDirectory as f, restoreLegacyThrow as fn, MILLISECONDS_PER_SECOND as fr, anonymizeText as ft, VERSION as g, shouldUseMaintainabilityLayer as gn, STAGED_FILES_PROJECT_CONFIG_FILENAMES as gr, buildRuleSeverityControls as gt, writeJsonReport as h, setColorEnabled as hn, SKILL_NAME as hr, buildRuleDocsUrl as ht, isTelemetryEnabled as i, materializeSourceTree as in, DIAGNOSTIC_CATEGORY_BUCKETS as ir, Progress as it, SENTRY_DSN as j, map$3 as jn, filterPathsOutsideDirectories as jt, SCAN_RESULT_CACHE_FILENAME as k, gen as kn, discoverReactSubprojects as kt, getRunId as l, resolveReactDoctorCacheDir as ln, HTML_FILE_PATTERN as lr, StagedFiles as lt, writeJsonErrorReport as m, scrubSensitivePaths as mn, SHARE_BASE_URL as mr, buildJsonReport as mt, recordDistribution as n, loadConfigWithSource as nn, COMPILER_CLEANUP_RULE_KEYS as nr, OxlintSpawnSlots as nt, buildSentryScope as o, remainingDeadlineBudgetMs as on, ENTERPRISE_CONTACT_URL as or, Reporter as ot, setJsonReportMode as p, runInspect as pn, OXLINT_NODE_REQUIREMENT as pr, atomicWriteJson as pt, Config as q, makeUnsafe$5 as qn, isPathInsideDirectory as qt, toSpanAttributes as r, mapWithConcurrency as rn, CONFIG_SCHEMA_URL as rr, PerFileLintCacheEnabled as rt, buildSentryProjectContext as s, resolveGithubActionsScoreMetadata as sn, GITHUB_ACTIONS_SETUP_URL as sr, Score as st, recordCount as t, listWorkspacePackages as tn, COMPILER_CLEANUP_BUCKET as tr, OxlintConcurrency as tt, enableJsonMode as u, resolveScanConcurrency as un, JSX_DUPLICATION_SOURCE_FILE_PATTERN as ur, SupplyChain as ut, AXIOM_INGEST_TOKEN as v, toRelativePath as vn, isDirectory as vr, calculateScore as vt, METRIC as w, log as wn, computeDiagnosticDelta as wt, BASELINE_FILES_TEMP_DIR_PREFIX as x, Console as xn, isPlainObject as xr, clearConfigCache as xt, AXIOM_METRICS_DATASET as y, validateConfigTypes as yn, isErrnoException as yr, canonicalizeUserRuleKey as yt, isNonInteractiveEnvironment as z, sync as zn, getDiffInfo as zt };
76801
+ export { Maintainability as $, CANONICAL_GITHUB_URL as $n, listSourceFiles as $t, SCAN_RESULT_CACHE_MAX_HASHED_FILE_SIZE_BYTES as A, makeSpan$1 as An, filterDiagnosticsForSurface as At, isGitHookEnvironment as B, try_ as Bn, getEquivalentRuleKeys as Bt, GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS as C, info as Cn, toCanonicalPath as Cr, computeConfigFingerprint as Ct, REACT_DOCTOR_CONFIG_PROJECT_NAME as D, decodeUnknownSync as Dn, createOxlintSpawnSlots as Dt, NANOSECONDS_PER_MILLISECOND as E, Diagnostic as En, createNodeReadFileLinesSync as Et, STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES as F, provideContext as Fn, formatReactDoctorError as Ft, isCiOrCodingAgentEnvironment as G, succeed$3 as Gn, highlighter as Gt, ACTION_INPUT_ENVIRONMENT_VARIABLES as H, buildWithScope as Hn, hasPublishedFixRecipe as Ht, TUI_REPORT_COMPACT_MAX_ROWS as I, provideService as In, getBaselineDiffPlan as It, Files as J, fail$5 as Jn, isProjectDiscoveryError as Jt, isCodingAgentEnvironment as K, close as Kn, isMonorepoRoot as Kt, TUI_REPORT_DETAIL_WIDTH_FRACTION as L, runPromise as Ln, getChangedLineRanges as Lt, SENTRY_FLUSH_TIMEOUT_MS as M, orElseSucceed as Mn, filterSourceFiles as Mt, SENTRY_RELEASE_PREFIX as N, promise as Nn, findLegacyConfig as Nt, RUN_GIT_MAX_BUFFER_BYTES as O, make$30 as On, detectAiTrainingEnvironment as Ot, STAGED_FILES_TEMP_DIR_PREFIX as P, provide as Pn, formatErrorChain as Pt, Linter as Q, CANONICAL_DISCORD_URL as Qn, layerObservability as Qt, CliInputError as R, runSync as Rn, getDiagnosticRuleIdentity as Rt, CI_TRUST_COMPANIES as S, error as Sn, messageFromUnknown as Sr, collectSourceFileCountsByDirectory as St, MINIMUM_VTE_VERSION_FOR_HYPERLINKS as T, warn$1 as Tn, countOptInProjectRuleSelections as Tt, detectRunnerOs as U, mergeAll$1 as Un, hasSupportedFrameworkOrLibrary as Ut, isDebugFlagEnabled as V, void_ as Vn, groupBy as Vt, isCiEnvironment as W, provide$2 as Wn, hashFileContents as Wt, LEGACY_CONFIG_FILENAME as X, ParentSpan as Xn, isSameRuleKey as Xt, Git as Y, void_$1 as Yn, isReactDoctorError as Yt, LintPartialFailures as Z, AXIOM_DEFAULT_DOMAIN as Zn, isScanComplete as Zt, makeNoopConsole as _, summarizeDiagnostics as _n, getCategoryImpact as _r, buildSkippedChecks as _t, isEnvFlagEnabled as a, mergeReactDoctorConfigs as an, DOCS_URL as ar, Project as at, AXIOM_TRACES_DATASET as b, yieldToEventLoop as bn, isFile as br, classifyFileContext as bt, setSentryProjectInfo as c, resolveLintBatchOrdering as cn, GIT_SHOW_MAX_BUFFER_BYTES as cr, SidecarLintCacheEnabled as ct, isJsonModeActive as d, resolveScanTarget as dn, JSX_FILE_PATTERN as dr, anonymizeInPlace as dt, listSourceFilesCooperative as en, CI_URL as er, NodeResolver as et, setJsonReportDirectory as f, restoreLegacyThrow as fn, MILLISECONDS_PER_SECOND as fr, anonymizeText as ft, VERSION as g, shouldUseMaintainabilityLayer as gn, STAGED_FILES_PROJECT_CONFIG_FILENAMES as gr, buildRuleSeverityControls as gt, writeJsonReport as h, setColorEnabled as hn, SKILL_NAME as hr, buildRuleDocsUrl as ht, isTelemetryEnabled as i, materializeSourceTree as in, DIAGNOSTIC_CATEGORY_BUCKETS as ir, Progress as it, SENTRY_DSN as j, map$3 as jn, filterPathsOutsideDirectories as jt, SCAN_RESULT_CACHE_FILENAME as k, gen as kn, discoverSupportedSubprojects as kt, getRunId as l, resolveReactDoctorCacheDir as ln, HTML_FILE_PATTERN as lr, StagedFiles as lt, writeJsonErrorReport as m, scrubSensitivePaths as mn, SHARE_BASE_URL as mr, buildJsonReport as mt, recordDistribution as n, loadConfigWithSource as nn, COMPILER_CLEANUP_RULE_KEYS as nr, OxlintSpawnSlots as nt, buildSentryScope as o, remainingDeadlineBudgetMs as on, ENTERPRISE_CONTACT_URL as or, Reporter as ot, setJsonReportMode as p, runInspect as pn, OXLINT_NODE_REQUIREMENT as pr, atomicWriteJson as pt, Config as q, makeUnsafe$5 as qn, isPathInsideDirectory as qt, toSpanAttributes as r, mapWithConcurrency as rn, CONFIG_SCHEMA_URL as rr, PerFileLintCacheEnabled as rt, buildSentryProjectContext as s, resolveGithubActionsScoreMetadata as sn, GITHUB_ACTIONS_SETUP_URL as sr, Score as st, recordCount as t, listWorkspacePackages as tn, COMPILER_CLEANUP_BUCKET as tr, OxlintConcurrency as tt, enableJsonMode as u, resolveScanConcurrency as un, JSX_DUPLICATION_SOURCE_FILE_PATTERN as ur, SupplyChain as ut, AXIOM_INGEST_TOKEN as v, toRelativePath as vn, isDirectory as vr, calculateScore as vt, METRIC as w, log as wn, computeDiagnosticDelta as wt, BASELINE_FILES_TEMP_DIR_PREFIX as x, Console as xn, isPlainObject as xr, clearConfigCache as xt, AXIOM_METRICS_DATASET as y, validateConfigTypes as yn, isErrnoException as yr, canonicalizeUserRuleKey as yt, isNonInteractiveEnvironment as z, sync as zn, getDiffInfo as zt };
76776
76802
 
76777
- //# sourceMappingURL=record-metric-DospZkfP.js.map
76778
- //# debugId=7fbceb12-b91b-5945-969c-c6bfc4005674
76803
+ //# sourceMappingURL=record-metric-DFQYh2Mf.js.map
76804
+ //# debugId=52765b53-f0a2-5ce1-a6e9-3cb568adcd7b
@@ -1,7 +1,7 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bb274751-db2b-5c4e-8c87-e0dd2aba2a33")}catch(e){}}();
3
- import { $n as CANONICAL_GITHUB_URL, Ft as formatReactDoctorError, Gt as highlighter, M as SENTRY_FLUSH_TIMEOUT_MS, Pt as formatErrorChain, Qn as CANONICAL_DISCORD_URL, Rn as runSync, Sn as error, Yt as isReactDoctorError, g as VERSION, kn as gen, l as getRunId, o as buildSentryScope, t as recordCount, w as METRIC, yr as isErrnoException } from "./record-metric-DospZkfP.js";
4
- import { c as isExpectedUserError, i as recordRunTraceId, l as formatEnvironmentError, n as getActiveRunTrace, s as shutdownTelemetry, u as isEnvironmentError } from "./unref-stdin-BGZVK4sJ.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="da91f1bc-89c8-5d9b-b5fc-739632a5d364")}catch(e){}}();
3
+ import { $n as CANONICAL_GITHUB_URL, Ft as formatReactDoctorError, Gt as highlighter, M as SENTRY_FLUSH_TIMEOUT_MS, Pt as formatErrorChain, Qn as CANONICAL_DISCORD_URL, Rn as runSync, Sn as error, Yt as isReactDoctorError, g as VERSION, kn as gen, l as getRunId, o as buildSentryScope, t as recordCount, w as METRIC, yr as isErrnoException } from "./record-metric-DFQYh2Mf.js";
4
+ import { c as isExpectedUserError, i as recordRunTraceId, l as formatEnvironmentError, n as getActiveRunTrace, s as shutdownTelemetry, u as isEnvironmentError } from "./unref-stdin-C5xln9RW.js";
5
5
  import * as Sentry from "@sentry/node";
6
6
  //#region src/cli/utils/handle-error.ts
7
7
  const OTLP_ENDPOINT_ENVIRONMENT_VARIABLE = "REACT_DOCTOR_OTLP_ENDPOINT";
@@ -160,5 +160,5 @@ const reportErrorToSentry = async (error) => {
160
160
  //#endregion
161
161
  export { handleError as n, handleUserError as r, reportErrorToSentry as t };
162
162
 
163
- //# sourceMappingURL=report-error-CAp5cil9.js.map
164
- //# debugId=bb274751-db2b-5c4e-8c87-e0dd2aba2a33
163
+ //# sourceMappingURL=report-error-Bg7eABmv.js.map
164
+ //# debugId=da91f1bc-89c8-5d9b-b5fc-739632a5d364
@@ -1,7 +1,7 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bcde98e7-6cfc-5ebf-b731-f75373402609")}catch(e){}}();
3
- import { D as REACT_DOCTOR_CONFIG_PROJECT_NAME, t as recordCount, w as METRIC } from "./record-metric-DospZkfP.js";
4
- import { u as isCommandAvailable } from "./install-github-workflow-Dg2sosDx.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6ea8dcd1-4399-582a-8d02-b184d02f4636")}catch(e){}}();
3
+ import { D as REACT_DOCTOR_CONFIG_PROJECT_NAME, t as recordCount, w as METRIC } from "./record-metric-DFQYh2Mf.js";
4
+ import { u as isCommandAvailable } from "./install-github-workflow-telZkaCp.js";
5
5
  import { spawn } from "node:child_process";
6
6
  import * as path$1 from "node:path";
7
7
  import process$1 from "node:process";
@@ -275,5 +275,5 @@ const reportWorkflowResult = (workflowSpinner, result, projectRoot) => {
275
275
  //#endregion
276
276
  export { recordGate as a, ACTION_UPGRADE_EVENT as c, INSTALL_AGENTS_PREFERENCE_ID as d, ONBOARDING_EVENT as f, detectAvailableAgents as h, readPreference as i, CI_PITCH_EVENT as l, computeDefaultSelectedAgents as m, openUrl as n, runMigrations as o, SETUP_HINT_EVENT as p, isGatePending as r, writePreference as s, reportWorkflowResult as t, HANDOFF_TARGET_PREFERENCE_ID as u };
277
277
 
278
- //# sourceMappingURL=report-workflow-result-D0GvvJtT.js.map
279
- //# debugId=bcde98e7-6cfc-5ebf-b731-f75373402609
278
+ //# sourceMappingURL=report-workflow-result-Dd3jJHJr.js.map
279
+ //# debugId=6ea8dcd1-4399-582a-8d02-b184d02f4636
@@ -1,8 +1,8 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="037a8a3c-8afa-5a84-86e4-8b751b0095d7")}catch(e){}}();
3
- import { Cr as toCanonicalPath, Mt as filterSourceFiles, qt as isPathInsideDirectory } from "./record-metric-DospZkfP.js";
4
- import { L as cliLogger } from "./install-doctor-script-BAmTZygh.js";
5
- import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-Dg2sosDx.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fdb621a7-f4fb-514e-8abc-7446ccb36b98")}catch(e){}}();
3
+ import { Cr as toCanonicalPath, Mt as filterSourceFiles, qt as isPathInsideDirectory } from "./record-metric-DFQYh2Mf.js";
4
+ import { L as cliLogger } from "./install-doctor-script-rddKhKYf.js";
5
+ import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-telZkaCp.js";
6
6
  import * as path$1 from "node:path";
7
7
  //#region src/cli/utils/path-format.ts
8
8
  const toForwardSlashes = (filePath) => filePath.replaceAll("\\", "/");
@@ -335,5 +335,5 @@ const finalizeScope = async ({ requested, diffInfo, skipPrompts, isQuiet }) => {
335
335
  //#endregion
336
336
  export { isValidBlockingLevel as a, openWorkflowPullRequest as c, warnDeprecatedDiff as i, stageWorkflowFile as l, isScopeValue as n, pickBlockingLevel as o, resolveScope as r, resolveBlockingLevel as s, finalizeScope as t, toForwardSlashes as u };
337
337
 
338
- //# sourceMappingURL=resolve-scope-eXawiGEH.js.map
339
- //# debugId=037a8a3c-8afa-5a84-86e4-8b751b0095d7
338
+ //# sourceMappingURL=resolve-scope-CsMf2eUG.js.map
339
+ //# debugId=fdb621a7-f4fb-514e-8abc-7446ccb36b98
@@ -1,8 +1,8 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0c7a6e34-f5d9-5b95-906c-ddadbccdbf4b")}catch(e){}}();
3
- import { Bt as getEquivalentRuleKeys, Gt as highlighter, Xt as isSameRuleKey, ht as buildRuleDocsUrl, nn as loadConfigWithSource, nr as COMPILER_CLEANUP_RULE_KEYS, t as recordCount, tr as COMPILER_CLEANUP_BUCKET, w as METRIC, xr as isPlainObject, xt as clearConfigCache, yn as validateConfigTypes } from "./record-metric-DospZkfP.js";
4
- import { L as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-BAmTZygh.js";
5
- import { t as readObjectFile } from "./read-object-file-m5uVvcBp.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d0a7afdb-a927-532a-a4de-26b4870cfd19")}catch(e){}}();
3
+ import { Bt as getEquivalentRuleKeys, Gt as highlighter, Xt as isSameRuleKey, ht as buildRuleDocsUrl, nn as loadConfigWithSource, nr as COMPILER_CLEANUP_RULE_KEYS, t as recordCount, tr as COMPILER_CLEANUP_BUCKET, w as METRIC, xr as isPlainObject, xt as clearConfigCache, yn as validateConfigTypes } from "./record-metric-DFQYh2Mf.js";
4
+ import { L as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-rddKhKYf.js";
5
+ import { t as readObjectFile } from "./read-object-file-0FXK_1Lr.js";
6
6
  import * as path$1 from "node:path";
7
7
  import * as fs$1 from "node:fs";
8
8
  import { REACT_DOCTOR_RULES } from "oxlint-plugin-react-doctor/core";
@@ -577,5 +577,5 @@ const rulesUnignoreTagAction = async (tag, options) => {
577
577
  //#endregion
578
578
  export { rulesCategoryAction, rulesDisableAction, rulesEnableAction, rulesExplainAction, rulesIgnoreTagAction, rulesListAction, rulesSetAction, rulesUnignoreTagAction };
579
579
 
580
- //# sourceMappingURL=rules-C_xYDSz8.js.map
581
- //# debugId=0c7a6e34-f5d9-5b95-906c-ddadbccdbf4b
580
+ //# sourceMappingURL=rules-Bmw6adjU.js.map
581
+ //# debugId=d0a7afdb-a927-532a-a4de-26b4870cfd19
@@ -1,13 +1,13 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="50145362-1993-5a7c-9cd2-3402c0d2bb68")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2bf8f852-8d53-5147-959b-00b16af5734e")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
- import { B as isGitHookEnvironment, Gn as succeed, Gt as highlighter, Ht as hasPublishedFixRecipe, I as TUI_REPORT_COMPACT_MAX_ROWS, It as getBaselineDiffPlan, L as TUI_REPORT_DETAIL_WIDTH_FRACTION, Ln as runPromise, Lt as getChangedLineRanges, S as CI_TRUST_COMPANIES, Vn as void_, W as isCiEnvironment, _r as getCategoryImpact, bn as yieldToEventLoop, dn as resolveScanTarget, ht as buildRuleDocsUrl, ir as DIAGNOSTIC_CATEGORY_BUCKETS, it as Progress, n as recordDistribution, on as remainingDeadlineBudgetMs, ot as Reporter, qt as isPathInsideDirectory, rn as mapWithConcurrency, sr as GITHUB_ACTIONS_SETUP_URL, t as recordCount, vt as calculateScore, w as METRIC, zn as sync, zt as getDiffInfo } from "./record-metric-DospZkfP.js";
5
- import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-vUI1H1zC.js";
6
- import { L as cliLogger, d as stripAnsi, f as isUnicodeSupported, l as isFullWidth$1, n as findNearestPackageDirectory, p as chalk, u as isWide$1 } from "./install-doctor-script-BAmTZygh.js";
7
- import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-Dg2sosDx.js";
8
- import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope, u as toForwardSlashes } from "./resolve-scope-eXawiGEH.js";
9
- import { A as resolveMergeBaseRef, B as buildNoScoreMessage, C as copyToClipboard, D as deduplicateProjectScans, E as collectProjectSourceFileCounts, F as printFooter, G as formatFixRecipeLine, H as hasLintHardFailure, I as printDiagnosticsDump, K as formatLearnMoreLine, L as formatDiagnosticSite, M as pluralize, N as formatSkippedCheckLabel, O as createInvocationInspect, P as formatElapsedTime, R as hasIncompleteScoreAnalysis, S as CLI_AGENT_BINARIES, T as buildHandoffPayload, U as buildRulePriorityMap, V as buildEmptyReportMessage, W as buildSortedRuleGroups, _ as resolveCliInspectOptions, a as projectManifestChanged, b as setUpGitHubActions, c as selectProjects, d as resolveProjectChangedLineRanges, f as resolveProjectDiffIncludePaths, g as resolveWorkspaceDeadCodeOwner, h as retryMissingProjectScores, l as buildCodeFrame, n as formatSkippedProjectsMessage, o as partitionProjectScanOutcomes, p as resolveProjectSourceFilePaths, r as validateIncludeUntrackedScope, s as discoverWorkspacePackages, t as shouldFailScanGate, u as resolveProjectScan, v as filterScansForSurface, w as launchCliAgent, x as detectLaunchableAgents, y as countUniqueScannedFiles, z as filterDiagnosticsByCategories } from "./should-fail-scan-gate-BWTNIU5h.js";
10
- import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-D0GvvJtT.js";
4
+ import { B as isGitHookEnvironment, Gn as succeed, Gt as highlighter, Ht as hasPublishedFixRecipe, I as TUI_REPORT_COMPACT_MAX_ROWS, It as getBaselineDiffPlan, L as TUI_REPORT_DETAIL_WIDTH_FRACTION, Ln as runPromise, Lt as getChangedLineRanges, S as CI_TRUST_COMPANIES, Vn as void_, W as isCiEnvironment, _r as getCategoryImpact, bn as yieldToEventLoop, dn as resolveScanTarget, ht as buildRuleDocsUrl, ir as DIAGNOSTIC_CATEGORY_BUCKETS, it as Progress, n as recordDistribution, on as remainingDeadlineBudgetMs, ot as Reporter, qt as isPathInsideDirectory, rn as mapWithConcurrency, sr as GITHUB_ACTIONS_SETUP_URL, t as recordCount, vt as calculateScore, w as METRIC, zn as sync, zt as getDiffInfo } from "./record-metric-DFQYh2Mf.js";
5
+ import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-Z8iBwlMI.js";
6
+ import { L as cliLogger, d as stripAnsi, f as isUnicodeSupported, l as isFullWidth$1, n as findNearestPackageDirectory, p as chalk, u as isWide$1 } from "./install-doctor-script-rddKhKYf.js";
7
+ import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-telZkaCp.js";
8
+ import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope, u as toForwardSlashes } from "./resolve-scope-CsMf2eUG.js";
9
+ import { A as resolveMergeBaseRef, B as buildNoScoreMessage, C as copyToClipboard, D as deduplicateProjectScans, E as collectProjectSourceFileCounts, F as printFooter, G as formatFixRecipeLine, H as hasLintHardFailure, I as printDiagnosticsDump, K as formatLearnMoreLine, L as formatDiagnosticSite, M as pluralize, N as formatSkippedCheckLabel, O as createInvocationInspect, P as formatElapsedTime, R as hasIncompleteScoreAnalysis, S as CLI_AGENT_BINARIES, T as buildHandoffPayload, U as buildRulePriorityMap, V as buildEmptyReportMessage, W as buildSortedRuleGroups, _ as resolveCliInspectOptions, a as projectManifestChanged, b as setUpGitHubActions, c as selectProjects, d as resolveProjectChangedLineRanges, f as resolveProjectDiffIncludePaths, g as resolveWorkspaceDeadCodeOwner, h as retryMissingProjectScores, l as buildCodeFrame, n as formatSkippedProjectsMessage, o as partitionProjectScanOutcomes, p as resolveProjectSourceFilePaths, r as validateIncludeUntrackedScope, s as discoverWorkspacePackages, t as shouldFailScanGate, u as resolveProjectScan, v as filterScansForSurface, w as launchCliAgent, x as detectLaunchableAgents, y as countUniqueScannedFiles, z as filterDiagnosticsByCategories } from "./should-fail-scan-gate-Cd68GDY-.js";
10
+ import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-Dd3jJHJr.js";
11
11
  import { EventEmitter } from "node:events";
12
12
  import { execFileSync } from "node:child_process";
13
13
  import path from "node:path";
@@ -25792,10 +25792,14 @@ const ScoreHeader = ({ variant, score, projectedScore, projectName, issueCount,
25792
25792
  const [eyes, mouth] = doctorFace(score.score);
25793
25793
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Box, {
25794
25794
  flexDirection: "column",
25795
+ width: availableWidth,
25795
25796
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Box, {
25796
25797
  paddingLeft: 2,
25798
+ width: availableWidth,
25797
25799
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Box, {
25798
25800
  flexDirection: "column",
25801
+ flexShrink: 0,
25802
+ width: 7,
25799
25803
  marginRight: 2,
25800
25804
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Text, {
25801
25805
  color: scoreColor,
@@ -25803,6 +25807,7 @@ const ScoreHeader = ({ variant, score, projectedScore, projectName, issueCount,
25803
25807
  })
25804
25808
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Box, {
25805
25809
  flexDirection: "column",
25810
+ width: availableWidth - 11,
25806
25811
  children: [
25807
25812
  scoreSummaryLine,
25808
25813
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Text, {
@@ -28358,5 +28363,5 @@ const runScanApp = async (input) => {
28358
28363
  //#endregion
28359
28364
  export { runScanApp };
28360
28365
 
28361
- //# sourceMappingURL=run-scan-app-CeNk17wq.js.map
28362
- //# debugId=50145362-1993-5a7c-9cd2-3402c0d2bb68
28366
+ //# sourceMappingURL=run-scan-app-CwcrBTC4.js.map
28367
+ //# debugId=2bf8f852-8d53-5147-959b-00b16af5734e
@@ -1,9 +1,9 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7fe192ab-c44e-59a0-9534-f1f0933d6d80")}catch(e){}}();
3
- import { dn as resolveScanTarget, t as recordCount, w as METRIC, z as isNonInteractiveEnvironment } from "./record-metric-DospZkfP.js";
4
- import { i as warnDeprecatedDiff } from "./resolve-scope-eXawiGEH.js";
5
- import { _ as resolveCliInspectOptions, i as validateModeFlags } from "./should-fail-scan-gate-BWTNIU5h.js";
6
- import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-RxIsB8bi.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2682768e-47ca-54cd-9b4f-d32f4e17720e")}catch(e){}}();
3
+ import { dn as resolveScanTarget, t as recordCount, w as METRIC, z as isNonInteractiveEnvironment } from "./record-metric-DFQYh2Mf.js";
4
+ import { i as warnDeprecatedDiff } from "./resolve-scope-CsMf2eUG.js";
5
+ import { _ as resolveCliInspectOptions, i as validateModeFlags } from "./should-fail-scan-gate-Cd68GDY-.js";
6
+ import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-qNFSJB8s.js";
7
7
  import path from "node:path";
8
8
  //#region src/cli/utils/should-use-tui.ts
9
9
  const shouldUseTui = (input) => {
@@ -34,7 +34,7 @@ const runScanCommand = async (input) => {
34
34
  warnDeprecatedFailOn(input.flags, scanTarget.userConfig);
35
35
  warnDeprecatedDiff(input.flags, scanTarget.userConfig);
36
36
  recordCount(METRIC.cliInvoked, 1, { command: input.invocationCommand });
37
- const { runScanApp } = await import("./run-scan-app-CeNk17wq.js");
37
+ const { runScanApp } = await import("./run-scan-app-CwcrBTC4.js");
38
38
  const { shouldFail } = await runScanApp({
39
39
  directory: input.directory,
40
40
  scanTarget,
@@ -49,5 +49,5 @@ const runScanCommand = async (input) => {
49
49
  //#endregion
50
50
  export { runScanCommand };
51
51
 
52
- //# sourceMappingURL=scan-DIwsgV6M.js.map
53
- //# debugId=7fe192ab-c44e-59a0-9534-f1f0933d6d80
52
+ //# sourceMappingURL=scan-D7bmiqv1.js.map
53
+ //# debugId=2682768e-47ca-54cd-9b4f-d32f4e17720e