voidzero-dev / voidzero-dev/vite-plus

vp create with non-global package manager

オープン
#1,239 コメント 3 件 リアクション 1 件 担当者 1 名 @fengmk2 が担当を希望しています GitHub で見る
pending triage
主要言語
Rust
スター
5.8k
フォーク
262
平均マージ
23時間 18分
マージ済み PR(30日)
139

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。