Avoid util deep imports#298
Conversation
变更总览将 变更详情rc-component/util 升级
预估代码审查工作量🎯 1 (Trivial) | ⏱️ ~5 分钟 可能相关的 PR
建议审查人
诗歌
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the @rc-component/util and @rc-component/father-plugin dependencies. It also refactors imports in src/index.tsx and tests/index.test.tsx to use named imports from the @rc-component/util package root instead of deep paths. I have no feedback to provide as there were no review comments.
变更内容
@rc-component/util到^1.11.1,使用已补充的根入口导出。@rc-component/father-plugin到^2.2.0,交由插件统一处理 rc 深路径 import 限制。@rc-component/util/lib/*的引用改为从@rc-component/util根入口导入。验证
git diff --checknpm run compile、npm run lint、npm test。