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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Contract-first OpenAPI toolchain for TypeScript Web/API systems. Generates contract packages, server routes, and frontend clients from OpenAPI specifications with enforceable guardrails.
4
4
 
5
- **Version:** 0.18.1
5
+ **Version:** 0.18.3
6
6
 
7
7
  ## Table of Contents
8
8
 
@@ -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} - space-separated list of target files (auto-detected)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "micro-contracts",
3
- "version": "0.18.1",
3
+ "version": "0.18.3",
4
4
  "description": "Contract-first OpenAPI toolchain that keeps TypeScript UI and microservices aligned via code generation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",