Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: fix ci error #525

Merged
merged 2 commits into from
Feb 10, 2025
Merged

chore: fix ci error #525

merged 2 commits into from
Feb 10, 2025

Conversation

YumoImer
Copy link
Collaborator

@YumoImer YumoImer commented Feb 10, 2025

Summary by CodeRabbit

  • 维护
    • 调整了项目依赖配置,优化了内部依赖管理流程,提高了项目维护性和开发效率。此次更新虽对最终用户体验没有直接影响,但有助于确保代码库的稳定性,并为未来的功能扩展提供坚实支持。

Copy link
Contributor

coderabbitai bot commented Feb 10, 2025

📝 Walkthrough

Walkthrough

本次变更主要集中在 package.json 文件中。新增了开发依赖 "@rc-component/np"(版本 ^1.0.3),并对 react-intl 的依赖声明进行了调整——先从 dependencies 中移除,再以相同版本重新添加。其余配置、脚本和版本信息均未发生改变。

Changes

文件 变更摘要
package.json 在 devDependencies 中添加 "@rc-component/np" ( ^1.0.3 ),在 dependencies 中先移除再重新添加 "react-intl" (7.1.5)

Poem

我是快乐的小兔,
跳跃在代码的草原上,
依赖如花般绽放,
旧的离去,新生闪亮,
项目迎来新风,前路光明无限!


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 723329b and 0061510.

⛔ Files ignored due to path filters (2)
  • bun.lockb is excluded by !**/bun.lockb
  • components/sender/__tests__/__snapshots__/index.test.tsx.snap is excluded by !**/*.snap
📒 Files selected for processing (1)
  • package.json (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (6)
  • GitHub Check: test / react component workflow
  • GitHub Check: build preview
  • GitHub Check: size
  • GitHub Check: Analyze (javascript-typescript)
  • GitHub Check: test / react component workflow
  • GitHub Check: Cloudflare Pages
🔇 Additional comments (2)
package.json (2)

117-117: 新增开发依赖:@rc-component/np
在 devDependencies 中新增了 "@rc-component/np": "^1.0.3",请确认该包在 CI 和本地开发环境中均能正常工作,并不会引入额外的副作用。


237-237: 调整 react-intl 依赖声明
在 dependencies 中先移除再重新添加 "react-intl": "7.1.5" 可能是为了解决依赖解析或版本冲突问题,请确认该调整符合项目依赖管理策略,同时检查项目中是否存在引用旧版本的情况。


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

github-actions bot commented Feb 10, 2025

Preview is ready

Copy link

Walkthrough

This pull request addresses a CI error by updating dependencies and modifying test snapshots. The changes include updates to the package.json file and adjustments in test snapshot files to ensure compatibility with the current codebase.

Changes

Files Summary
bun.lockb No specific changes detailed.
components/sender/__tests__/__snapshots__/index.test.tsx.snap Updated test snapshots with 59 additions and 59 deletions, totaling 118 changes.
package.json Added @rc-component/np and re-added react-intl dependency, ensuring proper dependency management.

@@ -234,6 +234,7 @@
"react-highlight-words": "^0.20.0",
"react-infinite-scroll-component": "^6.1.0",
"react-intersection-observer": "^9.13.1",
"react-intl": "7.1.5",

Choose a reason for hiding this comment

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

The react-intl package was removed and then re-added. Ensure this change is intentional and verify that it does not affect the functionality of the application.

Copy link

codecov bot commented Feb 10, 2025

Bundle Report

Bundle size has no change ✅

Copy link

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@ant-design/v5-patch-for-react-19@1.0.3 None 0 9.33 kB zombiej
npm/@antv/gpt-vis@0.4.2 None 0 4.8 MB lvisei
npm/@biomejs/biome@1.9.4 shell 0 210 kB dominionl
npm/@codecov/webpack-plugin@1.8.0 None 0 65.3 kB codecov-devops
npm/@codesandbox/sandpack-react@2.19.11 None 0 1.21 MB alexnm, christianalfoni, compuives, ...1 more
npm/@ctrl/tinycolor@4.1.0 None 0 244 kB scttcper
npm/@emotion/react@11.14.0 None 0 817 kB emotion-release-bot
npm/@emotion/server@11.11.0 environment 0 48.7 kB emotion-release-bot
npm/@happy-dom/jest-environment@17.0.2 None 0 31.5 kB davidortner
npm/@ianvs/prettier-plugin-sort-imports@4.4.1 environment, unsafe 0 115 kB ianvs
npm/@madccc/duplicate-package-checker-webpack-plugin@1.0.0 None 0 19 kB madccc
npm/@microflash/rehype-figure@2.1.3 None 0 6.71 kB naiyer
npm/@npmcli/run-script@9.0.2 environment 0 18.3 kB npm-cli-ops
npm/@octokit/rest@21.1.0 None 0 8.28 kB gr2m, kfcampbell, nickfloyd, ...1 more
npm/@petercatai/assistant@2.0.25 network 0 2.22 MB winniexing
npm/@qixian.cs/github-contributors-list@2.0.2 network 0 19.6 kB chenshuai2144
npm/@rc-component/father-plugin@2.0.3 environment, filesystem, shell 0 9.14 kB zombiej
npm/@rc-component/trigger@2.2.6 environment 0 184 kB zombiej
npm/@size-limit/file@11.1.6 None 0 3.43 kB ai
npm/@stackblitz/sdk@1.11.0 None 0 186 kB tsulkowski
npm/@testing-library/dom@10.4.0 environment 0 2.43 MB testing-library-bot
npm/@testing-library/jest-dom@6.6.3 None 0 282 kB testing-library-bot
npm/@testing-library/react@16.2.0 None 0 337 kB brrianalexis, cmckinstry, dfcook, ...13 more
npm/@testing-library/user-event@14.6.1 None 0 438 kB brrianalexis, cmckinstry, dfcook, ...13 more
npm/@types/adm-zip@0.5.7 None 0 24.6 kB types
npm/@types/ali-oss@6.16.11 None 0 42.2 kB types
npm/@types/cli-progress@3.11.6 None 0 13.1 kB types
npm/@types/fs-extra@11.0.4 None 0 36.8 kB types
npm/@types/gtag.js@0.0.20 None 0 9.1 kB types
npm/@types/http-server@0.12.4 None 0 4.58 kB types

🚮 Removed packages: npm/semver@7.7.1

View full report↗︎

Copy link

Deploying ant-design-x with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0061510
Status: ✅  Deploy successful!
Preview URL: https://a8bffc47.ant-design-x.pages.dev
Branch Preview URL: https://fix-ci.ant-design-x.pages.dev

View logs

Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@723329b). Learn more about missing BASE report.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #525   +/-   ##
=======================================
  Coverage        ?   91.45%           
=======================================
  Files           ?       67           
  Lines           ?     1462           
  Branches        ?      385           
=======================================
  Hits            ?     1337           
  Misses          ?      125           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@YumoImer
Copy link
Collaborator Author

Size Limit 报错可以先忽略,main 目前 CI 是挂了的。本 PR 合并后即可恢复。

@YumoImer YumoImer merged commit 3c9832c into main Feb 10, 2025
16 of 17 checks passed
@YumoImer YumoImer deleted the fix/ci branch February 10, 2025 02:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants