yeknal 1.1.1 → 1.1.2

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/bin/yeknal.js +2 -7
  2. package/package.json +1 -1
package/bin/yeknal.js CHANGED
@@ -577,17 +577,12 @@ async function checkSecretsAndEnv(projectDir, fileContents) {
577
577
  ".gitignore exists", "Phase 10", 3, 3, "pass",
578
578
  ".gitignore file found",
579
579
  ));
580
- } else if (hasRealEnvFiles) {
580
+ } else {
581
581
  checks.push(checkResult(
582
582
  ".gitignore exists", "Phase 10", 3, 0, "fail",
583
- "No .gitignore file found but .env files exist. Create a .gitignore to prevent committing secrets.",
583
+ "No .gitignore file found. Create one to prevent committing secrets, node_modules, build artifacts, and IDE files.",
584
584
  [{ file: ".gitignore", message: "Missing .gitignore file" }],
585
585
  ));
586
- } else {
587
- checks.push(checkResult(
588
- ".gitignore exists", "Phase 10", 3, 3, "pass",
589
- "No .gitignore file found, but no .env files exist either — no secrets at risk",
590
- ));
591
586
  }
592
587
 
593
588
  // Check 2: .gitignore covers .env files (4 pts)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yeknal",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "CLI to fetch markdown templates and sync AI agent skills",
5
5
  "main": "bin/yeknal.js",
6
6
  "bin": {