Skip to content

Commit

Permalink
NEO-823 Migrate husky config (#353)
Browse files Browse the repository at this point in the history
* NEO-823 Migrate husky config

These lines would fail in Husky v10.0.0.

Signed-off-by: Christian Paul <[email protected]>

* Update husky and 'husky install' is deprecated

Signed-off-by: Milton Moura <[email protected]>

---------

Signed-off-by: Christian Paul <[email protected]>
Signed-off-by: Milton Moura <[email protected]>
Co-authored-by: Milton Moura <[email protected]>
  • Loading branch information
jaller94 and mgcm authored Oct 9, 2024
1 parent 3b1aa19 commit 718758b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

node ./node_modules/lint-staged/bin/lint-staged.js
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"translate": "i18next \"src/**/*.{ts,tsx}\"",
"prettier:check": "prettier --check .",
"prettier:write": "prettier --write .",
"prepare": "husky install",
"prepare": "husky",
"docker:build": "docker build -t matrix-barcamp-widget .",
"generate-disclaimer": "cp LICENSE ./build/LICENSE.txt && cp NOTICE ./build/NOTICE.txt && yarn licenses generate-disclaimer --prod >> ./build/NOTICE.txt && yarn licenses list --prod --json --no-progress > ./build/licenses.json",
"e2e": "playwright test --headed --project=chromium --workers=1 --reporter=dot",
Expand Down Expand Up @@ -111,7 +111,7 @@
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-playwright": "^0.12.0",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"husky": "^9.1.6",
"i18next-parser": "8.12.0",
"lint-staged": "^15.2.0",
"nanoid": "^3.3.4",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6629,10 +6629,10 @@ human-signals@^5.0.0:
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28"
integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==

husky@^8.0.3:
version "8.0.3"
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
husky@^9.1.6:
version "9.1.6"
resolved "https://registry.yarnpkg.com/husky/-/husky-9.1.6.tgz#e23aa996b6203ab33534bdc82306b0cf2cb07d6c"
integrity sha512-sqbjZKK7kf44hfdE94EoX8MZNk0n7HeW37O4YrVGCF4wzgQjp+akPAkfUK5LZ6KuR/6sqeAVuXHji+RzQgOn5A==

hyphenate-style-name@^1.0.3:
version "1.0.4"
Expand Down

0 comments on commit 718758b

Please sign in to comment.