Skip to content

Commit

Permalink
Support Hot-Reload & Address Dependabot Issues in ClaroDocs Generator (
Browse files Browse the repository at this point in the history
…#54)

Downgrade from mermaid 10.9.0 -> 10.8.0 to avoid the KaTeX dep which apparently has known vulnerabilities.

Bump Vite dep to latest (fun fact, apparently doing this solved the hot-reload problem! Now as you make modifications to the dep graph of the program pointed to by clarodocs() or modify a module's API, the site will hot reload to reflect the latest state!).
  • Loading branch information
JasonSteving99 authored Mar 31, 2024
1 parent 361076f commit 0cc52fa
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 492 deletions.
6 changes: 3 additions & 3 deletions tools/clarodocs/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"// To install dependencies with Bazel-managed pnpm, run": "bazel run @pnpm//:pnpm -- --dir $PWD install",
"// To install dependencies with Bazel-managed pnpm, run": "bazel run @pnpm//:pnpm -- --dir $PWD install # Add `--lockfile-only` to just update the lockfile.",
"name": "clarodocs",
"version": "0.1.0",
"private": true,
"dependencies": {
"@ant-design/icons": "4.0.0",
"antd": "5.15.1",
"highlight.js": "^11.9.0",
"mermaid": "^10.9.0",
"mermaid": "10.8.0",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"web-vitals": "2.1.4"
Expand All @@ -30,7 +30,7 @@
"jsdom": "^23.0.1",
"tsconfig-to-swcconfig": "2.4.0",
"typescript": "4.9.3",
"vite": "3.2.8",
"vite": "5.2.7",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^1.0.2"
},
Expand Down
Loading

0 comments on commit 0cc52fa

Please sign in to comment.