diff --git a/.husky/post-merge b/.husky/post-merge index d0dc55c..6f9c95b 100755 --- a/.husky/post-merge +++ b/.husky/post-merge @@ -1,6 +1,3 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" run_if_changed() { diff --git a/.husky/pre-commit b/.husky/pre-commit index 1df1cde..2d46cfb 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - node node_modules/.bin/lint-staged diff --git a/.husky/pre-push b/.husky/pre-push index ee71011..cadfab2 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - node node_modules/.bin/tsc --noEmit --Pretty diff --git a/package.json b/package.json index a8ec44f..8258e12 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "build": "build-ts lib", "cleanup": "yarn format && yarn lint-fix", "format": "sort-package-json && yarn prettify", - "postinstall": "husky install", + "postinstall": "husky", "lint": "eslint --color \"./{scripts,src,tests}/**/*.{cjs,cts,js,jsx,mjs,mts,ts,tsx}\"", "lint-fix": "yarn lint --fix", "prepack": "pinst --disable", @@ -56,7 +56,7 @@ "eslint-plugin-sort-class-members": "1.20.0", "eslint-plugin-sort-destructure-keys": "1.5.0", "eslint-plugin-unicorn": "51.0.1", - "husky": "8.0.3", + "husky": "9.0.11", "jest": "29.7.0", "lint-staged": "15.2.2", "micromatch": "4.0.5", diff --git a/tsconfig.json b/tsconfig.json index 128a41a..a1cb027 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,7 +13,7 @@ "sourceMap": true, "strict": true, "target": "ES2022", - "typeRoots": ["./node_modules/@types", "./@types"], + "typeRoots": ["./node_modules/@types", "./@types"] }, - "include": ["scripts/**/*", "src/**/*", "tests/**/*"], + "include": ["scripts/**/*", "src/**/*", "tests/**/*"] } diff --git a/yarn.lock b/yarn.lock index 73582d5..25157ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3479,7 +3479,7 @@ __metadata: eslint-plugin-sort-class-members: "npm:1.20.0" eslint-plugin-sort-destructure-keys: "npm:1.5.0" eslint-plugin-unicorn: "npm:51.0.1" - husky: "npm:8.0.3" + husky: "npm:9.0.11" jest: "npm:29.7.0" lint-staged: "npm:15.2.2" micromatch: "npm:4.0.5" @@ -5852,12 +5852,12 @@ __metadata: languageName: node linkType: hard -"husky@npm:8.0.3": - version: 8.0.3 - resolution: "husky@npm:8.0.3" +"husky@npm:9.0.11": + version: 9.0.11 + resolution: "husky@npm:9.0.11" bin: - husky: lib/bin.js - checksum: 10c0/6722591771c657b91a1abb082e07f6547eca79144d678e586828ae806499d90dce2a6aee08b66183fd8b085f19d20e0990a2ad396961746b4c8bd5bdb619d668 + husky: bin.mjs + checksum: 10c0/2c787dcf74a837fc9a4fea7da907509d4bd9a289f4ea10ecc9d86279e4d4542b0f5f6443a619bccae19e265f2677172cc2b86aae5c932a35a330cc227d914605 languageName: node linkType: hard