voidzero-dev / voidzero-dev/vite-plus
Support `create-vite-plus`
- Lingua principale
- Rust
- Stelle
- 5.8k
- Fork
- 262
- Merge medio
- 1g 34m
- PR unite (30g)
- 135
Descrizione
### 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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- cli, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100