Skip to content

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Dec 25, 2024

中文版模板 / Chinese template

🤔 This is a ...

  • 🆕 New feature
  • 🐞 Bug fix
  • 📝 Site / documentation improvement
  • 📽️ Demo improvement
  • 💄 Component style improvement
  • 🤖 TypeScript definition improvement
  • 📦 Bundle size optimization
  • ⚡️ Performance optimization
  • ⭐️ Feature enhancement
  • 🌐 Internationalization
  • 🛠 Refactoring
  • 🎨 Code style optimization
  • ✅ Test Case
  • 🔀 Branch merge
  • ⏩ Workflow
  • ❓ Other (about what?)

🔗 Related Issues

  • Describe the source of related requirements, such as links to relevant issue discussions.
  • For example: close #xxxx, fix #xxxx

💡 Background and Solution

  • The specific problem to be addressed.
  • List the final API implementation and usage if needed.
  • If there are UI/interaction changes, consider providing screenshots or GIFs.

📝 Change Log

Language Changelog
🇺🇸 English -
🇨🇳 Chinese -

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Contributor

github-actions bot commented Dec 25, 2024

Preview is ready

Copy link

Walkthrough

This pull request updates the workflow by modifying the installation scripts in the package.json file to support React version 18. The changes involve removing the scripts for installing React versions 16 and 17 and adding new scripts for React version 18.

Changes

File Summary
package.json Removed installation scripts for React 16 and 17, added scripts for React 18 installation using both npm and bun.

"install-react-17": "npm i --no-save --legacy-peer-deps react@17 react-dom@17 @testing-library/react@12",
"bun-install-react-16": "bun remove react react-dom @testing-library/react && bun add --no-save react@16 react-dom@16 @testing-library/react@12",
"bun-install-react-17": "bun remove react react-dom @testing-library/react && bun add --no-save react@17 react-dom@17 @testing-library/react@12",
"install-react-18": "npm i --no-save --legacy-peer-deps react@18 react-dom@18 @testing-library/react@16",

Choose a reason for hiding this comment

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

Ensure that all dependencies and peer dependencies are compatible with React 18 to prevent potential runtime issues.

Copy link

socket-security bot commented Dec 25, 2024

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

Package New capabilities Transitives Size Publisher
npm/isomorphic-fetch@3.0.0 Transitive: network +1 169 kB mattandrews

View full report↗︎

Copy link
Contributor

github-actions bot commented Dec 25, 2024

size-limit report 📦

Path Size
dist/antd.min.js 442.39 KB
dist/antd-with-locales.min.js 510.46 KB

Copy link

pkg-pr-new bot commented Dec 25, 2024

thinkasany
thinkasany previously approved these changes Dec 25, 2024
Copy link

cloudflare-workers-and-pages bot commented Dec 25, 2024

Deploying ant-design with  Cloudflare Pages  Cloudflare Pages

Latest commit: a0b2b6a
Status: ✅  Deploy successful!
Preview URL: https://ef59e78b.ant-design.pages.dev
Branch Preview URL: https://script-18.ant-design.pages.dev

View logs

Copy link
Contributor

github-actions bot commented Dec 25, 2024

👁 Visual Regression Report for PR #52130 Passed ✅

🎯 Target branch: next (491dfce)
📖 View Full Report ↗︎

🎊 Congrats! No visual-regression diff found.

Copy link

codecov bot commented Dec 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (491dfce) to head (a0b2b6a).
Report is 1 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff            @@
##              next    #52130   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          763       763           
  Lines        13643     13643           
  Branches      3561      3561           
=========================================
  Hits         13643     13643           

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

li-jia-nan
li-jia-nan previously approved these changes Dec 25, 2024
@zombieJ zombieJ dismissed stale reviews from li-jia-nan and thinkasany via a0b2b6a December 25, 2024 09:57
@zombieJ zombieJ merged commit 113203a into next Dec 25, 2024
41 checks passed
@zombieJ zombieJ deleted the script-18 branch December 25, 2024 10:41
@zombieJ zombieJ mentioned this pull request Dec 25, 2024
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.

4 participants