Skip to content

Commit 3743040

Browse files
authored
fix: include type exports for mongodb-runner and native-machine-id (#530)
1 parent eff57fd commit 3743040

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

packages/mongodb-runner/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@
2828
"license": "Apache-2.0",
2929
"main": "dist/index.js",
3030
"exports": {
31-
"require": "./dist/index.js",
32-
"import": "./dist/.esm-wrapper.mjs"
31+
".": {
32+
"require": "./dist/index.js",
33+
"import": "./dist/.esm-wrapper.mjs",
34+
"types": "./dist/index.d.ts"
35+
}
3336
},
3437
"types": "./dist/index.d.ts",
3538
"scripts": {

packages/native-machine-id/package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@
2525
},
2626
"license": "Apache-2.0",
2727
"exports": {
28-
"require": "./dist/index.js",
29-
"import": "./dist/.esm-wrapper.mjs",
30-
"types": "./dist/index.d.ts"
28+
".": {
29+
"require": "./dist/index.js",
30+
"import": "./dist/.esm-wrapper.mjs",
31+
"types": "./dist/index.d.ts"
32+
}
3133
},
3234
"homepage": "https://github.com/mongodb-js/devtools-shared",
3335
"repository": {

0 commit comments

Comments
 (0)