forked from source-academy/frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade CRACO to v7.1.0 & react-scripts to v5.0.1 (source-academy#2376)
* Update CRACO from v6.4.5 to v7.1.0 * Update react-scripts from v4.0.3 to v5.0.1 * Remove selective dependency resolution of react-error-overlay * Remove duplicate ESLint installation - favour CRA's * Enable old WebAssembly in Webpack 5 * Regenerate dependency tree To resolve the following error: Loading PostCSS "postcss-normalize" plugin failed: Cannot find module 'postcss-normalize' It seems that some dependencies which should be hoisted to the top- level of the dependency tree were previously not. * Force use of React 17 types instead of 18 * Polyfill Node.js core modules Webpack 5 no longer automatically polyfills many of the Node.js modules. As such, we need to pull them in ourselves. * Ignore missing source map warnings for dependencies * Polyfill 'process' for environment variables to work * Polyfill 'buffer' for the application to work in the browser * Move polyfill libraries to dev dependencies * Update test snapshots
- Loading branch information
1 parent
2dd60dd
commit 1704770
Showing
16 changed files
with
6,469 additions
and
8,157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
240 changes: 120 additions & 120 deletions
240
src/commons/assessment/__tests__/__snapshots__/Assessment.tsx.snap
Large diffs are not rendered by default.
Oops, something went wrong.
556 changes: 278 additions & 278 deletions
556
src/commons/assessmentWorkspace/__tests__/__snapshots__/AssessmentWorkspace.tsx.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.