react-doctor 0.2.17-dev.2aa96f3 → 0.2.17-dev.4aadaab
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 -6
- package/dist/index.js +3 -3
- 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]="07713237-df07-5858-b7a4-7b12c0e7b293")}catch(e){}}();
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { execFileSync, spawn, spawnSync } from "node:child_process";
|
|
5
5
|
import * as Path from "node:path";
|
|
@@ -9186,7 +9186,7 @@ var Git = class Git extends Context.Service()("react-doctor/Git") {
|
|
|
9186
9186
|
if (result.status !== 0) return null;
|
|
9187
9187
|
const branch = trimOrNull(result.stdout);
|
|
9188
9188
|
return branch === "HEAD" ? null : branch;
|
|
9189
|
-
}));
|
|
9189
|
+
}), Effect.orElseSucceed(() => null));
|
|
9190
9190
|
const defaultBranch = (directory) => Effect.gen(function* () {
|
|
9191
9191
|
const symref = yield* runGit(directory, ["symbolic-ref", "refs/remotes/origin/HEAD"]);
|
|
9192
9192
|
if (symref.status === 0) {
|
|
@@ -11931,7 +11931,7 @@ const makeNoopConsole = () => ({
|
|
|
11931
11931
|
});
|
|
11932
11932
|
//#endregion
|
|
11933
11933
|
//#region src/cli/utils/version.ts
|
|
11934
|
-
const VERSION = "0.2.17-dev.
|
|
11934
|
+
const VERSION = "0.2.17-dev.4aadaab";
|
|
11935
11935
|
//#endregion
|
|
11936
11936
|
//#region src/cli/utils/json-mode.ts
|
|
11937
11937
|
let context = null;
|
|
@@ -12277,13 +12277,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
12277
12277
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
12278
12278
|
* standard `SENTRY_RELEASE` override.
|
|
12279
12279
|
*/
|
|
12280
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.17-dev.
|
|
12280
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.17-dev.4aadaab`;
|
|
12281
12281
|
/**
|
|
12282
12282
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
12283
12283
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
12284
12284
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
12285
12285
|
*/
|
|
12286
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.17-dev.
|
|
12286
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.17-dev.4aadaab") ? "development" : "production");
|
|
12287
12287
|
/**
|
|
12288
12288
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
12289
12289
|
* (set to `0` to disable tracing) and falls back to
|
|
@@ -20210,4 +20210,4 @@ program.parseAsync(argv).then(() => flushSentry()).catch(async (error) => {
|
|
|
20210
20210
|
export {};
|
|
20211
20211
|
|
|
20212
20212
|
//# sourceMappingURL=cli.js.map
|
|
20213
|
-
//# debugId=
|
|
20213
|
+
//# debugId=07713237-df07-5858-b7a4-7b12c0e7b293
|
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]="9b91fa51-6642-5351-a848-af91945dec6f")}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";
|
|
@@ -6119,7 +6119,7 @@ var Git = class Git extends Context.Service()("react-doctor/Git") {
|
|
|
6119
6119
|
if (result.status !== 0) return null;
|
|
6120
6120
|
const branch = trimOrNull(result.stdout);
|
|
6121
6121
|
return branch === "HEAD" ? null : branch;
|
|
6122
|
-
}));
|
|
6122
|
+
}), Effect.orElseSucceed(() => null));
|
|
6123
6123
|
const defaultBranch = (directory) => Effect.gen(function* () {
|
|
6124
6124
|
const symref = yield* runGit(directory, ["symbolic-ref", "refs/remotes/origin/HEAD"]);
|
|
6125
6125
|
if (symref.status === 0) {
|
|
@@ -8724,4 +8724,4 @@ const toJsonReport = (result, options) => buildJsonReport({
|
|
|
8724
8724
|
export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, diagnose, filterSourceFiles, getDiffInfo, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
|
|
8725
8725
|
|
|
8726
8726
|
//# sourceMappingURL=index.js.map
|
|
8727
|
-
//# debugId=
|
|
8727
|
+
//# debugId=9b91fa51-6642-5351-a848-af91945dec6f
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.2.17-dev.
|
|
3
|
+
"version": "0.2.17-dev.4aadaab",
|
|
4
4
|
"description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"oxlint": "^1.66.0",
|
|
64
64
|
"prompts": "^2.4.2",
|
|
65
65
|
"typescript": ">=5.0.4 <7",
|
|
66
|
-
"oxlint-plugin-react-doctor": "0.2.17-dev.
|
|
66
|
+
"oxlint-plugin-react-doctor": "0.2.17-dev.4aadaab"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/babel__code-frame": "^7.27.0",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"@xterm/headless": "^6.0.0",
|
|
72
72
|
"commander": "^14.0.3",
|
|
73
73
|
"ora": "^9.4.0",
|
|
74
|
-
"@react-doctor/
|
|
75
|
-
"@react-doctor/
|
|
74
|
+
"@react-doctor/api": "0.2.17",
|
|
75
|
+
"@react-doctor/core": "0.2.17"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": "^20.19.0 || >=22.12.0"
|