From 09e83932f9ed71241875e6498cf52aa53df38a81 Mon Sep 17 00:00:00 2001 From: Kainoa Kanter Date: Tue, 3 Feb 2026 16:19:52 -0800 Subject: [PATCH] fix: only build after install on prepublish (#789) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c447b63..cd417dd 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "check": "bun run scripts/check.js", "dev": "bun --loader:.md=text --loader:.mdx=text --loader:.txt=text run src/index.ts", "build": "node scripts/postinstall-patches.js && bun run build.js", - "prepare": "bun run build", + "prepublishOnly": "bun run build", "postinstall": "node scripts/postinstall-patches.js" }, "lint-staged": {