From baa9c0129f46517a39627e3fd029fecb6e3f9039 Mon Sep 17 00:00:00 2001 From: Markus Sanin Date: Wed, 25 Sep 2024 19:46:15 +0200 Subject: [PATCH 1/2] Add missing declaration export for modifier, services & test-support --- addon/package.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/addon/package.json b/addon/package.json index 4ee7a116..5e8bf0d5 100644 --- a/addon/package.json +++ b/addon/package.json @@ -23,9 +23,18 @@ "default": "./dist/*.js" }, "./_app_/*": "./dist/_app_/*.js", - "./modifiers/*": "./dist/modifiers/*.js", - "./services/*": "./dist/services/*.js", - "./test-support": "./dist/test-support/index.js", + "./modifiers/*": { + "types": "./declarations/modifiers/*.d.ts", + "default": "./dist/modifiers/*.js" + }, + "./services/*": { + "types": "./declarations/services/*.d.ts", + "default": "./dist/services/*.js" + }, + "./test-support": { + "types": "./declarations/test-support/index.js", + "default": "./dist/test-support/index.js" + }, "./addon-main.js": "./addon-main.cjs" }, "typesVersions": { From 315adb649de747f2768dc3ab8b14dc3de6865153 Mon Sep 17 00:00:00 2001 From: Markus Sanin Date: Wed, 25 Sep 2024 19:47:31 +0200 Subject: [PATCH 2/2] Fix test-support types export --- addon/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/package.json b/addon/package.json index 5e8bf0d5..aa77a6b5 100644 --- a/addon/package.json +++ b/addon/package.json @@ -32,7 +32,7 @@ "default": "./dist/services/*.js" }, "./test-support": { - "types": "./declarations/test-support/index.js", + "types": "./declarations/test-support/index.d.ts", "default": "./dist/test-support/index.js" }, "./addon-main.js": "./addon-main.cjs"