periderm-cli 0.1.30 → 0.1.31
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 +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ const program = new Command();
|
|
|
31
31
|
program
|
|
32
32
|
.name("periderm")
|
|
33
33
|
.description("A pre-launch checklist.")
|
|
34
|
-
.version("0.1.
|
|
34
|
+
.version("0.1.31");
|
|
35
35
|
// Easter egg: `periderm bless` — hidden, undocumented
|
|
36
36
|
program
|
|
37
37
|
.command("bless", { hidden: true })
|
|
@@ -155,6 +155,8 @@ program
|
|
|
155
155
|
await fs.writeFile(path.join(outDir, "last-report.md"), result.markdown, "utf8");
|
|
156
156
|
await fs.writeFile(path.join(outDir, "last-report.json"), JSON.stringify(result, null, 2), "utf8");
|
|
157
157
|
await fs.writeFile(path.join(outDir, "ai-instructions.md"), getAiInstructions(), "utf8");
|
|
158
|
+
// Ignore all files in the .periderm folder to prevent leaking vulnerabilities
|
|
159
|
+
await fs.writeFile(path.join(outDir, ".gitignore"), "*\n", "utf8");
|
|
158
160
|
if (!opts.localOnly) {
|
|
159
161
|
const cfg = readConfig();
|
|
160
162
|
if (!cfg.token) {
|