Skip to content

Commit 5c4aacd

Browse files
committed
Update husky and knip
1 parent 3c65541 commit 5c4aacd

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.husky/pre-push

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
32

43
npm test

.knip.jsonc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://unpkg.com/knip@2/schema.json",
2+
"$schema": "https://unpkg.com/knip@5/schema.json",
33
"entry": [
44
"index.js!",
55
"benchmark/*.js"
66
],
7-
"ignoreDependencies": ["@types/mocha", "mocha"]
7+
"ignoreDependencies": ["@types/mocha"]
88
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"check": "run-s clean && run-p check:*",
4141
"clean:declarations": "rm -rf $(find . -maxdepth 2 -type f -name '*.d.ts*')",
4242
"clean": "run-p clean:*",
43-
"prepare": "husky install",
43+
"prepare": "husky",
4444
"prepublishOnly": "run-s build",
4545
"test:mocha": "c8 --reporter=lcov --reporter text mocha 'test/**/*.spec.js'",
4646
"test-ci": "run-s test:*",
@@ -70,9 +70,9 @@
7070
"eslint-plugin-security": "^1.7.1",
7171
"eslint-plugin-sort-destructure-keys": "^1.5.0",
7272
"eslint-plugin-unicorn": "^48.0.1",
73-
"husky": "^8.0.3",
73+
"husky": "^9.0.11",
7474
"installed-check": "^8.0.0",
75-
"knip": "^2.35.0",
75+
"knip": "^5.1.1",
7676
"mocha": "^10.2.0",
7777
"npm-run-all2": "^6.0.6",
7878
"sinon": "^17.0.0",

0 commit comments

Comments
 (0)