version: 2
enable-beta-ecosystems: true
updates:
  - package-ecosystem: "pip"
    directory: "/"
    schedule:
      interval: "daily"
    labels: ["development"]
  
  - package-ecosystem: "npm"
    directory: '/ui-v2/'
    schedule:
      interval: "weekly"
    labels: ["ui-replatform", "ui-v2-dependency"]
    groups:
      # This is the name of your group, it will be used in PR titles and branch names
      eslint:
        patterns:
          - "@eslint*"
          - "eslint*"
          - "typescript-eslint"
      ui-v2-dependencies:
        patterns:
          - "*" 
        exclude-patterns:
          - "@eslint*"
          - "eslint*"
          - "typescript-eslint"

  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "daily"
    labels: ["development"]

  - package-ecosystem: "docker"
    directory: "/"
    schedule:
      interval: "daily"
    labels: ["development"]

  # Check for Python updates in v2
  - package-ecosystem: "pip"
    target-branch: "2.x"
    directory: "/"
    schedule:
      interval: "daily"
    labels: ["development", "2.x"]

  # update uv.lock file
  - package-ecosystem: "uv" 
    directory: "/" # Location of package manifests
    schedule:
      interval: "daily"
    labels: ["development"]
