Skip to content

Commit db9b5be

Browse files
authored
Merge pull request #10797 from quarto-dev/chore/1.6-mermaid-update
1.6 chore: upgrade mermaid to 11.2.0
2 parents 2e725c2 + ceecc54 commit db9b5be

File tree

4 files changed

+138558
-162586
lines changed

4 files changed

+138558
-162586
lines changed

dev-docs/upgrade-dependencies.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,17 @@ Contact JJ so he uploads the binaries to the S3 bucket.
1111
- In `src/import_map.json`, change the version number of the imports like `https://deno.land/[email protected]/archive` to the new version number (e.g. `0.205.0`).
1212

1313
- run `./package/scripts/vendoring/vendor.sh`
14+
15+
## Upgrade mermaidjs
16+
17+
Apparently mermaidjs doesn't actually build mermaid in their releases :shrug:.
18+
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.
19+
20+
So, we grab the published javascript bundles from unpkg.com.
21+
22+
For version 11.2.0, for example, these are:
23+
24+
- https://unpkg.com/[email protected]/dist/mermaid.js
25+
- https://unpkg.com/[email protected]/dist/mermaid.min.js
26+
27+
Copy these files to `src/resources/formats/html/mermaid`.

news/changelog-1.6.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ All changes included in 1.6:
7171

7272
## Other Fixes and Improvements
7373

74+
- Dependency update: `mermaidjs` to 11.2.0.
7475
- ([#10608](https://github.com/quarto-dev/quarto-cli/issues/10608)): Don't overwrite the built-in CSS function `contrast` in Quarto's SCSS.
7576
- ([#10162](https://github.com/quarto-dev/quarto-cli/issues/10162)): Use Edge on `macOS` as a Chromium browser when available.
7677
- ([#10235](https://github.com/quarto-dev/quarto-cli/issues/10235)): Configure the CI schedule trigger to activate exclusively for the upstream repository.

0 commit comments

Comments
 (0)