@ruyadorno/outdated
v1.0.0
Published
Shortcut to interactively update your deps using npm + ipt
Downloads
2
Maintainers
Readme
outdated
Shortcut to interactively update your deps using npm + ipt
An iPipeTo workflow
Install
Get it with npm:
npm install -g @ruyadorno/outdated ipt
Run
In any npm project you want to update a dependency, run:
outdated
OR
bypass npm install and run it at once using npx:
npx @ruyadorno/outdated
Features
- Interactively list top-level dependencies that needs updating
outdated latest
will build an interactive list using the Latest option fromnpm outdated
Note on Wanted vs Warning versions:
npm outdated will provide two targets to update to: Wanted/Warning:
- A Wanted version is a newer version that satisfies the current
semver-range defined in your
package.json
- A Latest version is whatever is the latest version of that dependency published to the configured registry for that project.
Requirements
Help
outdated
Options:
outdated Open interactive menu updating deps to a "Wanted" version
outdated latest Open interactive menu updating deps to a "Latest" version
--help Show this help menu
--version Prints version number
Equivalent bash alias
Although less powerful, this bash alias achieves roughly the same base usage of
pipping the result of npm outdated
into ipt
for a interactive experience.
alias outdated="npm install $(npm outdated --parseable | cut -d ':' -f 2 | ipt)"
License
MIT © 2021 Ruy Adorno