Skip to content

Commit

Permalink
husky.sh added to checks all commited codes
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmuhtasimfuadfahim committed Jun 1, 2023
1 parent ea6be8d commit 178609d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ package-lock.json

# env file
.env

# Code coverage
coverage
3 changes: 3 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*.js": "eslint"
}
15 changes: 12 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
### [1.1.5] - 2023-01-06

#### Added

- husky.sh added to checks all commited codes
#### Contributors to this release

- <img src="https://avatars.githubusercontent.com/u/69357704?v=4/u/12586868?v&#x3D;4&amp;s&#x3D;18" alt="avatar" width="18"/> [Md. Muhtasim Fuad Fahim](https://github.com/mdmuhtasimfuadfahim)

### [1.1.4] - 2023-01-06

#### Added

- Eslint, Prettier code formatter and linter support
- Husky pre-commit, post-commit and post-checkout rules added to commit
- Eslint, Prettier code formatter and linter support [#7d5f1ae](https://github.com/mdmuhtasimfuadfahim/kafka-pub-sub/commit/7d5f1ae2888c661e7fcd668a7a922ef460eb37cf)
- Husky pre-commit, post-commit and post-checkout rules added to commit [#7d5f1ae](https://github.com/mdmuhtasimfuadfahim/kafka-pub-sub/commit/7d5f1ae2888c661e7fcd668a7a922ef460eb37cf)

#### Fixed

- test validations fixed from previoous release (v1.1.3)
- test validations fixed from previoous release (v1.1.3) [#7d5f1ae](https://github.com/mdmuhtasimfuadfahim/kafka-pub-sub/commit/7d5f1ae2888c661e7fcd668a7a922ef460eb37cf)

#### Contributors to this release

Expand Down
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kafka-pub-sub",
"version": "1.1.4",
"version": "1.1.5",
"description": "An application which is designed based on apache kafka pub-sub.",
"main": "index.js",
"repository": {
Expand All @@ -11,7 +11,14 @@
"url": "https://github.com/mdmuhtasimfuadfahim/kafka-pub-sub/issues"
},
"scripts": {
"test": "jest"
"test": "jest -i --colors --verbose --detectOpenHandles",
"test:watch": "jest -i --watchAll",
"coverage": "jest -i --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier": "prettier --check **/*.js",
"prettier:fix": "prettier --write **/*.js",
"prepare": "husky install"
},
"keywords": [
"NodeJS",
Expand Down

0 comments on commit 178609d

Please sign in to comment.