# Optional Dependabot configuration for Fluid sites with a package.json.
# Copy to .github/dependabot.yml. Use it instead of update-fluid-theme.yml,
# never alongside (that workflow is for sites that vendor the CSS). Major
# theme bumps are ignored by default so a site's
# look never changes without an explicit migration PR.
version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "weekly"
      day: "monday"
      time: "09:00"
    groups:
      fluid-theme:
        patterns:
          - "@fluid-theme/*"
    ignore:
      - dependency-name: "@fluid-theme/core"
        update-types:
          - "version-update:semver-major"
