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

Offen
#549 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
30/100
Issue-Typ
Dokumentation
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
react, typescript
Bereich
release

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
943
Forks
200
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus react-component/tooltip

Alle Issues in react-component/tooltip

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.