react-doctor 0.5.1-dev.1ca6f0e → 0.5.1-dev.486c68f

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 (2) hide show
  1. package/dist/cli.js +12 -7
  2. package/package.json +3 -3
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]="f25bdf09-ff57-565e-b47b-46ef237158c2")}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]="0551c9da-9fe1-599a-8bff-8c4ce0e4b2a1")}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";
@@ -43590,7 +43590,7 @@ const makeNoopConsole = () => ({
43590
43590
  });
43591
43591
  //#endregion
43592
43592
  //#region src/cli/utils/version.ts
43593
- const VERSION = "0.5.1-dev.1ca6f0e";
43593
+ const VERSION = "0.5.1-dev.486c68f";
43594
43594
  //#endregion
43595
43595
  //#region src/cli/utils/json-mode.ts
43596
43596
  let context = null;
@@ -43948,13 +43948,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
43948
43948
  * uploads source-map artifacts under, so stack frames symbolicate. Honors the
43949
43949
  * standard `SENTRY_RELEASE` override.
43950
43950
  */
43951
- const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.1-dev.1ca6f0e`;
43951
+ const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.1-dev.486c68f`;
43952
43952
  /**
43953
43953
  * Deployment environment shown in Sentry's environment filter. Defaults to
43954
43954
  * `production` for tagged releases and `development` for dev/unbuilt versions,
43955
43955
  * overridable via the standard `SENTRY_ENVIRONMENT` env var.
43956
43956
  */
43957
- const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.1-dev.1ca6f0e") ? "development" : "production");
43957
+ const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.1-dev.486c68f") ? "development" : "production");
43958
43958
  /**
43959
43959
  * Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
43960
43960
  * (set to `0` to disable tracing) and falls back to
@@ -49725,10 +49725,15 @@ jobs:
49725
49725
  - uses: actions/checkout@v5
49726
49726
 
49727
49727
  - uses: millionco/react-doctor@v2
49728
- # Common configuration knobs — uncomment any to override the default.
49728
+ # Advisory by default: React Doctor reports findings on every PR — a
49729
+ # sticky summary comment, inline review comments, and a commit status
49730
+ # with the health score — but never fails the check, so it won't red-X
49731
+ # a teammate's PR on day one. When your team trusts the signal, graduate
49732
+ # the gate: uncomment the block below and set blocking to "error" (fail
49733
+ # on new error-severity findings) or "warning" (fail on any finding).
49729
49734
  # Full reference: https://www.react.doctor/ci
49730
49735
  # with:
49731
- # blocking: warning # Gate level: "error" (default) | "warning" | "none" (advisory)
49736
+ # blocking: error # Gate level: "none" (advisory, the default) | "warning" | "error"
49732
49737
  # scope: full # On PRs, scan the whole project instead of just changed files
49733
49738
  # comment: false # Disable the sticky PR summary comment
49734
49739
  # review-comments: false # Disable inline review comments on changed lines
@@ -53352,4 +53357,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
53352
53357
  export {};
53353
53358
 
53354
53359
  //# sourceMappingURL=cli.js.map
53355
- //# debugId=f25bdf09-ff57-565e-b47b-46ef237158c2
53360
+ //# debugId=0551c9da-9fe1-599a-8bff-8c4ce0e4b2a1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-doctor",
3
- "version": "0.5.1-dev.1ca6f0e",
3
+ "version": "0.5.1-dev.486c68f",
4
4
  "description": "Your agent writes bad React. This catches it",
5
5
  "keywords": [
6
6
  "accessibility",
@@ -64,7 +64,7 @@
64
64
  "vscode-languageserver": "^9.0.1",
65
65
  "vscode-languageserver-textdocument": "^1.0.12",
66
66
  "vscode-uri": "^3.1.0",
67
- "oxlint-plugin-react-doctor": "0.5.1-dev.1ca6f0e"
67
+ "oxlint-plugin-react-doctor": "0.5.1-dev.486c68f"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/babel__code-frame": "^7.27.0",
@@ -77,7 +77,7 @@
77
77
  "@react-doctor/api": "0.5.1"
78
78
  },
79
79
  "engines": {
80
- "node": "^20.19.0 || >=22.12.0"
80
+ "node": "^20.19.0 || >=22.13.0"
81
81
  },
82
82
  "scripts": {
83
83
  "dev": "vp pack --watch",