From 87c88c20950964defc5519cd38fbee54567641bd Mon Sep 17 00:00:00 2001 From: Wayne Van Son <=> Date: Sun, 13 Oct 2024 15:50:23 +1100 Subject: [PATCH 1/2] fix(types): adds `exports.types` where applicable --- packages/collection/package.json | 3 ++- packages/focus/package.json | 3 ++- packages/overlays/package.json | 3 ++- packages/primitives/package.json | 3 ++- packages/select/package.json | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/packages/collection/package.json b/packages/collection/package.json index 3f4d99c..9c6be68 100644 --- a/packages/collection/package.json +++ b/packages/collection/package.json @@ -30,7 +30,8 @@ "import": "./dist/esm/index.js", "browser": "./dist/esm/index.js", "require": "./dist/cjs/index.js", - "node": "./dist/cjs/index.js" + "node": "./dist/cjs/index.js", + "types": "./dist/types/index.d.ts" } }, "main": "dist/cjs/index.js", diff --git a/packages/focus/package.json b/packages/focus/package.json index bfc0c1c..5fc12dc 100644 --- a/packages/focus/package.json +++ b/packages/focus/package.json @@ -30,7 +30,8 @@ "import": "./dist/esm/index.js", "browser": "./dist/esm/index.js", "require": "./dist/cjs/index.js", - "node": "./dist/cjs/index.js" + "node": "./dist/cjs/index.js", + "types": "./dist/types/index.d.ts" } }, "main": "dist/cjs/index.js", diff --git a/packages/overlays/package.json b/packages/overlays/package.json index 32361aa..e70b97d 100644 --- a/packages/overlays/package.json +++ b/packages/overlays/package.json @@ -30,7 +30,8 @@ "import": "./dist/esm/index.js", "browser": "./dist/esm/index.js", "require": "./dist/cjs/index.js", - "node": "./dist/cjs/index.js" + "node": "./dist/cjs/index.js", + "types": "./dist/types/index.d.ts" } }, "main": "dist/cjs/index.js", diff --git a/packages/primitives/package.json b/packages/primitives/package.json index e187e5e..7c4c4ce 100644 --- a/packages/primitives/package.json +++ b/packages/primitives/package.json @@ -30,7 +30,8 @@ "import": "./dist/esm/index.js", "browser": "./dist/esm/index.js", "require": "./dist/cjs/index.js", - "node": "./dist/cjs/index.js" + "node": "./dist/cjs/index.js", + "types": "./dist/types/index.d.ts" } }, "main": "dist/cjs/index.js", diff --git a/packages/select/package.json b/packages/select/package.json index 6a295f0..248acbf 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -30,7 +30,8 @@ "import": "./dist/esm/index.js", "browser": "./dist/esm/index.js", "require": "./dist/cjs/index.js", - "node": "./dist/cjs/index.js" + "node": "./dist/cjs/index.js", + "types": "./dist/types/index.d.ts" } }, "main": "dist/cjs/index.js", From 4fd78e0bc19ac059b805f7d08ab4c3564e996d3c Mon Sep 17 00:00:00 2001 From: Wayne Van Son <=> Date: Sun, 13 Oct 2024 15:56:08 +1100 Subject: [PATCH 2/2] chore: add changeset --- .changeset/nine-cougars-sip.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changeset/nine-cougars-sip.md diff --git a/.changeset/nine-cougars-sip.md b/.changeset/nine-cougars-sip.md new file mode 100644 index 0000000..233688e --- /dev/null +++ b/.changeset/nine-cougars-sip.md @@ -0,0 +1,9 @@ +--- +"@solid-aria/collection": patch +"@solid-aria/focus": patch +"@solid-aria/overlays": patch +"@solid-aria/primitives": patch +"@solid-aria/select": patch +--- + +fix(types): add `exports.types` to package.json