voidzero-dev / voidzero-dev/vite-plus
Support `create-vite-plus`
- 主要言語
- Rust
- スター
- 5.8k
- フォーク
- 262
- 平均マージ
- 1日 34分
- マージ済み PR(30日)
- 135
説明
### 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.
コントリビューションガイド
調査の方向性
Start by inspecting how the existing vite-plus CLI exposes `vp create` and `vp migrate`, then review the proposed `create-vite-plus` wrapper and the ownership concern around `create-vp`. Done means users can run `pnpm create vite-plus` to create a project without the global `vp` binary, with the chosen packaging approach documented and working.
索引モデルが issue の本文から書いたものです。
評価
- 領域
- cli, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100