react-doctor 0.8.2-dev.8d4d5a8 → 0.8.2

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.
Files changed (3) hide show
  1. package/README.md +21 -3
  2. package/dist/cli.js +5 -5
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -27,7 +27,17 @@ npx react-doctor@latest
27
27
 
28
28
  https://github.com/user-attachments/assets/07cc88d9-9589-44c3-aa73-5d603cb1c570
29
29
 
30
- ### 2. Install for agents
30
+ ### 2. Run a focused design audit
31
+
32
+ Use the design command when you only want UI composition, typography, interaction, accessibility, and motion findings:
33
+
34
+ ```bash
35
+ npx react-doctor@latest design
36
+ ```
37
+
38
+ This activates the complete design rule family, including focused rules that stay opt-in during a general health scan, and skips unrelated dead-code, supply-chain, custom-plugin, and health-score passes. It accepts the normal scan flags, including `--scope`, `--project`, `--verbose`, and `--json`.
39
+
40
+ ### 3. Install for agents
31
41
 
32
42
  Once you have an audit, you can install the skill for your coding agent to learn from the issues and fix them in the future.
33
43
 
@@ -37,7 +47,7 @@ npx react-doctor@latest install
37
47
 
38
48
  Works with Claude Code, Cursor, Codex, OpenCode, and many more.
39
49
 
40
- ### 3. Run in CI
50
+ ### 4. Run in CI
41
51
 
42
52
  React Doctor reviews every pull request and reports only the issues your change introduced, not your existing backlog. Set it up with one command:
43
53
 
@@ -49,12 +59,20 @@ This adds the workflow, scans every pull request, and posts a summary comment. C
49
59
 
50
60
  [CI docs →](https://react.doctor/ci)
51
61
 
52
- ### 4. Configure rules
62
+ ### 5. Configure rules
53
63
 
54
64
  You can configure which rules to run and how to run them in `doctor.config.ts`.
55
65
 
56
66
  [Learn more →](https://react.doctor/docs/configuration/config-files)
57
67
 
68
+ ### 6. Consume JSON
69
+
70
+ Use `--json` for stdout or `--json-out <path>` for a file. The default
71
+ `schemaVersion: 3` report includes deterministic diagnostic IDs and exact
72
+ per-project scan coverage.
73
+
74
+ [JSON report contract →](./docs/json-report.md)
75
+
58
76
  ## Telemetry
59
77
 
60
78
  The CLI reports crashes, basic run traces, and anonymous usage counters to [Sentry](https://sentry.io/) to help us fix bugs and prioritize work.
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]="512208a3-7a30-541a-b22b-a691b8d5f68d")}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]="d5409106-40c9-567e-8099-f25e0a9b48d4")}catch(e){}}();
3
3
  import { createRequire } from "node:module";
4
4
  import * as NodeChildProcess from "node:child_process";
5
5
  import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
@@ -77391,7 +77391,7 @@ const makeNoopConsole = () => ({
77391
77391
  });
77392
77392
  //#endregion
77393
77393
  //#region src/cli/utils/version.ts
77394
- const VERSION = "0.8.2-dev.8d4d5a8";
77394
+ const VERSION = "0.8.2";
77395
77395
  //#endregion
77396
77396
  //#region src/cli/utils/json-mode.ts
77397
77397
  let context = null;
@@ -77749,13 +77749,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
77749
77749
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
77750
77750
  * standard `SENTRY_RELEASE` override.
77751
77751
  */
77752
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.8.2-dev.8d4d5a8`;
77752
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.8.2`;
77753
77753
  /**
77754
77754
  * Deployment environment shown in Sentry's environment filter. Defaults to
77755
77755
  * `production` for tagged releases and `development` for dev/unbuilt versions,
77756
77756
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
77757
77757
  */
77758
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.8.2-dev.8d4d5a8") ? "development" : "production");
77758
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.8.2") ? "development" : "production");
77759
77759
  /**
77760
77760
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
77761
77761
  * (set to `0` to disable tracing) and falls back to
@@ -96476,4 +96476,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
96476
96476
  export {};
96477
96477
 
96478
96478
  //# sourceMappingURL=cli.js.map
96479
- //# debugId=512208a3-7a30-541a-b22b-a691b8d5f68d
96479
+ //# debugId=d5409106-40c9-567e-8099-f25e0a9b48d4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.8.2-dev.8d4d5a8",
3
+ "version": "0.8.2",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -66,7 +66,7 @@
66
66
  "vscode-uri": "^3.1.0",
67
67
  "yaml": "^2.9.0",
68
68
  "deslop-js": "0.8.2",
69
- "oxlint-plugin-react-doctor": "0.8.2-dev.8d4d5a8"
69
+ "oxlint-plugin-react-doctor": "0.8.2"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/babel__code-frame": "^7.27.0",