From abcb4cef887bbecf5180e33d9bbd829742cf520d Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Fri, 31 Oct 2025 14:44:48 +0100 Subject: [PATCH] chore(scripts): add driver and devtools-connect deps to mongosh autoupdate config Unfortunately, I don't think there's a way to express "when updating mongosh dependencies, bump these other dependencies to the same version used by the new mongosh dependency versions", so this will keep requiring some human attention. Refs: https://github.com/mongodb-js/compass/pull/7521#pullrequestreview-3404342266 --- scripts/update-dependencies-config.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/scripts/update-dependencies-config.js b/scripts/update-dependencies-config.js index 6afbabbf612..a3af065fe14 100644 --- a/scripts/update-dependencies-config.js +++ b/scripts/update-dependencies-config.js @@ -30,7 +30,17 @@ module.exports = { '@lg-code/*', '@mongodb-js/diagramming', ], - mongosh: ['@mongosh/*'], + mongosh: [ + // mongosh and driver dependencies + '@mongosh/*', + '@mongodb-js/devtools-connect', + '@mongodb-js/devtools-proxy-support', + 'mongodb', + 'bson', + 'kerberos', + 'socks', + 'mongodb-client-encryption', + ], // TODO(COMPASS-9443): Update update-* github actions to handle all groups as // a matrix inside one action instead of having separate action for every // group and add more groups following the ones in _dependabot