# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2

registries:
  npm-npmjs:
    type: npm-registry
    url: https://registry.npmjs.org
    token: ${{ secrets.NPM_DEPLOYER_TOKEN }}

updates:
  # Maintain dependencies for npm
  - package-ecosystem: "npm"
    directory: "/"
    registries:
      - npm-npmjs
    schedule:
      interval: "weekly"
      day: "monday"
      time: "09:00"
    commit-message:
      # Prefix all commit messages with "npm: "
      prefix: "[dependabot]npm"
      include: "scope"
    open-pull-requests-limit: 5
    target-branch: "main"      
