forged-cli 0.4.2 → 0.4.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "forged-cli",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "A complete dev environment toolkit — shell, workflows, and project scaffolding in one install.",
5
5
  "keywords": [
6
6
  "cli",
@@ -265,7 +265,10 @@ export async function scanCommand(cwd = process.cwd(), opts = {}) {
265
265
  writeFileSync(
266
266
  join(homedir(), '.forged-scan-cache.json'),
267
267
  JSON.stringify({
268
- safe: findings.errors.length === 0 && findings.warnings.length === 0,
268
+ // safe = no errors; warnings (e.g. a very fresh release) are advisory
269
+ safe: findings.errors.length === 0,
270
+ errors: findings.errors.length,
271
+ warnings: findings.warnings.length,
269
272
  packages: packagesVerified,
270
273
  flagged,
271
274
  checked_at: new Date().toISOString(),