digital-fuesim-manv icon indicating copy to clipboard operation
digital-fuesim-manv copied to clipboard

script to update packages (package-lock.json)

Open anonym-HPI opened this issue 1 year ago • 6 comments

A script to update packages to (at least) there newest minor version, could be useful. Keeping packages up to date, is probably something we should do regularly or is there something in place already?

I know that we have a watcher for CVEs in dependencies, but this wouldn't for example alert when a bug gets fixed in a minor version or so.

I would propose of something like: npm run update:packages:all (for updating them in root, frontend, shared and backend). Name came from this https://jh3y.medium.com/how-to-update-all-npm-packages-in-your-project-at-once-17a8981860ea

The script should also change the package-lock.json files, to commit them.

@Dassderdie @ClFeSc what do you think?

anonym-HPI avatar Feb 09 '23 19:02 anonym-HPI