react-doctor 0.2.15-dev.66f9d64 → 0.2.15-dev.bd8298d
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 +3 -3
- package/dist/cli.js +502 -121
- package/dist/index.d.ts +7 -6
- package/dist/index.js +190 -76
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -96,14 +96,14 @@ Prefer JSON? Use `doctor.config.json`:
|
|
|
96
96
|
|
|
97
97
|
## Telemetry
|
|
98
98
|
|
|
99
|
-
The CLI reports crashes
|
|
99
|
+
The CLI reports crashes, basic run traces, and anonymous usage counters to [Sentry](https://sentry.io) to help us fix bugs and prioritize what to build. Events and metrics include the version, platform, Node version, how the CLI was invoked (which command, package manager, and whether it ran locally vs. CI vs. a coding agent), the detected project shape (framework, React version, TypeScript, project size — never the contents of your files), which rules fired (rule names only, e.g. `react-doctor/no-array-index-as-key`, with counts — never your code or specific findings), and de-minified stack traces.
|
|
100
100
|
|
|
101
101
|
Telemetry is **anonymized** before it leaves your machine: no IP address is collected, your hostname and machine name are stripped, your OS username is removed from every path (your home directory is replaced with `~`), captured local variables are dropped, and known secrets/API keys/emails are masked. No source code or diagnostic findings are sent.
|
|
102
102
|
|
|
103
103
|
Opt out at any time:
|
|
104
104
|
|
|
105
|
-
- `npx react-doctor@latest --no-telemetry` disables Sentry entirely (crash reporting and
|
|
106
|
-
- `SENTRY_TRACES_SAMPLE_RATE=0` keeps crash reporting but turns off performance tracing.
|
|
105
|
+
- `npx react-doctor@latest --no-telemetry` disables Sentry entirely (crash reporting, tracing, and usage counters) for that run, alongside the hosted score API.
|
|
106
|
+
- `SENTRY_TRACES_SAMPLE_RATE=0` keeps crash reporting and usage counters but turns off performance tracing.
|
|
107
107
|
|
|
108
108
|
## Contributing
|
|
109
109
|
|