Skip to content

Commit

Permalink
feat: add release tool
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesytim committed Nov 8, 2021
1 parent 12ef469 commit b4e7c0f
Show file tree
Hide file tree
Showing 3 changed files with 1,259 additions and 31 deletions.
15 changes: 15 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"git": {
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true,
"web": true
},
"npm": {
"publish": true
},
"hooks": {
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"prettier": "prettier --check --ignore-unknown '**/*'",
"prettier:fix": "prettier --write --ignore-unknown '**/*'",
"prepare": "husky install"
"prepare": "husky install",
"release": "release-it"
},
"dependencies": {
"postcss": "^8.3.11",
Expand All @@ -28,6 +29,7 @@
"husky": "^7.0.4",
"lint-staged": "^11.2.6",
"prettier": "^2.4.1",
"release-it": "^14.11.6",
"stylelint": "^14.0.1"
},
"description": "A stylelint config we use for our projects",
Expand Down
Loading

0 comments on commit b4e7c0f

Please sign in to comment.