react-doctor 0.9.23-dev.190b5b6 → 0.9.23-dev.914288

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 (35) hide show
  1. package/dist/{build-section-divider-BU7zNHk5.js → build-section-divider-Bv6jQk-E.js} +4 -4
  2. package/dist/{ci-CxQu6pYP.js → ci-B8afbBoW.js} +12 -12
  3. package/dist/cli.js +23 -23
  4. package/dist/{design-C34SZKwj.js → design-CcUN1Jip.js} +4 -4
  5. package/dist/{exit-gracefully-CkEQoYgZ.js → exit-gracefully-Cq1bsuE6.js} +6 -6
  6. package/dist/{handle-error-BzkQHg93.js → handle-error-Ba8t0xeb.js} +5 -5
  7. package/dist/index.d.ts +16 -1
  8. package/dist/index.js +32 -3
  9. package/dist/{inspect-hnNj6rGU.js → inspect-DYvm2Pqz.js} +15 -15
  10. package/dist/{install-Phi-3Ez6.js → install-C5mGCS73.js} +9 -9
  11. package/dist/{install-doctor-script-_STqoxaF.js → install-doctor-script-CM-EsTMG.js} +4 -4
  12. package/dist/{install-github-workflow-CrKVCl4g.js → install-github-workflow-CcHpTcbF.js} +5 -5
  13. package/dist/{install-react-doctor-B8HIm5Lp.js → install-react-doctor-BTzsy5D8.js} +8 -8
  14. package/dist/{jsx-runtime-DiY2NpiM.js → jsx-runtime-CM3Qox2z.js} +5 -5
  15. package/dist/{print-branded-header-FknctS29.js → print-branded-header-Cl9pq3wX.js} +4 -4
  16. package/dist/{prompt-runtime-scan-url-DlatGgXM.js → prompt-runtime-scan-url-CdX8_-zp.js} +5 -5
  17. package/dist/{read-object-file-DHewkQSw.js → read-object-file-BZMZsmjT.js} +4 -4
  18. package/dist/{record-metric-vW6WPfqn.js → record-metric-DoDZMuu-.js} +34 -5
  19. package/dist/{report-error-BjXxJDFZ.js → report-error-DBzm7ftW.js} +5 -5
  20. package/dist/{report-workflow-result-CDrgxyIL.js → report-workflow-result-BF8zlvi8.js} +5 -5
  21. package/dist/{resolve-scan-exit-code-C-YB4nGN.js → resolve-scan-exit-code-C59pwN3F.js} +12 -11
  22. package/dist/{resolve-scope-C0FwbRLp.js → resolve-scope-DCmzxflA.js} +6 -6
  23. package/dist/{rules-C6snQ3OR.js → rules-DazoZOWd.js} +6 -6
  24. package/dist/{run-scan-app-_LByQegJ.js → run-scan-app-BQqAts4I.js} +10 -10
  25. package/dist/{runtime-scan-Ccac6VQX.js → runtime-scan-4_rZlWL8.js} +9 -9
  26. package/dist/{sanitize-runtime-url-DtyYWhiJ.js → sanitize-runtime-url-2ZBGF1rZ.js} +4 -4
  27. package/dist/{scan-Dh42XoyC.js → scan-DuLBrS-N.js} +9 -9
  28. package/dist/{should-skip-prompts-DTeGXHCQ.js → should-skip-prompts-B5xkd3Ya.js} +4 -4
  29. package/dist/{should-use-tui-BVBFFxIp.js → should-use-tui-Bt-1obKW.js} +4 -4
  30. package/dist/skills/react-doctor/references/explain.md +21 -0
  31. package/dist/{telemetry-runtime-ChQH6lX-.js → telemetry-runtime-BSotzON4.js} +6 -6
  32. package/dist/{version-D4xkODb4.js → version-Cv6uq1Xy.js} +4 -4
  33. package/dist/{why-CSKd9jLA.js → why-C5FH8NuC.js} +4 -4
  34. package/dist/{with-run-span-DurLMv1A.js → with-run-span-B7tfrIxt.js} +5 -5
  35. package/package.json +2 -2
@@ -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]="f39abf3f-a83a-57eb-9ce9-88d002e13abd")}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]="d17f0399-fd85-5541-baf0-b4063824a7ae")}catch(e){}}();
3
3
  import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
4
- import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-DtyYWhiJ.js";
5
- import { a as useExitOnCtrlC, c as Spinner, d as useInput, h as Box, i as import_react, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime } from "./jsx-runtime-DiY2NpiM.js";
4
+ import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-2ZBGF1rZ.js";
5
+ import { a as useExitOnCtrlC, c as Spinner, d as useInput, h as Box, i as import_react, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime } from "./jsx-runtime-CM3Qox2z.js";
6
6
  import * as http from "node:http";
7
7
  //#region src/cli/runtime-scan/detect-local-runtime-urls.ts
8
8
  const LOCAL_HTTP_HOSTS = ["127.0.0.1", "::1"];
@@ -236,5 +236,5 @@ const promptRuntimeScanUrl = () => new Promise((resolve) => {
236
236
  //#endregion
237
237
  export { promptRuntimeScanUrl };
238
238
 
239
- //# sourceMappingURL=prompt-runtime-scan-url-DlatGgXM.js.map
240
- //# debugId=f39abf3f-a83a-57eb-9ce9-88d002e13abd
239
+ //# sourceMappingURL=prompt-runtime-scan-url-CdX8_-zp.js.map
240
+ //# debugId=d17f0399-fd85-5541-baf0-b4063824a7ae
@@ -1,6 +1,6 @@
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]="5a97b7ff-500d-594b-ade4-27d5b5d6ba17")}catch(e){}}();
3
- import { Kn as isPlainObject } from "./record-metric-vW6WPfqn.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]="9156f1b5-ce3e-5016-94c6-4d6b11601a8c")}catch(e){}}();
3
+ import { Kn as isPlainObject } from "./record-metric-DoDZMuu-.js";
4
4
  import * as fs$1 from "node:fs";
5
5
  import { parseJSON5 } from "confbox";
6
6
  //#region src/cli/utils/read-object-file.ts
@@ -20,5 +20,5 @@ const readObjectFile = (filePath) => {
20
20
  //#endregion
21
21
  export { readObjectFile as t };
22
22
 
23
- //# sourceMappingURL=read-object-file-DHewkQSw.js.map
24
- //# debugId=5a97b7ff-500d-594b-ade4-27d5b5d6ba17
23
+ //# sourceMappingURL=read-object-file-BZMZsmjT.js.map
24
+ //# debugId=9156f1b5-ce3e-5016-94c6-4d6b11601a8c
@@ -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]="860e2d53-ec55-529b-a297-6f138d750c5d")}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]="6a6c47c3-0736-5aa9-870a-a64e511f0051")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
4
  import { $ as warmReactCompilerDetection, $t as OXLINT_SPLIT_TOTAL_BUDGET_MS, A as buildGitSourceListingRequest, An as TAILWIND_POSTCSS7_COMPAT_ALIAS, B as resolveGitCommand, Bt as MAINTAINABILITY_CATEGORY, Cn as SUPPLY_CHAIN_CACHE_SUBDIR, Dn as SUPPLY_CHAIN_OVERLAP_TIMEOUT_MS, Dt as FILE_LINT_CACHE_MAX_FILE_COUNT, En as SUPPLY_CHAIN_IGNORED_PACKAGES, Et as FILE_LINT_CACHE_FILENAME, F as lowerChildProcessPriority, Fn as TYPESCRIPT_DECLARATION_FILE_PATTERN, Ft as GIT_SOURCE_LISTING_ARGUMENTS, G as resolvePluginPath, Gt as MILLISECONDS_PER_SECOND, H as resolveOxlintThreadCount, Ht as MAINTAINABILITY_PLUGIN, In as VERCEL_NEXTJS_SECURITY_RELEASE_URL, It as HTML_FILE_PATTERN, J as resolveTsConfigRelativePath, Jt as OXLINT_IGNORED_DECLARATION_DIAGNOSTIC_CODES, K as resolveReactDoctorCacheDir, Kt as MINIFIED_SNIFF_BYTES, Lt as IGNORED_DIRECTORIES, M as buildOxlintWorkerSpawnSpec, Mn as TELEMETRY_EXPORT_INTERVAL_MS, Mt as GIT_CHECK_ATTR_MAX_BUFFER_BYTES, Nn as TELEMETRY_SHUTDOWN_TIMEOUT_MS, Nt as GIT_LS_FILES_MAX_BUFFER_BYTES, On as SUPPLY_CHAIN_PLUGIN, Ot as GENERATED_BUNDLE_FILE_PATTERN, P as killUnadoptedOxlintWorkers, Pn as TSCONFIG_FILENAMES, Pt as GIT_SHOW_MAX_BUFFER_BYTES, Q as takeReactCompilerDetection, Qt as OXLINT_SPAWN_TIMEOUT_MS, R as readSystemConcurrencyFacts, Rt as JSX_DUPLICATION_SOURCE_FILE_PATTERN, Sn as STAGED_FILES_PROJECT_CONFIG_FILENAMES, St as DUPLICATE_JSX_WORKER_IDLE_TIMEOUT_MS, Tn as SUPPLY_CHAIN_CATEGORY, Tt as FETCH_TIMEOUT_MS, U as resolveOxlintToolchainVersions, V as resolveOxlintBinary, Vt as MAINTAINABILITY_DUPLICATE_JSX_RULE, W as resolveOxlintWorkerRuntime, Wt as MAX_GLOB_PATTERN_LENGTH_CHARS, X as spawnOxlintWorkerProcess, Xt as OXLINT_OOM_RESCUE_BUDGET_MS, Y as setChildProcessRef, Z as takePrespawnedOxlintWorker, Zt as OXLINT_OUTPUT_MAX_BYTES, _n as SOCKET_PACKAGE_PAGE_BASE, _t as DEFAULT_BRANCH_CANDIDATES, an as REACT_BLOG_RSC_ADVISORY_URL, bn as SPAWN_ARGS_MAX_LENGTH_CHARS_DARWIN, bt as DOCS_RULES_BASE_URL, cn as RECOMMENDED_PNPM_MINIMUM_RELEASE_AGE_MINUTES, ct as AXIOM_TRACES_PATH, d as METRIC_DISTRIBUTION_BOUNDARIES, dn as SCORE_API_URL, en as OXLINT_WORKER_JOB_END_MARKER, et as ABORT_EXIT_CODES, ft as COMPILER_CLEANUP_BUCKET, gn as SOCKET_FREE_USER_AGENT, hn as SOCKET_FREE_PURL_API_BASE, ht as CONFIG_FINGERPRINT_FILENAMES, in as PROJECT_ANALYSIS_WORKER_TIMEOUT_MS, it as AXIOM_DATASET_HEADER, j as buildOxlintChildEnv, jn as TARGET_BLANK_BROWSER_SUPPORT, jt as GITHUB_VIEWER_PERMISSION_TIMEOUT_MS, kn as SUPPLY_CHAIN_RULE, kt as GENERATED_SOURCE_DIRECTORY_PATTERN, l as INTERNAL_ERROR_JSON_FALLBACK, ln as ROOT_CAUSE_GROUPABLE_RULE_KEYS, mt as CONFIG_CACHE_TTL_MS, nn as PROJECT_ANALYSIS_WORKER_MEMORY_BUDGET_BYTES, nt as ADOPTED_LINT_CONFIG_MAX_BYTES, on as REACT_ROUTER_CAPABILITY_THRESHOLDS, ot as AXIOM_METRICS_DATASET_HEADER, pn as SIDECAR_LINT_CACHE_FILENAME, pt as COMPILER_CLEANUP_RULE_KEYS, q as resolveScanConcurrency, qt as OCCURRENCE_MATCHED_CATEGORIES, rn as PROJECT_ANALYSIS_WORKER_TIMEOUT_CEILING_MS, rt as APP_ONLY_RULE_KEYS, sn as REACT_SERVER_DOM_PACKAGES, st as AXIOM_METRICS_PATH, tn as PROJECT_ANALYSIS_WORKER_MAX_OLD_SPACE_MB, tt as ADOPTABLE_LINT_CONFIG_FILENAMES, un as SCANNED_DOT_DIRECTORIES, vn as SOURCE_FILE_PATTERN, vt as DIAGNOSTIC_CATEGORY_BUCKETS, wn as SUPPLY_CHAIN_CACHE_TTL_MS, wt as ES_TARGET_YEAR_BY_NAME, xn as SPAWN_ARGS_MAX_LENGTH_CHARS_POSIX, yn as SPAWN_ARGS_MAX_LENGTH_CHARS, yt as DISABLE_DIRECTIVE_BACKUP_DIRECTORY_SEGMENTS, z as resolveConfiguredScanConcurrency } from "./constants-BmD_c3Yq.js";
5
5
  import { n as require_picomatch, t as require_semver } from "./semver-BZIuy1gP.js";
@@ -67983,6 +67983,32 @@ const validateSeverityMap = (fieldName, rawMap, keysAreCategories = false) => {
67983
67983
  }
67984
67984
  return validated;
67985
67985
  };
67986
+ const ONLY_EXPORT_COMPONENTS_STRING_ARRAY_KEYS = ["allowExportNames", "customHOCs"];
67987
+ const ONLY_EXPORT_COMPONENTS_BOOLEAN_KEYS = ["allowConstantExport", "checkJS"];
67988
+ const validateOnlyExportComponentsField = (rawOptions) => {
67989
+ if (!isRecord(rawOptions)) {
67990
+ warnConfigIssue(`config field "onlyExportComponents" must be an object (got ${typeof rawOptions}); ignoring this field.`);
67991
+ return;
67992
+ }
67993
+ const validated = {};
67994
+ for (const [key, value] of Object.entries(rawOptions)) {
67995
+ const fieldName = `onlyExportComponents.${key}`;
67996
+ const stringArrayKey = ONLY_EXPORT_COMPONENTS_STRING_ARRAY_KEYS.find((candidateKey) => candidateKey === key);
67997
+ if (stringArrayKey !== void 0) {
67998
+ const entries = validateStringArrayField(fieldName, value);
67999
+ if (entries !== void 0) validated[stringArrayKey] = entries;
68000
+ continue;
68001
+ }
68002
+ const booleanKey = ONLY_EXPORT_COMPONENTS_BOOLEAN_KEYS.find((candidateKey) => candidateKey === key);
68003
+ if (booleanKey !== void 0) {
68004
+ const flag = coerceMaybeBooleanString(fieldName, value);
68005
+ if (flag !== void 0) validated[booleanKey] = flag;
68006
+ continue;
68007
+ }
68008
+ warnConfigIssue(`config field "${fieldName}" is not a known option (expected one of: ${[...ONLY_EXPORT_COMPONENTS_STRING_ARRAY_KEYS, ...ONLY_EXPORT_COMPONENTS_BOOLEAN_KEYS].join(", ")}); ignoring.`);
68009
+ }
68010
+ return validated;
68011
+ };
67986
68012
  const applyFieldValidator = (config, validated, fieldName, validator) => {
67987
68013
  const raw = config[fieldName];
67988
68014
  if (raw === void 0) return;
@@ -67997,6 +68023,7 @@ const validateConfigTypes = (config) => {
67997
68023
  for (const fieldName of STRING_ARRAY_FIELD_NAMES) applyFieldValidator(config, validated, fieldName, (value) => validateStringArrayField(fieldName, value));
67998
68024
  applyFieldValidator(config, validated, "ignore", validateIgnoreField);
67999
68025
  applyFieldValidator(config, validated, "surfaces", validateSurfacesField);
68026
+ applyFieldValidator(config, validated, "onlyExportComponents", validateOnlyExportComponentsField);
68000
68027
  for (const fieldName of SEVERITY_FIELD_NAMES) applyFieldValidator(config, validated, fieldName, (value) => validateSeverityMap(fieldName, value, fieldName === "categories"));
68001
68028
  applyFieldValidator(config, validated, "plugins", (value) => validateStringArrayField("plugins", value));
68002
68029
  for (const ruleKey of getUnknownBundledRuleKeys(validated.rules)) warnConfigIssue(`config field "rules.${ruleKey}" is not a known bundled rule; this override has no effect. Run "react-doctor rules list" to find its rule ID.`);
@@ -72378,7 +72405,7 @@ const buildUserPluginRules = (userPlugin, severityControls) => {
72378
72405
  }
72379
72406
  return enabled;
72380
72407
  };
72381
- const createOxlintConfig = ({ pluginPath, diagnosticContextDirectory, project, customRulesOnly = false, extendsPaths = [], ignoredTags = /* @__PURE__ */ new Set(), includedTags = /* @__PURE__ */ new Set(), includeTagDefaults = false, runtimeGlobals, unpluginAutoImportGlobalScopes, serverAuthFunctionNames, projectIndexModuleSources, severityControls, adoptedSettings = {}, userPlugins = [], disableReactHooksJsPlugin = false, ruleSelection, sidecarRuleIdFilter }) => {
72408
+ const createOxlintConfig = ({ pluginPath, diagnosticContextDirectory, project, customRulesOnly = false, extendsPaths = [], ignoredTags = /* @__PURE__ */ new Set(), includedTags = /* @__PURE__ */ new Set(), includeTagDefaults = false, runtimeGlobals, unpluginAutoImportGlobalScopes, serverAuthFunctionNames, onlyExportComponents, projectIndexModuleSources, severityControls, adoptedSettings = {}, userPlugins = [], disableReactHooksJsPlugin = false, ruleSelection, sidecarRuleIdFilter }) => {
72382
72409
  const hasIncludedTags = includedTags.size > 0;
72383
72410
  const resolvedReactHooksJsPlugin = disableReactHooksJsPlugin || hasIncludedTags ? null : resolveReactHooksJsPlugin(project.hasReactCompiler || project.hasReactCompilerLintPlugin === true, customRulesOnly);
72384
72411
  const reactHooksJsPlugin = ruleSelection === "sidecar" ? null : resolvedReactHooksJsPlugin;
@@ -72461,6 +72488,7 @@ const createOxlintConfig = ({ pluginPath, diagnosticContextDirectory, project, c
72461
72488
  } : {},
72462
72489
  ...project.shopifyFlashListMajorVersion !== null ? { shopifyFlashListMajorVersion: project.shopifyFlashListMajorVersion } : {},
72463
72490
  ...serverAuthFunctionNames && serverAuthFunctionNames.length > 0 ? { serverAuthFunctionNames: [...serverAuthFunctionNames] } : {},
72491
+ ...onlyExportComponents !== void 0 ? { onlyExportComponents } : {},
72464
72492
  ...projectIndexModuleSources !== void 0 ? { projectIndexModuleSources: [...projectIndexModuleSources] } : {}
72465
72493
  }
72466
72494
  },
@@ -75227,6 +75255,7 @@ const runOxlint = async (options) => {
75227
75255
  runtimeGlobals,
75228
75256
  unpluginAutoImportGlobalScopes,
75229
75257
  serverAuthFunctionNames,
75258
+ onlyExportComponents: userConfig?.onlyExportComponents,
75230
75259
  projectIndexModuleSources,
75231
75260
  severityControls,
75232
75261
  adoptedSettings,
@@ -77771,7 +77800,7 @@ const makeNoopConsole = () => ({
77771
77800
  });
77772
77801
  //#endregion
77773
77802
  //#region src/cli/utils/version.ts
77774
- const VERSION = "0.9.23-dev.190b5b6";
77803
+ const VERSION = "0.9.23-dev.0914288";
77775
77804
  //#endregion
77776
77805
  //#region src/cli/utils/json-mode.ts
77777
77806
  let context = null;
@@ -78115,5 +78144,5 @@ const recordDistribution = (name, value, options = {}) => {
78115
78144
  //#endregion
78116
78145
  export { buildRuleSeverityControls as $, runInspect as $t, Files as A, buildWithScope as An, hasPublishedFixRecipe as At, PerFileLintCacheEnabled as B, yieldToEventLoop as Bn, listSourceFiles as Bt, ACTION_INPUT_ENVIRONMENT_VARIABLES as C, provideContext as Cn, getChangedLineRanges as Ct, isCodingAgentEnvironment as D, sync as Dn, getRuleMetadata as Dt, isCiOrCodingAgentEnvironment as E, runSync as En, getEquivalentRuleKeys as Et, Linter as F, makeUnsafe$5 as Fn, isProjectDiscoveryError as Ft, SidecarLintCacheEnabled as G, isFile as Gn, materializeSourceTree as Gt, Project as H, toCanonicalPath as Hn, listWorkspacePackages as Ht, Maintainability as I, fail$5 as In, isReactDoctorError as It, anonymizeInPlace as J, remainingDeadlineBudgetMs as Jt, StagedFiles as K, isPlainObject as Kn, mergeAndFilterDiagnostics as Kt, NodeResolver as L, void_$1 as Ln, isSameRuleKey as Lt, InvocationCaches as M, provide$2 as Mn, hashFileContents as Mt, LEGACY_CONFIG_FILENAME as N, succeed$3 as Nn, highlighter as Nt, Config as O, try_ as On, getUnknownBundledRuleKeys as Ot, LintPartialFailures as P, close as Pn, isPathInsideDirectory as Pt, buildRuleDocsUrl as Q, restoreLegacyThrow as Qt, OxlintConcurrency as R, ParentSpan as Rn, isScanComplete as Rt, isDebugFlagEnabled as S, provide as Sn, getBaselineDiffPlan as St, isCiEnvironment as T, runPromise as Tn, getDiffInfo as Tt, Reporter as U, isDirectory as Un, loadConfigWithSource as Ut, Progress as V, messageFromUnknown as Vn, listSourceFilesCooperative as Vt, Score as W, isErrnoException as Wn, mapWithConcurrency as Wt, atomicWriteJson as X, resolveLintBatchOrdering as Xt, anonymizeText as Y, resolveGithubActionsScoreMetadata as Yt, buildJsonReport as Z, resolveScanTarget as Zt, VERSION as _, gen as _n, findGitRepositoryRoot as _t, isEnvFlagEnabled as a, validateConfigTypes as an, collectSourceFilesByDirectory as at, isNonInteractiveEnvironment as b, orElseSucceed as bn, formatErrorChain as bt, setSentryProjectInfo as c, Console as cn, countOptInProjectRuleSelections as ct, isJsonModeActive as d, log as dn, createOxlintSpawnSlots as dt, scrubSensitivePaths as en, buildSkippedChecks as et, setJsonReportDirectory as f, warn$1 as fn, detectAiTrainingEnvironment as ft, writeJsonReport as g, make$30 as gn, filterSourceFiles as gt, writeJsonErrorReport as h, decodeUnknownSync as hn, filterPathsOutsideDirectories as ht, isTelemetryEnabled as i, toRelativePath as in, clearConfigCache as it, Git as j, mergeAll$1 as jn, hasSupportedFrameworkOrLibrary as jt, DIAGNOSTIC_DELTA_IDENTITY as k, void_ as kn, groupBy as kt, getRunId as l, error as ln, createChangedLineMatcher as lt, writeJsonCancellationReport as m, JsonReport as mn, filterDiagnosticsForSurface as mt, recordDistribution as n, shouldUseMaintainabilityLayer as nn, canonicalizeUserRuleKey as nt, buildSentryScope as o, warmDuplicateJsxWorker as on, computeConfigFingerprint as ot, setJsonReportMode as p, Diagnostic as pn, discoverSupportedSubprojects as pt, SupplyChain as q, mergeReactDoctorConfigs as qt, toSpanAttributes as r, summarizeDiagnostics as rn, classifyFileContext as rt, buildSentryProjectContext as s, warmOxlintWorkerPool as sn, computeDiagnosticDelta as st, recordCount as t, setColorEnabled as tn, calculateScore as tt, enableJsonMode as u, info as un, createInvocationCaches as ut, makeNoopConsole as v, makeSpan$1 as vn, findLegacyConfig as vt, detectRunnerOs as w, provideService as wn, getDiagnosticRuleIdentity as wt, isGitHookEnvironment as x, promise as xn, formatReactDoctorError as xt, CliInputError as y, map$3 as yn, fingerprintDiagnosticEvidence as yt, OxlintSpawnSlots as z, isMonorepoRoot as zn, layerObservability as zt };
78117
78146
 
78118
- //# sourceMappingURL=record-metric-vW6WPfqn.js.map
78119
- //# debugId=860e2d53-ec55-529b-a297-6f138d750c5d
78147
+ //# sourceMappingURL=record-metric-DoDZMuu-.js.map
78148
+ //# debugId=6a6c47c3-0736-5aa9-870a-a64e511f0051
@@ -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]="8d472cf3-dc42-5b3e-b246-6136f8774f62")}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]="7677d9ca-fdbd-5858-a6f8-7e806b5984ac")}catch(e){}}();
3
3
  import { S as SENTRY_FLUSH_TIMEOUT_MS, u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { It as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-vW6WPfqn.js";
5
- import { i as getSentry, n as shutdownTelemetry, o as isExpectedUserError } from "./telemetry-runtime-ChQH6lX-.js";
4
+ import { It as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-DoDZMuu-.js";
5
+ import { i as getSentry, n as shutdownTelemetry, o as isExpectedUserError } from "./telemetry-runtime-BSotzON4.js";
6
6
  import { r as recordRunTraceId, t as getActiveRunTrace } from "./active-run-trace-Dewycxda.js";
7
7
  //#region src/cli/utils/report-error.ts
8
8
  /**
@@ -61,5 +61,5 @@ const reportErrorToSentry = async (error) => {
61
61
  //#endregion
62
62
  export { reportErrorToSentry as t };
63
63
 
64
- //# sourceMappingURL=report-error-BjXxJDFZ.js.map
65
- //# debugId=8d472cf3-dc42-5b3e-b246-6136f8774f62
64
+ //# sourceMappingURL=report-error-DBzm7ftW.js.map
65
+ //# debugId=7677d9ca-fdbd-5858-a6f8-7e806b5984ac
@@ -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]="9285b600-b6ad-527a-a460-4a6041fc10d6")}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]="83e8c2d7-ccd4-5d33-a843-0a0fc3102894")}catch(e){}}();
3
3
  import { m as REACT_DOCTOR_CONFIG_PROJECT_NAME, u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { t as recordCount } from "./record-metric-vW6WPfqn.js";
5
- import { u as isCommandAvailable } from "./install-github-workflow-CrKVCl4g.js";
4
+ import { t as recordCount } from "./record-metric-DoDZMuu-.js";
5
+ import { u as isCommandAvailable } from "./install-github-workflow-CcHpTcbF.js";
6
6
  import { createRequire } from "node:module";
7
7
  import * as path$1 from "node:path";
8
8
  import { spawn } from "node:child_process";
@@ -289,5 +289,5 @@ const reportWorkflowResult = (workflowSpinner, result, projectRoot) => {
289
289
  //#endregion
290
290
  export { recordGate as a, ACTION_UPGRADE_EVENT as c, INSTALL_AGENTS_PREFERENCE_ID as d, ONBOARDING_EVENT as f, loadAgentInstall as g, 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 };
291
291
 
292
- //# sourceMappingURL=report-workflow-result-CDrgxyIL.js.map
293
- //# debugId=9285b600-b6ad-527a-a460-4a6041fc10d6
292
+ //# sourceMappingURL=report-workflow-result-BF8zlvi8.js.map
293
+ //# debugId=83e8c2d7-ccd4-5d33-a843-0a0fc3102894
@@ -1,18 +1,18 @@
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]="f8e6497e-c0be-591d-bee0-bb45f5a98ea0")}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]="ed45bfd8-09b0-56b6-89f9-1482eff34135")}catch(e){}}();
3
3
  import { Ct as ENTERPRISE_CONTACT_URL, E as TRACKED_FILE_FLAGS_GIT_ARGUMENTS, Gt as MILLISECONDS_PER_SECOND, It as HTML_FILE_PATTERN, K as resolveReactDoctorCacheDir, Pt as GIT_SHOW_MAX_BUFFER_BYTES, Ut as MAINTAINABILITY_SOURCE_FILE_PATTERN, Yt as OXLINT_NODE_REQUIREMENT, c as HEAD_SHA_GIT_ARGUMENTS, dt as CI_URL, fn as SHARE_BASE_URL, h as REPOSITORY_ROOT_GIT_ARGUMENTS, i as BASELINE_FILES_TEMP_DIR_PREFIX, k as WORKTREE_STATUS_GIT_ARGUMENTS, q as resolveScanConcurrency, u as METRIC, v as SCAN_RESULT_CACHE_FILENAME, vt as DIAGNOSTIC_CATEGORY_BUCKETS, zt as JSX_FILE_PATTERN } from "./constants-BmD_c3Yq.js";
4
4
  import { t as isCacheGloballyDisabled } from "./is-cache-globally-disabled-CveNGcRi.js";
5
- import { $ as buildRuleSeverityControls, $t as runInspect, A as Files, At as hasPublishedFixRecipe, B as PerFileLintCacheEnabled, Bn as yieldToEventLoop, Bt as listSourceFiles, C as ACTION_INPUT_ENVIRONMENT_VARIABLES, Cn as provideContext, Dn as sync, Dt as getRuleMetadata, E as isCiOrCodingAgentEnvironment, En as runSync, F as Linter, G as SidecarLintCacheEnabled, Gn as isFile, Gt as materializeSourceTree, H as Project, Ht as listWorkspacePackages, I as Maintainability, It as isReactDoctorError, Jt as remainingDeadlineBudgetMs, Kt as mergeAndFilterDiagnostics, L as NodeResolver, M as InvocationCaches, Mt as hashFileContents, Nn as succeed, Nt as highlighter, O as Config, On as try_, Ot as getUnknownBundledRuleKeys, P as LintPartialFailures, Pt as isPathInsideDirectory, Q as buildRuleDocsUrl, Qt as restoreLegacyThrow, R as OxlintConcurrency, Rn as ParentSpan, Rt as isScanComplete, Sn as provide, T as isCiEnvironment, Tn as runPromise, U as Reporter, Un as isDirectory, V as Progress, Vt as listSourceFilesCooperative, W as Score, Wt as mapWithConcurrency, X as atomicWriteJson, Xt as resolveLintBatchOrdering, Yt as resolveGithubActionsScoreMetadata, Zt as resolveScanTarget, _ as VERSION, _n as gen, at as collectSourceFilesByDirectory, b as isNonInteractiveEnvironment, bn as orElseSucceed, cn as Console, ct as countOptInProjectRuleSelections, d as isJsonModeActive, dn as log, dt as createOxlintSpawnSlots, et as buildSkippedChecks, fn as warn, gt as filterSourceFiles, hn as decodeUnknownSync, ht as filterPathsOutsideDirectories, j as Git, jn as mergeAll, k as DIAGNOSTIC_DELTA_IDENTITY, kt as groupBy, l as getRunId, ln as error, lt as createChangedLineMatcher, mt as filterDiagnosticsForSurface, n as recordDistribution, nn as shouldUseMaintainabilityLayer, nt as canonicalizeUserRuleKey, on as warmDuplicateJsxWorker, ot as computeConfigFingerprint, pn as Diagnostic, pt as discoverSupportedSubprojects, q as SupplyChain, qt as mergeReactDoctorConfigs, r as toSpanAttributes, rn as summarizeDiagnostics, rt as classifyFileContext, sn as warmOxlintWorkerPool, st as computeDiagnosticDelta, t as recordCount, tt as calculateScore, ut as createInvocationCaches, v as makeNoopConsole, w as detectRunnerOs, wn as provideService, wt as getDiagnosticRuleIdentity, xn as promise, y as CliInputError, yn as map, yt as fingerprintDiagnosticEvidence, z as OxlintSpawnSlots, zn as isMonorepoRoot } from "./record-metric-vW6WPfqn.js";
6
- import { t as getTelemetryContext } from "./telemetry-runtime-ChQH6lX-.js";
5
+ import { $ as buildRuleSeverityControls, $t as runInspect, A as Files, At as hasPublishedFixRecipe, B as PerFileLintCacheEnabled, Bn as yieldToEventLoop, Bt as listSourceFiles, C as ACTION_INPUT_ENVIRONMENT_VARIABLES, Cn as provideContext, Dn as sync, Dt as getRuleMetadata, E as isCiOrCodingAgentEnvironment, En as runSync, F as Linter, G as SidecarLintCacheEnabled, Gn as isFile, Gt as materializeSourceTree, H as Project, Ht as listWorkspacePackages, I as Maintainability, It as isReactDoctorError, Jt as remainingDeadlineBudgetMs, Kt as mergeAndFilterDiagnostics, L as NodeResolver, M as InvocationCaches, Mt as hashFileContents, Nn as succeed, Nt as highlighter, O as Config, On as try_, Ot as getUnknownBundledRuleKeys, P as LintPartialFailures, Pt as isPathInsideDirectory, Q as buildRuleDocsUrl, Qt as restoreLegacyThrow, R as OxlintConcurrency, Rn as ParentSpan, Rt as isScanComplete, Sn as provide, T as isCiEnvironment, Tn as runPromise, U as Reporter, Un as isDirectory, V as Progress, Vt as listSourceFilesCooperative, W as Score, Wt as mapWithConcurrency, X as atomicWriteJson, Xt as resolveLintBatchOrdering, Yt as resolveGithubActionsScoreMetadata, Zt as resolveScanTarget, _ as VERSION, _n as gen, at as collectSourceFilesByDirectory, b as isNonInteractiveEnvironment, bn as orElseSucceed, cn as Console, ct as countOptInProjectRuleSelections, d as isJsonModeActive, dn as log, dt as createOxlintSpawnSlots, et as buildSkippedChecks, fn as warn, gt as filterSourceFiles, hn as decodeUnknownSync, ht as filterPathsOutsideDirectories, j as Git, jn as mergeAll, k as DIAGNOSTIC_DELTA_IDENTITY, kt as groupBy, l as getRunId, ln as error, lt as createChangedLineMatcher, mt as filterDiagnosticsForSurface, n as recordDistribution, nn as shouldUseMaintainabilityLayer, nt as canonicalizeUserRuleKey, on as warmDuplicateJsxWorker, ot as computeConfigFingerprint, pn as Diagnostic, pt as discoverSupportedSubprojects, q as SupplyChain, qt as mergeReactDoctorConfigs, r as toSpanAttributes, rn as summarizeDiagnostics, rt as classifyFileContext, sn as warmOxlintWorkerPool, st as computeDiagnosticDelta, t as recordCount, tt as calculateScore, ut as createInvocationCaches, v as makeNoopConsole, w as detectRunnerOs, wn as provideService, wt as getDiagnosticRuleIdentity, xn as promise, y as CliInputError, yn as map, yt as fingerprintDiagnosticEvidence, z as OxlintSpawnSlots, zn as isMonorepoRoot } from "./record-metric-DoDZMuu-.js";
6
+ import { t as getTelemetryContext } from "./telemetry-runtime-BSotzON4.js";
7
7
  import { t as activeScanAbortRegistry } from "./active-scan-abort-registry-CCTgal0O.js";
8
- import { n as buildFooterLinkLines, t as buildSectionDivider } from "./build-section-divider-BU7zNHk5.js";
8
+ import { n as buildFooterLinkLines, t as buildSectionDivider } from "./build-section-divider-Bv6jQk-E.js";
9
9
  import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
10
10
  import { t as typescriptBinding } from "./_react-doctor_require-typescript-DXQDYeWK.js";
11
- import { A as runGitAsync, C as isRecord, N as cliLogger, S as getPackageJsonPath, a as installReactDoctorScriptStep, c as spinner, j as runGitRaw, k as runGit, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-_STqoxaF.js";
12
- import { d as detectDefaultBranch, l as prompts, r as installReactDoctorWorkflow, u as isCommandAvailable } from "./install-github-workflow-CrKVCl4g.js";
13
- import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, o as pickBlockingLevel } from "./resolve-scope-C0FwbRLp.js";
14
- import { n as resetSentryRunState, r as withRunSpan, t as recordSentryProjectContext } from "./with-run-span-DurLMv1A.js";
15
- import { h as detectAvailableAgents, t as reportWorkflowResult } from "./report-workflow-result-CDrgxyIL.js";
11
+ import { A as runGitAsync, C as isRecord, N as cliLogger, S as getPackageJsonPath, a as installReactDoctorScriptStep, c as spinner, j as runGitRaw, k as runGit, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-CM-EsTMG.js";
12
+ import { d as detectDefaultBranch, l as prompts, r as installReactDoctorWorkflow, u as isCommandAvailable } from "./install-github-workflow-CcHpTcbF.js";
13
+ import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, o as pickBlockingLevel } from "./resolve-scope-DCmzxflA.js";
14
+ import { n as resetSentryRunState, r as withRunSpan, t as recordSentryProjectContext } from "./with-run-span-B7tfrIxt.js";
15
+ import { h as detectAvailableAgents, t as reportWorkflowResult } from "./report-workflow-result-BF8zlvi8.js";
16
16
  import { createRequire } from "node:module";
17
17
  import * as fs$2 from "node:fs";
18
18
  import fs, { mkdtempSync, rmSync } from "node:fs";
@@ -557,6 +557,7 @@ const buildScanAttributes = (input) => {
557
557
  ignoredTagCount: input.ignoredTagCount,
558
558
  hasCustomConfig: input.hasCustomConfig,
559
559
  customRulesOnly: input.userConfig?.customRulesOnly ?? false,
560
+ onlyExportComponentsConfigured: input.userConfig?.onlyExportComponents !== void 0,
560
561
  rulesConfigured: ruleKeys.length,
561
562
  unknownBundledRuleCount: getUnknownBundledRuleKeys(input.userConfig?.rules).length,
562
563
  rulesDisabled: ruleKeys.filter((key) => ruleOverrides[key] === "off").length,
@@ -3179,5 +3180,5 @@ const resolveScanExitCode = (input) => {
3179
3180
  //#endregion
3180
3181
  export { createInvocationInspect as A, hasIncompleteScoreAnalysis as B, detectLaunchableAgents as C, buildHandoffPayload as D, launchCliAgent as E, formatSkippedCheckLabel as F, hasLintHardFailure as G, buildNoScoreMessage as H, formatElapsedTime as I, formatFixRecipeLine as J, buildRulePriorityMap as K, printFooter as L, resolveMergeBaseRef as M, printHeadlessReport as N, collectProjectSourceFiles as O, pluralize as P, printDiagnosticsDump as R, setUpGitHubActions as S, copyToClipboard as T, buildEmptyReportMessage as U, filterDiagnosticsByCategories as V, resolveInvocationOxlintConcurrency as W, formatLearnMoreLine as Y, retryMissingProjectScores as _, validateModeFlags as a, filterScansForSurface as b, partitionProjectScanOutcomes as c, buildCodeFrame as d, resolveProjectScan as f, resolveProjectRelativeDirectory as g, resolveProjectSourceFilePaths as h, validateIncludeUntrackedScope as i, inspect as j, deduplicateProjectScans as k, discoverWorkspacePackages as l, resolveProjectDiffIncludePaths as m, formatSkippedProjectsMessage as n, resolveExcludedProjectDirectories as o, resolveProjectChangedLineRanges as p, buildSortedRuleGroups as q, validateFilePathSelectionFlags as r, projectManifestChanged as s, resolveScanExitCode as t, selectProjects as u, resolveWorkspaceDeadCodeOwner as v, CLI_AGENT_BINARIES as w, countUniqueScannedFiles as x, resolveCliInspectOptions as y, formatDiagnosticSite as z };
3181
3182
 
3182
- //# sourceMappingURL=resolve-scan-exit-code-C-YB4nGN.js.map
3183
- //# debugId=f8e6497e-c0be-591d-bee0-bb45f5a98ea0
3183
+ //# sourceMappingURL=resolve-scan-exit-code-C59pwN3F.js.map
3184
+ //# debugId=ed45bfd8-09b0-56b6-89f9-1482eff34135
@@ -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]="c401db97-c0de-571b-98ff-60076ee2484d")}catch(e){}}();
3
- import { Hn as toCanonicalPath, Pt as isPathInsideDirectory, gt as filterSourceFiles } from "./record-metric-vW6WPfqn.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]="f677c532-1cb9-5c69-aad1-8102439e4f63")}catch(e){}}();
3
+ import { Hn as toCanonicalPath, Pt as isPathInsideDirectory, gt as filterSourceFiles } from "./record-metric-DoDZMuu-.js";
4
4
  import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
5
- import { N as cliLogger } from "./install-doctor-script-_STqoxaF.js";
6
- import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-CrKVCl4g.js";
5
+ import { N as cliLogger } from "./install-doctor-script-CM-EsTMG.js";
6
+ import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-CcHpTcbF.js";
7
7
  import * as path$1 from "node:path";
8
8
  //#region src/cli/utils/open-workflow-pull-request.ts
9
9
  const NEW_BRANCH_PREFIX = "react-doctor/add-github-actions";
@@ -334,5 +334,5 @@ const finalizeScope = async ({ requested, diffInfo, skipPrompts, isQuiet }) => {
334
334
  //#endregion
335
335
  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 };
336
336
 
337
- //# sourceMappingURL=resolve-scope-C0FwbRLp.js.map
338
- //# debugId=c401db97-c0de-571b-98ff-60076ee2484d
337
+ //# sourceMappingURL=resolve-scope-DCmzxflA.js.map
338
+ //# debugId=f677c532-1cb9-5c69-aad1-8102439e4f63
@@ -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]="5f5f76e6-fbf5-5abf-a74e-6742fb9255fe")}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]="79dea7db-7761-5dd3-a117-3cfc9b3ae182")}catch(e){}}();
3
3
  import { ft as COMPILER_CLEANUP_BUCKET, pt as COMPILER_CLEANUP_RULE_KEYS, u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { Et as getEquivalentRuleKeys, Kn as isPlainObject, Lt as isSameRuleKey, Nt as highlighter, Q as buildRuleDocsUrl, Ut as loadConfigWithSource, an as validateConfigTypes, it as clearConfigCache, t as recordCount } from "./record-metric-vW6WPfqn.js";
5
- import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-_STqoxaF.js";
6
- import { t as readObjectFile } from "./read-object-file-DHewkQSw.js";
4
+ import { Et as getEquivalentRuleKeys, Kn as isPlainObject, Lt as isSameRuleKey, Nt as highlighter, Q as buildRuleDocsUrl, Ut as loadConfigWithSource, an as validateConfigTypes, it as clearConfigCache, t as recordCount } from "./record-metric-DoDZMuu-.js";
5
+ import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-CM-EsTMG.js";
6
+ import { t as readObjectFile } from "./read-object-file-BZMZsmjT.js";
7
7
  import * as fs$1 from "node:fs";
8
8
  import * as path$1 from "node:path";
9
9
  import { REACT_DOCTOR_RULES } from "oxlint-plugin-react-doctor/core";
@@ -578,5 +578,5 @@ const rulesUnignoreTagAction = async (tag, options) => {
578
578
  //#endregion
579
579
  export { rulesCategoryAction, rulesDisableAction, rulesEnableAction, rulesExplainAction, rulesIgnoreTagAction, rulesListAction, rulesSetAction, rulesUnignoreTagAction };
580
580
 
581
- //# sourceMappingURL=rules-C6snQ3OR.js.map
582
- //# debugId=5f5f76e6-fbf5-5abf-a74e-6742fb9255fe
581
+ //# sourceMappingURL=rules-DazoZOWd.js.map
582
+ //# debugId=79dea7db-7761-5dd3-a117-3cfc9b3ae182
@@ -1,14 +1,14 @@
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]="a00d7308-45ea-5f40-88bb-48dc486144a4")}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]="fe292c48-b8fb-575d-aac7-6b072d25eb7b")}catch(e){}}();
3
3
  import { At as GITHUB_ACTIONS_SETUP_URL, D as TUI_REPORT_COMPACT_MAX_ROWS, Ln as getCategoryImpact, O as TUI_REPORT_DETAIL_WIDTH_FRACTION, o as CI_TRUST_COMPANIES, u as METRIC, vt as DIAGNOSTIC_CATEGORY_BUCKETS } from "./constants-BmD_c3Yq.js";
4
- import { At as hasPublishedFixRecipe, Bn as yieldToEventLoop, Ct as getChangedLineRanges, Dn as sync, Jt as remainingDeadlineBudgetMs, Nn as succeed, Nt as highlighter, Q as buildRuleDocsUrl, St as getBaselineDiffPlan, T as isCiEnvironment, Tn as runPromise, Tt as getDiffInfo, U as Reporter, V as Progress, Wt as mapWithConcurrency, Zt as resolveScanTarget, kn as void_, n as recordDistribution, t as recordCount, tt as calculateScore, x as isGitHookEnvironment } from "./record-metric-vW6WPfqn.js";
4
+ import { At as hasPublishedFixRecipe, Bn as yieldToEventLoop, Ct as getChangedLineRanges, Dn as sync, Jt as remainingDeadlineBudgetMs, Nn as succeed, Nt as highlighter, Q as buildRuleDocsUrl, St as getBaselineDiffPlan, T as isCiEnvironment, Tn as runPromise, Tt as getDiffInfo, U as Reporter, V as Progress, Wt as mapWithConcurrency, Zt as resolveScanTarget, kn as void_, n as recordDistribution, t as recordCount, tt as calculateScore, x as isGitHookEnvironment } from "./record-metric-DoDZMuu-.js";
5
5
  import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
6
- import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-_STqoxaF.js";
7
- import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-CrKVCl4g.js";
8
- import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-C0FwbRLp.js";
9
- import { A as createInvocationInspect, B as hasIncompleteScoreAnalysis, C as detectLaunchableAgents, D as buildHandoffPayload, E as launchCliAgent, F as formatSkippedCheckLabel, G as hasLintHardFailure, H as buildNoScoreMessage, I as formatElapsedTime, J as formatFixRecipeLine, K as buildRulePriorityMap, L as printFooter, M as resolveMergeBaseRef, O as collectProjectSourceFiles, P as pluralize, R as printDiagnosticsDump, S as setUpGitHubActions, T as copyToClipboard, U as buildEmptyReportMessage, V as filterDiagnosticsByCategories, Y as formatLearnMoreLine, _ as retryMissingProjectScores, b as filterScansForSurface, c as partitionProjectScanOutcomes, d as buildCodeFrame, f as resolveProjectScan, h as resolveProjectSourceFilePaths, i as validateIncludeUntrackedScope, k as deduplicateProjectScans, l as discoverWorkspacePackages, m as resolveProjectDiffIncludePaths, n as formatSkippedProjectsMessage, o as resolveExcludedProjectDirectories, p as resolveProjectChangedLineRanges, q as buildSortedRuleGroups, s as projectManifestChanged, t as resolveScanExitCode, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions, z as formatDiagnosticSite } from "./resolve-scan-exit-code-C-YB4nGN.js";
10
- import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-CDrgxyIL.js";
11
- import { a as useExitOnCtrlC, c as Spinner, d as useInput, f as Transform, h as Box, i as import_react, l as useStdout, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime, u as useApp } from "./jsx-runtime-DiY2NpiM.js";
6
+ import { N as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-CM-EsTMG.js";
7
+ import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-CcHpTcbF.js";
8
+ import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-DCmzxflA.js";
9
+ import { A as createInvocationInspect, B as hasIncompleteScoreAnalysis, C as detectLaunchableAgents, D as buildHandoffPayload, E as launchCliAgent, F as formatSkippedCheckLabel, G as hasLintHardFailure, H as buildNoScoreMessage, I as formatElapsedTime, J as formatFixRecipeLine, K as buildRulePriorityMap, L as printFooter, M as resolveMergeBaseRef, O as collectProjectSourceFiles, P as pluralize, R as printDiagnosticsDump, S as setUpGitHubActions, T as copyToClipboard, U as buildEmptyReportMessage, V as filterDiagnosticsByCategories, Y as formatLearnMoreLine, _ as retryMissingProjectScores, b as filterScansForSurface, c as partitionProjectScanOutcomes, d as buildCodeFrame, f as resolveProjectScan, h as resolveProjectSourceFilePaths, i as validateIncludeUntrackedScope, k as deduplicateProjectScans, l as discoverWorkspacePackages, m as resolveProjectDiffIncludePaths, n as formatSkippedProjectsMessage, o as resolveExcludedProjectDirectories, p as resolveProjectChangedLineRanges, q as buildSortedRuleGroups, s as projectManifestChanged, t as resolveScanExitCode, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions, z as formatDiagnosticSite } from "./resolve-scan-exit-code-C59pwN3F.js";
10
+ import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-BF8zlvi8.js";
11
+ import { a as useExitOnCtrlC, c as Spinner, d as useInput, f as Transform, h as Box, i as import_react, l as useStdout, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime, u as useApp } from "./jsx-runtime-CM3Qox2z.js";
12
12
  import path from "node:path";
13
13
  import { performance } from "node:perf_hooks";
14
14
  import isUnicodeSupported from "is-unicode-supported";
@@ -2524,5 +2524,5 @@ const runScanApp = async (input) => {
2524
2524
  //#endregion
2525
2525
  export { runScanApp };
2526
2526
 
2527
- //# sourceMappingURL=run-scan-app-_LByQegJ.js.map
2528
- //# debugId=a00d7308-45ea-5f40-88bb-48dc486144a4
2527
+ //# sourceMappingURL=run-scan-app-BQqAts4I.js.map
2528
+ //# debugId=fe292c48-b8fb-575d-aac7-6b072d25eb7b
@@ -1,12 +1,12 @@
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]="4e809fe3-7def-5e01-8099-7806ef2675d2")}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]="96db7825-d1d0-5a6f-9fd9-2e7b8fa4c4cc")}catch(e){}}();
3
3
  import { u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { Nt as highlighter, t as recordCount, u as enableJsonMode, y as CliInputError } from "./record-metric-vW6WPfqn.js";
4
+ import { Nt as highlighter, t as recordCount, u as enableJsonMode, y as CliInputError } from "./record-metric-DoDZMuu-.js";
5
5
  import { t as activeScanAbortRegistry } from "./active-scan-abort-registry-CCTgal0O.js";
6
- import { t as reportErrorToSentry } from "./report-error-BjXxJDFZ.js";
7
- import { n as resetSentryRunState, r as withRunSpan } from "./with-run-span-DurLMv1A.js";
8
- import { _ as RUNTIME_SCAN_SNAPSHOT_TIMEOUT_MS, b as RUNTIME_SCAN_TRACING_COMPLETE_TIMEOUT_MS, f as RUNTIME_SCAN_PROBE_RELATIVE_PATH, g as RUNTIME_SCAN_SAFE_CDP_PAGE_URLS, h as RUNTIME_SCAN_PROBE_SNAPSHOT_TOKEN_PLACEHOLDER, l as RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES, m as RUNTIME_SCAN_PROBE_SNAPSHOT_BINDING_NAME_PLACEHOLDER, n as RUNTIME_SCAN_BROWSER_WIDTH_PX, o as RUNTIME_SCAN_MAX_COMPONENT_EVENTS, p as RUNTIME_SCAN_PROBE_SNAPSHOT_ATTRIBUTE_NAME_PLACEHOLDER, r as RUNTIME_SCAN_CONTROL_CHARACTERS_PATTERN, s as RUNTIME_SCAN_MAX_RECORDING_DURATION_MS, t as sanitizeRuntimeUrl, v as RUNTIME_SCAN_TRACE_CATEGORIES, y as RUNTIME_SCAN_TRACE_FILE_EXTENSION } from "./sanitize-runtime-url-DtyYWhiJ.js";
9
- import { r as resolveTuiEnvironment, t as isTuiEnvironmentSupported } from "./should-use-tui-BVBFFxIp.js";
6
+ import { t as reportErrorToSentry } from "./report-error-DBzm7ftW.js";
7
+ import { n as resetSentryRunState, r as withRunSpan } from "./with-run-span-B7tfrIxt.js";
8
+ import { _ as RUNTIME_SCAN_SNAPSHOT_TIMEOUT_MS, b as RUNTIME_SCAN_TRACING_COMPLETE_TIMEOUT_MS, f as RUNTIME_SCAN_PROBE_RELATIVE_PATH, g as RUNTIME_SCAN_SAFE_CDP_PAGE_URLS, h as RUNTIME_SCAN_PROBE_SNAPSHOT_TOKEN_PLACEHOLDER, l as RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES, m as RUNTIME_SCAN_PROBE_SNAPSHOT_BINDING_NAME_PLACEHOLDER, n as RUNTIME_SCAN_BROWSER_WIDTH_PX, o as RUNTIME_SCAN_MAX_COMPONENT_EVENTS, p as RUNTIME_SCAN_PROBE_SNAPSHOT_ATTRIBUTE_NAME_PLACEHOLDER, r as RUNTIME_SCAN_CONTROL_CHARACTERS_PATTERN, s as RUNTIME_SCAN_MAX_RECORDING_DURATION_MS, t as sanitizeRuntimeUrl, v as RUNTIME_SCAN_TRACE_CATEGORIES, y as RUNTIME_SCAN_TRACE_FILE_EXTENSION } from "./sanitize-runtime-url-2ZBGF1rZ.js";
9
+ import { r as resolveTuiEnvironment, t as isTuiEnvironmentSupported } from "./should-use-tui-Bt-1obKW.js";
10
10
  import * as fs$1 from "node:fs";
11
11
  import * as path$1 from "node:path";
12
12
  import * as os$1 from "node:os";
@@ -720,7 +720,7 @@ const resolveRuntimeScanUrl = async (url) => {
720
720
  if (url !== void 0) return url;
721
721
  if (!isTuiEnvironmentSupported(resolveTuiEnvironment(process.stderr.isTTY === true))) throw new CliInputError("A URL is required outside an interactive terminal. Run `react-doctor scan <url>`.");
722
722
  recordCount(METRIC.runtimeScanUrlPromptShown);
723
- const { promptRuntimeScanUrl } = await import("./prompt-runtime-scan-url-DlatGgXM.js");
723
+ const { promptRuntimeScanUrl } = await import("./prompt-runtime-scan-url-CdX8_-zp.js");
724
724
  return promptRuntimeScanUrl();
725
725
  };
726
726
  const runtimeScanAction = async (url, flags) => {
@@ -767,5 +767,5 @@ const runtimeScanAction = async (url, flags) => {
767
767
  //#endregion
768
768
  export { runtimeScanAction };
769
769
 
770
- //# sourceMappingURL=runtime-scan-Ccac6VQX.js.map
771
- //# debugId=4e809fe3-7def-5e01-8099-7806ef2675d2
770
+ //# sourceMappingURL=runtime-scan-4_rZlWL8.js.map
771
+ //# debugId=96db7825-d1d0-5a6f-9fd9-2e7b8fa4c4cc
@@ -1,6 +1,6 @@
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]="ec7ceddc-3e1e-5274-b8b2-62bf1c23548c")}catch(e){}}();
3
- import { y as CliInputError } from "./record-metric-vW6WPfqn.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]="8a55ba0f-0179-5473-adf0-0d47d5edba07")}catch(e){}}();
3
+ import { y as CliInputError } from "./record-metric-DoDZMuu-.js";
4
4
  //#region src/cli/runtime-scan/constants.ts
5
5
  const RUNTIME_SCAN_MAX_COMPONENT_EVENTS = 2e3;
6
6
  const RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES = 5 * 1024 * 1024;
@@ -72,5 +72,5 @@ const sanitizeRuntimeUrl = (rawUrl) => {
72
72
  //#endregion
73
73
  export { RUNTIME_SCAN_SNAPSHOT_TIMEOUT_MS as _, RUNTIME_SCAN_LOCAL_DEV_PORTS as a, RUNTIME_SCAN_TRACING_COMPLETE_TIMEOUT_MS as b, RUNTIME_SCAN_MAX_SNAPSHOT_BYTES as c, RUNTIME_SCAN_MAX_TRACE_BYTES as d, RUNTIME_SCAN_PROBE_RELATIVE_PATH as f, RUNTIME_SCAN_SAFE_CDP_PAGE_URLS as g, RUNTIME_SCAN_PROBE_SNAPSHOT_TOKEN_PLACEHOLDER as h, RUNTIME_SCAN_LAYOUT_THRASH_RATIO as i, RUNTIME_SCAN_MAX_SNAPSHOT_PAYLOAD_BYTES as l, RUNTIME_SCAN_PROBE_SNAPSHOT_BINDING_NAME_PLACEHOLDER as m, RUNTIME_SCAN_BROWSER_WIDTH_PX as n, RUNTIME_SCAN_MAX_COMPONENT_EVENTS as o, RUNTIME_SCAN_PROBE_SNAPSHOT_ATTRIBUTE_NAME_PLACEHOLDER as p, RUNTIME_SCAN_CONTROL_CHARACTERS_PATTERN as r, RUNTIME_SCAN_MAX_RECORDING_DURATION_MS as s, sanitizeRuntimeUrl as t, RUNTIME_SCAN_MAX_STRING_LENGTH as u, RUNTIME_SCAN_TRACE_CATEGORIES as v, RUNTIME_SCAN_TRACE_FILE_EXTENSION as y };
74
74
 
75
- //# sourceMappingURL=sanitize-runtime-url-DtyYWhiJ.js.map
76
- //# debugId=ec7ceddc-3e1e-5274-b8b2-62bf1c23548c
75
+ //# sourceMappingURL=sanitize-runtime-url-2ZBGF1rZ.js.map
76
+ //# debugId=8a55ba0f-0179-5473-adf0-0d47d5edba07
@@ -1,11 +1,11 @@
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]="adc72413-b102-5664-a51a-a0fc3d9ba309")}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]="d80b7f9f-7c4c-5149-94df-852b79121207")}catch(e){}}();
3
3
  import { u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { Zt as resolveScanTarget, t as recordCount } from "./record-metric-vW6WPfqn.js";
5
- import { i as warnDeprecatedDiff } from "./resolve-scope-C0FwbRLp.js";
6
- import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-hnNj6rGU.js";
7
- import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-C-YB4nGN.js";
8
- import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-BVBFFxIp.js";
4
+ import { Zt as resolveScanTarget, t as recordCount } from "./record-metric-DoDZMuu-.js";
5
+ import { i as warnDeprecatedDiff } from "./resolve-scope-DCmzxflA.js";
6
+ import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-DYvm2Pqz.js";
7
+ import { a as validateModeFlags, r as validateFilePathSelectionFlags, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-C59pwN3F.js";
8
+ import { n as shouldUseTui, r as resolveTuiEnvironment } from "./should-use-tui-Bt-1obKW.js";
9
9
  import path from "node:path";
10
10
  //#region src/cli/commands/scan.ts
11
11
  const runScanCommand = async (input) => {
@@ -29,7 +29,7 @@ const runScanCommand = async (input) => {
29
29
  warnDeprecatedFailOn(input.flags, scanTarget.userConfig);
30
30
  warnDeprecatedDiff(input.flags, scanTarget.userConfig);
31
31
  recordCount(METRIC.cliInvoked, 1, { command: input.invocationCommand });
32
- const { runScanApp } = await import("./run-scan-app-_LByQegJ.js");
32
+ const { runScanApp } = await import("./run-scan-app-BQqAts4I.js");
33
33
  const { exitCode } = await runScanApp({
34
34
  directory: input.directory,
35
35
  scanTarget,
@@ -45,5 +45,5 @@ const runScanCommand = async (input) => {
45
45
  //#endregion
46
46
  export { runScanCommand };
47
47
 
48
- //# sourceMappingURL=scan-Dh42XoyC.js.map
49
- //# debugId=adc72413-b102-5664-a51a-a0fc3d9ba309
48
+ //# sourceMappingURL=scan-DuLBrS-N.js.map
49
+ //# debugId=d80b7f9f-7c4c-5149-94df-852b79121207
@@ -1,10 +1,10 @@
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]="2ac11d00-a3db-5a1c-9b59-a5f0ff13b3dd")}catch(e){}}();
3
- import { b as isNonInteractiveEnvironment } from "./record-metric-vW6WPfqn.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]="247ba850-4017-5594-a18b-189f8e2943a0")}catch(e){}}();
3
+ import { b as isNonInteractiveEnvironment } from "./record-metric-DoDZMuu-.js";
4
4
  //#region src/cli/utils/should-skip-prompts.ts
5
5
  const shouldSkipPrompts = (input = {}) => Boolean(input.yes) || Boolean(input.json) || isNonInteractiveEnvironment() || !process.stdin.isTTY;
6
6
  //#endregion
7
7
  export { shouldSkipPrompts as t };
8
8
 
9
- //# sourceMappingURL=should-skip-prompts-DTeGXHCQ.js.map
10
- //# debugId=2ac11d00-a3db-5a1c-9b59-a5f0ff13b3dd
9
+ //# sourceMappingURL=should-skip-prompts-B5xkd3Ya.js.map
10
+ //# debugId=247ba850-4017-5594-a18b-189f8e2943a0
@@ -1,6 +1,6 @@
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]="b3a26334-45fb-5fd5-b210-b20514e8e2cd")}catch(e){}}();
3
- import { b as isNonInteractiveEnvironment } from "./record-metric-vW6WPfqn.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]="1b24695d-63d4-51df-b7af-96fd163df546")}catch(e){}}();
3
+ import { b as isNonInteractiveEnvironment } from "./record-metric-DoDZMuu-.js";
4
4
  //#region src/cli/utils/resolve-tui-environment.ts
5
5
  const resolveTuiEnvironment = (outputIsTty = process.stdout.isTTY === true) => ({
6
6
  isNonInteractiveEnvironment: isNonInteractiveEnvironment(),
@@ -21,5 +21,5 @@ const shouldUseTui = (input) => {
21
21
  //#endregion
22
22
  export { shouldUseTui as n, resolveTuiEnvironment as r, isTuiEnvironmentSupported as t };
23
23
 
24
- //# sourceMappingURL=should-use-tui-BVBFFxIp.js.map
25
- //# debugId=b3a26334-45fb-5fd5-b210-b20514e8e2cd
24
+ //# sourceMappingURL=should-use-tui-Bt-1obKW.js.map
25
+ //# debugId=1b24695d-63d4-51df-b7af-96fd163df546
@@ -73,6 +73,27 @@ export default {
73
73
  };
74
74
  ```
75
75
 
76
+ ## Fast Refresh exports
77
+
78
+ Configure known project wrappers and intentional non-component exports without
79
+ turning off `react-doctor/only-export-components`:
80
+
81
+ ```json
82
+ {
83
+ "onlyExportComponents": {
84
+ "customHOCs": ["withErrorBoundary", "withScreenBoundary"],
85
+ "allowExportNames": ["meta"],
86
+ "allowConstantExport": true,
87
+ "checkJS": false
88
+ }
89
+ }
90
+ ```
91
+
92
+ `customHOCs` names component wrappers; `allowExportNames` permits specific named
93
+ exports. `allowConstantExport` permits primitive constant exports, and `checkJS`
94
+ enables checking `.js` files as well as JSX/TSX. Omitted options preserve the
95
+ rule's existing defaults. These settings do not enable a disabled rule.
96
+
76
97
  ## Educating the user
77
98
 
78
99
  When explaining a rule, lead with the "Why it matters" guidance from `rules explain` and, when they want depth, the per-rule recipe at `https://www.react.doctor/prompts/rules/<plugin>/<rule>.md`. Only after they understand it should you offer to disable it — many "bad" rules are catching real issues.
@@ -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]="8a585fee-8aca-55d1-a2da-4015bccd5ccc")}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]="eed70d4f-f908-55a5-b67d-24b56e68f864")}catch(e){}}();
3
3
  import { S as SENTRY_FLUSH_TIMEOUT_MS } from "./constants-BmD_c3Yq.js";
4
- import { An as buildWithScope, En as runSync, Fn as makeUnsafe, Ft as isProjectDiscoveryError, It as isReactDoctorError, J as anonymizeInPlace, Ln as void_, Pn as close, Tn as runPromise, Vn as messageFromUnknown, Wn as isErrnoException, Y as anonymizeText, _ as VERSION, a as isEnvFlagEnabled, en as scrubSensitivePaths, gn as make, i as isTelemetryEnabled, o as buildSentryScope, y as CliInputError, zt as layerObservability } from "./record-metric-vW6WPfqn.js";
4
+ import { An as buildWithScope, En as runSync, Fn as makeUnsafe, Ft as isProjectDiscoveryError, It as isReactDoctorError, J as anonymizeInPlace, Ln as void_, Pn as close, Tn as runPromise, Vn as messageFromUnknown, Wn as isErrnoException, Y as anonymizeText, _ as VERSION, a as isEnvFlagEnabled, en as scrubSensitivePaths, gn as make, i as isTelemetryEnabled, o as buildSentryScope, y as CliInputError, zt as layerObservability } from "./record-metric-DoDZMuu-.js";
5
5
  //#region src/cli/utils/is-environment-error.ts
6
6
  const ENVIRONMENT_ERROR_CODES = new Set([
7
7
  "EACCES",
@@ -217,13 +217,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
217
217
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
218
218
  * standard `SENTRY_RELEASE` override.
219
219
  */
220
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.23-dev.190b5b6`;
220
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.23-dev.0914288`;
221
221
  /**
222
222
  * Deployment environment shown in Sentry's environment filter. Defaults to
223
223
  * `production` for tagged releases and `development` for dev/unbuilt versions,
224
224
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
225
225
  */
226
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.23-dev.190b5b6") ? "development" : "production");
226
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.23-dev.0914288") ? "development" : "production");
227
227
  //#endregion
228
228
  //#region src/instrument.ts
229
229
  let sentryPromise = null;
@@ -402,5 +402,5 @@ const shutdownTelemetry = async () => {
402
402
  //#endregion
403
403
  export { initializeSentry as a, isNpmCacheCorruptionError as c, getSentry as i, formatEnvironmentError as l, shutdownTelemetry as n, isExpectedUserError as o, flushSentry as r, formatNpmCacheCorruptionError as s, getTelemetryContext as t, isEnvironmentError as u };
404
404
 
405
- //# sourceMappingURL=telemetry-runtime-ChQH6lX-.js.map
406
- //# debugId=8a585fee-8aca-55d1-a2da-4015bccd5ccc
405
+ //# sourceMappingURL=telemetry-runtime-BSotzON4.js.map
406
+ //# debugId=eed70d4f-f908-55a5-b67d-24b56e68f864
@@ -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]="32425942-1f40-5804-8c70-82a65993adec")}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]="b4493e17-d750-501e-a17c-b53d6ac312af")}catch(e){}}();
3
3
  import { u as METRIC } from "./constants-BmD_c3Yq.js";
4
- import { _ as VERSION, t as recordCount } from "./record-metric-vW6WPfqn.js";
4
+ import { _ as VERSION, t as recordCount } from "./record-metric-DoDZMuu-.js";
5
5
  //#region src/cli/commands/version.ts
6
6
  /**
7
7
  * oclif-style version line. 12-factor CLI Apps (#3, "What version am I
@@ -18,5 +18,5 @@ const versionAction = () => {
18
18
  //#endregion
19
19
  export { versionAction };
20
20
 
21
- //# sourceMappingURL=version-D4xkODb4.js.map
22
- //# debugId=32425942-1f40-5804-8c70-82a65993adec
21
+ //# sourceMappingURL=version-Cv6uq1Xy.js.map
22
+ //# debugId=b4493e17-d750-501e-a17c-b53d6ac312af
@@ -1,6 +1,6 @@
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]="ee970e8f-c1a9-5df7-b5e2-5552ecc9eb24")}catch(e){}}();
3
- import { t as inspectAction } from "./inspect-hnNj6rGU.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]="4ad0e421-6404-5bbc-bd57-f84779026799")}catch(e){}}();
3
+ import { t as inspectAction } from "./inspect-DYvm2Pqz.js";
4
4
  //#region src/cli/commands/why.ts
5
5
  /**
6
6
  * `why <file:line>` — explains why a rule fired (or why a suppression didn't
@@ -17,5 +17,5 @@ const whyAction = async (location, options) => {
17
17
  //#endregion
18
18
  export { whyAction };
19
19
 
20
- //# sourceMappingURL=why-CSKd9jLA.js.map
21
- //# debugId=ee970e8f-c1a9-5df7-b5e2-5552ecc9eb24
20
+ //# sourceMappingURL=why-C5FH8NuC.js.map
21
+ //# debugId=4ad0e421-6404-5bbc-bd57-f84779026799
@@ -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]="6df069e9-de3d-57f6-aedc-a57ce3a69842")}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]="9ed34d37-9d54-5251-b924-18d3ffdbe4a8")}catch(e){}}();
3
3
  import { p as NANOSECONDS_PER_MILLISECOND } from "./constants-BmD_c3Yq.js";
4
- import { Cn as provideContext, En as runSync, In as fail, Ln as void_, c as setSentryProjectInfo, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext, vn as makeSpan } from "./record-metric-vW6WPfqn.js";
5
- import { t as getTelemetryContext } from "./telemetry-runtime-ChQH6lX-.js";
4
+ import { Cn as provideContext, En as runSync, In as fail, Ln as void_, c as setSentryProjectInfo, o as buildSentryScope, r as toSpanAttributes, s as buildSentryProjectContext, vn as makeSpan } from "./record-metric-DoDZMuu-.js";
5
+ import { t as getTelemetryContext } from "./telemetry-runtime-BSotzON4.js";
6
6
  import { i as setActiveRunTrace, r as recordRunTraceId } from "./active-run-trace-Dewycxda.js";
7
7
  //#region src/cli/utils/with-run-span.ts
8
8
  /**
@@ -107,5 +107,5 @@ const recordSentryProjectContext = (projectInfo, rootSpan, options = {}) => {
107
107
  //#endregion
108
108
  export { resetSentryRunState as n, withRunSpan as r, recordSentryProjectContext as t };
109
109
 
110
- //# sourceMappingURL=with-run-span-DurLMv1A.js.map
111
- //# debugId=6df069e9-de3d-57f6-aedc-a57ce3a69842
110
+ //# sourceMappingURL=with-run-span-B7tfrIxt.js.map
111
+ //# debugId=9ed34d37-9d54-5251-b924-18d3ffdbe4a8