Skip to content

Commit 240bdd8

Browse files
committed
feat(bun-decompile): add prepublishOnly validation hook
Run typecheck before publishing to prevent releasing broken code.
1 parent 435973f commit 240bdd8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/bun-decompile/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"scripts": {
4343
"build": "true",
4444
"test": "bun test",
45-
"typecheck": "tsc --noEmit"
45+
"typecheck": "tsc --noEmit",
46+
"prepublishOnly": "bun run typecheck"
4647
},
4748
"dependencies": {
4849
"@anthropic-ai/sdk": "^0.52.0",

0 commit comments

Comments
 (0)