Skip to content

Commit 41ec63b

Browse files
make changes
1 parent ce8039d commit 41ec63b

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

package.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,30 @@
22
"name": "mongodb",
33
"version": "6.8.0",
44
"description": "The official MongoDB driver for Node.js",
5-
"main": "lib/index.js",
65
"files": [
76
"lib",
87
"src",
98
"etc/prepare.js",
109
"mongodb.d.ts",
10+
"mongodb-next.d.ts",
1111
"tsconfig.json"
1212
],
13-
"types": "mongodb.d.ts",
13+
"exports": {
14+
".": {
15+
"import": "./lib/index.js",
16+
"types": "./mongodb.d.ts",
17+
"require": "./lib/index.js",
18+
"node": "./lib/index.js",
19+
"default": "./lib/index.js"
20+
},
21+
"./next": {
22+
"import": "./lib/index.js",
23+
"types": "./mongodb-next.d.ts",
24+
"require": "./lib/index.js",
25+
"node": "./lib/index.js",
26+
"default": "./lib/index.js"
27+
}
28+
},
1429
"repository": {
1530
"type": "git",
1631
"url": "[email protected]:mongodb/node-mongodb-native.git"

0 commit comments

Comments
 (0)