/npm-update-resolutions

update the npm package json resolutions by reading the audit.json file

Primary LanguageJavaScriptMIT LicenseMIT

npm-update-resolutions

npm-update-resolutions.

Installation

npm install -g npm-update-resolutions

Usage

To fix the npm dependencies

npx npm-update-resolutions --force-resolutions --major

Set custom registry url

 npx npm-update-resolutions --force-resolutions --major --registry https://registry.npmjs.org/

Release

Only collaborators with credentials can release and publish:

npm run release
git push --follow-tags && npm publish

To see what files are going to be published, run the command:

npm pack --dry-run
# tar tvf $(npm pack)

License

MIT