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

Aberta
#549 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
30/100
Tipo de issue
Documentação
Clareza
Precisa de esclarecimento
Status de atividade
Ativa
Stack de tecnologia
react, typescript
Domínio
release

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
943
Forks
200
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de react-component/tooltip

Todas as issues de react-component/tooltip

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.