From 84488feaaa32f50c87970b14915e21a51908d4fd Mon Sep 17 00:00:00 2001 From: Amolith Date: Sun, 8 Feb 2026 00:46:44 +0000 Subject: [PATCH] chore: add prepublishOnly script Automatically build before npm publish --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8ef0706300b170c06eb227d695f4e09b516f38c4..e2a9d234873fb8829efd3ecb026f281ce766c0d4 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "start": "bun dist/cli/index.js", "lint": "bun run --silent typecheck", "test": "bun test", - "typecheck": "tsc --noEmit" + "typecheck": "tsc --noEmit", + "prepublishOnly": "bun run build" }, "dependencies": { "@mariozechner/pi-agent-core": "^0.52.8",