From 109777d8fb4da0a1f78eccbd2b46e837c4f1067b Mon Sep 17 00:00:00 2001 From: yangxiaolang <1810849666@qq.com> Date: Fri, 8 May 2026 13:13:42 +0800 Subject: [PATCH 1/2] ci: build package before publishing --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f76ba2031..7de7afdc1 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "lint:tsc": "npx tsc -p . --noEmit", "prepare": "patch-package && simple-git-hooks && touch documentation.json || exit 0", "prerelease": "yarn build", - "release": "changeset publish", + "release": "yarn build && changeset publish", "start": "yarn storybook", "storybook": "ng run storybook:storybook", "storybook:build": "ng run storybook:build-storybook", From 7c01a4949e8e4be90cb9bfdd22f58eb1e352b5ef Mon Sep 17 00:00:00 2001 From: yangxiaolang <1810849666@qq.com> Date: Fri, 8 May 2026 13:27:24 +0800 Subject: [PATCH 2/2] chore: remove useless prerelease in yarn v4 --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 7de7afdc1..6cd256c9f 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,6 @@ "lint:style": "npx stylelint --cache '{src,stories}/**/*.{html,scss}'", "lint:tsc": "npx tsc -p . --noEmit", "prepare": "patch-package && simple-git-hooks && touch documentation.json || exit 0", - "prerelease": "yarn build", "release": "yarn build && changeset publish", "start": "yarn storybook", "storybook": "ng run storybook:storybook",