Skip to content

Commit fbd313b

Browse files
chore: update husky (#939)
1 parent 8fc5ba8 commit fbd313b

File tree

23 files changed

+15
-64
lines changed

23 files changed

+15
-64
lines changed

.husky/pre-commit

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"url": "git+https://github.com/RequestNetwork/requestNetwork.git"
1515
},
1616
"scripts": {
17+
"prepare": "husky install",
1718
"build": "lerna run build",
1819
"clean": "lerna run clean",
1920
"build:tsc": "tsc -b packages/**/tsconfig.build.json",
@@ -41,7 +42,7 @@
4142
"eslint-plugin-import": "2.22.1",
4243
"eslint-plugin-jsdoc": "32.3.0",
4344
"eslint-plugin-prefer-arrow": "1.2.3",
44-
"husky": "4.3.0",
45+
"husky": "8.0.1",
4546
"lerna": "3.22.1",
4647
"lint-staged": "10.5.4",
4748
"npm-package-json-lint": "5.1.0",

packages/advanced-logic/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@
5151
"@types/lodash": "4.14.161",
5252
"jest": "26.4.2",
5353
"nyc": "15.1.0",
54-
"prettier": "2.2.1",
5554
"shx": "0.3.2",
5655
"ts-jest": "26.3.0",
5756
"ts-node": "9.0.0",

packages/data-access/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"@types/node": "14.14.16",
5454
"jest": "26.4.2",
5555
"nyc": "15.1.0",
56-
"prettier": "2.2.1",
5756
"shx": "0.3.2",
5857
"source-map-support": "0.5.19",
5958
"ts-jest": "26.3.0",

packages/data-format/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"devDependencies": {
4848
"@types/node": "14.14.16",
4949
"nyc": "15.1.0",
50-
"prettier": "2.2.1",
5150
"rimraf": "3.0.2",
5251
"shx": "0.3.2",
5352
"ts-node": "9.0.0",

packages/epk-decryption/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"jest": "26.4.2",
5454
"npm-run-all": "4.1.5",
5555
"nyc": "15.1.0",
56-
"prettier": "2.2.1",
5756
"shx": "0.3.2",
5857
"source-map-support": "0.5.19",
5958
"terser-webpack-plugin": "4.2.3",

packages/epk-signature/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
"jest": "26.4.2",
5353
"npm-run-all": "4.1.5",
5454
"nyc": "15.1.0",
55-
"prettier": "2.2.1",
5655
"shx": "0.3.2",
5756
"source-map-support": "0.5.19",
5857
"terser-webpack-plugin": "4.2.3",

packages/ethereum-storage/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
"axios-mock-adapter": "1.19.0",
6969
"jest": "26.4.2",
7070
"nyc": "15.1.0",
71-
"prettier": "2.2.1",
7271
"shx": "0.3.2",
7372
"solium": "1.2.5",
7473
"source-map-support": "0.5.19",

packages/integration-test/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@
5959
"ethers": "5.5.1",
6060
"jest": "26.4.2",
6161
"npm-run-all": "4.1.5",
62-
"prettier": "2.2.1",
6362
"ts-jest": "26.3.0",
6463
"ts-node": "9.0.0",
6564
"tslib": "2.3.1",

packages/multi-format/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
"@types/jest": "26.0.13",
4848
"jest": "26.4.2",
4949
"nyc": "15.1.0",
50-
"prettier": "2.2.1",
5150
"shx": "0.3.2",
5251
"source-map-support": "0.5.19",
5352
"ts-jest": "26.3.0",

0 commit comments

Comments
 (0)