From 16527ed988fb0505a9030cebeed13b45507b9522 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Mon, 19 Jul 2021 17:36:58 +0200 Subject: [PATCH] build: update to husky v7 to remove nested gitignore Updates to the latest version of Husky v7 which no longer requires the `.gitignore` file in the `.husky` file. The `_` folder generated by Husky sometimes resulted in unnecessary diffs on Windows (due to CRLF line endings). --- .husky/.gitignore | 1 - package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 .husky/.gitignore diff --git a/.husky/.gitignore b/.husky/.gitignore deleted file mode 100644 index 31354ec13899..000000000000 --- a/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_ diff --git a/package.json b/package.json index f99fd4eec752..7ea0f89640ae 100644 --- a/package.json +++ b/package.json @@ -180,7 +180,7 @@ "gulp-cli": "^2.3.0", "gulp-dart-sass": "^1.0.2", "highlight.js": "^10.4.0", - "husky": "6.0.0", + "husky": "^7.0.1", "inquirer": "^8.0.0", "jasmine": "^3.6.0", "jasmine-core": "^3.6.0", diff --git a/yarn.lock b/yarn.lock index 2f9d54cf4127..a01502cc5c38 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7367,10 +7367,10 @@ https-proxy-agent@^4.0.0: agent-base "5" debug "4" -husky@6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e" - integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ== +husky@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.1.tgz#579f4180b5da4520263e8713cc832942b48e1f1c" + integrity sha512-gceRaITVZ+cJH9sNHqx5tFwbzlLCVxtVZcusME8JYQ8Edy5mpGDOqD8QBCdMhpyo9a+JXddnujQ4rpY2Ff9SJA== iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.11: version "0.4.24"