react-doctor 0.9.0-dev.707378a → 0.9.0-dev.8d00ef0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -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]="b50e5764-57f0-54b7-81f8-530e6656066f")}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]="2fb9bb5f-dfff-55d9-9d36-af738b2c29ea")}catch(e){}}();
3
3
  import { createRequire } from "node:module";
4
4
  import * as NodeChildProcess from "node:child_process";
5
5
  import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
@@ -65379,7 +65379,6 @@ const frameworkMergeRank = (framework) => {
65379
65379
  return MOBILE_FRAMEWORKS.has(framework) ? 2 : 1;
65380
65380
  };
65381
65381
  const REACT_COMPILER_LINT_PACKAGES = new Set(["eslint-plugin-react-compiler"]);
65382
- const REACT_COMPILER_RUNTIME_PACKAGES = new Set(["react-compiler-runtime"]);
65383
65382
  const NEXT_CONFIG_FILENAMES = [
65384
65383
  "next.config.js",
65385
65384
  "next.config.mjs",
@@ -66086,7 +66085,7 @@ const hasCompilerConfigurationInAncestors = (directory) => {
66086
66085
  }
66087
66086
  return false;
66088
66087
  };
66089
- const detectReactCompiler = (directory, packageJson) => hasCompilerPackage(packageJson, REACT_COMPILER_RUNTIME_PACKAGES) || hasCompilerPackageInAncestors(directory, REACT_COMPILER_RUNTIME_PACKAGES) || hasCompilerConfiguration(directory, packageJson) || hasCompilerConfigurationInAncestors(directory);
66088
+ const detectReactCompiler = (directory, packageJson) => hasCompilerConfiguration(directory, packageJson) || hasCompilerConfigurationInAncestors(directory);
66090
66089
  const detectReactCompilerLintPlugin = (directory, packageJson) => hasCompilerPackage(packageJson, REACT_COMPILER_LINT_PACKAGES) || hasCompilerPackageInAncestors(directory, REACT_COMPILER_LINT_PACKAGES);
66091
66090
  const detectNextjsStaticExport = (directory) => NEXT_CONFIG_FILENAMES.some((filename) => {
66092
66091
  const filePath = Path.join(directory, filename);
@@ -77410,7 +77409,7 @@ const makeNoopConsole = () => ({
77410
77409
  });
77411
77410
  //#endregion
77412
77411
  //#region src/cli/utils/version.ts
77413
- const VERSION = "0.9.0-dev.707378a";
77412
+ const VERSION = "0.9.0-dev.8d00ef0";
77414
77413
  //#endregion
77415
77414
  //#region src/cli/utils/json-mode.ts
77416
77415
  let context = null;
@@ -77768,13 +77767,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
77768
77767
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
77769
77768
  * standard `SENTRY_RELEASE` override.
77770
77769
  */
77771
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.0-dev.707378a`;
77770
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.9.0-dev.8d00ef0`;
77772
77771
  /**
77773
77772
  * Deployment environment shown in Sentry's environment filter. Defaults to
77774
77773
  * `production` for tagged releases and `development` for dev/unbuilt versions,
77775
77774
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
77776
77775
  */
77777
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.0-dev.707378a") ? "development" : "production");
77776
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.9.0-dev.8d00ef0") ? "development" : "production");
77778
77777
  /**
77779
77778
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
77780
77779
  * (set to `0` to disable tracing) and falls back to
@@ -96469,7 +96468,7 @@ ${formatExampleLines([
96469
96468
  ])}
96470
96469
 
96471
96470
  ${highlighter.dim("Scope:")}
96472
- Runs every rule tagged ${highlighter.info("design")}; all design rules stay opt-in during a general health scan.
96471
+ Runs only rules tagged ${highlighter.info("design")}, including focused rules that stay opt-in during a general health scan.
96473
96472
  Dead-code, supply-chain, external lint-config, custom-plugin, and health-score passes are skipped.
96474
96473
  Standard scan flags such as ${highlighter.info("--scope")}, ${highlighter.info("--project")}, ${highlighter.info("--verbose")}, and ${highlighter.info("--json")} still work.
96475
96474
  `;
@@ -96572,4 +96571,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
96572
96571
  export { toForwardSlashes as A, highlighter as B, buildRulePriorityMap as C, resolveBlockingLevel as D, formatLearnMoreLine as E, isCiEnvironment as F, sync as G, mergeReactDoctorConfigs as H, DIAGNOSTIC_CATEGORY_BUCKETS as I, void_ as K, Progress as L, isUnicodeSupported as M, METRIC as N, isReactDoctorWorkflowInstalled as O, TUI_REPORT_DETAIL_WIDTH_FRACTION as P, Reporter as R, hasLintHardFailure as S, formatFixRecipeLine as T, resolveScanTarget as U, mapWithConcurrency as V, runPromise as W, canAnimateOnboarding as _, resolveCliInspectOptions as a, buildCodeFrame as b, detectLaunchableAgents as c, launchCliAgent as d, isShareOptedOut as f, doctorFace as g, easeOutCubic as h, selectProjects as i, findNearestPackageDirectory as j, recordCount as k, CLI_AGENT_BINARIES as l, printFooter as m, shouldFailScanGate as n, countUniqueScannedFiles as o, inspect as p, succeed$3 as q, discoverWorkspacePackages as r, setUpGitHubActions as s, exitGracefully as t, copyToClipboard as u, computeProjectedScore as v, buildSortedRuleGroups as w, buildNoScoreMessage as x, formatElapsedTime as y, getCategoryImpact as z };
96573
96572
 
96574
96573
  //# sourceMappingURL=cli.js.map
96575
- //# debugId=b50e5764-57f0-54b7-81f8-530e6656066f
96574
+ //# debugId=2fb9bb5f-dfff-55d9-9d36-af738b2c29ea
package/dist/index.js CHANGED
@@ -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]="15a71be1-a569-52e7-b9d5-4796065a0f2a")}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]="702b5b0d-3117-5622-b161-1cb17deb6636")}catch(e){}}();
3
3
  import { i as __toESM$1, r as __require, t as __commonJSMin$1 } from "./chunk-ChKA3wi6.js";
4
4
  import { createRequire } from "node:module";
5
5
  import reactDoctorPlugin, { ALL_REACT_DOCTOR_RULE_KEYS, CROSS_FILE_DEPENDENCY_COLLECTORS, CROSS_FILE_RULE_IDS, FRAMEWORK_SPECIFIC_RULE_KEYS, FRAMEWORK_TOKENS, MOTION_LIBRARY_PACKAGES, REACT_COMPILER_RULES, REACT_DOCTOR_RULES, classifySecurityScanFile, collectCrossFileDependencyProbes, resetManifestCaches, shouldReadSecurityScanContent } from "oxlint-plugin-react-doctor";
@@ -62182,7 +62182,6 @@ const frameworkMergeRank = (framework) => {
62182
62182
  return MOBILE_FRAMEWORKS.has(framework) ? 2 : 1;
62183
62183
  };
62184
62184
  const REACT_COMPILER_LINT_PACKAGES = new Set(["eslint-plugin-react-compiler"]);
62185
- const REACT_COMPILER_RUNTIME_PACKAGES = new Set(["react-compiler-runtime"]);
62186
62185
  const NEXT_CONFIG_FILENAMES = [
62187
62186
  "next.config.js",
62188
62187
  "next.config.mjs",
@@ -62889,7 +62888,7 @@ const hasCompilerConfigurationInAncestors = (directory) => {
62889
62888
  }
62890
62889
  return false;
62891
62890
  };
62892
- const detectReactCompiler = (directory, packageJson) => hasCompilerPackage(packageJson, REACT_COMPILER_RUNTIME_PACKAGES) || hasCompilerPackageInAncestors(directory, REACT_COMPILER_RUNTIME_PACKAGES) || hasCompilerConfiguration(directory, packageJson) || hasCompilerConfigurationInAncestors(directory);
62891
+ const detectReactCompiler = (directory, packageJson) => hasCompilerConfiguration(directory, packageJson) || hasCompilerConfigurationInAncestors(directory);
62893
62892
  const detectReactCompilerLintPlugin = (directory, packageJson) => hasCompilerPackage(packageJson, REACT_COMPILER_LINT_PACKAGES) || hasCompilerPackageInAncestors(directory, REACT_COMPILER_LINT_PACKAGES);
62894
62893
  const detectNextjsStaticExport = (directory) => NEXT_CONFIG_FILENAMES.some((filename) => {
62895
62894
  const filePath = Path.join(directory, filename);
@@ -73884,4 +73883,4 @@ const toJsonReport = (result, options) => buildJsonReport({
73884
73883
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
73885
73884
 
73886
73885
  //# sourceMappingURL=index.js.map
73887
- //# debugId=15a71be1-a569-52e7-b9d5-4796065a0f2a
73886
+ //# debugId=702b5b0d-3117-5622-b161-1cb17deb6636
package/dist/lsp.js CHANGED
@@ -62235,7 +62235,6 @@ const frameworkMergeRank = (framework) => {
62235
62235
  return MOBILE_FRAMEWORKS.has(framework) ? 2 : 1;
62236
62236
  };
62237
62237
  const REACT_COMPILER_LINT_PACKAGES = new Set(["eslint-plugin-react-compiler"]);
62238
- const REACT_COMPILER_RUNTIME_PACKAGES = new Set(["react-compiler-runtime"]);
62239
62238
  const NEXT_CONFIG_FILENAMES = [
62240
62239
  "next.config.js",
62241
62240
  "next.config.mjs",
@@ -62942,7 +62941,7 @@ const hasCompilerConfigurationInAncestors = (directory) => {
62942
62941
  }
62943
62942
  return false;
62944
62943
  };
62945
- const detectReactCompiler = (directory, packageJson) => hasCompilerPackage(packageJson, REACT_COMPILER_RUNTIME_PACKAGES) || hasCompilerPackageInAncestors(directory, REACT_COMPILER_RUNTIME_PACKAGES) || hasCompilerConfiguration(directory, packageJson) || hasCompilerConfigurationInAncestors(directory);
62944
+ const detectReactCompiler = (directory, packageJson) => hasCompilerConfiguration(directory, packageJson) || hasCompilerConfigurationInAncestors(directory);
62946
62945
  const detectReactCompilerLintPlugin = (directory, packageJson) => hasCompilerPackage(packageJson, REACT_COMPILER_LINT_PACKAGES) || hasCompilerPackageInAncestors(directory, REACT_COMPILER_LINT_PACKAGES);
62947
62946
  const detectNextjsStaticExport = (directory) => NEXT_CONFIG_FILENAMES.some((filename) => {
62948
62947
  const filePath = Path.join(directory, filename);
@@ -75505,5 +75504,5 @@ const startLanguageServer = () => {
75505
75504
  };
75506
75505
  //#endregion
75507
75506
  export { startLanguageServer };
75508
- !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]="e096785e-6914-5fc2-a183-b829bd591466")}catch(e){}}();
75509
- //# debugId=e096785e-6914-5fc2-a183-b829bd591466
75507
+ !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]="4174ed31-6572-57ab-ac95-6089329d703f")}catch(e){}}();
75508
+ //# debugId=4174ed31-6572-57ab-ac95-6089329d703f
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.9.0-dev.707378a",
3
+ "version": "0.9.0-dev.8d00ef0",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -70,7 +70,7 @@
70
70
  "vscode-uri": "^3.1.0",
71
71
  "yaml": "^2.9.0",
72
72
  "deslop-js": "0.9.0",
73
- "oxlint-plugin-react-doctor": "0.9.0-dev.707378a"
73
+ "oxlint-plugin-react-doctor": "0.9.0-dev.8d00ef0"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@types/babel__code-frame": "^7.27.0",