Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 78a79e2

Browse files
committed
chore: upgrade husky
1 parent 10cf337 commit 78a79e2

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.husky/pre-commit

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

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
"generate-typescript-docs": "ts-node -P tools/tsconfig.tools.json tools/scripts/docs/generate-typescript-docs.ts",
2121
"tracerbench": "tracerbench compare --controlURL http://localhost:4200/rx-angular/demos --experimentURL http://localhost:4242/rx-angular/demos --markers startRouting,endRouting --headless --report",
2222
"postinstall": "husky install",
23+
"prepack": "pinst --disable",
24+
"postpack": "pinst --enable",
2325
"ssr:isr:dev": "nx build ssr-isr --configuration=development --watch",
2426
"ssr:isr:serve": "node dist/apps/ssr-isr/server/server.mjs"
2527
},
@@ -105,7 +107,7 @@
105107
"eslint-plugin-cypress": "2.15.1",
106108
"eslint-plugin-simple-import-sort": "^12.0.0",
107109
"express": "4.18.2",
108-
"husky": "^8.0.3",
110+
"husky": "^9.0.11",
109111
"jest": "^29.4.1",
110112
"jest-environment-jsdom": "29.5.0",
111113
"jest-preset-angular": "14.0.3",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12148,10 +12148,10 @@ human-signals@^5.0.0:
1214812148
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28"
1214912149
integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==
1215012150

12151-
husky@^8.0.3:
12152-
version "8.0.3"
12153-
resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184"
12154-
integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==
12151+
husky@^9.0.11:
12152+
version "9.0.11"
12153+
resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.11.tgz#fc91df4c756050de41b3e478b2158b87c1e79af9"
12154+
integrity sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==
1215512155

1215612156
[email protected], iconv-lite@^0.4.24:
1215712157
version "0.4.24"

0 commit comments

Comments
 (0)