react-doctor 0.0.28 → 0.0.30

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 CHANGED
@@ -48,6 +48,29 @@ curl -fsSL https://react.doctor/install-skill.sh | bash
48
48
 
49
49
  Supports Cursor, Claude Code, Amp Code, Codex, Gemini CLI, OpenCode, Windsurf, and Antigravity.
50
50
 
51
+ ## GitHub Actions
52
+
53
+ ```yaml
54
+ - uses: actions/checkout@v5
55
+ with:
56
+ fetch-depth: 0 # required for --diff
57
+ - uses: millionco/react-doctor@main
58
+ with:
59
+ diff: main
60
+ github-token: ${{ secrets.GITHUB_TOKEN }}
61
+ ```
62
+
63
+ | Input | Default | Description |
64
+ | -------------- | ------- | ----------------------------------------------------------------- |
65
+ | `directory` | `.` | Project directory to scan |
66
+ | `verbose` | `true` | Show file details per rule |
67
+ | `project` | | Workspace project(s) to scan (comma-separated) |
68
+ | `diff` | | Base branch for diff mode. Only changed files are scanned |
69
+ | `github-token` | | When set on `pull_request` events, posts findings as a PR comment |
70
+ | `node-version` | `20` | Node.js version to use |
71
+
72
+ The action outputs a `score` (0–100) you can use in subsequent steps.
73
+
51
74
  ## Options
52
75
 
53
76
  ```
@@ -62,7 +85,7 @@ Options:
62
85
  -y, --yes skip prompts, scan all workspace projects
63
86
  --project <name> select workspace project (comma-separated for multiple)
64
87
  --diff [base] scan only files changed vs base branch
65
- --no-ami skip Ami-related prompts
88
+ --ami enable Ami-related prompts
66
89
  --fix open Ami to auto-fix all issues
67
90
  -h, --help display help for command
68
91
  ```