File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,15 @@ Run the build script to generate `.json` files from all `.jsonnet` files in the
61
61
npm run buildJson
62
62
```
63
63
64
- ### 3. Validate output completeness
64
+ ### 3. Build Mermaid diagrams
65
+
66
+ Run the build script to generate ` .mmd ` diagrams from all ` .json ` files in the ` generated/json ` directory:
67
+
68
+ ``` bash
69
+ npm run buildDiagrams
70
+ ```
71
+
72
+ ### 4. Validate output completeness
65
73
66
74
Check that all ` .jsonnet ` files have corresponding ` .json ` outputs:
67
75
@@ -77,8 +85,9 @@ To define a new logging feature:
77
85
78
86
1 . Create a ` .jsonnet ` file under ` features/<your-feature>/ `
79
87
2 . Run ` npm run buildJson ` to generate the ` .json ` file
80
- 3 . Add a test under ` __tests__/<your-feature>.test.js `
81
- 4 . Run ` npm test ` to validate
88
+ 3 . Run ` npm run buildDiagrams ` to generate the ` .mmd ` file
89
+ 4 . Add a test under ` __tests__/<your-feature>.test.js `
90
+ 5 . Run ` npm test ` to validate
82
91
83
92
---
84
93
You can’t perform that action at this time.
0 commit comments