Skip to content

Commit

Permalink
chore(dx): use npm script for commitlint
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
UberMouse committed Sep 19, 2022
1 parent 256f75b commit 1eef5bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit
npm run commitlint
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@
"build": "rimraf dist && tsc -p tsconfig.build.json",
"build:watch": "tsc -p tsconfig.build.json -w",
"api-extractor": "api-extractor run",
"release": "semantic-release"
"release": "semantic-release",
"commitlint": "commitlint --edit"
},
"files": [
"lib/**/*.js",
Expand Down

0 comments on commit 1eef5bb

Please sign in to comment.