diff --git a/packages/compartment-mapper/package.json b/packages/compartment-mapper/package.json index 4cfe7aabb9..f979305da1 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 1411e54691..3a91be1b21 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 ca1cedf43f..f8fa504a3d 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 04797b758a..1a1f002c48 100644 --- a/packages/ses/package.json +++ b/packages/ses/package.json @@ -35,11 +35,13 @@ "types": "./types.d.ts", "exports": { ".": { + "types": "./types.d.ts", "import": "./index.js", "require": "./dist/ses.cjs", "types": "./types.d.ts" }, "./lockdown": { + "types": "./types.d.ts", "import": "./index.js", "require": "./dist/ses.cjs", "types": "./types.d.ts" diff --git a/packages/stream/package.json b/packages/stream/package.json index 59254c20e2..d9cfd85d70 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 d1f963d47b..d22afea21e 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": {