voidzero-dev / voidzero-dev/vite-plus
Support `create-vite-plus`
- 主要语言
- Rust
- 星标
- 5.8k
- 派生
- 262
- 平均合并
- 23 小时 18 分钟
- 30 天内合并 PR
- 139
描述
### Description
For users who don't use global `vp` binary, commands such as `pnpm create vite-plus` might be a more common way to create a project. This require `create-vite-plus` to be registered.
### Suggested solution
`create-vite-plus` package is registered by @ Boshen, it can be a small wrapper of `vite-plus` local cli package, runs `vp create` internally, creates smallest impact.
One problem is `create-vp` is not owned by Vite+ team right now.
### Alternative
Alternatively, we could move code about `vp create` and `vp migrate` to `create-vite-plus`, letting `vite-plus` depend on this package. This approach may bring some complexity, the main benefit is to avoid other Vite+ part be downloaded, which is not important enough.
### Additional context
_No response_
### Validations
- [x] Read the [Contributing Guidelines](https://github.com/voidzero-dev/vite-plus/blob/main/CONTRIBUTING.md).
- [x] Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- [x] Check that there isn't already an issue requesting the same feature.
贡献指南
调研方向
首先检查现有 vite-plus CLI 如何提供 `vp create` 和 `vp migrate`,然后审查提议的包装器 `create-vite-plus` 以及围绕 `create-vp` 的所有权问题。完成的标准是:用户可以运行 `pnpm create vite-plus` 来创建项目,而无需全局 `vp` 二进制文件,并且所选择的打包方案已有文档说明且能够正常工作。
由索引模型根据 Issue 内容生成。
评估
- 领域
- cli, tooling
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100