Skip to content

Commit

Permalink
chore(package.json): revert version to 2.2.3 and remove postversion s…
Browse files Browse the repository at this point in the history
…cript as it is no longer needed

feat(package.json): add deploy script to automate versioning, building, pushing and publishing the package to npm registry
  • Loading branch information
di-sukharev committed May 26, 2023
1 parent fad05e0 commit 8d47a1b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opencommit",
"version": "2.2.4",
"version": "2.2.3",
"description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
"keywords": [
"git",
Expand Down Expand Up @@ -41,9 +41,8 @@
"start": "node ./out/cli.cjs",
"dev": "ts-node ./src/cli.ts",
"build": "rimraf out && node esbuild.config.js",
"deploy": "npm run build:push && npm version patch && npm run postversion",
"deploy": "npm version patch && npm run build:push && git push --tags && npm publish --tag latest",
"build:push": "npm run build && git add . && git commit -m 'build' && git push",
"postversion": "npm run build && git add . && git commit --amend --no-edit && git push && git push --tags && npm publish --tag latest",
"lint": "eslint src --ext ts && tsc --noEmit",
"format": "prettier --write src"
},
Expand Down

0 comments on commit 8d47a1b

Please sign in to comment.