hermex 1.3.0-beta.4 → 2.0.0-beta.10
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/README.md +7 -0
- package/dist/cli.mjs +1909 -1423
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.mts +381 -0
- package/dist/index.mjs +13 -0
- package/package.json +14 -2
package/README.md
CHANGED
|
@@ -64,9 +64,16 @@ Options:
|
|
|
64
64
|
|
|
65
65
|
Commands:
|
|
66
66
|
scan [options] [pattern] Scan and analyze local files
|
|
67
|
+
comply [options] Check compliance with hermex.config.ts rules and
|
|
68
|
+
release-age policy (exits non-zero if not
|
|
69
|
+
compliant)
|
|
67
70
|
help [command] display help for command
|
|
68
71
|
```
|
|
69
72
|
|
|
73
|
+
### Comply Command
|
|
74
|
+
|
|
75
|
+
`scan` is informational and always exits `0`. Use `comply` to gate CI — it runs the same pipeline, reports every violation, then exits `0` (compliant), `1` (not compliant), or `2` (couldn't run the check). See [docs/examples.md](docs/examples.md#compliance-checking) for details.
|
|
76
|
+
|
|
70
77
|
### Scan Command
|
|
71
78
|
|
|
72
79
|
The `scan` command analyzes local files for React component usage patterns.
|