voidzero-dev / voidzero-dev/vite-plus
Support `create-vite-plus`
- Vorherrschende Sprache
- Rust
- Sterne
- 5.8k
- Forks
- 262
- Ø Merge
- 1 T. 34 Min.
- Gemergte PRs (30 T.)
- 135
Beschreibung
### 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.
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- cli, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100