@hublo/sentinel 1.5.0-alpha.4 → 1.5.0-alpha.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.
@@ -119,7 +119,9 @@ sentinel (${type}): ${asMessage(error)}
119
119
  dryRun: ctx.dryRun,
120
120
  // Only when the FORMAT role actually adopted: a module still formatted by the root
121
121
  // must not be excluded from it.
122
- formattedModule: toRun.includes("format") ? module.root : void 0
122
+ formattedModule: toRun.includes("format") ? module.root : void 0,
123
+ // Same rule for the report directory: only when the STATIC ANALYSIS role adopted.
124
+ analysedModule: toRun.includes("static-analysis")
123
125
  });
124
126
  const prefix = ctx.dryRun ? " dry run: " : " ";
125
127
  for (const change of changes) process.stderr.write(`${prefix}${change}
@@ -1275,6 +1275,7 @@ $ sentinel --init --dry-run
1275
1275
  + }
1276
1276
  + }
1277
1277
  + }
1278
+ dry run: would ignore static-analysis-report/ in the root .gitignore
1278
1279
  # exit: 0
1279
1280
  ```
1280
1281
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hublo/sentinel",
3
- "version": "1.5.0-alpha.4",
3
+ "version": "1.5.0-alpha.5",
4
4
  "description": "One CLI that guards code health across Hublo repos: shared lint/typescript/build/test presets, static & dynamic analysis, and architecture checks.",
5
5
  "type": "module",
6
6
  "license": "MIT",