Commit a97005e2 authored by Jordan Frankfurt's avatar Jordan Frankfurt Committed by GitHub

feat: dedupe on commit (#7171)

* feat: dedupe on commit

* run existing script
parent 966b02b2
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx lint-staged
...@@ -33,6 +33,16 @@ ...@@ -33,6 +33,16 @@
"deduplicate": "yarn-deduplicate --strategy=highest", "deduplicate": "yarn-deduplicate --strategy=highest",
"postinstall": "yarn patch-package" "postinstall": "yarn patch-package"
}, },
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"yarn.lock": [
"yarn deduplicate"
]
},
"jest": { "jest": {
"collectCoverageFrom": [ "collectCoverageFrom": [
"src/**/*.ts*", "src/**/*.ts*",
...@@ -121,6 +131,7 @@ ...@@ -121,6 +131,7 @@
"eslint-plugin-import": "^2.27", "eslint-plugin-import": "^2.27",
"eslint-plugin-rulesdir": "^0.2.2", "eslint-plugin-rulesdir": "^0.2.2",
"hardhat": "^2.14.0", "hardhat": "^2.14.0",
"husky": "^8.0.3",
"jest": "^29.6.1", "jest": "^29.6.1",
"jest-dev-server": "^9.0.0", "jest-dev-server": "^9.0.0",
"jest-extended": "^4.0.1", "jest-extended": "^4.0.1",
...@@ -128,6 +139,7 @@ ...@@ -128,6 +139,7 @@
"jest-fetch-mock": "^3.0.3", "jest-fetch-mock": "^3.0.3",
"jest-styled-components": "^7.0.8", "jest-styled-components": "^7.0.8",
"jpeg-js": "^0.4.4", "jpeg-js": "^0.4.4",
"lint-staged": "^14.0.0",
"mini-css-extract-plugin": "^2.7.6", "mini-css-extract-plugin": "^2.7.6",
"patch-package": "^7.0.0", "patch-package": "^7.0.0",
"path-browserify": "^1.0.1", "path-browserify": "^1.0.1",
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment