inokawa / virtua

A zero-config, fast and small (~3kB) virtual list (and grid) component for React, Vue, Solid and Svelte.
https://inokawa.github.io/virtua/
MIT License
1.35k stars 49 forks source link

Package management improvement idea #462

Closed onx2 closed 5 months ago

onx2 commented 5 months ago

I like to use npm-check-updates in my personal projects and thought it could be useful here too. I added some npm scripts to help with managing packages.

npm run deps:patch, npm run deps:minor, and npm run deps:latest will update the package.json file to the specified versions and then running npm i will install those. I ran npm run deps:patch in this PR as an example.

With a lot of dev deps it can be a hassle to keep everything up to date with the latest, and falling behind on that can be an even bigger burden later when trying to update anything for a legitimate reason such as new feature or security.