@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 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 has `"mermaid": "npm:@draftably/mermaid@^0.1.0"`, and every
25
- `import mermaid from 'mermaid'` in your app gets Draftably. A plugin with its own Mermaid
26
- dependency, such as `@docusaurus/theme-mermaid`, also needs an override:
27
- `overrides: { mermaid: npm:@draftably/mermaid@^0.1.0 }` in `pnpm-workspace.yaml`, or `"overrides"`
28
- (npm) or `"resolutions"` (Yarn) in `package.json`. With Vite, add
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.