From c72d910eaa30e4fd1512f6a1e07a6e5aee208925 Mon Sep 17 00:00:00 2001 From: Kristiyan Tachev Date: Tue, 25 Oct 2022 16:44:47 +0300 Subject: [PATCH] fix(husky): added new husky file --- .husky/pre-commit | 4 ++++ CHANGELOG.md | 13 +++++++++++++ package.json | 6 +----- 3 files changed, 18 insertions(+), 5 deletions(-) create mode 100755 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..2c99739 --- /dev/null +++ b/.husky/pre-commit @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index a3dcf9f..58b0ca0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package.json b/package.json index de26b13..407c09d 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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",