jadjoubran / webdash

🔥 Orchestrate your web project with Webdash the customizable web dashboard
https://webdash.xyz
MIT License
1.54k stars 70 forks source link

Make an option to not update package.json #76

Closed Neoares closed 6 years ago

Neoares commented 6 years ago

It would be nice to allow package upgrading without modifying the package.json semver.

For instance, if I have "^1.2.0" and I upgrade to "1.3.4", the package.json semver would remain as "^1.2.0".

This could be included in a future options tab/panel, and it would basically run npm install without --save flag.

jadjoubran commented 6 years ago

Thanks @Neoares I thought this is already how it works.. no? Checkout this issue Doesn't update package.json file

jadjoubran commented 6 years ago

Afaik, as of npm 5 --save is automatically inferred

Neoares commented 6 years ago

Fine, didn't really know about that inferring. It seems that when you install and specify the package, the --save is inferred, but if you just do npm install, then no.

So yes, we can say that the behavior is intended.