|
3 | 3 | "type": "module", |
4 | 4 | "version": "0.3.0", |
5 | 5 | "description": "PostgreSQL driver for Databricks Lakebase Autoscaling with automatic OAuth token refresh", |
6 | | - "main": "./dist/index.js", |
| 6 | + "main": "./dist/index.cjs", |
| 7 | + "module": "./dist/index.js", |
7 | 8 | "types": "./dist/index.d.ts", |
8 | 9 | "packageManager": "pnpm@10.21.0", |
9 | 10 | "repository": { |
|
30 | 31 | ], |
31 | 32 | "exports": { |
32 | 33 | ".": { |
33 | | - "types": "./dist/index.d.ts", |
34 | 34 | "development": "./src/index.ts", |
35 | | - "default": "./dist/index.js" |
| 35 | + "import": { |
| 36 | + "types": "./dist/index.d.ts", |
| 37 | + "default": "./dist/index.js" |
| 38 | + }, |
| 39 | + "require": { |
| 40 | + "types": "./dist/index.d.cts", |
| 41 | + "default": "./dist/index.cjs" |
| 42 | + } |
36 | 43 | }, |
37 | 44 | "./package.json": "./package.json" |
38 | 45 | }, |
|
56 | 63 | "devDependencies": { |
57 | 64 | "@types/pg": "8.16.0" |
58 | 65 | }, |
59 | | - "module": "./dist/index.js", |
60 | 66 | "publishConfig": { |
61 | 67 | "exports": { |
62 | | - ".": "./dist/index.js", |
| 68 | + ".": { |
| 69 | + "import": { |
| 70 | + "types": "./dist/index.d.ts", |
| 71 | + "default": "./dist/index.js" |
| 72 | + }, |
| 73 | + "require": { |
| 74 | + "types": "./dist/index.d.cts", |
| 75 | + "default": "./dist/index.cjs" |
| 76 | + } |
| 77 | + }, |
63 | 78 | "./package.json": "./package.json" |
64 | 79 | } |
65 | 80 | } |
|
0 commit comments