jeffijoe / typesync

Install missing TypeScript typings for dependencies in your package.json.
MIT License
1.53k stars 22 forks source link

feat(cli): support fail arg to --dry #83

Closed chelkyl closed 2 years ago

chelkyl commented 2 years ago

Exits with error if typings changed. Useful for CI environment.

Closes: #72

coveralls commented 2 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling a46dc05e71ea9c53ffea1881c187d3227cf085f8 on chelkyl:add-dry-run-fail into 4a012b7b50fee780b3b1d5fbabde06ca1ef7cd09 on jeffijoe:master.

jeffijoe commented 2 years ago

Thanks! I'll merge this and make a simple change to not throw the error but just return exitcode 1.

Nice work!