Skip to content

Commit

Permalink
upgrade mermaid to 11.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cscheid committed Sep 13, 2024
1 parent 81b2732 commit 305ba28
Show file tree
Hide file tree
Showing 3 changed files with 138,557 additions and 162,586 deletions.
14 changes: 14 additions & 0 deletions dev-docs/upgrade-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,17 @@ Contact JJ so he uploads the binaries to the S3 bucket.
- In `src/import_map.json`, change the version number of the imports like `https://deno.land/std@0.204.0/archive` to the new version number (e.g. `0.205.0`).

- run `./package/scripts/vendoring/vendor.sh`

## Upgrade mermaidjs

Apparently mermaidjs doesn't actually build mermaid in their releases :shrug:.
They also don't appear to offer any clear documentation on how to do it, and `npm install` from their `packages/mermaidjs` directory just fails.

So, we grab the published javascript bundles from unpkg.com.

For version 11.2.0, for example, these are:

- https://unpkg.com/mermaid@11.2.0/dist/mermaid.js
- https://unpkg.com/mermaid@11.2.0/dist/mermaid.min.js

Copy these files to `src/resources/formats/html/mermaid`.
Loading

0 comments on commit 305ba28

Please sign in to comment.