better-design 0.35.4 → 0.36.0
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 +13 -1
- package/dist/index.js +1025 -300
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -73,6 +73,14 @@ expected and what came back. A person reads every report, and sending one
|
|
|
73
73
|
never spends credit. Known secret shapes are removed before the report is
|
|
74
74
|
stored.
|
|
75
75
|
|
|
76
|
+
## Keep a free key
|
|
77
|
+
|
|
78
|
+
A key the installer creates for you is free for a limited number of queries.
|
|
79
|
+
To keep it on a free account, open the claim link it gives you and sign in.
|
|
80
|
+
The page shows a line with a code; paste that line into your AI tool, and
|
|
81
|
+
`confirm-claim` links the key it holds to your account. Only the tool that
|
|
82
|
+
holds the key can confirm it, and the code works for ten minutes.
|
|
83
|
+
|
|
76
84
|
## Review UI code
|
|
77
85
|
|
|
78
86
|
Check changed JSX and TSX files in your project:
|
|
@@ -81,6 +89,10 @@ Check changed JSX and TSX files in your project:
|
|
|
81
89
|
npx better-design review
|
|
82
90
|
```
|
|
83
91
|
|
|
84
|
-
|
|
92
|
+
It reads your `components.json`, the stylesheet it names and your UI folder, so
|
|
93
|
+
a finding names your own theme colours and your components' variants. The
|
|
94
|
+
check for classes Tailwind does not generate builds your Tailwind theme, which
|
|
95
|
+
runs the plugins your stylesheet names, as your build does. The agent hook skips
|
|
96
|
+
that check. Run `npx better-design review --help` for options.
|
|
85
97
|
|
|
86
98
|
[Installation guide](https://better-design.com/mcp/install) · [Design systems](https://better-design.com/design-systems) · [Website](https://better-design.com)
|