chore: use rc father plugin#163
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ 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 simplifies the .fatherrc.js configuration by adopting the @rc-component/father-plugin and updates the versions of father and its associated plugin in package.json. Feedback was provided regarding the missing update to the pnpm-lock.yaml file, which is essential to ensure consistent dependency resolution across different environments.
| "devDependencies": { | ||
| "@ant-design/tools": "^18.0.2", | ||
| "@rc-component/father-plugin": "^1.0.0", | ||
| "@rc-component/father-plugin": "^2.2.0", |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #163 +/- ##
=======================================
Coverage 80.08% 80.08%
=======================================
Files 6 6
Lines 673 673
Branches 165 166 +1
=======================================
Hits 539 539
Misses 134 134 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
调整内容
.fatherrc.js中接入@rc-component/father-plugin,交给 father-plugin 统一处理 rc 包构建配置和深路径导入检查。@rc-component/father-plugin到^2.2.0。father升级到^4.4.4,否则当前father@4.0.0不识别plugins配置。验证
npm run compilenpm run lintnpm test -- --runInBand