Skip to content

Commit 7d1be06

Browse files
chore(deps-dev): bump husky from 4.3.8 to 9.1.7 (#6420)
* chore(deps-dev): bump husky from 4.3.8 to 9.1.7 Bumps [husky](https://github.com/typicode/husky) from 4.3.8 to 9.1.7. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v4.3.8...v9.1.7) --- updated-dependencies: - dependency-name: husky dependency-version: 9.1.7 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * test bad commit * test: good commit * fix: update readme --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Emily Jablonski <emijablonski@gmail.com>
1 parent 7a36fe4 commit 7d1be06

4 files changed

Lines changed: 13 additions & 57 deletions

File tree

.husky/commit-msg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
echo "\n(1) Verifying conventional commit format... \n (If this fails, install commitizen and commit with 'git cz' to automate the formatting!)\n----------"
3+
npx --no-install commitlint --edit "$1"
4+
echo "\n(2) Linting...\n----------"
5+
npx --no-install lint-staged

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Our development tasks are managed through GitHub issues and development in the v
122122

123123
We are also using [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/), a specification for commit messages that indicates what type and level of change each commit is.
124124

125-
On commit, two steps automatically run: (1) linting and (2) a verification of the conventional commit standard. You can either, instead of running `git commit`, globally install commitizen (`npm install -g commitizen`) and then commit with `git cz` which will run a commit message CLI (the CLI asks a series of questions about your changeset and builds the commit message for you in the conventional commit format), or alternatively run `git commit` with your own message if you are confident it follows the conventional standard, and the linter will fail if it does not.
125+
On commit, two steps automatically run: (1) a verification of the conventional commit standard and (2) linting. You can either, instead of running `git commit`, globally install commitizen (`npm install -g commitizen`) and then commit with `git cz` which will run a commit message CLI (the CLI asks a series of questions about your changeset and builds the commit message for you in the conventional commit format), or alternatively run `git commit` with your own message if you are confident it follows the conventional standard, and the linter will fail if it does not.
126126

127127
#### Pre-commit
128128

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
"test:backend:new:dbsetup:withseed-regions": "cd api && yarn db:migration:run && yarn db:seed:staging-region",
5555
"backend:new:install": "cd api && yarn install",
5656
"prettier": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\"",
57-
"ui-load-test": "ruby ./utilities/ui-load-tester.rb"
57+
"ui-load-test": "ruby ./utilities/ui-load-tester.rb",
58+
"prepare": "husky"
5859
},
5960
"devDependencies": {
6061
"@commitlint/cli": "^13.1.0",
@@ -71,7 +72,7 @@
7172
"eslint-plugin-prettier": "^4.0.0",
7273
"eslint-plugin-react": "^7.37.1",
7374
"eslint-plugin-react-hooks": "^4.6.2",
74-
"husky": "^4.3.0",
75+
"husky": "^9.1.7",
7576
"jest": "^26.5.3",
7677
"lint-staged": "^10.4.0",
7778
"prettier": "^2.8.8",
@@ -87,11 +88,6 @@
8788
"printWidth": 100,
8889
"semi": false
8990
},
90-
"husky": {
91-
"hooks": {
92-
"commit-msg": "echo '\n(1) Verifying conventional commit format... \n (If this fails, install commitizen and commit with 'git cz' to automate the formatting!)\n----------' && commitlint -E HUSKY_GIT_PARAMS && echo '\n(2) Linting...\n----------' && lint-staged"
93-
}
94-
},
9591
"lint-staged": {
9692
"*.{js,ts,tsx}": "eslint"
9793
},

yarn.lock

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -5168,11 +5168,6 @@ compare-func@^2.0.0:
51685168
array-ify "^1.0.0"
51695169
dot-prop "^5.1.0"
51705170

5171-
compare-versions@^3.6.0:
5172-
version "3.6.0"
5173-
resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz"
5174-
integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==
5175-
51765171
component-emitter@^1.2.1:
51775172
version "1.3.0"
51785173
resolved "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz"
@@ -6635,13 +6630,6 @@ find-up@^6.3.0:
66356630
locate-path "^7.1.0"
66366631
path-exists "^5.0.0"
66376632

6638-
find-versions@^4.0.0:
6639-
version "4.0.0"
6640-
resolved "https://registry.npmjs.org/find-versions/-/find-versions-4.0.0.tgz"
6641-
integrity sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ==
6642-
dependencies:
6643-
semver-regex "^3.1.2"
6644-
66456633
findup-sync@^4.0.0:
66466634
version "4.0.0"
66476635
resolved "https://registry.npmjs.org/findup-sync/-/findup-sync-4.0.0.tgz"
@@ -7424,21 +7412,10 @@ human-signals@^2.1.0:
74247412
resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz"
74257413
integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==
74267414

7427-
husky@^4.3.0:
7428-
version "4.3.8"
7429-
resolved "https://registry.npmjs.org/husky/-/husky-4.3.8.tgz"
7430-
integrity sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow==
7431-
dependencies:
7432-
chalk "^4.0.0"
7433-
ci-info "^2.0.0"
7434-
compare-versions "^3.6.0"
7435-
cosmiconfig "^7.0.0"
7436-
find-versions "^4.0.0"
7437-
opencollective-postinstall "^2.0.2"
7438-
pkg-dir "^5.0.0"
7439-
please-upgrade-node "^3.2.0"
7440-
slash "^3.0.0"
7441-
which-pm-runs "^1.0.0"
7415+
husky@^9.1.7:
7416+
version "9.1.7"
7417+
resolved "https://registry.yarnpkg.com/husky/-/husky-9.1.7.tgz#d46a38035d101b46a70456a850ff4201344c0b2d"
7418+
integrity sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==
74427419

74437420
iconv-lite@0.4.24, iconv-lite@^0.4.24:
74447421
version "0.4.24"
@@ -9736,11 +9713,6 @@ onetime@^5.1.0, onetime@^5.1.2:
97369713
dependencies:
97379714
mimic-fn "^2.1.0"
97389715

9739-
opencollective-postinstall@^2.0.2:
9740-
version "2.0.3"
9741-
resolved "https://registry.npmjs.org/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz"
9742-
integrity sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==
9743-
97449716
opener@^1.5.2:
97459717
version "1.5.2"
97469718
resolved "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz"
@@ -10053,13 +10025,6 @@ pkg-dir@^4.1.0, pkg-dir@^4.2.0:
1005310025
dependencies:
1005410026
find-up "^4.0.0"
1005510027

10056-
pkg-dir@^5.0.0:
10057-
version "5.0.0"
10058-
resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-5.0.0.tgz"
10059-
integrity sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==
10060-
dependencies:
10061-
find-up "^5.0.0"
10062-
1006310028
pkg-dir@^7.0.0:
1006410029
version "7.0.0"
1006510030
resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-7.0.0.tgz"
@@ -11199,11 +11164,6 @@ semver-compare@^1.0.0:
1119911164
resolved "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz"
1120011165
integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w=
1120111166

11202-
semver-regex@^3.1.2:
11203-
version "3.1.4"
11204-
resolved "https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.4.tgz"
11205-
integrity sha512-6IiqeZNgq01qGf0TId0t3NvKzSvUsjcpdEO3AQNeIjR6A2+ckTnQlDpl4qu1bjRv0RzN3FP9hzFmws3lKqRWkA==
11206-
1120711167
"semver@2 || 3 || 4 || 5", semver@^5.5.0:
1120811168
version "5.7.2"
1120911169
resolved "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz"
@@ -12848,11 +12808,6 @@ which-module@^2.0.0:
1284812808
resolved "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz"
1284912809
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
1285012810

12851-
which-pm-runs@^1.0.0:
12852-
version "1.1.0"
12853-
resolved "https://registry.npmjs.org/which-pm-runs/-/which-pm-runs-1.1.0.tgz"
12854-
integrity sha512-n1brCuqClxfFfq/Rb0ICg9giSZqCS+pLtccdag6C2HyufBrh3fBOiy9nb6ggRMvWOVH5GrdJskj5iGTZNxd7SA==
12855-
1285612811
which-typed-array@^1.1.16, which-typed-array@^1.1.19, which-typed-array@^1.1.2:
1285712812
version "1.1.19"
1285812813
resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.19.tgz#df03842e870b6b88e117524a4b364b6fc689f956"

0 commit comments

Comments
 (0)