roast-my-design-system 8.4.4 → 8.4.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "roast-my-design-system",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.5",
|
|
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": [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { extname, join } from 'node:path';
|
|
13
13
|
import { walkRepo, readSource, profileRepo } from '../harvest/walk.mjs';
|
|
14
14
|
import { decideProfile, profileOf, installedDirs } from '../profiles/index.mjs';
|
|
15
|
-
import { PALETTE_CLASS_RE } from '../harvest/paint.mjs';
|
|
15
|
+
import { PALETTE_CLASS_RE, blankComments } from '../harvest/paint.mjs';
|
|
16
16
|
import { harvestTokens, extractStyling, normalizeHex, isGrey } from '../harvest/tokens.mjs';
|
|
17
17
|
import { harvestComponents, definedComponents } from '../harvest/components.mjs';
|
|
18
18
|
import { loadExclusions } from './exclusions.mjs';
|
|
@@ -35,7 +35,10 @@ export { EMAIL_PRINT_RE, ARTWORK_NAME_RE, SVG_MARKUP_RE, exemptReason } from './
|
|
|
35
35
|
export { WIDGET_CSS_RE, WIDGET_CONFIG_RE, LIBRARY_CLASS_RE, isLibraryClass } from './exempt.mjs';
|
|
36
36
|
// A palette class (bg-blue-500, text-gray-600) where a theme variable exists:
|
|
37
37
|
// the shadcn paint check (7.2). Only meaningful when system.profile.paletteReady.
|
|
38
|
-
|
|
38
|
+
// blankComments (8.4.5) is what the report and the live checks run on a file
|
|
39
|
+
// before matching, so a class named in a comment paints nothing; a guard that
|
|
40
|
+
// matches the raw text counts it, and disagrees with the report.
|
|
41
|
+
export { PALETTE_CLASS_RE, blankComments };
|
|
39
42
|
|
|
40
43
|
// Radius, font size, shadow and typeface: the patterns, so both checkers agree
|
|
41
44
|
// on what a declaration is and what counts as a disciplined value.
|
|
@@ -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 = '8.4.
|
|
4
|
+
export const VERSION = '8.4.5';
|
|
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.
|