@draftably/mermaid 0.2.0 → 0.2.1
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 +5 -6
- package/dist/cdn/{font-data-tnqJ-kTK-CF1yb2a5.mjs → font-data-DLXJur0j-BWDOFg90.mjs} +4 -4
- package/dist/cdn/index-DTthklL5.mjs +8429 -0
- package/dist/cdn/mermaid-importer-DHGVeSG_.mjs +4066 -0
- package/dist/chunks/mermaid-importer-D9i_Vfxl.js +4066 -0
- package/dist/mermaid.esm.min.mjs +1 -1
- package/dist/mermaid.js +1 -1
- package/dist/types/src/dsl/compile.d.ts +13 -0
- package/dist/types/src/dsl/corridors.d.ts +38 -0
- package/dist/types/src/model/types.d.ts +9 -0
- package/package.json +2 -2
- package/dist/cdn/index-DRFxGmQq.mjs +0 -7781
- package/dist/cdn/mermaid-importer-SlRnjUhj.mjs +0 -3753
- package/dist/chunks/mermaid-importer-IVovOQE9.js +0 -3753
package/README.md
CHANGED
|
@@ -21,12 +21,11 @@ Point the `mermaid` name at this package. No code changes:
|
|
|
21
21
|
pnpm add mermaid@npm:@draftably/mermaid
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Your `package.json` now
|
|
25
|
-
`import mermaid from 'mermaid'` in your app gets Draftably. A plugin with its own
|
|
26
|
-
dependency, such as `@docusaurus/theme-mermaid`, also needs
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
`optimizeDeps: { exclude: ['@draftably/runtime'] }`.
|
|
24
|
+
Your `package.json` now points the `mermaid` dependency at the installed `@draftably/mermaid`
|
|
25
|
+
version. Every `import mermaid from 'mermaid'` in your app gets Draftably. A plugin with its own
|
|
26
|
+
Mermaid dependency, such as `@docusaurus/theme-mermaid`, also needs a package-manager override so
|
|
27
|
+
it uses the same drop-in. See the [Mermaid migration guide](https://draftably.dev/docs/from-mermaid)
|
|
28
|
+
for pnpm, npm and Yarn syntax, Docusaurus notes, and Vite's dependency optimizer setting.
|
|
30
29
|
|
|
31
30
|
The real Mermaid installs under the name `mermaid-upstream`, so an override cannot point the
|
|
32
31
|
drop-in at itself.
|