tbranyen / salita

Automatically upgrade all NPM dependencies.
MIT License
97 stars 8 forks source link

Specify which areas of package to upgrade #16

Open Xotic750 opened 7 years ago

Xotic750 commented 7 years ago

https://github.com/tbranyen/salita/issues/15

Xotic750 commented 7 years ago

No problem. Glad to help when I can.

ljharb commented 7 years ago

@Xotic750 in testing this locally, when i do salita -s dep for example, it completely omits the dev and peer dep sections - I think I want the section heading always displayed in the output; perhaps noting it as skipped is sufficient (instead of listing all the versions in it anyways).

Also, in using this, I think that -s dep,dev,peer is more friendly than -s dep dev peer, but this seems to be how yargs operates. I filed https://github.com/yargs/yargs/issues/846 to investigate this; in the meantime let's keep it as-is here.