Skip to content

Commit 532b8a4

Browse files
chore(deps): update (#1729)
1 parent 23b844b commit 532b8a4

File tree

6 files changed

+23
-26
lines changed

6 files changed

+23
-26
lines changed

.cspell.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"leadinghash",
1717
"myhtml",
1818
"configurated",
19-
"mycustom"
19+
"mycustom",
20+
"commitlint"
2021
],
2122
"ignorePaths": [
2223
"CHANGELOG.md",

.husky/commit-msg

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx --no-install commitlint --edit $1

.husky/pre-commit

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
npx lint-staged

package-lock.json

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
3838
"pretest": "npm run lint",
3939
"test": "npm run test:coverage",
40-
"prepare": "husky install && npm run build",
40+
"prepare": "husky && npm run build",
4141
"release": "standard-version"
4242
},
4343
"files": [
@@ -68,7 +68,7 @@
6868
"@types/connect": "^3.4.35",
6969
"@types/express": "^4.17.13",
7070
"@types/mime-types": "^2.1.1",
71-
"@types/node": "^20.10.5",
71+
"@types/node": "^20.11.16",
7272
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
7373
"babel-jest": "^29.3.1",
7474
"chokidar": "^3.5.1",
@@ -84,7 +84,7 @@
8484
"execa": "^5.1.1",
8585
"express": "^4.17.1",
8686
"file-loader": "^6.2.0",
87-
"husky": "^8.0.2",
87+
"husky": "^9.0.10",
8888
"jest": "^29.3.1",
8989
"lint-staged": "^15.2.0",
9090
"npm-run-all": "^4.1.5",
@@ -93,7 +93,7 @@
9393
"strip-ansi": "^6.0.0",
9494
"supertest": "^6.1.3",
9595
"typescript": "^5.3.3",
96-
"webpack": "^5.68.0"
96+
"webpack": "^5.90.1"
9797
},
9898
"keywords": [
9999
"webpack",

src/utils/setupHooks.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ function setupHooks(context) {
131131
}
132132
}
133133

134-
const printedStats = stats.toString(statsOptions);
134+
const printedStats = stats.toString(
135+
/** @type {NormalizedStatsOptions} */ (statsOptions),
136+
);
135137

136138
// Avoid extra empty line when `stats: 'none'`
137139
if (printedStats) {

0 commit comments

Comments
 (0)