Skip to content

Commit

Permalink
📦 Add release-it and changelog generation
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardfactory committed Mar 11, 2019
1 parent 24b0a72 commit dc4296f
Show file tree
Hide file tree
Showing 2 changed files with 1,513 additions and 42 deletions.
19 changes: 18 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"build": "yarn build:lib && yarn build:types",
"build:lib": "babel src -d lib -x '.ts,.tsx'",
"build:types": "tsc --emitDeclarationOnly",
"check-types": "tsc --noEmit"
"check-types": "tsc --noEmit",
"release": "release-it"
},
"files": [
"/lib"
Expand All @@ -28,6 +29,20 @@
"commit-msg": "emoji-commit-lint"
}
},
"release-it": {
"git": {
"tagName": "v${version}",
"commitMessage": "🔖 v${version}"
},
"github": {
"release": true
},
"increment": "conventional:@favoloso/emoji",
"scripts": {
"changelog": "./node_modules/.bin/conventional-changelog -p @favoloso/emoji | tail -n +3",
"beforeStage": "./node_modules/.bin/conventional-changelog -p @favoloso/emoji -i CHANGELOG.md -s"
}
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
Expand All @@ -36,8 +51,10 @@
"@favoloso/conventional-changelog-emoji": "^0.9.0",
"@types/remarkable": "^1.7.2",
"babel-jest": "^24.3.1",
"conventional-changelog-cli": "^2.0.12",
"husky": "^1.3.1",
"jest": "^24.3.1",
"release-it": "^10.3.1",
"remarkable": "^1.7.1",
"typescript": "^3.3.3333"
}
Expand Down
Loading

0 comments on commit dc4296f

Please sign in to comment.