docs(deps): 补充升级 vite-plus 时必须同步 Vercel 安装命令 - #80
Merged
Conversation
内容来自已关闭的 PR #73 分支,那段说明当时没有合入 main。 除保留原有结论外,补充 0.3.1 的 XDG 布局变化:installCommand 里 source 的 env 路径已改为 ~/.config/vite-plus/env,路径不对会在 依赖安装阶段失败。
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.
背景
清理分支时发现
codex/librarian-2026-08-06-31141059588(PR #73,已关闭未合入)里有一段docs/dependency.md的改动没有进入 main:说明升级vite-plus时必须同步两个vercel.json的VP_VERSION。grep VP_VERSION docs/在 main 上为空,也就是这条经验一直没落到文档里。而它正是本次 #79 踩到的坑——虽然那次的具体原因是 XDG 路径,但同属「升级 Vite+ 必须同步 Vercel 安装命令」这一类。内容
VP_VERSION、确认vite别名指向同版本 core)installCommand里 source 的 env 路径已从~/.vite-plus/env改为~/.config/vite-plus/envIgnored Build Step跳过的部署不构成验证,需确认真实构建验证
vp check通过(格式 + lint + 类型)。纯文档改动,不涉及代码。