@zombie-mermaid/mermaid-parser 4.0.0 → 4.1.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/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +680 -248
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/flowchart-parser.ts +1324 -0
- package/src/index.ts +4 -2
package/src/index.ts
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// @zombie-mermaid/mermaid-parser — per-type diagram parsers
|
|
3
3
|
//
|
|
4
4
|
// Class, ER, sequence, and XY chart diagrams have no shared generic model
|
|
5
|
-
// the way flowcharts/state diagrams do (`MermaidGraph`, parsed by
|
|
6
|
-
// umbrella's
|
|
5
|
+
// the way flowcharts/state diagrams do (`MermaidGraph`, parsed by
|
|
6
|
+
// `flowchart-parser.ts` here, moved from the umbrella's `src/parser.ts`
|
|
7
|
+
// under #1318 so both renderers share one copy). Both `svg-renderer` and `ascii-renderer`
|
|
7
8
|
// import each type's parse function and types directly — confirmed by grep
|
|
8
9
|
// (zombie-mermaid#624, umbrella #620, `monorepo-conversion-scoping.md`
|
|
9
10
|
// finding 2) — so this package's public API is every per-type parse
|
|
@@ -54,3 +55,4 @@ export * from './xychart/types.ts'
|
|
|
54
55
|
export * from './xychart/colors.ts'
|
|
55
56
|
|
|
56
57
|
export * from './expanded-shapes.ts'
|
|
58
|
+
export * from './flowchart-parser.ts'
|