react-doctor 0.4.0-dev.15bd9d8 → 0.4.0-dev.36ecd05
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 +6 -5
- package/dist/index.js +3 -2
- package/dist/lsp.js +3 -2
- package/package.json +4 -4
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]="
|
|
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.
|
|
12195
|
+
const VERSION = "0.4.0-dev.36ecd05";
|
|
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.
|
|
12553
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.4.0-dev.36ecd05`;
|
|
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.
|
|
12559
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.4.0-dev.36ecd05") ? "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=
|
|
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]="
|
|
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=
|
|
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]="
|
|
10804
|
-
//# debugId=
|
|
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.
|
|
3
|
+
"version": "0.4.0-dev.36ecd05",
|
|
4
4
|
"description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -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.
|
|
69
|
+
"oxlint-plugin-react-doctor": "0.4.0-dev.36ecd05"
|
|
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/
|
|
79
|
-
"@react-doctor/
|
|
78
|
+
"@react-doctor/core": "0.3.0",
|
|
79
|
+
"@react-doctor/language-server": "0.2.12"
|
|
80
80
|
},
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": "^20.19.0 || >=22.12.0"
|