@miragon/design-iq-validator 5.9.0 → 5.10.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/dist/cli.js
CHANGED
|
@@ -16,6 +16,7 @@ const NOTATIONS = [
|
|
|
16
16
|
mediaKind: "xml",
|
|
17
17
|
docShape: "text",
|
|
18
18
|
monacoLanguage: "xml",
|
|
19
|
+
todos: true,
|
|
19
20
|
graphHints: {
|
|
20
21
|
flowEdgeKinds: ["sequenceFlow"],
|
|
21
22
|
entryNodeTypes: ["startEvent"]
|
|
@@ -48,6 +49,7 @@ const NOTATIONS = [
|
|
|
48
49
|
mediaKind: "dsl",
|
|
49
50
|
docShape: "text",
|
|
50
51
|
monacoLanguage: "plaintext",
|
|
52
|
+
todos: true,
|
|
51
53
|
graphHints: {
|
|
52
54
|
flowEdgeKinds: ["dependency"],
|
|
53
55
|
entryNodeTypes: []
|
|
@@ -63,7 +65,8 @@ const NOTATIONS = [
|
|
|
63
65
|
extensions: [".tt", ".ttm.json"],
|
|
64
66
|
mediaKind: "json",
|
|
65
67
|
docShape: "text",
|
|
66
|
-
monacoLanguage: "json"
|
|
68
|
+
monacoLanguage: "json",
|
|
69
|
+
todos: true
|
|
67
70
|
},
|
|
68
71
|
{
|
|
69
72
|
id: "event-storming",
|
|
@@ -76,6 +79,7 @@ const NOTATIONS = [
|
|
|
76
79
|
mediaKind: "dsl",
|
|
77
80
|
docShape: "text",
|
|
78
81
|
monacoLanguage: "plaintext",
|
|
82
|
+
todos: true,
|
|
79
83
|
graphHints: {
|
|
80
84
|
flowEdgeKinds: ["arrow"],
|
|
81
85
|
entryNodeTypes: []
|
|
@@ -92,6 +96,7 @@ const NOTATIONS = [
|
|
|
92
96
|
mediaKind: "json",
|
|
93
97
|
docShape: "text",
|
|
94
98
|
monacoLanguage: "json",
|
|
99
|
+
todos: true,
|
|
95
100
|
graphHints: {
|
|
96
101
|
flowEdgeKinds: [
|
|
97
102
|
"partnership",
|
|
@@ -125,7 +130,8 @@ const NOTATIONS = [
|
|
|
125
130
|
extensions: [".md"],
|
|
126
131
|
mediaKind: "markdown",
|
|
127
132
|
docShape: "text",
|
|
128
|
-
monacoLanguage: "markdown"
|
|
133
|
+
monacoLanguage: "markdown",
|
|
134
|
+
todos: true
|
|
129
135
|
}
|
|
130
136
|
];
|
|
131
137
|
function byId(id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as CONTENT_CONFIG_FILE, i as contentConfigConflict, a as discoverModels, o as legacyContentConfigFile, s as loadContentConfig } from "./content-
|
|
1
|
+
export { t as CONTENT_CONFIG_FILE, i as contentConfigConflict, a as discoverModels, o as legacyContentConfigFile, s as loadContentConfig } from "./content-BjTdVfz8.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as byId, c as resolveContentConfigFile, d as extractModelGraph, f as parseXml, g as byExtension, h as kindOf, l as XMLValidator, m as requirementHref, p as readBpmn, r as CONTENT_CONFIG_NAMES, u as asArray } from "./content-
|
|
1
|
+
import { _ as byId, c as resolveContentConfigFile, d as extractModelGraph, f as parseXml, g as byExtension, h as kindOf, l as XMLValidator, m as requirementHref, p as readBpmn, r as CONTENT_CONFIG_NAMES, u as asArray } from "./content-BjTdVfz8.js";
|
|
2
2
|
import { readFileSync } from "node:fs";
|
|
3
3
|
import { relative, resolve } from "node:path";
|
|
4
4
|
import { parseDocumentText, serializeDocumentText, validateDocument } from "@miragon/context-maps-schema-model";
|
|
@@ -1053,7 +1053,7 @@ async function runCli() {
|
|
|
1053
1053
|
/** optional single-model filter (a model file stem) */
|
|
1054
1054
|
const only = argv[0];
|
|
1055
1055
|
const rel = (p) => p.startsWith("/") ? relative(ROOT, p) : p;
|
|
1056
|
-
const { CONTENT_CONFIG_FILE, contentConfigConflict, discoverModels, legacyContentConfigFile, loadContentConfig } = await import("./content-
|
|
1056
|
+
const { CONTENT_CONFIG_FILE, contentConfigConflict, discoverModels, legacyContentConfigFile, loadContentConfig } = await import("./content-CAFoHROH.js");
|
|
1057
1057
|
const cfg = loadContentConfig(ROOT);
|
|
1058
1058
|
if (!cfg) {
|
|
1059
1059
|
console.error(notContentRepoError(ROOT));
|
package/dist/validate.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as checkBpmnXml, n as checkDmnXml, r as checkModel, i as checkModelBaseline, a as checkSchemaModel, o as runCli } from "./validate-
|
|
1
|
+
export { t as checkBpmnXml, n as checkDmnXml, r as checkModel, i as checkModelBaseline, a as checkSchemaModel, o as runCli } from "./validate-BWa99fy6.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@miragon/design-iq-validator",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.10.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Platform-owned validator for designIQ content repos — designiq.yml discovery, BPMN/DMN structure and diagram coverage, cross-model references, the schema check of Team Topologies, Context Maps and Value Chains, and a parse check for every other notation. Runs against any checkout via --root; never executes content-repo code.",
|
|
6
6
|
"license": "MIT",
|