Skip to content

Commit cb645a7

Browse files
chore: ignore yargs-parser dep upgrade from dependabot
1 parent 4fb737f commit cb645a7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
ignore:
8+
# We are ignoring major updates on yargs-parser because yargs-parser@22
9+
# does not play nicely when bundled using webpack. Our VSCode extension
10+
# bundles MCP server with the extension code and yargs-parser from MCP
11+
# server ends up on the final bundle which leads to issues such as -
12+
# https://github.com/mongodb-js/vscode/issues/1149.
13+
#
14+
# This was reported to yargs-parser as well -
15+
# https://github.com/yargs/yargs-parser/issues/517 and we already tried
16+
# their suggestion about disabling the meta resolution in webpack,
17+
# alongside others (dependency overrides, disabling the bundling of
18+
# yargs-parser), and none of the solutions yield a working extension. So
19+
# until we figure out a fix for this we need to keep mongodb-mcp-server
20+
# working with v21 of yargs-parser.
21+
- dependency-name: "yargs-parser"
22+
update-types: ["version-update:semver-major"]
723
- package-ecosystem: "github-actions"
824
directory: "/"
925
schedule:

0 commit comments

Comments
 (0)