GitHub Action and CLI tool that automates dependency updates for Bun's catalog: protocol in monorepos. Replaces Dependabot for Bun workspace catalogs. Queries npm for latest versions, groups updates into batches, creates/syncs PRs via GitHub CLI, and detects vulnerable transitive dependencies via bun audit.
- Runtime: Bun (TypeScript, ESNext, ES modules)
- No build step -- code runs directly from
src/via Bun - Published to npm as
catalog-update-actionwith bincatalog-update
bun install # Install dependenciesbun run start # Run the action locally (bun src/main.ts)
bun run dry-run # Preview updates without creating PRsEntry point: src/main.ts. No build/compile step needed.
bun test # Run all tests (bun:test framework)Tests are in test/ and mirror src/ filenames (e.g. src/catalog.ts -> test/catalog.test.ts).
Uses oxlint (type-aware) and oxfmt (Rust-based formatter). Config files: .oxlintrc.json, .oxfmtrc.json.
bun run lint # Lint with oxlint (type-aware, src/)
bun run fmt # Format with oxfmt (src/)
bun run fmt:check # Check formatting without modifyingsrc/ # TypeScript source (entry: main.ts)
test/ # Tests (bun:test, mirrors src/ names)
action.yml # GitHub Action definition
schema.json # JSON Schema for .catalog-updaterc.json