roast-my-design-system 4.2.4 → 4.2.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/bin/roast.mjs CHANGED
@@ -106,7 +106,7 @@ function run(script, args, env) {
106
106
  }
107
107
  const say = (s) => { if (!asJson) console.log(s); };
108
108
 
109
- say(`roast-my-design-system ${VERSION} · read-only scan, nothing leaves your machine\n`);
109
+ say(`roast-my-design-system ${VERSION} · read-only scan, nothing leaves your machine`);
110
110
  // the harvest goes to a temp dir this wrapper deletes right after; tell the
111
111
  // script so it does not print a path that will be gone seconds later
112
112
  run('harvest/index.mjs', [target, '--out', harvestPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roast-my-design-system",
3
- "version": "4.2.4",
3
+ "version": "4.2.5",
4
4
  "description": "Your AI can write the UI. This makes sure it writes your UI. A deterministic scanner counts every colour, spacing value and duplicate component, scores you 0-100 against 34 public repos, scopes the scan with .roastignore, injects agent rules with --apply.",
5
5
  "keywords": [
6
6
  "design-system",
@@ -1324,5 +1324,5 @@ if (summaryPath) {
1324
1324
 
1325
1325
  console.log(`✓ Diagnosis for ${repoName}`);
1326
1326
  if (healthScore !== null) console.log(` score: ${healthScore}/100`);
1327
- console.log(` verdict: ${verdict}`);
1328
- console.log(` → ${outPath}`);
1327
+ console.log(`\n Verdict: ${verdict}`);
1328
+ console.log(` Your free report is here → ${outPath}`);
@@ -171,8 +171,8 @@ const top = (list, n = 5) => list.some((e) => e.count > 1)
171
171
  ? ` top: ${list.slice(0, n).map((e) => `${showVal(e.value)} ×${e.count}`).join(', ')}`
172
172
  : (list.length ? ', none repeated' : '');
173
173
 
174
- console.log(`\nHarvest: ${profile.name ?? target}`);
175
- console.log(` framework: ${profile.framework}${profile.typescript ? ' + TS' : ''} design system: ${profile.designSystem.kind}${profile.designSystem.name ? ` (${profile.designSystem.name})` : ''} styling: ${profile.stylingDeps.join(', ') || 'none detected'}`);
174
+ console.log(`Harvest: ${profile.name ?? target}`);
175
+ console.log(` framework: ${profile.framework}${profile.typescript ? ' + TS' : ''} design system: ${profile.designSystem.kind}${profile.designSystem.name ? ` (${profile.designSystem.name})` : ''} styling: ${profile.stylingDeps.join(', ') || 'none detected'}`);
176
176
  console.log(` files: ${files.code.length} code, ${files.styles.length} style`);
177
177
  if (exclusions.patterns.length) {
178
178
  // Same voice as the report header: source named once, slashes on folders,
@@ -197,7 +197,7 @@ console.log(` context files: ${context.map((c) => c.file).join(', ') || 'none'}
197
197
  // The npx wrapper writes the harvest to a temp dir it deletes right after;
198
198
  // pointing the user at a path that will not exist is noise there.
199
199
  if (process.env.ROAST_EPHEMERAL_OUT === '1') {
200
- console.log(`\n scanned in ${harvest.tookMs}ms\n`);
200
+ console.log(`\n scanned in ${harvest.tookMs}ms`);
201
201
  } else {
202
- console.log(`\n → ${outPath} (${harvest.tookMs}ms)\n`);
202
+ console.log(`\n → ${outPath} (${harvest.tookMs}ms)`);
203
203
  }
@@ -1,4 +1,4 @@
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 = '4.2.4';
4
+ export const VERSION = '4.2.5';