react-doctor 0.5.1-dev.d75654b → 0.5.1
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 +5 -5
- 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]="235b21d7-8c63-53ce-aced-50b019ab5957")}catch(e){}}();
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { execFile, execFileSync, spawn, spawnSync } from "node:child_process";
|
|
5
5
|
import * as path$1 from "node:path";
|
|
@@ -14250,7 +14250,7 @@ const makeNoopConsole = () => ({
|
|
|
14250
14250
|
});
|
|
14251
14251
|
//#endregion
|
|
14252
14252
|
//#region src/cli/utils/version.ts
|
|
14253
|
-
const VERSION = "0.5.1
|
|
14253
|
+
const VERSION = "0.5.1";
|
|
14254
14254
|
//#endregion
|
|
14255
14255
|
//#region src/cli/utils/json-mode.ts
|
|
14256
14256
|
let context = null;
|
|
@@ -14608,13 +14608,13 @@ const isDevVersion = (version) => version === "0.0.0" || version.includes("-");
|
|
|
14608
14608
|
* uploads source-map artifacts under, so stack frames symbolicate. Honors the
|
|
14609
14609
|
* standard `SENTRY_RELEASE` override.
|
|
14610
14610
|
*/
|
|
14611
|
-
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.1
|
|
14611
|
+
const resolveSentryRelease = () => process.env.SENTRY_RELEASE || `react-doctor@0.5.1`;
|
|
14612
14612
|
/**
|
|
14613
14613
|
* Deployment environment shown in Sentry's environment filter. Defaults to
|
|
14614
14614
|
* `production` for tagged releases and `development` for dev/unbuilt versions,
|
|
14615
14615
|
* overridable via the standard `SENTRY_ENVIRONMENT` env var.
|
|
14616
14616
|
*/
|
|
14617
|
-
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.1
|
|
14617
|
+
const resolveSentryEnvironment = () => process.env.SENTRY_ENVIRONMENT || (isDevVersion("0.5.1") ? "development" : "production");
|
|
14618
14618
|
/**
|
|
14619
14619
|
* Performance-tracing sample rate in `[0, 1]`. Reads `SENTRY_TRACES_SAMPLE_RATE`
|
|
14620
14620
|
* (set to `0` to disable tracing) and falls back to
|
|
@@ -24018,4 +24018,4 @@ Promise.resolve().then(() => assertNoRemovedFlags(process.argv)).then(() => prog
|
|
|
24018
24018
|
export {};
|
|
24019
24019
|
|
|
24020
24020
|
//# sourceMappingURL=cli.js.map
|
|
24021
|
-
//# debugId=
|
|
24021
|
+
//# debugId=235b21d7-8c63-53ce-aced-50b019ab5957
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.5.1
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Your agent writes bad React. This catches it",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"vscode-languageserver": "^9.0.1",
|
|
67
67
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
68
68
|
"vscode-uri": "^3.1.0",
|
|
69
|
-
"oxlint-plugin-react-doctor": "0.5.1
|
|
69
|
+
"oxlint-plugin-react-doctor": "0.5.1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@types/babel__code-frame": "^7.27.0",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
"@xterm/headless": "^6.0.0",
|
|
75
75
|
"commander": "^14.0.3",
|
|
76
76
|
"ora": "^9.4.0",
|
|
77
|
-
"@react-doctor/language-server": "0.5.1",
|
|
78
77
|
"@react-doctor/api": "0.5.1",
|
|
79
|
-
"@react-doctor/core": "0.5.1"
|
|
78
|
+
"@react-doctor/core": "0.5.1",
|
|
79
|
+
"@react-doctor/language-server": "0.5.1"
|
|
80
80
|
},
|
|
81
81
|
"engines": {
|
|
82
82
|
"node": "^20.19.0 || >=22.12.0"
|