Skip to content

Commit

Permalink
Add release-it util
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed Feb 8, 2022
1 parent d32b6c4 commit d13af6e
Show file tree
Hide file tree
Showing 2 changed files with 1,871 additions and 8 deletions.
23 changes: 22 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"author": "felixmosh",
"main": "dist/index.js",
"scripts": {
"build": "ncc build src/turboServer.ts -o dist/turboServer && ncc build src/starter.ts -o dist/starter && ncc build src/post.ts -o dist/post && git add -f dist/"
"build": "ncc build src/turboServer.ts -o dist/turboServer && ncc build src/starter.ts -o dist/starter && ncc build src/post.ts -o dist/post && git add -f dist/",
"release": "release-it --only-version"
},
"devDependencies": {
"@actions/artifact": "^0.6.1",
Expand All @@ -25,5 +26,25 @@
},
"engines": {
"node": ">=12.0.0"
},
"release-it": {
"git": {
"changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"hooks": {
"after:bump": [
"npx auto-changelog -p",
"yarn build"
]
},
"github": {
"release": true
},
"npm": {
"publish": false
}
},
"dependencies": {
"release-it": "^14.12.4"
}
}
Loading

0 comments on commit d13af6e

Please sign in to comment.