-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Spike] Update react-script to use version 5.0.0 #4232
Comments
Spike Notes (until granted SharePoint access)
Error Reproduction Steps
Error Output:
Investigation Notes
Saved Links |
Sorry I'm just commenting. This is some GREAT research. Thanks! What's your recommendation? Get rid of Craco and just use react-scripts or wait for a Craco update? |
Removing the craco config and attempting to build without it resulted in the same error. Ejecting appears to be the only option if we want to update, but would recommend a technical discovery ticket on what it takes to eject and upgrade react-scripts. |
@bgantick @meckila @TomNUSDS Given the technical research into this, can you please describe work to be done in separate ticket? |
I'll get next steps captured in a separate tech debt ticket and link it here. |
I think the recommended solution was to wait for So far, we've been able to take security patches by using yarn's |
Need to upgrade because 4.x depends on outdated libraries.
Upgrading from 4.x -> 5.x of
react-script
build breaks the build.SimpleReport has done the upgrade. Examine how they've done it (seems like a lot of work).
Remove the "peerDependencies" and "resolutions" sections related to react-scripts once it's upgraded.
The text was updated successfully, but these errors were encountered: