Skip to content

docs(deps): 补充升级 vite-plus 时必须同步 Vercel 安装命令 - #80

Merged
shellRaining merged 1 commit into
mainfrom
docs/record-vp-version-sync
Sep 14, 2026
Merged

docs(deps): 补充升级 vite-plus 时必须同步 Vercel 安装命令#80
shellRaining merged 1 commit into
mainfrom
docs/record-vp-version-sync

Conversation

@shellRaining

Copy link
Copy Markdown
Owner

背景

清理分支时发现 codex/librarian-2026-08-06-31141059588(PR #73,已关闭未合入)里有一段 docs/dependency.md 的改动没有进入 main:说明升级 vite-plus 时必须同步两个 vercel.jsonVP_VERSION

grep VP_VERSION docs/ 在 main 上为空,也就是这条经验一直没落到文档里。而它正是本次 #79 踩到的坑——虽然那次的具体原因是 XDG 路径,但同属「升级 Vite+ 必须同步 Vercel 安装命令」这一类。

内容

  • 保留原分支的结论(同步 VP_VERSION、确认 vite 别名指向同版本 core)
  • 补充 0.3.1 的 XDG 布局变化:installCommand 里 source 的 env 路径已从 ~/.vite-plus/env 改为 ~/.config/vite-plus/env
  • 记下排查要点:Vercel 无头环境下安装脚本的交互式回退不可用,路径不对会在依赖安装阶段直接失败;且 Ignored Build Step 跳过的部署不构成验证,需确认真实构建

验证

vp check 通过(格式 + lint + 类型)。纯文档改动,不涉及代码。

内容来自已关闭的 PR #73 分支,那段说明当时没有合入 main。
除保留原有结论外,补充 0.3.1 的 XDG 布局变化:installCommand 里
source 的 env 路径已改为 ~/.config/vite-plus/env,路径不对会在
依赖安装阶段失败。
@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
cc98 Ignored Ignored Preview Sep 12, 2026 8:43am UTC
cc98-docs Ignored Ignored Preview Sep 12, 2026 8:43am UTC

@shellRaining
shellRaining merged commit 182a06f into main Sep 14, 2026
3 checks passed
@shellRaining
shellRaining deleted the docs/record-vp-version-sync branch September 14, 2026 09:01
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.

1 participant