Skip to content

Commit

Permalink
chore(ci): make dependabot update package.json (#5392)
Browse files Browse the repository at this point in the history
* chore: make dependabot update package.json

* add missing deps, split shared in dev and prod, reformat
  • Loading branch information
mcasimir authored Jan 29, 2024
1 parent df6f378 commit b6dad2f
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 93 deletions.
90 changes: 54 additions & 36 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,58 +3,76 @@
version: 2
updates:
- package-ecosystem: "npm"
versioning-strategy: increase
directory: "/"
schedule:
interval: "daily"
allow:
# Standalone deps
- dependency-name: "mongodb"
- dependency-name: "bson"
# All the mongosh deps
- dependency-name: "@mongosh/node-runtime-worker-thread"
- dependency-name: "@mongosh/browser-repl"
- dependency-name: "@mongosh/logging"
- dependency-name: "@mongodb-js/oidc-plugin" # we bump mongosh when this updates
- dependency-name: "@mongodb-js/devtools-connect" # we bump mongosh when this updates
- dependency-name: mongodb
- dependency-name: mongodb-*
- dependency-name: bson
- dependency-name: bson-*
- dependency-name: "@mongosh/*"
- dependency-name: "@mongodb-js/*"
- dependency-name: os-dns-native
- dependency-name: system-ca

# All the electron and its related deps
- dependency-name: "electron"
- dependency-name: "@electron/remote"
- dependency-name: "@electron/rebuild"
- dependency-name: "@electron/*"
- dependency-name: "browserslist"
- dependency-name: "node-abi"
# All the devtools-shared packages https://github.com/mongodb-js/devtools-shared
- dependency-name: "@mongodb-js/dl-center"
- dependency-name: "@mongodb-js/get-os-info"
- dependency-name: "@mongodb-js/mongodb-constants"
- dependency-name: "@mongodb-js/mongodb-downloader"
- dependency-name: "mongodb-runner"
- dependency-name: "@mongodb-js/monorepo-tools"
- dependency-name: "@mongodb-js/oidc-mock-provider"
- dependency-name: "@mongodb-js/sbom-tools"
- dependency-name: "kerberos"
- dependency-name: "saslprep"
- dependency-name: "@leafygreen-ui/*"
groups:
driver:
patterns:
- "mongodb"
- "bson"
- "@mongodb-js/oidc-plugin"
- "@mongodb-js/oidc-mock-provider"
- "@mongodb-js/devtools-connect"
- "mongodb-client-encryption"
- "kerberos"
- "os-dns-native"
- "system-ca"
- "saslprep"

electron:
patterns:
- "electron"
- "@electron/remote"
- "@electron/rebuild"
- "browserslist"
- "node-abi"
- "electron"
- "@electron/remote"
- "@electron/rebuild"
- "browserslist"
- "node-abi"
update-types: ["minor", "patch"]
devtools-shared:

devtools-shared-prod:
patterns:
- "@mongodb-js/get-os-info"
- "@mongodb-js/mongodb-constants"
- "mongodb-cloud-info"
- "mongodb-query-parser"

devtools-shared-dev:
patterns:
- "@mongodb-js/dl-center"
- "@mongodb-js/get-os-info"
- "@mongodb-js/mongodb-constants"
- "@mongodb-js/mongodb-downloader"
- "mongodb-runner"
- "@mongodb-js/monorepo-tools"
- "@mongodb-js/oidc-mock-provider"
- "@mongodb-js/sbom-tools"
- "@mongodb-js/dl-center"
- "@mongodb-js/mongodb-downloader"
- "@mongodb-js/monorepo-tools"
- "@mongodb-js/sbom-tools"
- "@mongodb-js/signing-utils"
- "mongodb-runner"

mongosh:
patterns:
- "@mongosh/*"
- "@mongosh/*"

leafygreen:
patterns:
- "@leafygreen-ui/*"
commit-message:
prefix: "chore"
include: "scope"
labels:
- "dependencies"
- "dependencies"
57 changes: 0 additions & 57 deletions .github/workflows/update-electron.yaml

This file was deleted.

0 comments on commit b6dad2f

Please sign in to comment.