Skip to content

Commit

Permalink
Register the bun package manager (#11524)
Browse files Browse the repository at this point in the history
  • Loading branch information
markhallen authored Feb 7, 2025
1 parent 2defbee commit 267c680
Show file tree
Hide file tree
Showing 16 changed files with 2,455 additions and 16 deletions.
1 change: 1 addition & 0 deletions bin/dry-run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
require "dependabot/config/file_fetcher"
require "dependabot/simple_instrumentor"

require "dependabot/bun"
require "dependabot/bundler"
require "dependabot/cargo"
require "dependabot/composer"
Expand Down
1 change: 1 addition & 0 deletions javascript/lib/dependabot/bun.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ module Bun
Dependabot::FileFetchers.register("bun", Dependabot::Bun::FileFetcher)
Dependabot::FileParsers.register("bun", Dependabot::Bun::FileParser)
Dependabot::FileUpdaters.register("bun", Dependabot::Bun::FileUpdater)
Dependabot::UpdateCheckers.register("bun", Dependabot::Bun::UpdateChecker)
2 changes: 1 addition & 1 deletion javascript/lib/dependabot/bun/file_parser/bun_lock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def dependencies
dependency_set << Dependency.new(
name: name,
version: semver.to_s,
package_manager: "npm_and_yarn",
package_manager: "bun",
requirements: []
)
end
Expand Down
Loading

0 comments on commit 267c680

Please # to comment.