chore: upgrade VitePress and pin patched transitive deps - #190
Merged
Conversation
Bump VitePress to 2.0.0-alpha.19 with Vite 8, pin postcss/nanoid/esbuild, and raise the local-search chunk warning limit for this large doc set. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
This PR upgrades the documentation toolchain (VitePress/Vite) and pins key transitive dependencies via pnpm overrides to address patched versions and reduce supply-chain drift, while also adjusting build settings and declared Node.js compatibility.
Changes:
- Upgrade VitePress from
2.0.0-alpha.17to2.0.0-alpha.19(bringing in Vite 8–related dependency updates via the lockfile). - Pin patched transitive deps (
vite,esbuild,postcss,nanoid) using pnpmoverridesand reflect them in the lockfile. - Add
engines.nodeand raise Vite buildchunkSizeWarningLimitfor the docs build.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pnpm-workspace.yaml | Adds/updates pnpm overrides to pin specific patched transitive dependency versions. |
| pnpm-lock.yaml | Regenerates lockfile to reflect the VitePress upgrade and override-pinned dependency graph. |
| package.json | Declares supported Node.js engine range and upgrades VitePress devDependency. |
| docs/.vitepress/config.mts | Raises Vite build chunkSizeWarningLimit to reduce warnings for the large lazy-loaded search index chunk. |
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)vite8.2.2,esbuild0.28.2,postcss8.5.26,nanoid3.3.18 inpnpm-workspace.yamlchunkSizeWarningLimitto 2000 for the lazy-loaded local search index (~1.9 MB)engines.nodeas^20.19.0 || >=22.12.0Test plan
pnpm docs:buildpnpm audit --registry https://registry.npmjs.org— 0 vulnerabilitiesMade with Cursor