feat: webui 支持 pnpm 以及环境变量#407
Open
13982720426 wants to merge 4 commits intoCJackHwang:devfrom
Open
Conversation
added 3 commits
May 2, 2026 01:51
Allow the Vite dev server proxy target to be set via environment variable instead of hardcoding localhost:5001. Also add pnpm-lock.yaml and .env.example.
Document both npm (with --prefix from repo root) and pnpm (cd webui) command variants in README, DEVELOPMENT, CONTRIBUTING, DEPLOY, and TESTING docs. Clarify that pnpm does not support --prefix.
|
Someone is attempting to deploy a commit to the cjack's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Owner
|
以后开发提交改动都按dev分支走吧 |
Author
也行 |
Contributor
|
看了一下这版 WebUI env 支持,整体 CI 是绿的。有两个小点可以考虑顺手收一下,非阻塞:
如果去掉 tracked |
- Remove webui/.env from Git tracking; .env is already gitignored and developers should create their own from .env.example - Strip trailing whitespace from README.MD, docs/DEVELOPMENT.md, docs/TESTING.md
Contributor
|
看了最新的
我也本地验证了: npm ci --prefix webui
npm run build --prefix webui两条都通过。当前 PR 上剩下的红色状态是 Vercel 对新 commit 的 “Authorization required to deploy”,看起来是需要 Team member 授权预览部署,不是代码或 WebUI build 失败。 |
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.
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
webui 支持 pnpm 方式
webui 支持环境变量,无需启动本地后端直接配置线上后端地址
更新相关文档
📝 补充信息 | Additional Information
合并了主分支重新提交