Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Force npm update to update package.json (same as npm 6.x before) #270

Closed Answered by darcyclarke
AcidSlide-Octal asked this question in CLI
Discussion options

You must be logged in to vote

Today there's no way to do this for all deps easily in v7 - npm install is the right tool to update package.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 in package-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 into update or somehow into install, most likely through flags)

Replies: 5 comments 15 replies

Comment options

You must be logged in to vote
2 replies
@AcidSlide-Octal
Comment options

@n1ngu
Comment options

Comment options

You must be logged in to vote
1 reply
@AcidSlide-Octal
Comment options

Comment options

You must be logged in to vote
1 reply
@MylesBorins
Comment options

Comment options

You must be logged in to vote
11 replies
@IdeaNext
Comment options

@n1ngu
Comment options

@ruyadorno
Comment options

@matthewmayer
Comment options

@matthewmayer
Comment options

Answer selected by MylesBorins
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
CLI
Labels
None yet