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

Aperta
#549 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
release

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
943
Fork
200
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di react-component/tooltip

Tutte le issue di react-component/tooltip

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.