# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
  - package-ecosystem: 'npm' # See documentation for possible values
    directory: '/' # Location of package manifests
    schedule:
      interval: 'weekly'
    allow:
      - dependency-type: 'direct'
    groups:
      fontawesome-v5:
        patterns:
          - '@fortawesome/free-regular-svg-icons-v5'
        update-types:
          - 'minor'
          - 'patch'
      svelte:
        patterns:
          - 'svelte*'
          - '@svelte/*'
      linting:
        patterns:
          - 'prettier*'
  - package-ecosystem: 'github-actions' # See documentation for possible values
    directory: '/' # Location of package manifests
    schedule:
      interval: 'weekly'
    groups:
      github-actions:
        patterns:
          - '*'
