zombie-mermaid 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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +22 -9
package/README.md CHANGED
@@ -201,7 +201,7 @@ Using this from React? See [React Integration](docs/react-integration.md) for a
201
201
 
202
202
  ## CLI
203
203
 
204
- Installing the package also exposes a `zombie-mermaid` binary:
204
+ Installing the package also exposes a `zombie-mermaid` binary. To run just the CLI, without the library's other entry points, use `npx @zombie-mermaid/cli render diagram.mmd --ascii` (same CLI, published as [`@zombie-mermaid/cli`](packages/cli/README.md)):
205
205
 
206
206
  ```bash
207
207
  zombie-mermaid render diagram.mmd --ascii # Print ASCII/Unicode to terminal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zombie-mermaid",
3
- "version": "5.9.0",
3
+ "version": "5.10.0",
4
4
  "license": "MIT",
5
5
  "mcpName": "io.github.dfadler/zombie-mermaid",
6
6
  "description": "Render Mermaid diagrams as beautiful SVGs or ASCII art. Ultra-fast, fully themeable, zero DOM dependencies. Maintained fork of beautiful-mermaid.",
@@ -50,6 +50,19 @@
50
50
  }
51
51
  }
52
52
  },
53
+ "typesVersions": {
54
+ "*": {
55
+ "ascii": [
56
+ "dist/ascii.d.ts"
57
+ ],
58
+ "ascii-layout": [
59
+ "dist/ascii-layout.d.ts"
60
+ ],
61
+ "mcp": [
62
+ "dist/mcp.d.ts"
63
+ ]
64
+ }
65
+ },
53
66
  "repository": {
54
67
  "type": "git",
55
68
  "url": "https://github.com/dfadler/zombie-mermaid"
@@ -102,11 +115,11 @@
102
115
  "@modelcontextprotocol/sdk": "^1.32.1",
103
116
  "elkjs": "^0.12.0",
104
117
  "entities": "^7.0.1",
105
- "@zombie-mermaid/ascii-renderer": "5.9.0",
106
- "@zombie-mermaid/core": "5.9.0",
107
- "@zombie-mermaid/mermaid-parser": "5.9.0",
108
- "@zombie-mermaid/svg-renderer": "5.9.0",
109
- "@zombie-mermaid/mcp": "5.9.0"
118
+ "@zombie-mermaid/mcp": "5.10.0",
119
+ "@zombie-mermaid/core": "5.10.0",
120
+ "@zombie-mermaid/mermaid-parser": "5.10.0",
121
+ "@zombie-mermaid/svg-renderer": "5.10.0",
122
+ "@zombie-mermaid/ascii-renderer": "5.10.0"
110
123
  },
111
124
  "devDependencies": {
112
125
  "@arethetypeswrong/cli": "0.18.5",
@@ -125,7 +138,7 @@
125
138
  "@types/node": "^24.13.6",
126
139
  "@types/react": "^19.2.18",
127
140
  "@types/react-dom": "^19.2.7",
128
- "@vitest/coverage-v8": "^4.1.11",
141
+ "@vitest/coverage-v8": "^4.1.12",
129
142
  "@xterm/headless": "^6.0.0",
130
143
  "elkjs-0.9.3": "npm:elkjs@0.9.3",
131
144
  "fast-check": "4.10.2",
@@ -144,8 +157,8 @@
144
157
  "tsx": "^4.23.12",
145
158
  "typescript": "^6.0.3",
146
159
  "unplugin-dts": "^1.0.3",
147
- "vite": "^8.2.2",
148
- "vitest": "^4.1.11",
160
+ "vite": "^8.2.4",
161
+ "vitest": "^4.1.12",
149
162
  "zod": "^4.5.4",
150
163
  "@zombie-mermaid/ascii-layout": "5.7.1",
151
164
  "@zombie-mermaid/elk-layout": "5.7.1"