Skip to content

Set up Dependabot for automated dependency updates #77

@heyitsStylez

Description

@heyitsStylez

Summary

Enable Dependabot on the repo to keep jsdom (the only devDependency) up to date automatically and get alerts for any future vulnerabilities.

Setup steps

  1. Enable in repo settings → Settings → Code security:

    • Dependency graph
    • Dependabot alerts
    • Dependabot security updates
  2. Add .github/dependabot.yml for version updates:

version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "weekly"
  1. Commit and push — Dependabot will open PRs automatically when new versions of jsdom are released.

Notes

  • Only one devDep (jsdom) so update noise will be minimal
  • Security updates (vuln patches) are separate from version updates and trigger immediately when a CVE is published
  • The pre-commit hook (npm run build && npm test) will gate any Dependabot PRs through CI before merge

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-triageMaintainer needs to evaluate this issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions