zombie-mermaid 2.2.2 → 2.2.4
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 +4 -4
- package/dist/ascii.cjs +8 -8
- package/dist/ascii.cjs.map +1 -1
- package/dist/ascii.js +1137 -1070
- package/dist/ascii.js.map +1 -1
- package/dist/cli.js +3380 -3295
- package/dist/index.cjs +59 -52
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1780 -1712
- package/dist/index.js.map +1 -1
- package/dist/mcp.cjs +246 -52
- package/dist/mcp.cjs.map +1 -1
- package/dist/mcp.js +246 -52
- package/dist/mcp.js.map +1 -1
- package/package.json +25 -21
- package/packages/ascii-renderer/src/canvas.ts +7 -4
- package/packages/ascii-renderer/src/class-diagram.ts +192 -12
- package/packages/ascii-renderer/src/draw-arrows.ts +79 -35
- package/packages/ascii-renderer/src/sequence.ts +42 -8
- package/packages/ascii-renderer/src/shapes/hexagon.ts +7 -3
- package/packages/ascii-renderer/src/shapes/special.ts +12 -4
- package/packages/core/src/generated/mono-font-subset.ts +32 -0
- package/packages/core/src/text-metrics.ts +22 -0
- package/packages/core/src/theme.ts +29 -13
- package/packages/mermaid-parser/src/xychart/parser.ts +44 -1
- package/src/__tests__/ascii-arrowhead-direction-1083.test.ts +51 -0
- package/src/__tests__/ascii-class-box-occupancy.test.ts +82 -43
- package/src/__tests__/ascii-class-detour-label-routing-487.test.ts +8 -8
- package/src/__tests__/ascii-class-parent-alignment-971.test.ts +139 -0
- package/src/__tests__/ascii-class-parent-alignment-972.test.ts +208 -0
- package/src/__tests__/ascii-draw-arrows-coverage.test.ts +56 -0
- package/src/__tests__/ascii-edge-ending-glyphs.test.ts +3 -3
- package/src/__tests__/ascii-sequence-form-invariants.test.ts +51 -0
- package/src/__tests__/text-metrics.test.ts +13 -0
- package/src/__tests__/theme.test.ts +30 -0
- package/src/__tests__/workspace-package-boundaries.test.ts +2 -2
- package/src/__tests__/xychart-parser-categories.test.ts +78 -0
- package/src/cli/html-viewer.ts +5 -0
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
<picture>
|
|
4
|
-
<source media="(prefers-color-scheme: dark)" srcset="logo-lockup-dark.svg">
|
|
5
|
-
<img src="logo-lockup-light.svg" alt="ZombieMermaid" height="48">
|
|
4
|
+
<source media="(prefers-color-scheme: dark)" srcset="public/logo-lockup-dark.svg">
|
|
5
|
+
<img src="public/logo-lockup-light.svg" alt="ZombieMermaid" height="48">
|
|
6
6
|
</picture>
|
|
7
7
|
|
|
8
8
|
**Render Mermaid diagrams as beautiful SVGs or ASCII art**
|
|
9
9
|
|
|
10
10
|
Ultra-fast, fully themeable, zero DOM dependencies. A maintained fork of [`beautiful-mermaid`](https://github.com/lukilabs/beautiful-mermaid) that refuses to die.
|
|
11
11
|
|
|
12
|
-

|
|
12
|
+

|
|
13
13
|
|
|
14
14
|
[](https://dfadler.github.io/zombie-mermaid/)
|
|
15
15
|
[](https://dfadler.github.io/zombie-mermaid/fork-fixes.html)
|
|
@@ -242,7 +242,7 @@ Thank you Alexander for the excellent foundation!
|
|
|
242
242
|
|
|
243
243
|
## Contributing
|
|
244
244
|
|
|
245
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for local setup, the test/lint workflow, and how changesets and releases work ([RELEASING.md](RELEASING.md)). Security issues should go through [SECURITY.md](SECURITY.md) instead of a public issue. Released versions are tracked in [CHANGELOG.md](CHANGELOG.md).
|
|
245
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md) for local setup, the test/lint workflow, and how changesets and releases work ([RELEASING.md](docs/RELEASING.md)). Security issues should go through [SECURITY.md](SECURITY.md) instead of a public issue. Released versions are tracked in [CHANGELOG.md](CHANGELOG.md).
|
|
246
246
|
|
|
247
247
|
---
|
|
248
248
|
|