Closed fabcor-maxiv closed 5 days ago
What do you think @axelboc?
It'd be good to do a bit of a clean-up, you're right.
I'd be very careful about this, though. I'm not sure how depcheck
works, but identifying unused dependencies can be tricky. For instance, some of the dependencies reported are peer dependencies, like plotly.js
(peer dep of react-plotly.js
).
As a safety check, after removing a dependency, one can run pnpm install --resolution-only
to make sure there aren't any peer dependency issues.
I'll see if I have time to take a look.
I'd be very careful about this, though. I'm not sure how
depcheck
works, but identifying unused dependencies can be tricky. For instance, some of the dependencies reported are peer dependencies, likeplotly.js
(peer dep ofreact-plotly.js
).
Yes, I picked the depcheck
tool at random, and I for sure do not know enough about this topic to judge its output. Definitely needs closer investigation. Not a high priority, obviously. There might be some low-hanging fruit in terms of cleaning. And maybe the "missing dependencies" part is an actual issue (I do not know).
Seems like we might have a bunch of unused Javascript dependencies and some that are missing (!?), see below. Maybe we could investigate further and tidy up.