react-doctor 0.4.0-dev.dc35070 → 0.4.0-dev.ee980d9

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]="301c4437-ca87-5afb-b69d-b7a7c3678175")}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]="97daaac0-bc19-511e-baba-f43ac0b855ea")}catch(e){}}();
3
3
  import { createRequire } from "node:module";
4
4
  import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
5
5
  import * as path$1 from "node:path";
@@ -8394,6 +8394,7 @@ const checkReducedMotion = (rootDirectory) => {
8394
8394
  if (!hasMotionLibrary) return [];
8395
8395
  const result = spawnSync("git", [
8396
8396
  "grep",
8397
+ "--untracked",
8397
8398
  "-ql",
8398
8399
  "-E",
8399
8400
  REDUCED_MOTION_GREP_PATTERN,
@@ -12191,7 +12192,7 @@ const makeNoopConsole = () => ({
12191
12192
  });
12192
12193
  //#endregion
12193
12194
  //#region src/cli/utils/version.ts
12194
- const VERSION = "0.4.0-dev.dc35070";
12195
+ const VERSION = "0.4.0-dev.ee980d9";
12195
12196
  //#endregion
12196
12197
  //#region src/cli/utils/json-mode.ts
12197
12198
  let context = null;
@@ -12549,13 +12550,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
12549
12550
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
12550
12551
  * standard `SENTRY_RELEASE` override.
12551
12552
  */
12552
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.4.0-dev.dc35070`;
12553
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.4.0-dev.ee980d9`;
12553
12554
  /**
12554
12555
  * Deployment environment shown in Sentry's environment filter. Defaults to
12555
12556
  * `production` for tagged releases and `development` for dev/unbuilt versions,
12556
12557
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
12557
12558
  */
12558
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.4.0-dev.dc35070") ? "development" : "production");
12559
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.4.0-dev.ee980d9") ? "development" : "production");
12559
12560
  /**
12560
12561
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
12561
12562
  * (set to `0` to disable tracing) and falls back to
@@ -21448,4 +21449,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
21448
21449
  export {};
21449
21450
 
21450
21451
  //# sourceMappingURL=cli.js.map
21451
- //# debugId=301c4437-ca87-5afb-b69d-b7a7c3678175
21452
+ //# debugId=97daaac0-bc19-511e-baba-f43ac0b855ea
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]="44e73f8d-b81f-599b-a04e-22497cd72bb2")}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]="122e86e2-7fd2-5262-b325-14cf4d9fee78")}catch(e){}}();
3
3
  import { createRequire } from "node:module";
4
4
  import * as Schema from "effect/Schema";
5
5
  import * as fs$1 from "node:fs";
@@ -5343,6 +5343,7 @@ const checkReducedMotion = (rootDirectory) => {
5343
5343
  if (!hasMotionLibrary) return [];
5344
5344
  const result = spawnSync("git", [
5345
5345
  "grep",
5346
+ "--untracked",
5346
5347
  "-ql",
5347
5348
  "-E",
5348
5349
  REDUCED_MOTION_GREP_PATTERN,
@@ -8929,4 +8930,4 @@ const toJsonReport = (result, options) => buildJsonReport({
8929
8930
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, diagnose, filterSourceFiles, getDiffInfo, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
8930
8931
 
8931
8932
  //# sourceMappingURL=index.js.map
8932
- //# debugId=44e73f8d-b81f-599b-a04e-22497cd72bb2
8933
+ //# debugId=122e86e2-7fd2-5262-b325-14cf4d9fee78
package/dist/lsp.js CHANGED
@@ -5280,6 +5280,7 @@ const checkReducedMotion = (rootDirectory) => {
5280
5280
  if (!hasMotionLibrary) return [];
5281
5281
  const result = spawnSync("git", [
5282
5282
  "grep",
5283
+ "--untracked",
5283
5284
  "-ql",
5284
5285
  "-E",
5285
5286
  REDUCED_MOTION_GREP_PATTERN,
@@ -10800,5 +10801,5 @@ const startLanguageServer = () => {
10800
10801
  };
10801
10802
  //#endregion
10802
10803
  export { startLanguageServer };
10803
- !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]="367f0c6f-8633-512f-b006-f1bb7ab5a35a")}catch(e){}}();
10804
- //# debugId=367f0c6f-8633-512f-b006-f1bb7ab5a35a
10804
+ !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]="f0bc459c-958b-51a1-8126-2e157a9bb5d3")}catch(e){}}();
10805
+ //# debugId=f0bc459c-958b-51a1-8126-2e157a9bb5d3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.4.0-dev.dc35070",
3
+ "version": "0.4.0-dev.ee980d9",
4
4
  "description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -55,7 +55,7 @@
55
55
  "agent-install": "0.0.5",
56
56
  "conf": "^15.1.0",
57
57
  "confbox": "^0.2.4",
58
- "deslop-js": "^0.0.19",
58
+ "deslop-js": "^0.0.20",
59
59
  "effect": "4.0.0-beta.70",
60
60
  "eslint-plugin-react-hooks": "^7.1.1",
61
61
  "jiti": "^2.7.0",
@@ -66,7 +66,7 @@
66
66
  "vscode-languageserver": "^9.0.1",
67
67
  "vscode-languageserver-textdocument": "^1.0.12",
68
68
  "vscode-uri": "^3.1.0",
69
- "oxlint-plugin-react-doctor": "0.4.0-dev.dc35070"
69
+ "oxlint-plugin-react-doctor": "0.4.0-dev.ee980d9"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/babel__code-frame": "^7.27.0",
@@ -75,8 +75,8 @@
75
75
  "commander": "^14.0.3",
76
76
  "ora": "^9.4.0",
77
77
  "@react-doctor/api": "0.2.20",
78
- "@react-doctor/core": "0.3.0",
79
- "@react-doctor/language-server": "0.2.12"
78
+ "@react-doctor/language-server": "0.2.12",
79
+ "@react-doctor/core": "0.3.0"
80
80
  },
81
81
  "engines": {
82
82
  "node": "^20.19.0 || >=22.12.0"