Skip to content

Deps component for updating JavaScript dependencies

License

Notifications You must be signed in to change notification settings

dropseed/deps-js

Repository files navigation

deps-js

Currently supports:

  • package.json
  • package-lock.json
  • yarn.lock

Example deps.yml

version: 3
dependencies:
- type: js
  path: app  # a directory
  settings:
    # Enable updates for specific kinds of dependencies
    # in package.json.
    #
    # Default: [dependencies, devDependencies]
    manifest_package_types:
    - dependencies

yarn.lock deps pull request example

Most of the time, the lockfile updates will account for your "grouped" dependencies that need to be updated together (since those updates are usually all within your package.json ranges). But you can also group out-of-range package.json updates by using filters.

version: 3
dependencies:
- type: js
  path: app
  manifest_updates:
    filters:
    - name: remark-lint-.*
      group: true
    - name: .*
      group: false

Support

Any questions or issues with this specific component should be discussed in GitHub issues.

If there is private information which needs to be shared then please use the private support channels in dependencies.io.