react-doctor 0.2.15-dev.bd8298d → 0.2.15-dev.bf4c21e
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/README.md +8 -5
- package/dist/cli.js +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -96,14 +96,17 @@ Prefer JSON? Use `doctor.config.json`:
|
|
|
96
96
|
|
|
97
97
|
## Telemetry
|
|
98
98
|
|
|
99
|
-
The CLI reports crashes, basic run traces, and anonymous usage counters to [Sentry](https://sentry.io) to help us fix bugs and prioritize
|
|
99
|
+
The CLI reports crashes, basic run traces, and anonymous usage counters to [Sentry](https://sentry.io/) to help us fix bugs and prioritize work.
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
We collect:
|
|
102
102
|
|
|
103
|
-
|
|
103
|
+
- Environment: CLI version, platform, Node version
|
|
104
|
+
- Invocation: which command, package manager, and run context (whether it's local vs. CI vs. coding agent)
|
|
105
|
+
- Project shape: framework, React version, TypeScript, project size NO file contents)
|
|
106
|
+
- Rules fired: rule names and counts only (e.g. `react-doctor/no-array-index-as-key`) (NO code or specific findings)
|
|
107
|
+
- De-minified React Doctor CLI stack traces
|
|
104
108
|
|
|
105
|
-
|
|
106
|
-
- `SENTRY_TRACES_SAMPLE_RATE=0` keeps crash reporting and usage counters but turns off performance tracing.
|
|
109
|
+
To opt out, run: `npx react-doctor@latest --no-telemetry`
|
|
107
110
|
|
|
108
111
|
## Contributing
|
|
109
112
|
|
package/dist/cli.js
CHANGED
|
@@ -11942,7 +11942,7 @@ const makeNoopConsole = () => ({
|
|
|
11942
11942
|
});
|
|
11943
11943
|
//#endregion
|
|
11944
11944
|
//#region src/cli/utils/version.ts
|
|
11945
|
-
const VERSION = "0.2.15-dev.
|
|
11945
|
+
const VERSION = "0.2.15-dev.bf4c21e";
|
|
11946
11946
|
//#endregion
|
|
11947
11947
|
//#region src/cli/utils/json-mode.ts
|
|
11948
11948
|
let context = null;
|
|
@@ -12288,13 +12288,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
12288
12288
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
12289
12289
|
* standard `SENTRY_RELEASE` override.
|
|
12290
12290
|
*/
|
|
12291
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.15-dev.
|
|
12291
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.2.15-dev.bf4c21e`;
|
|
12292
12292
|
/**
|
|
12293
12293
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
12294
12294
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
12295
12295
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
12296
12296
|
*/
|
|
12297
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.15-dev.
|
|
12297
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.2.15-dev.bf4c21e") ? "development" : "production");
|
|
12298
12298
|
/**
|
|
12299
12299
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
12300
12300
|
* (set to `0` to disable tracing) and falls back to
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.2.15-dev.
|
|
3
|
+
"version": "0.2.15-dev.bf4c21e",
|
|
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.15-dev.
|
|
66
|
+
"oxlint-plugin-react-doctor": "0.2.15-dev.bf4c21e"
|
|
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/core": "0.2.15",
|
|
75
|
+
"@react-doctor/api": "0.2.15"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": "^20.19.0 || >=22.12.0"
|