Skip to content

Commit bc4287b

Browse files
anandgupta42claude
andcommitted
fix: add mongodb to devDependencies for typecheck resolution
The mongodb driver (#482) was added to optionalDependencies only, so `tsgo --noEmit` failed with TS2307 when checking the drivers package. Adding it to devDependencies ensures types are available during CI typecheck without making it a runtime requirement. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a5b4e44 commit bc4287b

File tree

2 files changed

+39
-9
lines changed

2 files changed

+39
-9
lines changed

bun.lock

Lines changed: 36 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/drivers/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"./*": "./src/*.ts"
99
},
1010
"files": ["src"],
11+
"devDependencies": {
12+
"mongodb": "^6.0.0"
13+
},
1114
"optionalDependencies": {
1215
"pg": "^8.0.0",
1316
"snowflake-sdk": "^2.0.3",

0 commit comments

Comments
 (0)