Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on kbin.social

Anyone know of a better way to update Node dependencies?

Every so often I remember how messy it is to be in the #JavaScript ecosystem. Updating from #React 16 to 17 also requires updating #ESLint which requires updating its plugins (fuck you #AirBnB ), which requires you to update #webpack and it’s loaders/plugins, which requires you update #Babel. This doesn’t even account for any other random libraries you’re using so even then you’ll still end up getting #npm peer dependency errors.

Please tell me there’s a better way…

View original on kbin.social
1

2 replies

Im very happy with yarn3 and the yarn upgrade-interactive command.

I update all the minor/patches check that everything still works and the update the majors.

1

You reached the end

Anyone know of a better way to update Node dependencies? | Spyke