From cd65282787fe602272184724da025cb86b21d6cb Mon Sep 17 00:00:00 2001 From: Daniel Grefberg Date: Sun, 9 Jul 2023 19:12:46 +0200 Subject: [PATCH] fix: actually ensure package is built before publish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9d4e526..5c20a00 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "build": "tsup", "dev": "tsc --watch", "test": "vitest", - "prepublish": "yarn build", + "prepublishOnly": "yarn build", "lint": "rome check src && prettier --check src", "lint:fix": "rome check --apply src && prettier --write src", "version": "changeset version",