DocSpring / craco-antd

A craco plugin to use Ant Design with create-react-app
MIT License
233 stars 49 forks source link

react-scripts 5 and npm 7 #98

Open johnkmzhou opened 2 years ago

johnkmzhou commented 2 years ago

In npm 7+, the latest release #73 currently doesn't work without install --force because @craco/craco@6.4.3 requires react-scripts@^4.0.0 (npm 7 has stricter requirements for peer dependencies). In essence, you will have to wait for craco to update their project to support react-scripts@5. There is an alpha release that will do that: @craco/craco@7.0.0-alpha.3 but it will require craco-antd to change it's dependency requirement from craco@6.4.3 to the alpha release. And obviously you will have to be comfortable with using an alpha release.

FiNEk commented 2 years ago

any updates here?

abenhamdine commented 2 years ago

craco 7 with official react-scripts v5 support has been released see https://github.com/dilanx/craco/releases/tag/v7.0.0

is it possible to roll out a new version which allow to install craco@7 ?