From a3baaeee86c5c191c07b8212609e2f9d634d8975 Mon Sep 17 00:00:00 2001 From: ymc9 <104139426+ymc9@users.noreply.github.com> Date: Mon, 16 Jun 2025 18:45:34 +0800 Subject: [PATCH] chore: add publish script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d9447d17..ab4b9bbc 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "watch": "pnpm -r --parallel watch", "lint": "pnpm -r lint", "test": "pnpm vitest", - "publish-preview": "pnpm --filter \"./packages/**\" -r publish --force --registry https://preview.registry.zenstack.dev/", + "publish-all": "pnpm --filter \"./packages/**\" -r publish --tag next", + "publish-preview": "pnpm --filter \"./packages/**\" -r publish --tag next --force --registry https://preview.registry.zenstack.dev/", "unpublish-preview": "pnpm --filter \"./packages/**\" -r --shell-mode exec -- npm unpublish -f --registry https://preview.registry.zenstack.dev/ \"\\$PNPM_PACKAGE_NAME\"" }, "keywords": [],