roast-my-design-system 3.3.0 → 3.3.2
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
|
@@ -19,11 +19,11 @@ Your AI agent (Claude, Cursor, Copilot) builds UI by imitating what's already in
|
|
|
19
19
|
|
|
20
20
|
The full report for vercel/ai-chatbot, top to bottom:
|
|
21
21
|
|
|
22
|
-

|
|
22
|
+

|
|
23
23
|
|
|
24
24
|
The same report in light mode (one file, built-in toggle):
|
|
25
25
|
|
|
26
|
-

|
|
26
|
+

|
|
27
27
|
|
|
28
28
|
## What makes the numbers trustworthy
|
|
29
29
|
|
package/bin/roast.mjs
CHANGED
|
@@ -88,6 +88,13 @@ console.log(`\nWant the fixes, not just the roast? The free Claude Code skill ru
|
|
|
88
88
|
scan, then walks the punch list with you: https://github.com/pencilrebel/roast-my-design-system`);
|
|
89
89
|
|
|
90
90
|
if (!noOpen) {
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
// Windows: `start` treats a first quoted arg as the window TITLE, and Node
|
|
92
|
+
// quotes paths containing spaces — pass an empty title so the path lands
|
|
93
|
+
// in the file slot. Linux: xdg-open may be absent (headless, WSL); the
|
|
94
|
+
// report path is already printed above, so a failed open is harmless.
|
|
95
|
+
if (process.platform === 'win32') {
|
|
96
|
+
spawnSync('cmd', ['/c', 'start', '', outPath], { stdio: 'ignore' });
|
|
97
|
+
} else {
|
|
98
|
+
spawnSync(process.platform === 'darwin' ? 'open' : 'xdg-open', [outPath], { stdio: 'ignore' });
|
|
99
|
+
}
|
|
93
100
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "roast-my-design-system",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"description": "Roast your design system with real data. A deterministic, zero-dependency scanner that counts every colour, grey, spacing value, typeface, duplicated component, inline style and arbitrary Tailwind value in your repo, scores it 0-100 against Ideal Design System norms and a 30-repo benchmark, and generates a shareable HTML diagnosis.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|
|
@@ -28,7 +28,7 @@ const outPath = resolve(arg('out', 'diagnosis.html'));
|
|
|
28
28
|
const h = JSON.parse(readFileSync(inPath, 'utf8'));
|
|
29
29
|
|
|
30
30
|
// Shown in the report footer; keep in step with plugin.json when releasing.
|
|
31
|
-
const VERSION = '3.3.
|
|
31
|
+
const VERSION = '3.3.2';
|
|
32
32
|
|
|
33
33
|
// Two shipped skins, same layout: 'dark' (navy glass, mint accent) and
|
|
34
34
|
// 'light' (lilac wash, white glass, violet accent). --theme picks one.
|