Skip to content

Commit

Permalink
add commit release script
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Sep 22, 2023
1 parent 86c1048 commit f0ae7ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
"scripts": {
"dev": "cd vike-react/ && pnpm run dev",
"build": "cd vike-react/ && pnpm run build",
"release": "cd vike-react/ && pnpm run release",
"========= Clean": "",
"clean": "git clean -Xdf",
"reset": "pnpm run clean && pnpm install && pnpm run build",
"========= Release": "",
"release": "cd vike-react/ && pnpm run release",
"release:commit": "cd vike-react/ && pnpm run release:commit",
"========= Only allow pnpm; forbid yarn & npm": "",
"preinstall": "npx only-allow pnpm"
},
Expand Down
3 changes: 2 additions & 1 deletion vike-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"scripts": {
"dev": "tsc --watch",
"build": "rm -rf dist/ && tsc",
"release": "release-me patch"
"release": "release-me patch",
"release:commit": "release-me commit"
},
"peerDependencies": {
"react": "18.x.x",
Expand Down

0 comments on commit f0ae7ad

Please sign in to comment.