voidzero-dev / voidzero-dev/vite-plus
Support `create-vite-plus`
- Lenguaje dominante
- Rust
- Estrellas
- 5.8k
- Forks
- 262
- Merge medio
- 23 h 41 min
- PR fusionados (30 d)
- 138
Descripción
### 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.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Área
- cli, tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100