JonShort / npm-bumpall

Utility to bump all packages to latest
MIT License
0 stars 0 forks source link

Handle missing package #11

Closed jaysc closed 1 year ago

jaysc commented 1 year ago

Fix running the code when you haven't installed any packages yet. npm outdated --parseable returns:

:@jonshort/cenv@0.0.6:MISSING:@jonshort/cenv@0.1.0:npm_dir
:left-pad@1.3.0:MISSING:left-pad@1.3.0:npm_dir
:polished@3.7.2:MISSING:polished@4.2.2:npm_dir

Normal installation looks like:

D:\Git\npm-bumpall\npm_dir\node_modules\@jonshort\cenv:@jonshort/cenv@0.0.6:@jonshort/cenv@0.0.6:@jonshort/cenv@0.1.0:npm_dir
D:\Git\npm-bumpall\npm_dir\node_modules\left-pad:left-pad@1.3.0:left-pad@1.2.0:left-pad@1.3.0:npm_dir
D:\Git\npm-bumpall\npm_dir\node_modules\polished:polished@3.7.2:polished@3.6.5:polished@4.2.2:npm_dir
JonShort commented 1 year ago

Fixes #10