From cdab854902df2151251be623b8261b82f81de831 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Tue, 5 Nov 2024 15:09:38 -0800 Subject: [PATCH] Move testChangedPackageNames prior to changeset publish --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 255b5165..827173de 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,7 @@ "generate:map": "tsx scripts/generateClientTypesMap", "generate:tests": "tsx scripts/generateNewClientTests", "lint": "biome lint --write", - "prepublishOnly": "tsx scripts/testChangedPackageNames", - "release": "npm run build && changeset publish", + "release": "tsx scripts/testChangedPackageNames && npm run build && changeset publish", "test": "vitest", "version": "changeset version && npm i --package-lock-only" },