From be71165a7e457eebd40414b9bf9f12f76ff93733 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Fri, 20 Jan 2023 15:39:35 -0800 Subject: [PATCH] fix(alias,auto-install,buble,commonjs,data-uri,dsv,dynamic-import-vars,eslint,graphql,html,image): types should come first in exports (#1403) --- packages/alias/package.json | 2 +- packages/auto-install/package.json | 2 +- packages/buble/package.json | 2 +- packages/commonjs/package.json | 2 +- packages/data-uri/package.json | 2 +- packages/dsv/package.json | 2 +- packages/dynamic-import-vars/package.json | 2 +- packages/eslint/package.json | 2 +- packages/graphql/package.json | 2 +- packages/html/package.json | 2 +- packages/image/package.json | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/packages/alias/package.json b/packages/alias/package.json index 8e2448728..dc9447c04 100755 --- a/packages/alias/package.json +++ b/packages/alias/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "engines": { diff --git a/packages/auto-install/package.json b/packages/auto-install/package.json index 87b6cb34e..32d5b9e88 100755 --- a/packages/auto-install/package.json +++ b/packages/auto-install/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "engines": { diff --git a/packages/buble/package.json b/packages/buble/package.json index aa89c1e0d..900cbf813 100644 --- a/packages/buble/package.json +++ b/packages/buble/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "engines": { diff --git a/packages/commonjs/package.json b/packages/commonjs/package.json index 8d0af3dac..9417701ac 100644 --- a/packages/commonjs/package.json +++ b/packages/commonjs/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "engines": { diff --git a/packages/data-uri/package.json b/packages/data-uri/package.json index 386b40ed9..a93dce3f5 100644 --- a/packages/data-uri/package.json +++ b/packages/data-uri/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "engines": { diff --git a/packages/dsv/package.json b/packages/dsv/package.json index dda456d38..c5a84a886 100755 --- a/packages/dsv/package.json +++ b/packages/dsv/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "scripts": { diff --git a/packages/dynamic-import-vars/package.json b/packages/dynamic-import-vars/package.json index 67029c564..322fa9455 100644 --- a/packages/dynamic-import-vars/package.json +++ b/packages/dynamic-import-vars/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "engines": { diff --git a/packages/eslint/package.json b/packages/eslint/package.json index 61ec7d63d..a22af815f 100755 --- a/packages/eslint/package.json +++ b/packages/eslint/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "engines": { diff --git a/packages/graphql/package.json b/packages/graphql/package.json index 11cdd1f34..587cf7dd4 100644 --- a/packages/graphql/package.json +++ b/packages/graphql/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "engines": { diff --git a/packages/html/package.json b/packages/html/package.json index 0c8fc86e8..b12393ea1 100644 --- a/packages/html/package.json +++ b/packages/html/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "engines": { diff --git a/packages/image/package.json b/packages/image/package.json index 4f6f4bafe..7d2ec1db3 100644 --- a/packages/image/package.json +++ b/packages/image/package.json @@ -16,8 +16,8 @@ "main": "./dist/cjs/index.js", "module": "./dist/es/index.js", "exports": { - "import": "./dist/es/index.js", "types": "./types/index.d.ts", + "import": "./dist/es/index.js", "default": "./dist/cjs/index.js" }, "engines": {