Skip to content

Commit d7394b6

Browse files
committed
Migrated back to Husky v8 since v9 requires nodejs >= 18
1 parent 1759b36 commit d7394b6

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.husky/pre-commit

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
14
npm test

package-lock.json

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"eslint": "8.56.0",
1919
"eslint-config-athom": "3.1.3",
2020
"eslint-plugin-jest": "27.6.3",
21-
"husky": "9.0.10",
21+
"husky": "8.0.3",
2222
"jest": "29.7.0",
2323
"standard": "17.1.0"
2424
},
@@ -33,7 +33,7 @@
3333
"test": "standard && npm run ts:lint && env TZ=UTC jest",
3434
"fix": "standard --fix",
3535
"ts:lint": "eslint --ext .js,.ts --ignore-path .gitignore .",
36-
"prepare": "husky",
36+
"prepare": "husky install",
3737
"refresh": "rm -rf node_modules/ && rm package-lock.json && npm i",
3838
"browserify": "browserify lib/variable-management.js --standalone variableMgmt -o settings/variable-management.js",
3939
"homey-build": "npm run browserify && npm run test && homey app build",

0 commit comments

Comments
 (0)