diff --git a/packages/compartment-mapper/package.json b/packages/compartment-mapper/package.json index 645b76eff1..e198c0eae5 100644 --- a/packages/compartment-mapper/package.json +++ b/packages/compartment-mapper/package.json @@ -22,7 +22,10 @@ "main": "./index.js", "types": "./types.d.ts", "exports": { - ".": "./index.js", + ".": { + "types": "./types.d.ts", + "default": "./index.js" + }, "./import.js": "./import.js", "./archive.js": "./archive.js", "./import-archive.js": "./import-archive.js", diff --git a/packages/daemon/package.json b/packages/daemon/package.json index ca7c4d9108..86fffeee3a 100644 --- a/packages/daemon/package.json +++ b/packages/daemon/package.json @@ -21,7 +21,10 @@ "module": "./index.js", "types": "./types.d.ts", "exports": { - ".": "./index.js", + ".": { + "types": "./types.d.ts", + "default": "./index.js" + }, "./package.json": "./package.json" }, "scripts": { diff --git a/packages/lp32/package.json b/packages/lp32/package.json index f0cf392ca3..86fa200c54 100644 --- a/packages/lp32/package.json +++ b/packages/lp32/package.json @@ -29,7 +29,10 @@ "module": "./index.js", "types": "./types.d.ts", "exports": { - ".": "./index.js", + ".": { + "types": "./types.d.ts", + "default": "./index.js" + }, "./reader.js": "./reader.js", "./writer.js": "./writer.js", "./package.json": "./package.json" diff --git a/packages/ses/package.json b/packages/ses/package.json index 54212553fd..ce5a84d23a 100644 --- a/packages/ses/package.json +++ b/packages/ses/package.json @@ -35,10 +35,12 @@ "types": "./types.d.ts", "exports": { ".": { + "types": "./types.d.ts", "import": "./index.js", "require": "./dist/ses.cjs" }, "./lockdown": { + "types": "./types.d.ts", "import": "./index.js", "require": "./dist/ses.cjs" }, diff --git a/packages/stream/package.json b/packages/stream/package.json index 2a3dc1cdb3..7225acd270 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -25,7 +25,10 @@ "module": "./index.js", "types": "./types.d.ts", "exports": { - ".": "./index.js", + ".": { + "types": "./types.d.ts", + "default": "./index.js" + }, "./package.json": "./package.json" }, "scripts": { diff --git a/packages/where/package.json b/packages/where/package.json index df113d21fb..4726fb8704 100644 --- a/packages/where/package.json +++ b/packages/where/package.json @@ -18,7 +18,10 @@ "module": "./index.js", "types": "./types.d.ts", "exports": { - ".": "./index.js", + ".": { + "types": "./types.d.ts", + "default": "./index.js" + }, "./package.json": "./package.json" }, "scripts": {