Force npm update
to update package.json (same as npm 6.x before)
#270
-
Hi there, Is there a way (with npm 7.x) to save/update the I know before in npm 6.x this was the default, and there was Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 15 replies
-
I found interresting to have the |
Beta Was this translation helpful? Give feedback.
-
pinging @npm/cli |
Beta Was this translation helpful? Give feedback.
-
Bumping issue/request. |
Beta Was this translation helpful? Give feedback.
-
Today there's no way to do this for all deps easily in |
Beta Was this translation helpful? Give feedback.
-
@darcyclarke thanks for the letting me join the Open RFC session, i'll discuss in the thread in the next few days our main Use Case scenario (which is used currently in couple of our main projects) |
Beta Was this translation helpful? Give feedback.
Today there's no way to do this for all deps easily in
v7
-npm install
is the right tool to updatepackage.json
but we've definitely heard from folks that they like the ergonomics of being able to update all their dep versions at the same time not just inpackage-lock.json
(as you've noted); I've gone ahead & added this as a topic for our Open RFC Call today & can circle back if there is any outcomes from that discussion (ie. if we think a new proposal could be written that adds this functionality back intoupdate
or somehow intoinstall
, most likely through flags)