periderm-cli 0.1.14 → 0.1.15

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/dist/index.js CHANGED
@@ -30,6 +30,29 @@ program
30
30
  .name("periderm")
31
31
  .description("A pre-launch checklist.")
32
32
  .version("0.1.0");
33
+ // Easter egg: `periderm bless` — hidden, undocumented
34
+ program
35
+ .command("bless", { hidden: true })
36
+ .description("")
37
+ .action(() => {
38
+ const lines = [
39
+ "",
40
+ chalk.bold.hex("#FFD700")(" ✞ ─────────────────────────────────── ✞"),
41
+ "",
42
+ chalk.white(" \"For God so loved the world that he gave"),
43
+ chalk.white(" his one and only Son, that whoever"),
44
+ chalk.white(" believes in him shall not perish but"),
45
+ chalk.white(" have eternal life.\""),
46
+ chalk.dim(" — John 3:16"),
47
+ "",
48
+ chalk.bold.hex("#FFD700")(" ✦ Jesus Is Lord ✦"),
49
+ "",
50
+ chalk.bold.hex("#FFD700")(" ✞ ─────────────────────────────────── ✞"),
51
+ "",
52
+ ];
53
+ lines.forEach((l) => console.info(l));
54
+ process.exit(0);
55
+ });
33
56
  program
34
57
  .command("scan")
35
58
  .description("Scan the current directory and write a markdown report.")
@@ -119,6 +142,12 @@ program
119
142
  result.counts.low;
120
143
  scanSpinner.succeed(`Scanned ${result.filesScanned} files · ${totalFindings} finding${totalFindings === 1 ? "" : "s"} · ${elapsed}s`);
121
144
  printTerminal(result);
145
+ // 🥚 Easter egg: score 77 = perfection in disguise
146
+ if (result.score === 77) {
147
+ console.info("");
148
+ console.info(chalk.dim(" ✦ " + Buffer.from("SmVzdXMgSXMgTG9yZA==", "base64").toString("utf8") + " ✦"));
149
+ console.info("");
150
+ }
122
151
  const outDir = path.join(root, ".periderm");
123
152
  await fs.mkdir(outDir, { recursive: true });
124
153
  await fs.writeFile(path.join(outDir, "last-report.md"), result.markdown, "utf8");
@@ -107,5 +107,8 @@ export function renderMarkdown(r) {
107
107
  lines.push(`There are ${r.counts.critical} critical, ${r.counts.high} high, ${r.counts.medium} medium, ${r.counts.low} low findings.`);
108
108
  lines.push(`Fix them in priority order. For each finding, open the listed file, apply the Exact fix, and keep the change minimal.`);
109
109
  lines.push("```");
110
+ lines.push("");
111
+ // 🥚 Hidden watermark — only visible in raw .md source
112
+ lines.push("<!-- ✞ Jesus Is Lord ✞ — Philippians 2:10-11 -->");
110
113
  return lines.join("\n");
111
114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "periderm-cli",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "A pre-launch checklist for your codebase.",
5
5
  "type": "module",
6
6
  "bin": {