Skip to content

Commit 55e28dc

Browse files
authored
feat(deps): Upgrade dependencies for Node.js 24 and MongoDB 7.0.0 support MONGOSH-2978 (#601)
* chore: Upgrade dependencies of devtools-connect for Node.js 24 and MongoDB 7.0.0 * chore: fix depalign issues with typescript * chore: Use multiple versions so we don't break backwards compatibility * chore: Fix formatting and typechecking issues after the update * chore: Fix mocha-config-devtools for the new version of TS * chore: change the import type to json, as they are fixtures * chore: fix formatting * chore: More formatting fixes after the updates
1 parent 80530af commit 55e28dc

File tree

36 files changed

+260
-255
lines changed

36 files changed

+260
-255
lines changed

configs/mocha-config-devtools/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
"devDependencies": {
2525
"@mongodb-js/prettier-config-devtools": "^1.0.2",
2626
"prettier": "^3.5.3",
27-
"react": ">=16"
27+
"react": "^17.0.2"
2828
},
2929
"peerDependencies": {
30-
"react": ">=16"
30+
"react": "^17.0.2"
3131
},
3232
"dependencies": {
3333
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",

configs/mocha-config-devtools/register/tsnode-register.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ require('ts-node').register({
55
compilerOptions: {
66
allowJs: true,
77
jsx: 'react',
8+
module: 'NodeNext',
9+
moduleResolution: 'NodeNext',
810
},
911
});
1012

configs/tsconfig-devtools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"tsconfig.react.json"
99
],
1010
"peerDependencies": {
11-
"typescript": "^5.0.4"
11+
"typescript": "^5.8.2"
1212
},
1313
"devDependencies": {
1414
"@mongodb-js/prettier-config-devtools": "^1.0.2",

0 commit comments

Comments
 (0)