From fec8ff8fecb898992f242c28afa776ea84484e08 Mon Sep 17 00:00:00 2001 From: sealday Date: Sat, 20 Apr 2024 06:55:30 +0800 Subject: [PATCH] chore: refine scripts names (#783) Co-authored-by: sealday Reviewed-on: https://git.daoyoucloud.com/daoyoucloud/tachybase/pulls/783 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d8a85723e..611622852 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "pm": "tachybase pm", "pm2": "tachybase pm2", "prepare": "husky", - "release": "pnpm -r exec -- npm version patch", + "release": "pnpm -r exec -- npm version patch && npm version patch --no-git-tag-version && git commit -a -m 'chore(version): release '$(jq -r '.version | \"v\\(.)\"' package.json | tr -d '\"') && git tag $(jq -r '.version | \"v\\(.)\"' package.json | tr -d '\"')", "run:example": "tsx -r dotenv/config -r tsconfig-paths/register ./examples/index.ts", "start": "tachybase start", "tachybase": "tachybase", @@ -30,7 +30,7 @@ "test:client": "tachybase test:client", "test:server": "tachybase test:server", "ts": "tachybase test:server", - "version": "changeset version" + "ver": "changeset version" }, "lint-staged": { "*.{js,json,sql}": [