Skip to content

Commit

Permalink
fix(husky): added new husky file
Browse files Browse the repository at this point in the history
  • Loading branch information
Stradivario committed Oct 25, 2022
1 parent a846f71 commit c72d910
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint && npm run test && npm run changelog && git add CHANGELOG.md
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
## [0.9.1](https://github.com/rxdi/firelink/compare/v0.9.0...v0.9.1) (2022-10-25)


### Bug Fixes

* **release:** added old version of nodejs due to cli incompatability ([0e279bf](https://github.com/rxdi/firelink/commit/0e279bf91dab80c6722b28b4dcc3ab0ab9f59b39))



# [0.9.0](https://github.com/rxdi/firelink/compare/v0.8.2...v0.9.0) (2022-10-25)



## [0.8.2](https://github.com/rxdi/firelink/compare/v0.8.1...v0.8.2) (2022-10-25)


Expand Down
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"build-all": "npm run build-binary && rm -rf dist && npm run build",
"test": "npx jest",
"lint": "npx eslint . --ext .ts",
"prepare": "husky install",
"lint-fix": "npx eslint . --fix --ext .ts",
"publish-package": "npm publish --update-readme --access public",
"changelog": "npx conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . -r 0",
Expand All @@ -23,11 +24,6 @@
"fireConfig": {
"runner": "dir"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run test && npm run changelog && git add CHANGELOG.md"
}
},
"devDependencies": {
"@rxdi/parcel-plugin-shebang": "^0.7.156",
"@types/jest": "29.2.0",
Expand Down

0 comments on commit c72d910

Please sign in to comment.