voidzero-dev / voidzero-dev/vite-plus

vp create with non-global package manager

Ouverte
#1,239 3 commentaires 1 réaction 1 personne assignée Réclamée par @fengmk2 Voir sur GitHub
pending triage
Langage dominant
Rust
Étoiles
5.8k
Forks
262
Merge moyen
23 h 18 min
PR mergées (30 j)
139

Description

### Description

`vp create` works perfectly when I have a global package manager. Conversely, if I try to create a project using vp create and then install a package manager for per-project mode using methods like mise, it fails.

The experience would be much better if I could start working without a pre-installed package manager, as I've always installed package managers per-project mode without a global package manager (except for npm).

### Suggested solution

1. During `vp create` when selecting a package manager:
- It may check if the user has a global package manager, and provides their selections.
- If no other global package manager exists, it will fall back to the npm package manager.

2. When `vp` acts as a package manager:
- It provides a padding for vp, providing the functionality to download a package manager.
- `vp` itself is a package manager (requiring `vp` to implement functions similar to npm, pnpm, yarn, etc.).

### Alternative

_No response_

### 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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.