-
Notifications
You must be signed in to change notification settings - Fork 2
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
Upgrade dependencies #325
Upgrade dependencies #325
Conversation
these are used indirectly by vite and autoprefixer. there is no need for us to require our own copy of them
note: this changes how SVGs are imported
this fixes the problem with dots in paths, so can remove our workaround
@Andykmcc since you're thinking about JS dependencies, have a look? |
and move eslint to devDependencies
fixes CJS deprecation warning in Vite 5
"last 1 safari version" | ||
] | ||
}, | ||
"jest": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you getting rid of this because we dont use it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I'm removing all the dependencies we don't use. If you want to write frontend unit tests and think we should use Jest, feel free to add it back.
Upgrades everything to the latest except for immer, maplibre-gl, react-redux, redux, and redux-thunk for the reasons noted in PR #325; @headlessui/react because something in 2.x broke BikeHopper and it wasn't immediately obvious what to change; eslint out of laziness (eslint-plugin-react now supports eslint 9.x, but not sure if we'll have to make more changes).
Upgrades everything to the latest except for immer, maplibre-gl, react-redux, redux, and redux-thunk for the reasons noted in PR #325; @headlessui/react because something in 2.x broke BikeHopper and it wasn't immediately obvious what to change; eslint out of laziness (eslint-plugin-react now supports eslint 9.x, but not sure if we'll have to make more changes).
Upgrades all our npm dependencies except for:
and some packages we weren't actually using that I removed.
For the redux packages and immer, I figure we can wait a bit until those browsers being dropped are less used. The features they've adopted are unavailable for 3-5% of web users, which seems high when the old version works fine.
Note that the new
vite-plugin-svgr
requires changes to how we import SVG files.