Skip to content

Commit

Permalink
feat: add and setup release-it
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejBudzinskiNG committed Apr 1, 2020
1 parent e16cdf0 commit f94dcfe
Show file tree
Hide file tree
Showing 3 changed files with 2,080 additions and 55 deletions.
17 changes: 17 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"git": {
"commitMessage": "chore: release %s",
"tagName": "v%s"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
}
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"repository": "https://github.com/netguru/sticky-parallax-header",
"author": "IdaszakDaniel <idaszak1@gmail.com>",
"license": "MIT",
"scripts": {},
"scripts": {
"release": "release-it"
},
"dependencies": {
"prop-types": "^15.7.2"
},
Expand All @@ -17,6 +19,7 @@
"@babel/core": "^7.8.4",
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@release-it/conventional-changelog": "^1.1.0",
"babel-eslint": "^10.0.3",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
Expand All @@ -27,7 +30,8 @@
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-native": "^3.8.1",
"husky": "^4.2.3"
"husky": "^4.2.3",
"release-it": "^13.5.1"
},
"husky": {
"hooks": {
Expand Down
Loading

0 comments on commit f94dcfe

Please sign in to comment.