From d3930ef4a2d055b10b6c3209e6c8b033ada880df Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Thu, 16 Dec 2021 12:37:06 -0400 Subject: [PATCH 1/3] Add typings for random words --- package.json | 1 + yarn.lock | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/package.json b/package.json index 14f74169..df259abe 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "@types/node-fetch": "^2.5.8", "@types/node-persist": "^3.1.1", "@types/ramda": "types/npm-ramda#dist", + "@types/random-words": "^1.1.2", "@types/react": "16.x.x", "@types/uuid": "3.x.x", "babel-eslint": "^10.1.0", diff --git a/yarn.lock b/yarn.lock index f9142391..2db3deb9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -530,6 +530,11 @@ version "0.25.0" resolved "https://codeload.github.com/types/npm-ramda/tar.gz/9529aa3c8ff70ff84afcbc0be83443c00f30ea90" +"@types/random-words@^1.1.2": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@types/random-words/-/random-words-1.1.2.tgz#4ffe4da4817b4629d8802c8ac16466783e745c6e" + integrity sha512-gULpJ68bNovfBWPWNNhwJgd/GcKdfkPpXXQGgACQWffgy6LRiJB4+4s/IslhFJKQvb5wBlnlOwFJ6RawHU5z3A== + "@types/range-parser@*": version "1.2.4" resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" From f4e956aef13fd869cb0b26735017a08c44777d22 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Thu, 16 Dec 2021 12:41:43 -0400 Subject: [PATCH 2/3] Upgrade typescript --- package.json | 2 +- yarn.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index df259abe..4ad9747f 100644 --- a/package.json +++ b/package.json @@ -97,7 +97,7 @@ "rimraf": "^3.0.2", "ts-node": "^9.1.1", "ts-type": "^1.2.16", - "typescript": "^4.4.3" + "typescript": "^4.5.4" }, "lint-staged": { "*.js": [ diff --git a/yarn.lock b/yarn.lock index 2db3deb9..13e45cff 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5146,7 +5146,7 @@ typescript-tuple@^2.2.1: dependencies: typescript-compare "^0.0.2" -typescript@^4.4.3: +typescript@^4.5.4: version "4.5.4" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.4.tgz#a17d3a0263bf5c8723b9c52f43c5084edf13c2e8" integrity sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg== From c90503cee81060dbeb7f19efed410b34e27fd465 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Thu, 16 Dec 2021 12:42:06 -0400 Subject: [PATCH 3/3] Remove precommit hook in favor of CI solution --- package.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package.json b/package.json index 4ad9747f..609a9adb 100644 --- a/package.json +++ b/package.json @@ -109,9 +109,7 @@ ] }, "husky": { - "hooks": { - "pre-commit": "yarn lint && yarn typecheck && yarn lint-staged" - } + "hooks": {} }, "engines": { "npm": "Use yarn!"