roast-my-codebase 1.3.4 → 1.3.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.
Files changed (2) hide show
  1. package/dist/index.js +14 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9079,11 +9079,22 @@ function renderReport(report, options) {
9079
9079
  sections.push("");
9080
9080
  sections.push(` ${chalk4.italic(report.verdict)}`);
9081
9081
  sections.push("");
9082
- sections.push(
9083
- chalk4.dim(" \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500")
9082
+ const tweetText = encodeURIComponent(
9083
+ `My codebase just got roasted \u{1F525}
9084
+
9085
+ Health Score: ${report.health.score}/100 ${report.health.grade} \u2014 ${report.health.label}
9086
+
9087
+ "${report.verdict}"
9088
+
9089
+ roast yours \u{1F447}`
9084
9090
  );
9091
+ const tweetUrl = `https://x.com/intent/tweet?text=${tweetText}&url=https://github.com/rahuldk1105/roast-my-codebase`;
9092
+ sections.push(chalk4.dim(" " + "\u2500".repeat(40)));
9093
+ sections.push("");
9094
+ sections.push(` ${chalk4.bold("Share your roast")} ${chalk4.dim("\u2192")} ${chalk4.cyan(tweetUrl)}`);
9095
+ sections.push("");
9085
9096
  sections.push(
9086
- chalk4.dim(" roast-my-codebase \xB7 github.com/your-username/roast-my-codebase")
9097
+ chalk4.dim(" roast-my-codebase \xB7 github.com/rahuldk1105/roast-my-codebase")
9087
9098
  );
9088
9099
  sections.push("");
9089
9100
  return sections.join("\n");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "roast-my-codebase",
3
- "version": "1.3.4",
3
+ "version": "1.3.5",
4
4
  "description": "Get roasted. Get better. Ship faster. A CLI that analyzes your codebase and delivers brutally honest (but funny) feedback.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",