From deb0e2d2c59949ec81e0561c51efbc4fff919db4 Mon Sep 17 00:00:00 2001 From: Lukasz Ostrowski Date: Wed, 6 Sep 2023 17:03:51 +0200 Subject: [PATCH] Add missing entry point for generic typings --- .changeset/fifty-mangos-know.md | 5 +++++ package.json | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/fifty-mangos-know.md diff --git a/.changeset/fifty-mangos-know.md b/.changeset/fifty-mangos-know.md new file mode 100644 index 00000000..fc21178c --- /dev/null +++ b/.changeset/fifty-mangos-know.md @@ -0,0 +1,5 @@ +--- +"@saleor/app-sdk": patch +--- + +Added export path "@saleor/app-sdk/types". It was accessible but not correctly marked in package.json. Now its added in "exports" field which should fix some bundles and IDEs diff --git a/package.json b/package.json index e362562a..102624a3 100644 --- a/package.json +++ b/package.json @@ -134,6 +134,9 @@ "types": "./headers.d.ts", "import": "./headers.mjs", "require": "./headers.js" + }, + "./types": { + "types": "./types.d.ts" } }, "publishConfig": {