reporefit 0.0.0-stage → 0.3.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/LICENSE +21 -0
- package/README.md +57 -2
- package/THIRD_PARTY_NOTICES.md +652 -0
- package/dist/reporefit.mjs +11505 -0
- package/package.json +38 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 RepoRefit
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,58 @@
|
|
|
1
|
-
#
|
|
1
|
+
# RepoRefit
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Check AI coding projects on your own machine or CI runner: instruction files and token use, Markdown links,
|
|
4
|
+
committed secrets, MCP settings, dependencies, agent rules, duplicated code, import cycles and deploy setup.
|
|
5
|
+
The same engine as the free web scanner at https://reporefit.com. Nothing is uploaded and no network request is made.
|
|
6
|
+
|
|
7
|
+
## Command line (Node 20+, Windows, macOS, Linux)
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npx -y reporefit scan # check the current folder
|
|
11
|
+
npm install -g reporefit # or install once (then: reporefit ...)
|
|
12
|
+
reporefit scan --tool secrets --fail-on high
|
|
13
|
+
reporefit fix > reporefit-fix-plan.md # AI fix plan for Claude Code, Codex and others
|
|
14
|
+
reporefit badge # README badge (counts only)
|
|
15
|
+
reporefit help
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Exit codes: 0 ok, 1 findings at or above `--fail-on`, 2 usage or read error, 130 cancelled.
|
|
19
|
+
Full guide: https://reporefit.com/en/cli/
|
|
20
|
+
|
|
21
|
+
## GitHub Action
|
|
22
|
+
|
|
23
|
+
```yaml
|
|
24
|
+
name: RepoRefit
|
|
25
|
+
on: [push, pull_request, workflow_dispatch]
|
|
26
|
+
permissions:
|
|
27
|
+
contents: read
|
|
28
|
+
jobs:
|
|
29
|
+
check:
|
|
30
|
+
runs-on: ubuntu-latest
|
|
31
|
+
steps:
|
|
32
|
+
- uses: actions/checkout@v4
|
|
33
|
+
with:
|
|
34
|
+
persist-credentials: false
|
|
35
|
+
- uses: reporefit/action@v1
|
|
36
|
+
with:
|
|
37
|
+
fail-on: high
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
The action only reads files. It never runs the project's scripts, needs no token or secret, and works with
|
|
41
|
+
`pull_request` (do not use `pull_request_target` for untrusted forks). Results appear in the job summary and as
|
|
42
|
+
file annotations; Markdown and JSON reports and the AI fix plan are written to the runner's temp folder.
|
|
43
|
+
Inputs, outputs and examples: https://reporefit.com/en/github-actions/
|
|
44
|
+
|
|
45
|
+
## MCP server (Claude Code, Cursor, Codex)
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
claude mcp add reporefit -- npx -y reporefit mcp
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Tools: scan, generate_fix_instructions, list_rules, explain_rule. Local, read-only, no network.
|
|
52
|
+
Setup for other clients: https://reporefit.com/en/mcp/
|
|
53
|
+
|
|
54
|
+
## Rules
|
|
55
|
+
|
|
56
|
+
Every rule ID (for example `SEC-001`) is explained at https://reporefit.com/en/rules/
|
|
57
|
+
|
|
58
|
+
RepoRefit 0.3.1 · MIT License · Third-party notices in THIRD_PARTY_NOTICES.md
|