From fdbea4dbde6dfd5443db115b4fb6e374826703f2 Mon Sep 17 00:00:00 2001 From: Kentaro Suzuki Date: Tue, 23 Apr 2024 02:09:00 +0900 Subject: [PATCH] fix: addons presets field (#47) * fix: addons presets field * chore: changeset --- .changeset/gorgeous-bags-run.md | 5 +++++ packages/eslint-config/package.json | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/gorgeous-bags-run.md diff --git a/.changeset/gorgeous-bags-run.md b/.changeset/gorgeous-bags-run.md new file mode 100644 index 0000000..f5acfb9 --- /dev/null +++ b/.changeset/gorgeous-bags-run.md @@ -0,0 +1,5 @@ +--- +"@virtual-live-lab/eslint-config": patch +--- + +fix package.json exports field diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 441a0bb..c8b2075 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -10,13 +10,13 @@ "import": "./dist/index.mjs", "types": "./dist/index.d.mts" }, - "./preset/*": { - "import": "./dist/preset/*.mjs", - "types": "./dist/preset/*.d.mts" + "./addons/*": { + "import": "./dist/addons/*.mjs", + "types": "./dist/addons/*.d.mts" }, - "./addon/*": { - "import": "./dist/addon/*.mjs", - "types": "./dist/addon/*.d.mts" + "./presets/*": { + "import": "./dist/presets/*.mjs", + "types": "./dist/presets/*.d.mts" } }, "files": [