Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Consider unifying cache verification for modern Yarn

Đang mở
#3,137 3 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, node.js, rust
Lĩnh vực
devtools, tooling

Hướng nghiên cứu

Start by reading the package manager cache and integrity verification code, then inspect the existing Yarn 2+ handling and the tests added for #2227. Define how a shared verification record would interact with Corepack-style pins and network access, while preserving verification of the extracted bin/yarn.js. Done means missing or mismatched records trigger download, verification, and replacement, with tests covering existing valid Yarn pins.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

Vite+ no longer depends on Corepack, but it still supports integrity pins that Corepack writes to the packageManager field.

For Yarn 2 and later, these pins cover bin/yarn.js, not the npm tarball. Changing the hash target would break existing valid pins, as previously reported in #2209 and fixed in #2227.

Could we use a common cache verification policy for all package managers? When the verification record is missing or differs from the requested pin, Vite+ would download, verify, and replace the installation instead of rehashing the cached Yarn CLI.

Modern Yarn would still verify the extracted bin/yarn.js to preserve existing pin compatibility. This would require network access in cases where local verification currently works.

Ngôn ngữ chính
Rust
Star
6.3k
Fork
283
Merge trung bình
1 ngày 16 giờ
Pull request đã merge (30 ngày)
214

Chuẩn bị môi trường

Mở trong Codespaces

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.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của voidzero-dev/vite-plus

Tất cả issue của voidzero-dev/vite-plus

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.