Skip to content

Bump Node to 24 and Update vuepress#42

Merged
BillZhucn merged 7 commits intomasterfrom
Bill-patch-1
Apr 28, 2026
Merged

Bump Node to 24 and Update vuepress#42
BillZhucn merged 7 commits intomasterfrom
Bill-patch-1

Conversation

@BillZhucn
Copy link
Copy Markdown
Member

@BillZhucn BillZhucn commented Apr 28, 2026

This pull request updates the project's Node.js version and several key frontend dependencies to their latest versions, improving compatibility and ensuring the use of recent features and bug fixes. The updates also include an override for a sub-dependency of mermaid to ensure compatibility.

Dependency updates:

  • Upgraded several major dependencies in package.json, including @vuepress/bundler-vite, mermaid, vue, vuepress, and vuepress-theme-hope to their latest release candidates, and added an overrides section to set uuid version for mermaid.

CI/CD workflow updates:

  • Updated Node.js version from 20 to 24.9.0 in both .github/workflows/Build.yml and .github/workflows/Test_build.yml to align with the latest LTS and ensure compatibility with updated dependencies. [1] [2]

Update CI workflows to use Node 22.18.0 (Build.yml and Test_build.yml) and refresh package dependencies. package-lock.json regenerated with multiple dependency bumps (vue, vuepress, vuepress-theme-hope, mermaid, esbuild, and various transitive packages), reflecting updated packages and engine requirements.

Co-Authored-By: Copilot <198982749+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 28, 2026 15:07
Update Node.js version from 22.18.0 to 24.9.0 in .github/workflows/Build.yml and .github/workflows/Test_build.yml so CI uses the Node 24 runtime. npm cache setting remains unchanged.
@BillZhucn BillZhucn changed the title Bump Node to 22 and Update vuepress Bump Node to 24 and Update vuepress Apr 28, 2026
@BillZhucn BillZhucn assigned BillZhucn and unassigned BillZhucn Apr 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the documentation site toolchain to Node.js 22 and aligns key VuePress/Vue/mermaid frontend dependencies to newer release candidates, including an npm override intended to keep mermaid’s uuid dependency compatible.

Changes:

  • Bump VuePress stack packages (vuepress, @vuepress/bundler-vite, vuepress-theme-hope) and related deps (vue, mermaid).
  • Add an npm overrides rule for mermaid -> uuid.
  • Update GitHub Actions workflows to use Node.js 22.18.0.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

File Description
package.json Upgrades VuePress/Vue/mermaid deps and adds an npm override for uuid under mermaid.
.github/workflows/Test_build.yml Runs PR build workflow on Node.js 22.18.0.
.github/workflows/Build.yml Runs deploy workflow on Node.js 22.18.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/Build.yml
Comment thread .github/workflows/Test_build.yml
Comment thread package.json Outdated
BillZhucn and others added 5 commits April 28, 2026 16:12
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Bump GitHub Actions usages to v4 for actions/checkout and actions/setup-node in Build and Test_build workflows. Update docs: replace BiliBili video ID and correct layout from "Slide" to "Slides". Add @vuepress/plugin-revealjs to devDependencies in package.json to enable Reveal.js-based slides.

Co-Authored-By: Copilot <198982749+Copilot@users.noreply.github.com>
Restructure docs/.vuepress/theme.ts: move icon assets into plugins.icon, disable blog, register components (BiliBili, VidStack) and replace the old mdEnhance block with a new markdown config enabling many MD features (mermaid, math, playground, stylize, tabs, etc.). Remove duplicated/legacy plugin configuration. Clean up docs: remove a commented AudioPlayer block from docs/seasons/README.md and normalize the BiliBili autoplay attribute in docs/test/rr.md (autoplay=true -> autoplay).
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
@BillZhucn BillZhucn merged commit 9c16f9b into master Apr 28, 2026
5 checks passed
@BillZhucn BillZhucn deleted the Bill-patch-1 branch April 28, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants