Replies: 1 comment
-
|
Global CLI is not required. You can simply add vite-plus to your project dependencies to use it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Context:
I am considering using
vpto initialize a new open-source repository to leverage the high-performance native toolchain (OXC, Rolldown, Vite, etc.). However, I do not personally rely onvpfor runtime (Node.js) or package manager management.The Concern:
My main concern is the contribution barrier. If the project strictly requires the global
vpcommand for development and building, every potential contributor would be forced to installvpglobally on their system. This might discourage contributions from developers who prefer a "zero-global-dependency" workflow (i.e.,git clone && npm install && npm run dev).Questions:
devDependenciesso that contributors can run the project using standard commands (likenpx vpornpm run dev) without global installation?vpfor initialization, can I easily "decouple" the project from the global CLI later while still retaining the performance benefits of the underlying Rust tools?背景:
我正计划使用
vp初始化一个全新的开源项目,以利用其内置的高性能原生工具链(OXC, Rolldown, Vite 等)。但我个人并不依赖vp来管理 Node.js 运行时或包管理器。我的顾虑:
我最担心的是贡献门槛问题。如果该项目在开发和构建阶段强制依赖全局
vp命令,意味着每一位潜在的贡献者都必须在自己的系统中全局安装vp。这可能会让那些倾向于“零全局依赖”工作流(即:git clone && npm install && npm run dev)的开发者望而却步。咨询问题:
devDependencies引入,以便贡献者在不进行全局安装的情况下,通过标准命令(如npx vp或npm run dev)运行项目?vp进行了初始化,后续是否可以轻松地将项目与全局 CLI “解耦”,同时保留底层 Rust 工具带来的性能优势?Beta Was this translation helpful? Give feedback.
All reactions