Support npm dist-tags in `vp env pin` (e.g. `pnpm@latest-10`)
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
Description
I want to pin the latest stable release of a package manager major, e.g. pnpm 10. pnpm publishes this as the latest-10 dist-tag:
$ npm view pnpm dist-tags
latest-10: 10.34.6 # stable
next-10: 10.34.7 # newer, not yet promoted to latest-10
vp env pin pnpm@10 can't express this. It picks the highest semver match (10.34.7, the next channel), or a cached version. Dist-tags aren't accepted:
$ vp env pin pnpm@latest-10
Error: Install error: Invalid argument: invalid pnpm version "latest-10": expected semver 'major.minor.patch' or a semver range
Suggested solution
Treat a non-semver version as a dist-tag and resolve it via the registry, then pin the exact version. latest already works this way (source), so this generalizes it to any tag.
$ vp env pin pnpm@latest-10
✓ Pinned package manager to [email protected]
Alternative
vp env pin "pnpm@$(npm view pnpm@latest-10 version)"
Validations
- Read the Contributing Guidelines.
- Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- Check that there isn't already an issue requesting the same feature.
- 主要言語
- Rust
- スター
- 6k
- フォーク
- 274
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 206
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
voidzero-dev/vite-plus#2882 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
voidzero-dev/vite-plus#2097 · コメント 10 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
`vp dev` does not print "ready in N ms"対応中かも @fengmk2 が今日担当しました。 オープンbug
voidzero-dev/vite-plus#3053 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
the `vp migrate` command wrongly rewrite "vite/rolldown/plugins" to "vite-plus/rolldown/plugins"オープンpending triage
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
voidzero-dev/vite-plus#3050 ·
メンテナーはふだん 1 日以内に返信
-
vp migrate crashes with "Undefined meta var" when a migrated config string contains `$`対応中かも @BenjyLimmy が 1 日前に担当しました。 オープンbug
voidzero-dev/vite-plus#3045 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
wormhole-foundation/wormhole#5062 ·
メンテナーはふだん 1 日以内に返信
-
RUSTSEC-2026-0348: Brotli certificate decompression can allocate up to 1 GiB before authenticationオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 62/100
-
core: Amount::from_str panics on values above 21M BTC instead of returning an error対応中かも @bhuvan-somisetty が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
crate: spate-s3
難易度 2/5 半日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信