Skip to content

Commit 9e0b66f

Browse files
authored
Merge pull request #252 from TaloDev/develop
Release 0.28.1
2 parents 416b7ec + b64f4c0 commit 9e0b66f

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

.husky/install.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Skip Husky install in production and CI
2+
if (process.env.NODE_ENV === 'production' || process.env.CI === 'true') {
3+
process.exit(0)
4+
}
5+
const husky = (await import('husky')).default
6+
console.log(husky())

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx lint-staged

package-lock.json

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"test": "vitest",
77
"test:e2e": "start-server-and-test dev:e2e http://localhost:8080 cypress:open",
88
"cypress:open": "cypress open",
9-
"prepare": "husky install",
9+
"prepare": "husky",
1010
"lint": "eslint src/**/*.{js,jsx}"
1111
},
1212
"dependencies": {
@@ -57,7 +57,7 @@
5757
"eslint-plugin-jsx-a11y": "^6.8.0",
5858
"eslint-plugin-react": "^7.34.1",
5959
"eslint-plugin-testing-library": "^6.2.2",
60-
"husky": ">=6",
60+
"husky": "^9.0.11",
6161
"jsdom": "^24.0.0",
6262
"lint-staged": ">=10",
6363
"postcss": "^8.4.38",
@@ -71,7 +71,7 @@
7171
"lint-staged": {
7272
"*.{js,jsx}": "eslint --fix"
7373
},
74-
"version": "0.28.0",
74+
"version": "0.28.1",
7575
"engines": {
7676
"node": "20.x"
7777
},

0 commit comments

Comments
 (0)