micro-contracts 0.18.1 → 0.18.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/docs/cli-reference.md
CHANGED
|
@@ -212,6 +212,10 @@ Comparing against `HEAD` rather than the index matters: a pre-commit run stages
|
|
|
212
212
|
its changes first, and comparing the worktree to the index would report a
|
|
213
213
|
hand-edited generated file as clean.
|
|
214
214
|
|
|
215
|
+
A configured generated directory that does not exist fails both checks: nothing to
|
|
216
|
+
inspect is not the same as nothing wrong. A run in which every check skipped
|
|
217
|
+
reports `No checks ran` rather than success.
|
|
218
|
+
|
|
215
219
|
**Manifest verification** — `packages/.generated-manifest.json` stores:
|
|
216
220
|
- SHA-256 hashes of all generated files
|
|
217
221
|
- Generator version used
|
|
@@ -342,7 +346,9 @@ generated:
|
|
|
342
346
|
# Note: CodeQL runs as a separate CI job (see .github/workflows/)
|
|
343
347
|
#
|
|
344
348
|
# Placeholders:
|
|
345
|
-
# {files} -
|
|
349
|
+
# {files} - the OpenAPI specs declared in micro-contracts.config.yaml
|
|
350
|
+
# (a check whose {files} cannot be expanded fails: a command run
|
|
351
|
+
# without files would report success having inspected nothing)
|
|
346
352
|
# {cwd} - current working directory
|
|
347
353
|
|
|
348
354
|
checks:
|
package/package.json
CHANGED