@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
|
|
4
|
-
checks (flow soundness, complete BPMNDI coverage),
|
|
5
|
-
(every required reference — `callActivity` calls,
|
|
6
|
-
in the repo), and a per-mediaKind parse baseline for
|
|
7
|
-
broken `.tt`/`.vc.json` is an ERROR; DSL notations are
|
|
8
|
-
carries a stable `ruleId` (e.g. `bpmn/flow`, `dmn/di`,
|
|
9
|
-
target repo as pure data — it never executes content-repo code.
|
|
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
|
@@ -86,7 +86,7 @@ const notContentRepoError = (root) => {
|
|
|
86
86
|
//#endregion
|
|
87
87
|
//#region src/validate.ts
|
|
88
88
|
/**
|
|
89
|
-
* Deterministic validation of a
|
|
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-
|
|
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
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Platform-owned validator for
|
|
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
|
],
|