From eab546e6cb58209f0c021c3a0c3677787b321f35 Mon Sep 17 00:00:00 2001 From: LewisB Date: Sat, 2 Nov 2024 11:15:17 +0700 Subject: [PATCH] fix: build sdk before publish --- packages/sdk-js/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/sdk-js/package.json b/packages/sdk-js/package.json index 6094a521..766061a2 100644 --- a/packages/sdk-js/package.json +++ b/packages/sdk-js/package.json @@ -1,7 +1,7 @@ { "name": "@gooddollar/goodcollective-sdk", "license": "MIT", - "version": "1.2.0", + "version": "1.2.1", "main": "./dist/sdk", "types": "./types/index.d.ts", "type": "module", @@ -11,7 +11,7 @@ "test": "vitest run", "watch": "vitest", "bump": "yarn version patch && yarn build && git add package.json && git commit -m \"version bump\"", - "publish": "yarn npm publish --access public", + "publish": "yarn build && yarn npm publish --access public", "lint": "eslint .", "format": "prettier -w ./src ", "format:check": "prettier -c ./src"