|
7 | 7 | "src", |
8 | 8 | "etc/prepare.js", |
9 | 9 | "mongodb.d.ts", |
10 | | - "mongodb-next.d.ts", |
11 | 10 | "tsconfig.json" |
12 | 11 | ], |
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 | | - }, |
| 12 | + "main": "lib/index.js", |
| 13 | + "types": "mongodb.d.ts", |
29 | 14 | "repository": { |
30 | 15 | "type": "git", |
31 | 16 | "url": "[email protected]:mongodb/node-mongodb-native.git" |
|
88 | 73 | "@types/express": "^4.17.21", |
89 | 74 | "@types/kerberos": "^1.1.5", |
90 | 75 | "@types/mocha": "^10.0.6", |
91 | | - "@types/node": "^20.12.7", |
| 76 | + "@types/node": "^20.14.10", |
92 | 77 | "@types/saslprep": "^1.0.3", |
93 | 78 | "@types/semver": "^7.5.8", |
94 | 79 | "@types/sinon": "^17.0.3", |
|
141 | 126 | "scripts": { |
142 | 127 | "build:evergreen": "node .evergreen/generate_evergreen_tasks.js", |
143 | 128 | "build:ts": "node ./node_modules/typescript/bin/tsc", |
144 | | - "build:dts": "npm run build:ts && api-extractor run && node etc/clean_definition_files.cjs && ts-node polyfill.ts", |
| 129 | + "build:dts": "npm run build:ts && api-extractor run && node etc/clean_definition_files.cjs && eslint --no-ignore --fix mongodb.d.ts lib/beta.d.ts", |
145 | 130 | "build:docs": "./etc/docs/build.ts", |
146 | 131 | "build:typedoc": "typedoc", |
147 | 132 | "build:nightly": "node ./.github/scripts/nightly.mjs", |
|
0 commit comments