@hdnet/list-update-hints
v0.0.2
Published
Script to list custom hints to updatable dependencies
Downloads
186
Readme
HDNET list-update-hints
This npm package lists custom update hints to updatable npm packages in your repo.
In a custom package.json.md
file you can define some information about updatable
dependencies. You can use it for i.e.
- information about updates that are not made too easily
- hints about steps to apply when updating a dependency
- notes to fixed package versions
- important notes about a custom update routine
- ...
The entries must appear after a title Update Hints
and follow the syntax:
- `<package>` some info about the update of the package
If you then run hdnet-list-update-hints
, the script will list available updates using npm outdated
and join the in information hints you provided within a simple table.
Getting started
- Install the dependency in your repository
$ npm i -D @hdnet/list-update-hints
- Create a package.json.md file and append a section called
Update Hints
with the following format at the end of the file:
# Update Hints
- `nuxt` v2 is EOL - plan the migration in the next sprints!
- `eslint` run tests for custom plugins before updating!
- `stylelint` we have to update to at least [email protected] to update to stylelint@16
- Run script
$ hdnet-list-update-hints
Contribute
To setup current node version, you can use nvm (in this project a .nvmrc file is maintained).