Skip to content

chore: use rc father plugin#163

Merged
zombieJ merged 1 commit into
react-component:masterfrom
QDyanbing:avoid-deep-imports
May 18, 2026
Merged

chore: use rc father plugin#163
zombieJ merged 1 commit into
react-component:masterfrom
QDyanbing:avoid-deep-imports

Conversation

@QDyanbing
Copy link
Copy Markdown
Contributor

调整内容

  • .fatherrc.js 中接入 @rc-component/father-plugin,交给 father-plugin 统一处理 rc 包构建配置和深路径导入检查。
  • 升级 @rc-component/father-plugin^2.2.0
  • father 升级到 ^4.4.4,否则当前 [email protected] 不识别 plugins 配置。

验证

  • npm run compile
  • npm run lint
  • npm test -- --runInBand

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Warning

Rate limit exceeded

@QDyanbing has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 39 seconds before requesting another review.

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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: e4dd7122-1b2a-4803-bab4-5f312cad10e6

📥 Commits

Reviewing files that changed from the base of the PR and between 56cabfb and d35c758.

📒 Files selected for processing (2)
  • .fatherrc.js
  • package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@QDyanbing QDyanbing marked this pull request as ready for review May 18, 2026 11:05
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread package.json
"devDependencies": {
"@ant-design/tools": "^18.0.2",
"@rc-component/father-plugin": "^1.0.0",
"@rc-component/father-plugin": "^2.2.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

你更新了 package.json 中的依赖,但 pnpm-lock.yaml 文件没有被一同更新并提交。为了保证所有开发者和 CI 环境能够安装完全一致的依赖,避免潜在的构建问题,强烈建议将 pnpm-lock.yaml 文件也提交到版本库中。

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​rc-component/​father-plugin@​2.2.0821007990100

View full report

@zombieJ zombieJ merged commit a79d3d6 into react-component:master May 18, 2026
5 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.08%. Comparing base (56cabfb) to head (d35c758).
⚠️ Report is 1 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants