Skip to content

Commit af8eb21

Browse files
committed
fix(hub): ship dist/ in published tarball
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).
1 parent 06c86eb commit af8eb21

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/hub/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
],
3535
"scripts": {
3636
"build": "tsdown",
37-
"watch": "tsdown --watch"
37+
"watch": "tsdown --watch",
38+
"prepack": "pnpm run build"
3839
},
3940
"peerDependencies": {
4041
"devframe": "workspace:*"

0 commit comments

Comments
 (0)