Skip to content

chore: update maintenance dependencies#577

Merged
afc163 merged 18 commits into
masterfrom
codex/update-maintenance-deps
Jul 3, 2026
Merged

chore: update maintenance dependencies#577
afc163 merged 18 commits into
masterfrom
codex/update-maintenance-deps

Conversation

@afc163

@afc163 afc163 commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary

  • Link the Ant Design ecosystem logo in README files to https://ant.design
  • Update React, React DOM, TypeScript, ESLint, Testing Library, @types/, @typescript-eslint/, lint-staged, and related lint dependencies
  • Add ESLint flat config compatibility for ESLint 9 and TypeScript ESLint 8
  • Use grouped Dependabot updates for npm and GitHub Actions

Test Plan

  • npm run lint
  • npm run tsc

@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dialog Ready Ready Preview, Comment Jul 3, 2026 3:00am

@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@afc163, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 59 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 41c49f9b-45f9-403c-924d-06128b82290b

📥 Commits

Reviewing files that changed from the base of the PR and between 70b7167 and 1d41e59.

⛔ Files ignored due to path filters (1)
  • tests/__snapshots__/index.spec.tsx.snap is excluded by !**/*.snap
📒 Files selected for processing (9)
  • .eslintrc.js
  • .github/dependabot.yml
  • README.md
  • README.zh-CN.md
  • eslint.config.mjs
  • global.d.ts
  • package.json
  • tests/index.spec.tsx
  • tsconfig.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/update-maintenance-deps

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.

@socket-security

socket-security Bot commented Jun 29, 2026

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
Updatednpm/​@​types/​jest@​29.5.14 ⏵ 30.0.01001007780100
Addednpm/​@​types/​react@​19.2.171001007995100
Addednpm/​@​eslint/​js@​9.39.410010010088100
Addednpm/​typescript@​6.0.3100100909690
Addednpm/​eslint@​9.39.49710010096100

View full report

@socket-security

socket-security Bot commented Jun 29, 2026

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown

✅ Preview is ready!

PR preview ✅ Ready ✅ Ready
🔗 Preview https://react-component-dialog-preview-pr-577.surge.sh
📝 Commit1d41e59
⏱️ Build time12.909s
📦 Size10.2 MB (+2.9 KB ⬆️) · 65 files
🪵 LogsView logs
📱 MobileScan to open preview on mobile

↩️ Previous: ⚡️ 1d41e59 · react-component-dialog-preview-pr-577.surge.sh (open ↗) · 2026-07-03 03:00:44 UTC

🤖 Powered by surge-preview

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

Copy link
Copy Markdown
Contributor

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 upgrades the project's dependencies, including React to v19, TypeScript to v6, and ESLint to v9, alongside adding a new ESLint flat configuration and type declaration files. Feedback on these changes highlights several concerns regarding type safety and configuration complexity: disabling strict type-checking flags in tsconfig.json and redeclaring Jest globals as any in global.d.ts significantly reduces type safety; augmenting the 'react' module in react-compat.d.ts to redefine standard APIs can cause unexpected type conflicts; and the runtime workaround in eslint.config.mjs to bypass deprecated rules should be replaced by directly updating the legacy .eslintrc.js file.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread tsconfig.json Outdated
Comment thread global.d.ts Outdated
Comment thread react-compat.d.ts Outdated
Comment thread eslint.config.mjs Outdated
@codecov

codecov Bot commented Jun 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.94%. Comparing base (70b7167) to head (1d41e59).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #577   +/-   ##
=======================================
  Coverage   98.94%   98.94%           
=======================================
  Files           8        8           
  Lines         190      190           
  Branches       69       69           
=======================================
  Hits          188      188           
  Misses          2        2           

☔ View full report in Codecov by Harness.
📢 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.

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 1d41e59.

@vercel

vercel Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/react-component?upgradeToPro=build-rate-limit

@afc163

afc163 commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

Related to ant-design/ant-design#58514.

Copilot AI review requested due to automatic review settings July 2, 2026 03:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR performs maintenance updates across the repo: modernizing dependency versions, updating lint configuration to ESLint 9’s flat config format, and making a small documentation tweak (linking the Ant Design ecosystem logo).

Changes:

  • Update core dev dependencies (React/React DOM, TypeScript, ESLint ecosystem, Testing Library, typings, lint tooling).
  • Migrate from legacy .eslintrc.js to eslint.config.mjs (ESLint flat config) and adjust TypeScript/Jest type handling via global.d.ts.
  • Tweak docs/readmes and dependabot to use grouped updates.

Reviewed changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tsconfig.json Switches to bundler module resolution and updates compiler options/includes.
global.d.ts Centralizes ambient typings and module declarations.
eslint.config.mjs Introduces ESLint 9 flat config with TS/Jest/React setup.
.eslintrc.js Removes legacy ESLint config.
package.json Updates dependency versions and ESLint-related packages.
.github/dependabot.yml Adds grouped update configuration for npm and GitHub Actions.
README.md Links the Ant Design logo to https://ant.design.
README.zh-CN.md Links the Ant Design logo to https://ant.design.
tests/index.spec.tsx Minor formatting change in JSX render call.
tests/__snapshots__/index.spec.tsx.snap Updates snapshot header URL.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread eslint.config.mjs
Comment thread eslint.config.mjs Outdated
@afc163 afc163 merged commit ba20a3d into master Jul 3, 2026
15 checks passed
@afc163 afc163 deleted the codex/update-maintenance-deps branch July 3, 2026 12:30
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