From 796f6d14f0f085a18e08014e60e8737ae6caeab1 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 16 Jun 2021 19:29:07 -0400 Subject: [PATCH] Fixing husky --- package.json | 4 ++-- src/shared/components/instances.tsx | 2 +- yarn.lock | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index abdcdcc..59c1e95 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "build:prod": "webpack --mode=production", "clean": "yarn run rimraf dist", "lint": "node generate_translations.js && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src", - "postinstall": "husky install", "prebuild:dev": "yarn clean && node generate_translations.js", "prebuild:prod": "yarn clean && node generate_translations.js", + "prepare": "husky install", "start": "yarn build:dev --watch" }, "repository": "https://github.com/LemmyNet/joinlemmy-site", @@ -46,7 +46,7 @@ "css-loader": "^5.1.3", "eslint": "^7.20.0", "eslint-plugin-prettier": "^3.3.1", - "husky": "^5.2.0", + "husky": "^6.0.0", "lint-staged": "^10.5.4", "mini-css-extract-plugin": "^1.3.8", "node-sass": "^5.0.0", diff --git a/src/shared/components/instances.tsx b/src/shared/components/instances.tsx index 04ad93c..9f5f247 100644 --- a/src/shared/components/instances.tsx +++ b/src/shared/components/instances.tsx @@ -60,7 +60,7 @@ export class Instances extends Component {

{i.description}

diff --git a/yarn.lock b/yarn.lock index 9c22c25..4c9d99e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3997,10 +3997,10 @@ humanize-ms@^1.2.1: dependencies: ms "^2.0.0" -husky@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/husky/-/husky-5.2.0.tgz#fc5e1c2300d34855d47de4753607d00943fc0802" - integrity sha512-AM8T/auHXRBxlrfPVLKP6jt49GCM2Zz47m8G3FOMsLmTv8Dj/fKVWE0Rh2d4Qrvmy131xEsdQnb3OXRib67PGg== +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== i18next@^19.8.9: version "19.9.2"