Skip to content

Commit

Permalink
chore: upgrade to 🐶 husky 9.0 (#1449)
Browse files Browse the repository at this point in the history
## Proposed change

:rocket: Upgrade to [husky
9.0](https://github.com/typicode/husky/releases/tag/v9.0.1)
  • Loading branch information
vscaiceanu-1a authored Mar 6, 2024
2 parents 927c042 + 535f927 commit 27fe2b7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
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"

yarn lint-staged
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test:affected": "yarn nx affected --target=test --parallel $(yarn get:cpus-number) --cacheDirectory=$(yarn get:current-dir)/.cache/jest",
"test-e2e": "yarn nx run-many --target=test-e2e --parallel $(yarn get:cpus-number)",
"test-int": "yarn nx run-many --target=test-int --parallel $(yarn get:cpus-number)",
"postinstall": "husky install && yarn build:lint && yarn harmonize:version && yarn update-yarn-sdks",
"postinstall": "husky && yarn build:lint && yarn harmonize:version && yarn update-yarn-sdks",
"update-yarn-sdks": "node -e \"'pnp' !== '$(yarn config get nodeLinker)' || process.exit(1)\" || yarn dlx @yarnpkg/sdks",
"build:storybook": "yarn doc:generate:json && yarn ng run storybook:extract-style && build-storybook",
"clear": "rimraf -g './{packages,tools,apps}/{@*/,}{amaterasu/,}*/{dist,build,dist-*}/'",
Expand Down Expand Up @@ -222,7 +222,7 @@
"eslint-plugin-unicorn": "^51.0.0",
"globby": "^11.1.0",
"highlight.js": "^11.8.0",
"husky": "~8.0.3",
"husky": "~9.0.11",
"intl-messageformat": "~10.5.1",
"isomorphic-fetch": "~3.0.0",
"jest": "~29.7.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@ama-sdk/showcase-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
"eslint-plugin-prefer-arrow": "~1.2.3",
"eslint-plugin-unicorn": "^51.0.0",
"globby": "^11.1.0",
"husky": "~8.0.3",
"isomorphic-fetch": "~3.0.0",
"jest": "~29.7.0",
"jest-junit": "~16.0.0",
Expand Down
13 changes: 6 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ __metadata:
eslint-plugin-prefer-arrow: "npm:~1.2.3"
eslint-plugin-unicorn: "npm:^51.0.0"
globby: "npm:^11.1.0"
husky: "npm:~8.0.3"
isomorphic-fetch: "npm:~3.0.0"
jest: "npm:~29.7.0"
jest-junit: "npm:~16.0.0"
Expand Down Expand Up @@ -7732,7 +7731,7 @@ __metadata:
eslint-plugin-unicorn: "npm:^51.0.0"
globby: "npm:^11.1.0"
highlight.js: "npm:^11.8.0"
husky: "npm:~8.0.3"
husky: "npm:~9.0.11"
intl-messageformat: "npm:~10.5.1"
isomorphic-fetch: "npm:~3.0.0"
jest: "npm:~29.7.0"
Expand Down Expand Up @@ -20202,12 +20201,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: 10/b754cf70fdc97c3b60fec5b80056b9c11436464953b1691bf2b5dcf0081fb6685d2c5f47abb8b2b1c49f504aabea5321fdd6496f8b755d9f6e7525a493406abb
husky: bin.mjs
checksum: 10/8a9b7cb9dc8494b470b3b47b386e65d579608c6206da80d3cc8b71d10e37947264af3dfe00092368dad9673b51d2a5ee87afb4b2291e77ba9e7ec1ac36e56cd1
languageName: node
linkType: hard

Expand Down

0 comments on commit 27fe2b7

Please sign in to comment.