Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
version: 2
updates:
# Enable version updates for npm (compatible with Bun)
- package-ecosystem: "npm"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@claude We should use bun instead npm.

Copy link

@claude claude bot Oct 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude finished @DaleSeo's task —— View job


Analysis

  • Read the current Dependabot configuration
  • Research Dependabot support for Bun
  • Provide guidance on the configuration

Findings

Unfortunately, GitHub Dependabot does not currently support bun as a package-ecosystem value. The supported package ecosystems are:

  • bundler (Ruby)
  • cargo (Rust)
  • composer (PHP)
  • docker
  • elm
  • github-actions
  • gomod (Go)
  • gradle (Java)
  • maven (Java)
  • mix (Elixir)
  • npm (JavaScript/Node.js)
  • nuget (.NET)
  • pip (Python)
  • terraform
  • And a few others, but not bun

Good News

The current configuration using package-ecosystem: "npm" is actually correct and will work perfectly with Bun because:

  1. Bun is npm-compatible: Bun reads and respects package.json and package-lock.json (or bun.lockb) files
  2. Dependabot updates package.json: When Dependabot creates PRs, it modifies package.json, which Bun will use
  3. Standard practice: This is the recommended approach for Bun projects until GitHub adds native Bun support

Recommendation

Keep the current configuration as-is with package-ecosystem: "npm". The comment on line 3 already clarifies this: "Enable version updates for npm (compatible with Bun)".

When Dependabot creates update PRs, you can run bun install to update the bun.lockb file, and everything will work as expected.

Would you like me to update the comment to make it even clearer, or are you comfortable keeping it as-is?


directory: "/"
schedule:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 10
groups:
storybook:
patterns:
- "@storybook/*"
- "storybook"
update-types:
- "minor"
- "patch"
testing:
patterns:
- "@testing-library/*"
- "vitest*"
- "@vitest/*"
update-types:
- "minor"
- "patch"
eslint:
patterns:
- "eslint*"
- "@eslint/*"
- "typescript-eslint"
update-types:
- "minor"
- "patch"
react:
patterns:
- "react"
- "react-dom"
- "@types/react*"
update-types:
- "minor"
- "patch"

# Enable version updates for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
open-pull-requests-limit: 5
Loading