chore: upgrade VitePress and pin patched transitive deps - #32
Merged
Conversation
Bump VitePress to 2.0.0-alpha.19 with Vite 8. Keep TypeScript 6 for vue-tsc compatibility, pin postcss/nanoid/esbuild, and raise the local-search chunk limit. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
Updates the documentation toolchain dependencies to newer VitePress/Vite/Vue/TypeScript versions and pins several transitive dependencies to known patched releases, while adjusting Node engine requirements and Vite build warnings for the docs site.
Changes:
- Upgrade VitePress to
2.0.0-alpha.19(Vite 8), plus related Vue andvue-tscupdates; keep TypeScript pinned at^6.0.3. - Pin patched transitive dependencies via
pnpmoverrides (vite,esbuild,postcss,nanoid) and update the lockfile accordingly. - Declare supported Node versions and increase Vite
chunkSizeWarningLimitfor docs builds.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pnpm-workspace.yaml | Pins transitive dependencies via overrides and updates the release-age exclusion to the new Vite version. |
| pnpm-lock.yaml | Regenerates lockfile to reflect the upgraded/pinned dependency graph. |
| package.json | Updates dev dependency versions and declares Node engine constraints. |
| docs/.vitepress/config.mts | Raises Vite build chunkSizeWarningLimit to reduce warnings for large lazy-loaded chunks (e.g., search index). |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
2.0.0-alpha.17→2.0.0-alpha.19(Vite 8)^6.0.3becausevue-tsc@3.3.11cannot load TypeScript 7 (./lib/tscexport)^3.5.41and vue-tsc^3.3.11vite8.2.2,esbuild0.28.2,postcss8.5.26,nanoid3.3.18 inpnpm-workspace.yamlengines.nodeas^20.19.0 || >=22.12.0chunkSizeWarningLimitfor the lazy-loaded local search indexTest plan
pnpm docs:typecheckpnpm docs:buildpnpm audit --registry https://registry.npmjs.org— 0 vulnerabilitiesMade with Cursor