@miragon/design-iq-validator 5.0.0-rc.0 → 5.0.0

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 CHANGED
@@ -1,13 +1,13 @@
1
1
  # @miragon/design-iq-validator
2
2
 
3
- Deterministic validator for BPM content repositories: `designiq.yml` discovery, BPMN structural
4
- checks (flow soundness, complete BPMNDI coverage), the generic cross-model reference rule
5
- (every required reference — `callActivity` calls, `businessRuleTask` decides — must resolve
6
- in the repo), and a per-mediaKind parse baseline for every other registered notation (a
7
- broken `.tt`/`.vc.json` is an ERROR; DSL notations are lenient by design). Every finding
8
- carries a stable `ruleId` (e.g. `bpmn/flow`, `dmn/di`, `refs/dangling`). It treats the
9
- target repo as pure data — it never executes content-repo code. Exit code 0 = no errors
10
- (warnings allowed), 1 = errors.
3
+ Deterministic validator for designIQ content repositories: `designiq.yml` discovery, BPMN
4
+ structural checks (flow soundness, complete BPMNDI coverage), DMN structure and DMNDI coverage,
5
+ the generic cross-model reference rule (every required reference — `callActivity` calls,
6
+ `businessRuleTask` decides — must resolve in the repo), and a per-mediaKind parse baseline for
7
+ every other registered notation (a broken `.tt`/`.vc.json` is an ERROR; DSL notations are
8
+ lenient by design). Every finding carries a stable `ruleId` (e.g. `bpmn/flow`, `dmn/di`,
9
+ `refs/dangling`). It treats the target repo as pure data — it never executes content-repo code.
10
+ Exit code 0 = no errors (warnings allowed), 1 = errors.
11
11
 
12
12
  ## Usage
13
13
 
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as runCli } from "./validate-C9ZythtW.js";
2
+ import { a as runCli } from "./validate-B2YWDktq.js";
3
3
  //#region src/cli.ts
4
4
  /**
5
5
  * CLI entry for the platform validator. A dedicated entry file (instead of an
@@ -86,7 +86,7 @@ const notContentRepoError = (root) => {
86
86
  //#endregion
87
87
  //#region src/validate.ts
88
88
  /**
89
- * Deterministic validation of a BPM content repository (the slim contract).
89
+ * Deterministic validation of a content repository (the slim contract).
90
90
  *
91
91
  * A content repo is a root `designiq.yml` naming the folder its BPMN processes
92
92
  * live in (@designiq/notations/content); a process IS a `.bpmn` file there. This
package/dist/validate.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as runCli, i as checkModelBaseline, n as checkDmnXml, r as checkModel, t as checkBpmnXml } from "./validate-C9ZythtW.js";
1
+ import { a as runCli, i as checkModelBaseline, n as checkDmnXml, r as checkModel, t as checkBpmnXml } from "./validate-B2YWDktq.js";
2
2
  export { checkBpmnXml, checkDmnXml, checkModel, checkModelBaseline, runCli };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@miragon/design-iq-validator",
3
- "version": "5.0.0-rc.0",
3
+ "version": "5.0.0",
4
4
  "type": "module",
5
- "description": "Platform-owned validator for BPM content repos — designiq.yml discovery + BPMN structure and BPMNDI coverage. Runs against any checkout via --root; never executes content-repo code.",
5
+ "description": "Platform-owned validator for designIQ content repos — designiq.yml discovery, BPMN/DMN structure and diagram coverage, cross-model references, and a parse check for every other notation. Runs against any checkout via --root; never executes content-repo code.",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -10,8 +10,10 @@
10
10
  "directory": "packages/validator"
11
11
  },
12
12
  "keywords": [
13
+ "modeling",
13
14
  "bpm",
14
15
  "bpmn",
16
+ "dmn",
15
17
  "validator",
16
18
  "cli"
17
19
  ],