Skip to content

Commit d877d86

Browse files
committed
update other deps
1 parent 0cf7ba6 commit d877d86

3 files changed

Lines changed: 68 additions & 123 deletions

File tree

‎.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+
npx lint-staged

‎package.json‎

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"lint:fix": "yarn lint:fix:md && yarn lint --fix",
1717
"lint:fix:md": "prettier --write **/*.md",
1818
"lint:staged": "lint-staged",
19+
"prepare": "husky install",
1920
"publish": "lerna publish",
2021
"prepublishOnly": "yarn clean && yarn && yarn test",
2122
"test": "yarn compile && yarn lint && yarn testonly",
@@ -32,9 +33,9 @@
3233
"@types/jest": "^26.0.10",
3334
"@typescript-eslint/eslint-plugin": "^4.31.1",
3435
"@typescript-eslint/parser": "^4.31.1",
35-
"axios": "^0.21.1",
36-
"axios-mock-adapter": "^1.18.2",
37-
"chalk": "^4.1.0",
36+
"axios": "^0.21.4",
37+
"axios-mock-adapter": "^1.20.0",
38+
"chalk": "^4.1.2",
3839
"eslint": "^7.32.0",
3940
"eslint-config-prettier": "^8.3.0",
4041
"eslint-config-yoctol-base": "^0.24.1",
@@ -43,11 +44,11 @@
4344
"eslint-plugin-prettier": "^4.0.0",
4445
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
4546
"eslint-plugin-tsdoc": "^0.2.14",
46-
"husky": "^4.2.5",
47+
"husky": "^7.0.2",
4748
"jest": "^26.4.0",
4849
"lerna": "^3.22.1",
49-
"lint-staged": "^10.2.11",
50-
"micromatch": "^4.0.2",
50+
"lint-staged": "^11.1.2",
51+
"micromatch": "^4.0.4",
5152
"mkdir": "^0.0.2",
5253
"prettier": "^2.4.0",
5354
"prettier-package-json": "^2.6.0",
@@ -59,10 +60,5 @@
5960
},
6061
"engines": {
6162
"node": ">=10"
62-
},
63-
"husky": {
64-
"hooks": {
65-
"pre-commit": "lint-staged"
66-
}
6763
}
6864
}

0 commit comments

Comments
 (0)