# 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/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
  - package-ecosystem: "npm" # For pnpm monorepos, use npm ecosystem
    directory: "/" # Root package.json
    schedule:
      interval: "weekly"
    versioning-strategy: increase

  # Apps directory packages
  - package-ecosystem: "npm"
    directory: "/apps/demo"
    schedule:
      interval: "weekly"

  - package-ecosystem: "npm"
    directory: "/apps/demo-react-native"
    schedule:
      interval: "weekly"

  - package-ecosystem: "npm"
    directory: "/apps/storybook"
    schedule:
      interval: "weekly"

  - package-ecosystem: "npm"
    directory: "/apps/web"
    schedule:
      interval: "weekly"

  # Packages directory
  - package-ecosystem: "npm"
    directory: "/packages/database"
    schedule:
      interval: "weekly"

  - package-ecosystem: "npm"
    directory: "/packages/lib"
    schedule:
      interval: "weekly"

  - package-ecosystem: "npm"
    directory: "/packages/types"
    schedule:
      interval: "weekly"

  - package-ecosystem: "npm"
    directory: "/packages/config-eslint"
    schedule:
      interval: "weekly"

  - package-ecosystem: "npm"
    directory: "/packages/config-prettier"
    schedule:
      interval: "weekly"

  - package-ecosystem: "npm"
    directory: "/packages/config-typescript"
    schedule:
      interval: "weekly"
      
  - package-ecosystem: "npm"
    directory: "/packages/js-core"
    schedule:
      interval: "weekly"
      
  - package-ecosystem: "npm"
    directory: "/packages/surveys"
    schedule:
      interval: "weekly"
      
  - package-ecosystem: "npm"
    directory: "/packages/logger"
    schedule:
      interval: "weekly"

  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"
