Fixing husky

This commit is contained in:
Dessalines 2021-06-16 19:29:07 -04:00
parent 071969dada
commit 796f6d14f0
3 changed files with 7 additions and 7 deletions

View file

@ -8,9 +8,9 @@
"build:prod": "webpack --mode=production", "build:prod": "webpack --mode=production",
"clean": "yarn run rimraf dist", "clean": "yarn run rimraf dist",
"lint": "node generate_translations.js && tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src", "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:dev": "yarn clean && node generate_translations.js",
"prebuild:prod": "yarn clean && node generate_translations.js", "prebuild:prod": "yarn clean && node generate_translations.js",
"prepare": "husky install",
"start": "yarn build:dev --watch" "start": "yarn build:dev --watch"
}, },
"repository": "https://github.com/LemmyNet/joinlemmy-site", "repository": "https://github.com/LemmyNet/joinlemmy-site",
@ -46,7 +46,7 @@
"css-loader": "^5.1.3", "css-loader": "^5.1.3",
"eslint": "^7.20.0", "eslint": "^7.20.0",
"eslint-plugin-prettier": "^3.3.1", "eslint-plugin-prettier": "^3.3.1",
"husky": "^5.2.0", "husky": "^6.0.0",
"lint-staged": "^10.5.4", "lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^1.3.8", "mini-css-extract-plugin": "^1.3.8",
"node-sass": "^5.0.0", "node-sass": "^5.0.0",

View file

@ -60,7 +60,7 @@ export class Instances extends Component<any, any> {
<p class="join-desc">{i.description}</p> <p class="join-desc">{i.description}</p>
<footer> <footer>
<a class="button primary" href={`https://${i.domain}`}> <a class="button primary" href={`https://${i.domain}`}>
Join {i18n.t("join")}
</a> </a>
</footer> </footer>
</div> </div>

View file

@ -3997,10 +3997,10 @@ humanize-ms@^1.2.1:
dependencies: dependencies:
ms "^2.0.0" ms "^2.0.0"
husky@^5.2.0: husky@^6.0.0:
version "5.2.0" version "6.0.0"
resolved "https://registry.yarnpkg.com/husky/-/husky-5.2.0.tgz#fc5e1c2300d34855d47de4753607d00943fc0802" resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
integrity sha512-AM8T/auHXRBxlrfPVLKP6jt49GCM2Zz47m8G3FOMsLmTv8Dj/fKVWE0Rh2d4Qrvmy131xEsdQnb3OXRib67PGg== integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==
i18next@^19.8.9: i18next@^19.8.9:
version "19.9.2" version "19.9.2"