From 12e1e55601dbae0298c35f8a9b13735a0e13ca4a Mon Sep 17 00:00:00 2001 From: Pete Karl II Date: Mon, 9 Sep 2024 16:50:31 -0400 Subject: [PATCH] add cs-version to build script b/c github action builds before it releases (currently version file is only generated in release step --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1687f0f..7753866 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "build-esm": "tsc", "build-cjs": "tsc -p tsconfig-cjs.json", "fix-dist": "echo '{\"type\": \"module\"}' > dist/esm/package.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json", - "build": "run-s -l build-esm build-cjs fix-dist", + "build": "run-s -l cs-version build-esm build-cjs fix-dist", "cs-version": "changeset version && pnpm version --json > versions.json", "cs-publish": "changeset publish", "release": "run-s -l clean cs-version build cs-publish",