From e224e16a84f69ee00de802f8bba4f8ba1cfb926d Mon Sep 17 00:00:00 2001 From: JustasMonkev Date: Sun, 21 Dec 2025 12:37:39 +0200 Subject: [PATCH] fix: reorder exports to place types first --- packages/playwright/package.json | 4 ++-- packages/puppeteer/package.json | 4 ++-- packages/react/package.json | 4 ++-- packages/webdriverio/package.json | 4 ++-- packages/webdriverjs/package.json | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/playwright/package.json b/packages/playwright/package.json index 65886e28..a2f7ecdd 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -31,9 +31,9 @@ "types": "./dist/index.d.ts", "exports": { ".": { + "types": "./dist/index.d.ts", "import": "./dist/index.mjs", - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "require": "./dist/index.js" } }, "publishConfig": { diff --git a/packages/puppeteer/package.json b/packages/puppeteer/package.json index d7730523..cc37e72e 100644 --- a/packages/puppeteer/package.json +++ b/packages/puppeteer/package.json @@ -11,9 +11,9 @@ "types": "./dist/index.d.ts", "exports": { ".": { + "types": "./dist/index.d.ts", "import": "./dist/index.mjs", - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "require": "./dist/index.js" } }, "files": [ diff --git a/packages/react/package.json b/packages/react/package.json index 90733ed0..a1ff0745 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -7,9 +7,9 @@ "types": "./dist/index.d.ts", "exports": { ".": { + "types": "./dist/index.d.ts", "import": "./dist/index.mjs", - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "require": "./dist/index.js" } }, "files": [ diff --git a/packages/webdriverio/package.json b/packages/webdriverio/package.json index 30cd66ab..d0a701bf 100644 --- a/packages/webdriverio/package.json +++ b/packages/webdriverio/package.json @@ -20,9 +20,9 @@ "types": "./dist/index.d.ts", "exports": { ".": { + "types": "./dist/index.d.ts", "import": "./dist/index.mjs", - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "require": "./dist/index.js" } }, "scripts": { diff --git a/packages/webdriverjs/package.json b/packages/webdriverjs/package.json index 59b9727a..f8604a52 100644 --- a/packages/webdriverjs/package.json +++ b/packages/webdriverjs/package.json @@ -40,9 +40,9 @@ "types": "./dist/index.d.ts", "exports": { ".": { + "types": "./dist/index.d.ts", "import": "./dist/index.mjs", - "require": "./dist/index.js", - "types": "./dist/index.d.ts" + "require": "./dist/index.js" } }, "scripts": {