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

未关闭
#549 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
活跃
技术栈
react, typescript
领域
release

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
TypeScript
星标
943
派生
200
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

react-component/tooltip 的其他 Issue

查看 react-component/tooltip 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。