Keeping dependencies in your GitHub projects up-to-date with Dependabot

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Here I will talk about Dependabot, an option for GitHub hosted projects (but hey, an integration for GitLab exists as well). I will show you how to set it up in just a few easy steps embracing the latest features for the best developer experience.

  • nuxt

    The Intuitive Vue Framework.

  • Since I use Dependabot mostly for my JavaScript (Nuxt) projects and I tend to prefer good ol’ npm over other package managers, I will be showing it for this setup. However, you have many more options. You can see all the supported variants here. The process is basically the same for all of them.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • demos-nuxt

    Showcase of what I have learned on my journey with Nuxt

  • Parameter directory locates your package.json (or respective file with dependency definitions). In this case we assume that it is preset directly in the root. But for example, in a project at my work we have the JS application wrapped inside a Docker container, so the value would have to be /app. Or you could have a monorepo with multiple sub-projects. Then you need to set Dependabot separately for each. Here ïs an example.

  • dependabot-core

    🤖 Dependabot's core logic for creating update PR's.

  • P.S. While this being a powerful and handy tool itself, it is only a part of Dependabot’s capabilities. If you are interested, you’ll find more about them in the GitHub docs.

  • combine-prs-workflow

    Combine/group together PRs (for example from Dependabot and similar services)

  • To address inefficiency caused by separate PRs, a workflow was designed to join them automatically into one big PR. However, it was unable to deal with lockfile conflicts. PRs that caused conflict in the Combine PRs job, were omitted and you had to add them manually anyway. It spared some time, but the developer experience was still far from being perfect.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts