Universal dependency update tool that fits into your workflows.
 
 
 
 
 
 
Go to file
Rhys Arkins 8b2dada00f 5.0.1 2017-01-17 11:18:25 +01:00
bin/heroku Modify heroku web server to redirect to app logs 2017-01-16 10:45:37 +01:00
docs Support package.json autodiscovery (default) 2017-01-17 09:12:02 +01:00
lib Refactor version filtering 2017-01-17 10:26:36 +01:00
test Refactor version filtering 2017-01-17 10:26:36 +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
Procfile Add web server for Heroku 2017-01-16 10:35:03 +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 5.0.1 2017-01-17 11:18:25 +01:00
readme.md Support package.json autodiscovery (default) 2017-01-17 09:12:02 +01:00
renovate.js Add renovate.js to root 2017-01-15 15:05:25 +01:00

readme.md

renovate

Keep npm dependencies up-to-date

Why

  • Creates or updates Pull Requests for each dependency that needs updating
  • Discovers and processes all package.json files in repository (supports monorepo architecture)
  • 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. The simplest way is to expose it as GITHUB_TOKEN.

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-closed <true/false>       Recreate PR even if same was previously closed
  -r, --recreate-unmergeable <true/false>  Recreate PR if existing branch is unmergeable
  -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.

Design Decisions

See design decisions doc for details.