Skip to content

Commit a91aa3b

Browse files
committed
update deploy commands
1 parent f46336b commit a91aa3b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@
4646
"dev:gemini": "OCO_AI_PROVIDER='gemini' ts-node ./src/cli.ts",
4747
"build": "rimraf out && node esbuild.config.js",
4848
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
49-
"deploy": "npm run build:push && git push --tags && npm publish --tag latest",
50-
"deploy:patch": "npm version patch && npm run deploy",
49+
"deploy": "npm publish --tag latest",
50+
"deploy:build": "npm run build:push && git push --tags && npm run deploy",
51+
"deploy:patch": "npm version patch && npm run deploy:build",
5152
"lint": "eslint src --ext ts && tsc --noEmit",
5253
"format": "prettier --write src",
5354
"test": "node --no-warnings --experimental-vm-modules $( [ -f ./node_modules/.bin/jest ] && echo ./node_modules/.bin/jest || which jest ) test/unit",

0 commit comments

Comments
 (0)