From 4aab4517d4a677c96043aaf659498794659c5e20 Mon Sep 17 00:00:00 2001 From: Arie Trouw Date: Thu, 5 Sep 2024 15:20:04 -0700 Subject: [PATCH] package.json updates --- packages/eslint-config-flat/package.json | 10 +++------- packages/eslint-config-react-flat/package.json | 10 +++------- packages/ts-scripts-react-yarn3/package.json | 8 +++----- packages/ts-scripts-yarn3/package.json | 8 +++----- 4 files changed, 12 insertions(+), 24 deletions(-) diff --git a/packages/eslint-config-flat/package.json b/packages/eslint-config-flat/package.json index e378f6d2..0000d46b 100644 --- a/packages/eslint-config-flat/package.json +++ b/packages/eslint-config-flat/package.json @@ -27,12 +27,8 @@ "sideEffects": false, "type": "module", "exports": { - "node": { - "import": { - "types": "./dist/node/index.d.ts", - "default": "./dist/node/index.mjs" - } - } + "types": "./dist/node/index.d.ts", + "default": "./dist/node/index.mjs" }, "module": "./dist/node/index.mjs", "types": "./dist/node/index.d.ts", @@ -63,4 +59,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/packages/eslint-config-react-flat/package.json b/packages/eslint-config-react-flat/package.json index 624cd6ca..f05799ae 100644 --- a/packages/eslint-config-react-flat/package.json +++ b/packages/eslint-config-react-flat/package.json @@ -27,12 +27,8 @@ "sideEffects": false, "type": "module", "exports": { - "node": { - "import": { - "types": "./dist/node/index.d.ts", - "default": "./dist/node/index.mjs" - } - } + "types": "./dist/node/index.d.ts", + "default": "./dist/node/index.mjs" }, "module": "./dist/node/index.mjs", "types": "./dist/node/index.d.ts", @@ -52,4 +48,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/packages/ts-scripts-react-yarn3/package.json b/packages/ts-scripts-react-yarn3/package.json index 81d06570..6a52ea56 100644 --- a/packages/ts-scripts-react-yarn3/package.json +++ b/packages/ts-scripts-react-yarn3/package.json @@ -26,10 +26,8 @@ "type": "module", "exports": { ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.mjs" - } + "types": "./dist/index.d.ts", + "default": "./dist/index.mjs" }, "./package.json": "./package.json" }, @@ -100,4 +98,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file diff --git a/packages/ts-scripts-yarn3/package.json b/packages/ts-scripts-yarn3/package.json index ff93bfd4..55dbbce2 100644 --- a/packages/ts-scripts-yarn3/package.json +++ b/packages/ts-scripts-yarn3/package.json @@ -26,10 +26,8 @@ "type": "module", "exports": { ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.mjs" - } + "types": "./dist/index.d.ts", + "default": "./dist/index.mjs" }, "./package.json": "./package.json" }, @@ -154,4 +152,4 @@ "publishConfig": { "access": "public" } -} +} \ No newline at end of file