Home of the Renovate CLI: Cross-platform Dependency Automation by Mend.io
Find a file
2017-01-16 10:07:42 +01:00
docs Refactor helpers 2017-01-15 23:56:09 +01:00
lib Update changelog source (#50) 2017-01-16 09:50:45 +01:00
test Refactor helpers 2017-01-15 23:56:09 +01:00
.editorconfig Add editorconfig 2017-01-15 17:23:34 +01:00
.eslintrc.js Use Winston for logging 2017-01-11 10:05:42 +01:00
.gitattributes Add .gitattributes 2017-01-15 17:25:51 +01:00
.gitignore Major refactor to add npm tests (#24) 2017-01-12 17:04:25 +01:00
.npmignore Update npmignore 2017-01-15 17:34:00 +01:00
circle.yml Add codecov to circleCI (#49) 2017-01-15 21:51:35 +01:00
license Add license file 2017-01-15 17:27:41 +01:00
package.json 3.0.1 2017-01-16 10:07:14 +01:00
procfile Add procfile for heroku 2017-01-16 10:07:42 +01:00
readme.md Add deployment and behaviour docs 2017-01-15 19:57:20 +01:00
renovate.js Add renovate.js to root 2017-01-15 15:05:25 +01:00

renovate

Keep npm dependencies up-to-date

Why

  • Creates or updates Pull Requests for each dependency that needs updating
  • Supports multiple package.json files per repository
  • Supports multiple major versions per-dependency at once
  • Configurable via file, environment, CLI, and package.json
  • Self-hosted

Inspired by the services at Greenkeeper and Doppins.

Install

$ npm install -g renovate

Authentication

You need to select a GitHub user for renovate to assume the identity of. It's recommended that you use a dedicated "bot" account for this to avoid user confusion.

The script will need a GitHub Personal Access Token with "repo" permissions. You can find instructions for generating it here: https://help.github.com/articles/creating-an-access-token-for-command-line-use/

This token needs to be configured via file, environment variable, or CLI. See docs/configuration.md for details.

Usage (CLI)

$ renovate --help

  Usage: renovate [options] [repositories...]

  Options:

    -h, --help                  output usage information
    -d, --dep-types <list>      List of dependency types
    -i, --ignore-deps <list>    List of dependencies to ignore
    -b, --labels <list>         List of labels to apply
    -l, --log-level <level>     Log Level
    -p, --package-files <list>  List of package.json file names
    -r, --recreate-prs          Recreate PRs if previously closed
    -t, --token <token>         GitHub Auth Token

  Examples:

    $ renovate --token abc123 singapore/lint-condo
    $ renovate --token abc123 -l verbose singapore/lint-condo
    $ renovate --token abc123 singapore/lint-condo singapore/package-test

Deployment

See deployment docs for details.

Behaviour

See behaviour docs for details.