Command to Updating Ionic Project, based on packacge.json

Hi All

I have a PC, where I do much of my development work.

I have a laptop that I do work on at times.

Work between both two devices is updated using Git.

I have recently updated my project to Ionic 6 and package.json is also update.

CAn I preform 1 single command on my laptop, where it will update everything on the package.json file?

Thanks

Yes, assuming you have your package-lock.json in Git as well. If you updated Ionic on your PC, then on your laptop you just need to run npm install to install all the correct packages based on the lock file.