From b3821e03acb29afc668e107fea8672dd2f3ee7d2 Mon Sep 17 00:00:00 2001 From: jannikac Date: Fri, 26 Jul 2024 16:42:50 +0200 Subject: [PATCH 1/2] fix resolution when `module: NodeNext and moduleResolution: NodeNext` are used --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 59a31d90..84cae32d 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,8 @@ }, "exports": { "import": "./dist/ical.js", - "require": "./dist/ical.es5.cjs" + "require": "./dist/ical.es5.cjs", + "types": "./dist/types/module.d.ts" }, "files": [ "dist/ical.js", From 9401238a56c83dc4a96f76fd5b33aa1ed7f977dd Mon Sep 17 00:00:00 2001 From: jannikac Date: Fri, 26 Jul 2024 16:43:14 +0200 Subject: [PATCH 2/2] include declarationMap in release to allow `Go to definition` to work --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 84cae32d..53088f26 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "dist/ical.min.js", "dist/ical.es5.cjs", "dist/ical.es5.min.cjs", - "dist/types/*.d.ts", + "dist/types/*", "lib/ical/*.js" ], "mocha": {