From cd1388144637c8e788e8e245cbcb42d9d2490e12 Mon Sep 17 00:00:00 2001 From: Prev Wong Date: Sat, 27 Jul 2024 13:47:15 +0800 Subject: [PATCH] hotfix: regression missing types --- .changeset/good-readers-look.md | 7 +++++++ packages/core/package.json | 3 ++- packages/layers/package.json | 3 ++- packages/utils/package.json | 3 ++- 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 .changeset/good-readers-look.md diff --git a/.changeset/good-readers-look.md b/.changeset/good-readers-look.md new file mode 100644 index 000000000..366ce92ae --- /dev/null +++ b/.changeset/good-readers-look.md @@ -0,0 +1,7 @@ +--- +'@craftjs/layers': patch +'@craftjs/utils': patch +'@craftjs/core': patch +--- + +Fix regression - include typings in npm package diff --git a/packages/core/package.json b/packages/core/package.json index 863d303e2..fa53de00f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -22,7 +22,8 @@ "module": "./dist/esm/index.js", "types": "./lib/index.d.ts", "files": [ - "dist" + "dist", + "lib" ], "repository": { "type": "git", diff --git a/packages/layers/package.json b/packages/layers/package.json index ffd8b8fd9..e5785bc56 100644 --- a/packages/layers/package.json +++ b/packages/layers/package.json @@ -18,7 +18,8 @@ "license": "MIT", "types": "./lib/index.d.ts", "files": [ - "dist" + "dist", + "lib" ], "scripts": { "start": "cross-env NODE_ENV=development ../../scripts/build.sh", diff --git a/packages/utils/package.json b/packages/utils/package.json index da00f637c..6fe985642 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -8,7 +8,8 @@ "module": "./dist/esm/index.js", "types": "./lib/index.d.ts", "files": [ - "dist" + "dist", + "lib" ], "scripts": { "start": "cross-env NODE_ENV=development ../../scripts/build.sh",