Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit c89811c

Browse files
authored
chore: upgrade dev dependencies (#450) [skip ci]
* build: upgrade graphql remove @types/graphql since v15 types are exported by graphql * build: upgrade @types/invariant * build: upgrade concurrently * build: upgrade lint-staged * build: upgrade chokidar-cli * build: upgrade husky
1 parent 1a08150 commit c89811c

File tree

3 files changed

+180
-183
lines changed

3 files changed

+180
-183
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
yarn lint-staged

package.json

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,8 @@
4242
"test": "npm run type-check && jest",
4343
"type-check": "tsc --noEmit --pretty",
4444
"watch": "concurrently 'tsc --watch --project tsconfig.build.json' 'chokidar \"lib/**/*.js\" -c \"yalc publish --force --push\"'",
45-
"release": "npx [email protected] shipit -v"
46-
},
47-
"husky": {
48-
"hooks": {
49-
"pre-commit": "lint-staged"
50-
}
45+
"release": "npx [email protected] shipit -v",
46+
"prepare": "husky install"
5147
},
5248
"lint-staged": {
5349
"**/*.json": [
@@ -77,21 +73,20 @@
7773
},
7874
"devDependencies": {
7975
"@babel/runtime": "7.15.4",
80-
"@types/graphql": "^14.2.3",
81-
"@types/invariant": "2.2.34",
76+
"@types/invariant": "2.2.35",
8277
"@types/jest": "^26.0.20",
8378
"@types/node": "16.10.1",
8479
"@types/relay-compiler": "^8.0.0",
8580
"@types/relay-runtime": "^10.0.1",
8681
"babel-plugin-relay": "^11.0.1",
87-
"chokidar-cli": "^2.0.0",
88-
"concurrently": "^6.0.2",
82+
"chokidar-cli": "^3.0.0",
83+
"concurrently": "^6.2.2",
8984
"glob": "^7.1.6",
90-
"graphql": "^15.3.0",
91-
"husky": "^4.3.8",
85+
"graphql": "^15.6.0",
86+
"husky": "^7.0.0",
9287
"jest": "^26.6.3",
9388
"jest-cli": "^26.6.3",
94-
"lint-staged": "^10.5.3",
89+
"lint-staged": "^11.1.2",
9590
"prettier": "^2.2.1",
9691
"relay-compiler": "^10.0.1",
9792
"relay-runtime": "^10.0.1",

0 commit comments

Comments
 (0)