roast-my-design-system 5.2.0 → 5.2.1
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# roast-my-design-system
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/roast-my-design-system) [](LICENSE)
|
|
3
|
+
[](https://www.npmjs.com/package/roast-my-design-system) [](https://www.npmjs.com/package/roast-my-design-system) [](LICENSE)
|
|
4
4
|
|
|
5
5
|
## Your AI can write the UI. This makes sure it writes *your* UI.
|
|
6
6
|
|
|
@@ -212,6 +212,8 @@ Yes, the median repo is already a mess. That's the point.
|
|
|
212
212
|
|
|
213
213
|
**Your AI can write the UI. This makes sure it writes *your* UI.**
|
|
214
214
|
|
|
215
|
+
<a href="https://github.com/pencilrebel/roast-my-design-system"><img src="https://img.shields.io/badge/If%20it%20roasted%20you%20fairly%2C%20a%20star%20helps%20other%20people%20find%20it-a855f7?style=for-the-badge&logo=github&logoColor=white" alt="If it roasted you fairly, a star helps other people find it"></a>
|
|
216
|
+
|
|
215
217
|
## License
|
|
216
218
|
|
|
217
219
|
MIT. The code is yours to fork, modify and redistribute; the copyright notice travels with it.
|
package/bin/roast.mjs
CHANGED
|
@@ -235,8 +235,8 @@ scan, then walks the punch list with you: https://github.com/pencilrebel/roast-m
|
|
|
235
235
|
// The ask for feedback, worded and linked in one place (scripts/lib/feedback.mjs)
|
|
236
236
|
// so the terminal and the report footer can never say different things.
|
|
237
237
|
if (!asJson) {
|
|
238
|
-
const { feedbackUrl, FEEDBACK_ASK, FEEDBACK_CTA } = await import(pathToFileURL(join(SCRIPTS, 'lib/feedback.mjs')).href);
|
|
239
|
-
say(`\n${FEEDBACK_ASK} ${FEEDBACK_CTA}:\n${feedbackUrl(VERSION)}`);
|
|
238
|
+
const { feedbackUrl, FEEDBACK_ASK, FEEDBACK_CTA, STAR_ASK, STAR_CTA, STAR_URL } = await import(pathToFileURL(join(SCRIPTS, 'lib/feedback.mjs')).href);
|
|
239
|
+
say(`\n${FEEDBACK_ASK} ${FEEDBACK_CTA}:\n${feedbackUrl(VERSION)}\n${STAR_ASK} ${STAR_CTA}:\n${STAR_URL}`);
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
if (!noOpen) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "roast-my-design-system",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"mcpName": "io.github.pencilrebel/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 34 public repos, writes rules for Claude, Cursor, Copilot and Windsurf with --apply, and runs as a local MCP server with --mcp.",
|
|
6
6
|
"keywords": [
|
|
@@ -12,6 +12,12 @@ const REPO = 'https://github.com/pencilrebel/roast-my-design-system';
|
|
|
12
12
|
export const FEEDBACK_ASK = 'Think it got something wrong?';
|
|
13
13
|
export const FEEDBACK_CTA = 'Say so, and say which bit';
|
|
14
14
|
|
|
15
|
+
// The other half of the same deal: the roast cuts both ways. Nothing can
|
|
16
|
+
// star a repo from a link, so this lands on the page where the button is.
|
|
17
|
+
export const STAR_ASK = 'Think it got it right?';
|
|
18
|
+
export const STAR_CTA = 'A star helps other people find it';
|
|
19
|
+
export const STAR_URL = REPO;
|
|
20
|
+
|
|
15
21
|
export function feedbackUrl(version) {
|
|
16
22
|
// `version` matches the input id in feedback.yml, which is how GitHub issue
|
|
17
23
|
// forms accept a prefilled value.
|