/check-for-unpinned-dependencies

Return a non-zero exit status code if unpinned dependencies exist in package.json or package-lock.json

Primary LanguageJavaScriptMIT LicenseMIT

check-for-unpinned-dependencies

Checks the dependencies and devDependencies of package.json and package-lock.json for dependencies with unpinned versions, and returns a non-zero exit status of any are identified.

Note: dependencies with the git URLs are not checked.

Usage

npm i @a2f0/check-for-unpinned-dependencies --save-dev
npx check-for-unpinned-dependencies