BigRoomStudios / strangeluv

How I Learned to Stop Worrying and Love React
MIT License
35 stars 7 forks source link

Update dependencies april 2022 #272

Closed noah-green closed 2 years ago

noah-green commented 2 years ago

Upgraded Jest.

babel-jest                     27.x.x  →   28.x.x     
jest                           27.x.x  →   28.x.x     

Added a new dependency, jest-enviroment-jsdom required by Jest 28, after encountering the following error

As of Jest 28 "jest-environment-jsdom" is no longer shipped by default, make sure to install it separately.

Many of the available upgrades are major versions related to React, Eslint, and Webpack that we are holding off on, but I was able to get this one.

Major upgrades that we are holding off on:

history                       ^4.10.1  →   ^5.3.0     
 react                          17.x.x  →   18.x.x     
 react-dom                     ^17.0.2  →  ^18.1.0     
 react-redux                     7.x.x  →    8.x.x     
 react-router-dom                5.x.x  →    6.x.x     
 @testing-library/react         12.x.x  →   13.x.x     
 copy-webpack-plugin            ^6.0.3  →  ^10.2.4     
 error-overlay-webpack-plugin    1.0.0  →    1.1.0     
 eslint                          7.x.x  →    8.x.x     
 eslint-webpack-plugin           2.x.x  →    3.x.x     
 html-webpack-plugin             4.x.x  →    5.x.x     
 react-error-overlay             6.0.9  →   6.0.11     
 webpack                         4.x.x  →    5.x.x     
 webpack-dev-server              3.x.x  →    4.x.x   

Minor upgrades that seemed to be held up by the major react upgrades

 error-overlay-webpack-plugin    1.0.0  →    1.1.0    
 react-error-overlay             6.0.9  →   6.0.11