Skip to content

Commit

Permalink
chore(projects): add update-version script
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed May 27, 2023
1 parent 042b701 commit 8d78d27
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 11 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"commit": "soy git-commit",
"cleanup": "soy cleanup",
"update-pkg": "soy update-pkg",
"update-version": "bumpp --commit --push --tag",
"publish-pkg": "pnpm -r publish --access public",
"typecheck": "tsc --noEmit",
"release": "pnpm update-version && pnpm build && pnpm publish-pkg"
Expand All @@ -48,6 +49,7 @@
"devDependencies": {
"@soybeanjs/cli": "link:",
"@types/node": "20.2.3",
"bumpp": "9.1.0",
"eslint": "8.41.0",
"eslint-config-soybeanjs": "0.3.8",
"lint-staged": "13.2.2",
Expand All @@ -58,7 +60,7 @@
},
"simple-git-hooks": {
"commit-msg": "pnpm soy git-commit-verify",
"pre-commit": "pnpm lint-staged"
"pre-commit": "pnpm typecheck && pnpm lint-staged"
},
"lint-staged": {
"*.{js,mjs,jsx,ts,mts,tsx,json,vue,svelte,astro}": "eslint . --fix",
Expand Down
Loading

0 comments on commit 8d78d27

Please sign in to comment.