Commit bc8af56
Derive mermaid CDN version from package.json; bump to 11.16.0
The mermaid version was pinned in two places that had to be kept in
sync by hand: package.json (a Dependabot tracking shim, since there is
no Node build) and a hardcoded CDN import URL in head_end.html, which is
the version the site actually loads. Dependabot only edits package.json,
so its bump PRs left the CDN URL untouched and the two pins drifted.
Make package.json the single source of truth: symlink it into _data/ so
Jekyll loads it as site.data.package, and derive the CDN version via
Liquid in head_end.html. Future Dependabot bumps now propagate to the
live version automatically.
Also bumps mermaid 11.15.0 -> 11.16.0, which exercises the new
mechanism. Verified with jekyll build: rendered pages import
mermaid@11.16.0 and the project sequence diagram renders cleanly.
Supersedes #367. Closes #370.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Michael Harp <mike@mikeharp.com>1 parent c7e9085 commit bc8af56
3 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
0 commit comments