Support npm dist-tags in `vp env pin` (e.g. `pnpm@latest-10`)
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 6k
- Fork
- 274
- Merge trung bình
- 1 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 206
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của voidzero-dev/vite-plus
-
pending triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
voidzero-dev/vite-plus#2882 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
voidzero-dev/vite-plus#2097 · 10 bình luận · 2 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`vp dev` does not print "ready in N ms"Có thể đã có người làm @fengmk2 đã nhận hôm nay. Đang mởbug
voidzero-dev/vite-plus#3053 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
the `vp migrate` command wrongly rewrite "vite/rolldown/plugins" to "vite-plus/rolldown/plugins"Đang mởpending triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
voidzero-dev/vite-plus#3050 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
vp migrate crashes with "Undefined meta var" when a migrated config string contains `$`Có thể đã có người làm @BenjyLimmy đã nhận hôm nay. Đang mởbug
voidzero-dev/vite-plus#3045 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của voidzero-dev/vite-plus
Issue tương tự
-
Custom hosts written as trailing-dot FQDNs (`host.local.`) aren't detected as local backendsCó thể đã có người làm @roboomp đã nhận hôm nay. Đang mởbug prio:p2 providers triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
can1357/oh-my-pi#15798 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
requires-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
apache/datafusion-comet#7001 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
builtin-port enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
cmlarsen/writemorebetter#235 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a Storybook section to CONTRIBUTING.mdCó thể đã có người làm @ChanakyaG2004 đã nhận hôm nay. Đang mởdocumentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
FlowwStar/FlowStar#995 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày