2.1.1 • Published 2 years ago

@public-js/keep-updated v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@public-js/keep-updated

Build Version Downloads Size

Codacy LGTM Codecov Code Climate

Hassle-free dependency updates


Installing

Add the package to your project by running:

npm i -D @public-js/keep-updated

Add the following array to your package.json:

"keepUpdated": []

Populate the array with desired packages either manually or by running npx @public-js/keep-updated add package1 package2.

Execute it directly:

npx @public-js/keep-updated update --audit-fix

or add the following to your root package.json file:

"scripts": {
  "keep-updated": "keep-updated update --audit-fix"
}

Run npx @public-js/keep-updated --help to find out about other options.

How does it work

The package will identify your preferred manager based on the lock-file, fetch all the dependencies listed in the keepUpdated (or keep-updated) array and install the latest desired versions of the listed packages.

Then all changes, except sorting, made to the package.json will be reverted retaining only lock-file changes.

You might want to include this package as an additional step to your CI pipeline e.g. prior to merging branches into main.

Resources

License

MIT, full license text. Read more about it on TLDRLegal.

2.1.1

2 years ago

2.0.2

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago