Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade package.json or react libraries automatically?

How to upgrade packages in react application automatically using commands? I don't want to manually check every library in package.json and check its latest version. I want to upgrade my package.json at one shot.

like image 310
Hirak JD Avatar asked Dec 05 '25 13:12

Hirak JD


1 Answers

npm i -g npm-check-updates
ncu -u
npm install

Looks like npm-check-updatesis the only way to make this happen now.

like image 182
kingpanda419 Avatar answered Dec 07 '25 11:12

kingpanda419