From 5fefabe46552c49f843a55305fa4a581c8589f65 Mon Sep 17 00:00:00 2001 From: amvanbaren Date: Tue, 8 Aug 2023 22:17:28 +0300 Subject: [PATCH] Fix yarn publish commands --- cli/package.json | 4 ++-- webui/package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/package.json b/cli/package.json index e227e76b7..10a34e063 100644 --- a/cli/package.json +++ b/cli/package.json @@ -60,8 +60,8 @@ "watch": "tsc -w -p ./tsconfig.json", "lint": "eslint -c ./configs/eslintrc.json --ext .ts src", "prepare": "yarn run clean && yarn run build", - "publish:next": "yarn publish --new-version \"$(semver $npm_package_version -i minor)-next.$(git rev-parse --short HEAD)\" --tag next --no-git-tag-version", - "publish:latest": "yarn publish --tag latest" + "publish:next": "yarn npm publish --tag next", + "publish:latest": "yarn npm publish --tag latest" }, "packageManager": "yarn@3.6.1" } diff --git a/webui/package.json b/webui/package.json index 659172c49..21e406b46 100644 --- a/webui/package.json +++ b/webui/package.json @@ -107,8 +107,8 @@ "watch:default": "webpack --config ./configs/webpack.config.js --mode development --watch", "start:default": "node lib/default/server", "copy2server": "cp -rfv static ../server/src/dev/resources/", - "publish:next": "yarn publish --new-version \"$(semver $npm_package_version -i minor)-next.$(git rev-parse --short HEAD)\" --tag next --no-git-tag-version", - "publish:latest": "yarn publish --tag latest" + "publish:next": "yarn npm publish --tag next", + "publish:latest": "yarn npm publish --tag latest" }, "packageManager": "yarn@3.6.1" }