# Basic dependabot.yml file with
# minimum configuration for two package managers

version: 2
updates:
  # Enable version updates for NPM
  - package-ecosystem: "npm"
    directory: "/frontend/"
    # Check the npm registry for updates every day (weekdays)
    schedule:
      interval: "weekly"
    open-pull-requests-limit: 10
    ignore:
      # husky has some drastic changes
      - dependency-name: "husky"
        versions:
        - ">=6.0.0"
      # sass deprecates / for division, lots of errors with bulma plugin bulma-steps
      - dependency-name: "sass"
        versions:
        - ">=1.33.0"
      # keep nuxt and vue locked to v2
      - dependency-name: "nuxt"
        versions:
        - ">=3.0.0"    
      # vue-loading-overlay version 3.x for vue2 support
      - dependency-name: "vue-loading-overlay"
        versions:
        - ">=4.0.0"  
      
  # Enable version updates for Python
  - package-ecosystem: "pip"
    directory: "/"
    # Check for updates once a month
    schedule:
      interval: "monthly"
    open-pull-requests-limit: 10
    ignore:
      # awesome-slugify requires this at this range
      - dependency-name: "Unidecode"
        versions:
          - ">0.04.21"
      # Flask 2 & these requirements are a big refactor
      - dependency-name: "Flask"
        versions:
        - ">=2.0.0"
      - dependency-name: "Werkzeug"
        versions:
        - ">=2.0.0"
      - dependency-name: "itsdangerous"
        versions:
        - ">=2.0.0"
      - dependency-name: "Click"
        versions:
        - ">=8.0.0"
      - dependency-name: "Jinja2"
        versions:
        - ">=3.0.0"      
      - dependency-name: "Flask-Migrate"
        versions:
        - ">=2.7.0"
      