Skip to content

Commit

Permalink
chore: enable and config dependabot (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm authored Feb 8, 2024
1 parent 1acd1d9 commit afacb0f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 10
reviewers:
- "elastic/apm-agent-node-js"
groups:
otel:
patterns:
- "@opentelemetry/*"
eslint:
dependency-type: "development"
patterns:
- "eslint*"
2 changes: 1 addition & 1 deletion scripts/update-otel-deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function updateOTelDeps(workspace) {
const pkg = require(
path.resolve(__dirname, '..', workspace, 'package.json')
);
const otelDeps = Object.keys(pkg.dependencies)
const otelDeps = Object.keys(pkg.dependencies || {})
.concat(Object.keys(pkg.devDependencies || {}))
.filter((d) => d.startsWith('@opentelemetry/'));

Expand Down

0 comments on commit afacb0f

Please sign in to comment.