dependencies.io is a product of Dropseed

Actor: js-npm

Docker GitHub release Build Status license

A dependencies.io actor for updating package.json dependencies and creating a pull request on GitHub with those changes. Also updates package-lock.json and yarn.lock files if present.

Usage

dependencies.yml

collectors:
- ...
  actors:
  - type: js-npm
    versions: "L.Y.Y"
    settings:

      # optional contents to put in ~/.npmrc
      npmrc: |
        registry=https://skimdb.npmjs.com/registry

      # an optional prefix to add to all commit messages, be sure to add a space at the end if you want one
      commit_message_prefix: "chore: "

      # false by default, set to true if you want all dependency updates in a single PR
      batch_mode: false

      # Settings to configure the PR itself can be found
      # on the dependencies-io/pullrequest repo
      # https://github.com/dependencies-io/pullrequest/tree/0.6.0#dependenciesyml

Works well with

Resources

Support

Any questions or issues with this specific actor should be discussed in GitHub issues. If there is private information which needs to be shared then you can instead use the dependencies.io support.