react-doctor 0.2.13 → 0.2.14-dev.4861f37
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 +12 -1
- package/dist/cli.js +2 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<picture>
|
|
2
2
|
<source media="(prefers-color-scheme: dark)" srcset="./assets/react-doctor-readme-logo-dark.svg">
|
|
3
3
|
<source media="(prefers-color-scheme: light)" srcset="./assets/react-doctor-readme-logo-light.svg">
|
|
4
|
-
<img alt="React Doctor" src="./assets/react-doctor-readme-logo-light.svg" width="
|
|
4
|
+
<img alt="React Doctor" src="./assets/react-doctor-readme-logo-light.svg" width="134" height="36">
|
|
5
5
|
</picture>
|
|
6
6
|
|
|
7
7
|
[](https://npmjs.com/package/react-doctor)
|
|
@@ -71,6 +71,17 @@ React Doctor scans the files changed in the pull request, emits inline annotatio
|
|
|
71
71
|
|
|
72
72
|
[Add GitHub Action →](https://github.com/marketplace/actions/react-doctor)
|
|
73
73
|
|
|
74
|
+
### 4. Configure rules in `react-doctor.config.json`
|
|
75
|
+
|
|
76
|
+
Point the `$schema` key at `https://react.doctor/schema/config.json` to get autocomplete, hover docs, and typo warnings for every option in any editor that understands JSON Schema.
|
|
77
|
+
|
|
78
|
+
```jsonc
|
|
79
|
+
{
|
|
80
|
+
"$schema": "https://react.doctor/schema/config.json",
|
|
81
|
+
"lint": true,
|
|
82
|
+
}
|
|
83
|
+
```
|
|
84
|
+
|
|
74
85
|
## Contributing
|
|
75
86
|
|
|
76
87
|
[Issues welcome!](https://github.com/millionco/react-doctor/issues)
|
package/dist/cli.js
CHANGED
|
@@ -6580,6 +6580,7 @@ const shouldSelectAllChoices = (choiceStates) => {
|
|
|
6580
6580
|
//#endregion
|
|
6581
6581
|
//#region src/cli/utils/unref-stdin.ts
|
|
6582
6582
|
const unrefStdin = () => {
|
|
6583
|
+
if (process.stdin.isTTY) return;
|
|
6583
6584
|
process.stdin.unref?.();
|
|
6584
6585
|
};
|
|
6585
6586
|
//#endregion
|
|
@@ -6679,7 +6680,7 @@ const resolveOxlintNodeEffect = (isLintEnabled, isQuiet) => Effect.gen(function*
|
|
|
6679
6680
|
const resolveOxlintNode = (isLintEnabled, isQuiet) => Effect.runPromise(resolveOxlintNodeEffect(isLintEnabled, isQuiet).pipe(Effect.provide(NodeResolver.layerNode)));
|
|
6680
6681
|
//#endregion
|
|
6681
6682
|
//#region src/cli/utils/version.ts
|
|
6682
|
-
const VERSION = "0.2.
|
|
6683
|
+
const VERSION = "0.2.14-dev.4861f37";
|
|
6683
6684
|
//#endregion
|
|
6684
6685
|
//#region src/inspect.ts
|
|
6685
6686
|
const silentConsole = makeNoopConsole();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-doctor",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14-dev.4861f37",
|
|
4
4
|
"description": "Diagnose and fix React codebases for security, performance, correctness, accessibility, bundle-size, and architecture issues",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"accessibility",
|
|
@@ -52,20 +52,20 @@
|
|
|
52
52
|
"@effect/platform-node-shared": "4.0.0-beta.70",
|
|
53
53
|
"agent-install": "0.0.5",
|
|
54
54
|
"conf": "^15.1.0",
|
|
55
|
-
"deslop-js": "^0.0.
|
|
55
|
+
"deslop-js": "^0.0.14",
|
|
56
56
|
"effect": "4.0.0-beta.70",
|
|
57
57
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
58
58
|
"oxlint": "^1.66.0",
|
|
59
59
|
"prompts": "^2.4.2",
|
|
60
60
|
"typescript": ">=5.0.4 <7",
|
|
61
|
-
"oxlint-plugin-react-doctor": "0.2.
|
|
61
|
+
"oxlint-plugin-react-doctor": "0.2.14-dev.4861f37"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@types/prompts": "^2.4.9",
|
|
65
65
|
"commander": "^14.0.3",
|
|
66
66
|
"ora": "^9.4.0",
|
|
67
|
-
"@react-doctor/
|
|
68
|
-
"@react-doctor/
|
|
67
|
+
"@react-doctor/api": "0.2.14",
|
|
68
|
+
"@react-doctor/core": "0.2.14"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": "^20.19.0 || >=22.12.0"
|