roast-my-design-system 9.0.4 → 9.0.6
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
|
@@ -117,11 +117,11 @@ Not to be confused with each other: **"Why this matters"** is generic, ships wit
|
|
|
117
117
|
|
|
118
118
|
The full report for vercel/ai-chatbot, top to bottom, including "What the numbers mean", Claude's read of the scan, embedded right under the verdict:
|
|
119
119
|
|
|
120
|
-

|
|
121
121
|
|
|
122
122
|
The same report in light mode (one file, built-in toggle):
|
|
123
123
|
|
|
124
|
-

|
|
125
125
|
|
|
126
126
|
## What it works on
|
|
127
127
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "roast-my-design-system",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.6",
|
|
4
4
|
"mcpName": "io.github.gregkozakiewicz/roast-my-design-system",
|
|
5
5
|
"description": "Your AI can write the UI. This makes sure it writes your UI. A deterministic scanner scores your design system 0-100 against 112 public repos, reads React and web components (Stencil, Lit), hands you a copy-paste fix prompt for each top finding, writes rules for Claude, Cursor, Copilot and Windsurf with --apply, and runs as a local MCP server with --mcp.",
|
|
6
6
|
"keywords": [
|
|
@@ -275,7 +275,15 @@ const notMeasuredReason = P.notMeasuredReason;
|
|
|
275
275
|
// version. So it is counted and shown, never scored and never a fix to make.
|
|
276
276
|
|
|
277
277
|
// Clickable file paths — vscode:// opens the file straight in the editor.
|
|
278
|
-
|
|
278
|
+
// A receipt opens the file in the editor, which needs the absolute path of
|
|
279
|
+
// the machine the scan ran on. A hosted report (--og-url says it lives at
|
|
280
|
+
// an address) has no such machine to open files on, and the path would only
|
|
281
|
+
// publish the maintainer's home folder (the examples did, until 9.0.6), so
|
|
282
|
+
// there the receipt is the repo-relative path and nothing else.
|
|
283
|
+
const HOSTED = !!arg('og-url', null);
|
|
284
|
+
const fileLink = (f) => (HOSTED
|
|
285
|
+
? `<span class="path">${esc(f)}</span>`
|
|
286
|
+
: `<a class="path" href="vscode://file/${encodeURI(`${h.repo}/${f}`)}">${esc(f)}</a>`);
|
|
279
287
|
const fontSizeTotal = (h.tokens.fontSizes ?? []).length + (h.tokens.tailwind?.textSizes ?? []).length;
|
|
280
288
|
const radiiTotal = (h.tokens.radii ?? []).length + (h.tokens.tailwind?.radii ?? []).length;
|
|
281
289
|
const shadows = h.tokens.shadows ?? [];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Single version constant for the engine — imported by diagnose (report
|
|
2
2
|
// footer) and rules (generated-by line). This is the bump spot that used to
|
|
3
3
|
// live as a const inside diagnose/index.mjs.
|
|
4
|
-
export const VERSION = '9.0.
|
|
4
|
+
export const VERSION = '9.0.6';
|
|
5
5
|
// The shape of harvest.json and summary.json. Bumped only when a field is
|
|
6
6
|
// renamed, removed or changes meaning; a new field is not a new schema. A
|
|
7
7
|
// tool comparing two scans compares like with like by this number, not by VERSION.
|