From a91aa3b4de3f71258e84fa80c7466661e44ecb72 Mon Sep 17 00:00:00 2001 From: di-sukharev Date: Fri, 6 Sep 2024 12:17:37 +0300 Subject: [PATCH] update deploy commands --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fa855ed..2c00c15 100644 --- a/package.json +++ b/package.json @@ -46,8 +46,9 @@ "dev:gemini": "OCO_AI_PROVIDER='gemini' ts-node ./src/cli.ts", "build": "rimraf out && node esbuild.config.js", "build:push": "npm run build && git add . && git commit -m 'build' && git push", - "deploy": "npm run build:push && git push --tags && npm publish --tag latest", - "deploy:patch": "npm version patch && npm run deploy", + "deploy": "npm publish --tag latest", + "deploy:build": "npm run build:push && git push --tags && npm run deploy", + "deploy:patch": "npm version patch && npm run deploy:build", "lint": "eslint src --ext ts && tsc --noEmit", "format": "prettier --write src", "test": "node --no-warnings --experimental-vm-modules $( [ -f ./node_modules/.bin/jest ] && echo ./node_modules/.bin/jest || which jest ) test/unit",