Skip to content

Commit

Permalink
Merge pull request #10797 from quarto-dev/chore/1.6-mermaid-update
Browse files Browse the repository at this point in the history
1.6 chore: upgrade mermaid to 11.2.0
  • Loading branch information
cscheid authored Sep 20, 2024
2 parents 2e725c2 + ceecc54 commit db9b5be
Show file tree
Hide file tree
Showing 4 changed files with 138,558 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`.
1 change: 1 addition & 0 deletions news/changelog-1.6.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ All changes included in 1.6:

## Other Fixes and Improvements

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

0 comments on commit db9b5be

Please sign in to comment.