Skip to content

Commit 87247e7

Browse files
committed
chore: add release-it hooks
1 parent 47b733f commit 87247e7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"typescript": "bun --filter=\"**\" typescript",
2626
"lint": "bun package lint && bun example lint",
2727
"bootstrap": "bun install && bun package prepare && bun example pods",
28-
"release": "bun package prepare && release-it",
28+
"release": "release-it",
2929
"clean": "rm -rf **/tsconfig.tsbuildinfo node_modules package/node_module package/lib"
3030
},
3131
"dependencies": {
@@ -57,6 +57,11 @@
5757
"github": {
5858
"release": true
5959
},
60+
"hooks": {
61+
"before:init": "bun typescript && bun lint",
62+
"before:bump": "bun example pods",
63+
"after:bump": "bun package prepare"
64+
},
6065
"plugins": {
6166
"@release-it-plugins/workspaces": true,
6267
"@release-it/conventional-changelog": {

0 commit comments

Comments
 (0)