Skip to content

Commit

Permalink
chore: use version script instead of post with ammend, should run aft…
Browse files Browse the repository at this point in the history
…er version bump
  • Loading branch information
jwu910 committed Jul 13, 2023
1 parent c20e4f3 commit c931832
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"cz": "npx git-cz",
"lint": "prettier -c \"**/*.(js|ts)\"",
"lint:fix": "prettier --write \"**/*.(js|ts)\"",
"postversion": "npm run prepublishOnly && git add src/utils/packageInfo.ts && git commit --amend --no-edit",
"preversion": "npm test",
"version": "npm run build:update-packageInfo && git add src/utils/packageInfo.ts",
"precise-commits": "precise-commits",
"prepublishOnly": "npm run build:update-packageInfo && npm run build",
"start": "node dist/index.js",
Expand All @@ -84,4 +85,4 @@
},
"type": "module",
"version": "4.0.3"
}
}

0 comments on commit c931832

Please sign in to comment.