From 84b572356f5b3cf388f8c4172aafc8db18b613cf Mon Sep 17 00:00:00 2001 From: progfay Date: Wed, 21 Aug 2024 16:29:28 +0900 Subject: [PATCH 1/2] set `exports.types` of `package.json` --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index e7ecf596..530020c6 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "types": "./out/types/index.d.ts", "unpkg": "./out/scrapbox-parser.umd.js", "exports": { + "types": "./out/types/index.d.ts", "import": "./out/index.mjs", "require": "./out/index.cjs", "node": "./out/index.mjs", From b52a5444da6a388c9e5d78a4ce81e2707e018d56 Mon Sep 17 00:00:00 2001 From: progfay Date: Wed, 21 Aug 2024 16:30:04 +0900 Subject: [PATCH 2/2] fix paths --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 530020c6..f269d498 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,10 @@ ], "main": "./out/index.cjs", "module": "./out/index.mjs", - "types": "./out/types/index.d.ts", + "types": "./out/index.d.ts", "unpkg": "./out/scrapbox-parser.umd.js", "exports": { - "types": "./out/types/index.d.ts", + "types": "./out/index.d.ts", "import": "./out/index.mjs", "require": "./out/index.cjs", "node": "./out/index.mjs",