Handling of deprecated / hidden commands `hydrate` & `prepare`
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
- 38/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- cli, documentation
Hướng nghiên cứu
Bắt đầu với README và đầu ra hiện có của corepack hydrate --help và corepack prepare --help. Xem lại tài liệu liên quan đến lệnh và văn bản trợ giúp cho các lệnh đã lỗi thời, sau đó xác định việc hoàn tất là ghi lại trạng thái và lộ trình di chuyển của chúng, đánh dấu điều đó trong đầu ra trợ giúp và thêm cảnh báo ngừng sử dụng được yêu cầu nếu xác định được các điểm vào liên quan.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue
-
The following commands are hidden since PR https://github.com/nodejs/corepack/pull/291 implemented https://github.com/nodejs/corepack/issues/274 in release [email protected]:
corepack hydratecorepack prepare
These commands:
- are not documented in the README
- have no migration guide to their replacement commands
- do not appear in the output of
corepack --help - are described in the output of
corepack hydrate --helpandcorepack prepare --help - neither their usage, nor their help text indicates that the commands are deprecated
Several issues lately have shown users reporting problems when executing corepack prepare.
Edit: Node.js 18 is now in end-of-life status, so documentation should no longer be referred to. (Node.js v20, corepack prepare is listed as a valid command in Node.js documentation Corepack latest v18v22 & v23 describes instead corepack use / corepack install. Edit: v22 and v24 documentation now have no detailed content.)
Suggestion
- Describe the above commands as deprecated and either add
thea migration tablefrom https://github.com/nodejs/corepack/issues/274to the README or create a separate Migration Guide document. Edit: the migration table in the PR contains inaccuracies and cannot be used as it stands. - Extend the help text for the commands to indicate that they are deprecated.
- Output a deprecation warning if deprecated commands are used.
Also review Node.js documentation Corepack latest v18 and initiate an update if possible. Edit: Node.js 18 has passed into end-of-life status, so all related assets are now frozen.
Related Node.js documentation
- Node.js 18 Corepack (Node.js 18 is end-of-life)
- Node.js 20 Corepack
- Node.js 22 Corepack
- Node.js 24 Corepack
- Node.js latest Corepack
- Ngôn ngữ chính
- TypeScript
- Star
- 3.8k
- Fork
- 279
- Merge trung bình
- 1 giờ 47 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
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 nodejs/corepack
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Tất cả issue của nodejs/corepack
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
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 76/100
rohitg00/agentmemory#1428 ·
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 86/100
boxlite-ai/boxlite#1729 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Detect Deno tasks from deno.jsonĐang mởdetectors enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
SM260845/readme-gen#1 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
angular/angularfire#3774 ·
Maintainer thường phản hồi trong vòng 2 ngày