From af8eb21fb5babbcc26547ee83071581a50dd289a Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Thu, 28 May 2026 10:56:32 +0900 Subject: [PATCH] fix(hub): ship dist/ in published tarball MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without a prepack hook, npm pack never builds dist/ — so 0.5.0 and 0.5.1 published as empty tarballs (LICENSE.md + package.json only, 2.4 KB). --- packages/hub/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/hub/package.json b/packages/hub/package.json index cd9623e..683033e 100644 --- a/packages/hub/package.json +++ b/packages/hub/package.json @@ -34,7 +34,8 @@ ], "scripts": { "build": "tsdown", - "watch": "tsdown --watch" + "watch": "tsdown --watch", + "prepack": "pnpm run build" }, "peerDependencies": { "devframe": "workspace:*"