I'm currently developing a npm package and am looking for a solution to identify any warnings generated by npm during continuous integration. I've noticed that npm's exit status is typically zero even if warnings are present, as long as there are no critical errors. I'm seeking advice on whether there is a method to force npm install
to fail in the event of any warnings, or if there are alternative approaches to effectively detect these warnings.