Deprecate `rc-tooltip` on npm in favor of `@rc-component/tooltip`

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

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
30/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
react, typescript
Lĩnh vực
release

Hướng nghiên cứu

Read the package release configuration and the repository’s publishing workflow to find how npm package metadata is set. The issue asks whether to deprecate rc-tooltip now or wait until dependent antd versions leave support, so first establish how this repository handles that policy and who it affects. Done means the maintainers decide whether to deprecate the package and, if so, publish the chosen message naming @rc-component/tooltip.

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

Mô tả

rc-tooltip has had no release since 6.4.0 (2025-01-07). Development continues as @rc-component/tooltip, whose 1.0.0 shipped three days later. Because rc-tooltip is not marked deprecated on npm, projects that depend on it directly get no sign that it moved. Package managers don't warn, and Renovate and Dependabot report 6.4.0 as current. I only found out while tracking down a mobile tap bug that @rc-component/trigger 3.x already fixes.

I know antd 5 still depends on rc-tooltip ~6.4.0, so a deprecation would show a warning on every antd 5 install. The other renamed packages are in the same position. For example, rc-trigger has had no release since 2022 and is not deprecated either, presumably because antd 4 depends on it.

Would you consider one of these?

  1. Deprecate rc-tooltip now, with a message that names @rc-component/tooltip.
  2. Deprecate it, and the other renamed rc-* packages, once the antd major that depends on each one is out of support.

In the meantime I've proposed a Renovate replacement rule, so Renovate users get a migration PR: https://github.com/renovatebot/renovate/pull/48166

Thanks for maintaining these.

Ngôn ngữ chính
TypeScript
Star
943
Fork
200
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 react-component/tooltip

Tất cả issue của react-component/tooltip

Issue tương tự

Thêm issue về TypeScript

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.