@justinmoto/frontend-guardian-core 0.1.15 → 0.1.17
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 +5 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,20 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
Scan engine for Frontend Guardian.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
**What is Frontend Guardian?** It helps frontend teams keep UIs consistent. After you ship, spacing, borders, colors, and components often drift. This tool scans your code (Tailwind, JSX/TSX) and flags inconsistent spacing, arbitrary colors, mixed border-radius, duplicate components, and similar issues so you can fix them before they pile up.
|
|
3
|
+
What is Frontend Guardian? It helps frontend teams keep UIs consistent. After you ship, spacing, borders, colors, and components often drift. This tool scans your code (Tailwind, JSX/TSX) and flags inconsistent spacing, arbitrary colors, mixed border-radius, duplicate components, and similar issues so you can fix them before they pile up.
|
|
6
4
|
|
|
7
5
|
Use this package only if you want to run the scanner from your own Node code (programmatic use).
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
Most users: run the CLI instead (no install):
|
|
10
8
|
|
|
11
|
-
```bash
|
|
12
9
|
npx frontend-guardian .
|
|
13
10
|
npx frontend-guardian init # add GitHub Actions workflow to your repo
|
|
14
|
-
|
|
11
|
+
npx frontend-guardian . --suggest # AI fix suggestions (hosted API or GEMINI_API_KEY)
|
|
15
12
|
|
|
16
|
-
|
|
13
|
+
Install (optional) — only if you're embedding the scanner in your app:
|
|
17
14
|
|
|
18
|
-
```bash
|
|
19
15
|
npm i @justinmoto/frontend-guardian-core
|
|
20
|
-
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justinmoto/frontend-guardian-core",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Scan engine for Frontend Guardian.
|
|
3
|
+
"version": "0.1.17",
|
|
4
|
+
"description": "Scan engine for Frontend Guardian.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|