nathanhleung / install-peerdeps

💻 A command-line interface to install an NPM package and its peer dependencies automatically.
https://www.npmjs.com/package/install-peerdeps
MIT License
296 stars 20 forks source link

--no-registry not work #216

Closed breeze9527 closed 2 years ago

breeze9527 commented 2 years ago

in commander.js, --no-xxx call negatable boolean option, so we should use program.registry instead of program.noRegistry

https://github.com/tj/commander.js#other-option-types-negatable-boolean-and-booleanvalue

breeze9527 commented 2 years ago

duplicated #163