Skip to content

Commit 6f4fde9

Browse files
chore: update dependencies to the latest version (#352)
* chore: update dependencies to the latest version * chore: upgrade dependencies to latest version * chore: update dependencies to the latest version --------- Co-authored-by: Ricardo Gobbo de Souza <[email protected]>
1 parent 86652df commit 6f4fde9

File tree

13 files changed

+2576
-2034
lines changed

13 files changed

+2576
-2034
lines changed

.cspell.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
"indentifies",
1515
"stylelintignore",
1616
"notcss",
17-
"stylelintcache"
17+
"stylelintcache",
18+
"eslintcache",
19+
"autocrlf"
1820
],
1921

2022
"ignorePaths": [

.github/workflows/nodejs.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ jobs:
6464
node-version: [18.x, 20.x, 21.x]
6565
stylelint-version: [13.x, 14.x, 15.x, 16.x]
6666
webpack-version: [latest]
67-
exclude:
68-
- stylelint-version: 16.x
69-
node-version: 18.x
7067

7168
runs-on: ${{ matrix.os }}
7269

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
logs
22
*.log
33
npm-debug.log*
4-
yarn-debug.log*
54
.cspellcache
65
.eslintcache
76

.husky/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no-install commitlint --edit $1

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no-install lint-staged

husky.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

package-lock.json

Lines changed: 2553 additions & 2005 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"test:coverage": "npm run test:only -- --collectCoverageFrom=\"src/**/*.js\" --coverage",
3939
"pretest": "npm run lint",
4040
"test": "npm run test:coverage",
41-
"prepare": "husky install && npm run build",
41+
"prepare": "husky && npm run build",
4242
"release": "standard-version"
4343
},
4444
"files": [
@@ -57,40 +57,40 @@
5757
"schema-utils": "^4.2.0"
5858
},
5959
"devDependencies": {
60-
"@babel/cli": "^7.23.9",
61-
"@babel/core": "^7.24.0",
62-
"@babel/preset-env": "^7.24.0",
63-
"@commitlint/cli": "^18.6.1",
64-
"@commitlint/config-conventional": "^18.6.2",
60+
"@babel/cli": "^7.24.5",
61+
"@babel/core": "^7.24.5",
62+
"@babel/preset-env": "^7.24.5",
63+
"@commitlint/cli": "^19.3.0",
64+
"@commitlint/config-conventional": "^19.2.2",
6565
"@types/file-entry-cache": "^5.0.4",
6666
"@types/fs-extra": "^11.0.4",
67-
"@types/micromatch": "^4.0.6",
68-
"@types/node": "^20.11.25",
67+
"@types/micromatch": "^4.0.7",
68+
"@types/node": "^20.12.8",
6969
"@types/normalize-path": "^3.0.2",
7070
"@types/webpack": "^5.28.5",
7171
"@webpack-contrib/eslint-config-webpack": "^3.0.0",
7272
"babel-eslint": "^10.1.0",
7373
"babel-jest": "^29.7.0",
7474
"chokidar": "^3.6.0",
7575
"cross-env": "^7.0.3",
76-
"cspell": "^8.6.0",
76+
"cspell": "^8.7.0",
7777
"del": "^7.1.0",
7878
"del-cli": "^5.1.0",
7979
"eslint": "^8.57.0",
8080
"eslint-config-prettier": "^9.1.0",
8181
"eslint-plugin-import": "^2.29.1",
8282
"file-loader": "^6.2.0",
8383
"fs-extra": "^11.2.0",
84-
"husky": "^8.0.3",
84+
"husky": "^9.0.11",
8585
"jest": "^29.7.0",
8686
"lint-staged": "^15.2.2",
8787
"npm-run-all": "^4.1.5",
8888
"postcss-scss": "^4.0.9",
8989
"prettier": "^3.2.5",
9090
"standard-version": "^9.5.0",
91-
"stylelint": "^16.2.1",
92-
"typescript": "^5.4.2",
93-
"webpack": "^5.90.3"
91+
"stylelint": "^16.5.0",
92+
"typescript": "^5.4.5",
93+
"webpack": "^5.91.0"
9494
},
9595
"keywords": [
9696
"stylelint",

src/linter.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ function linter(key, options, compilation) {
131131
const save = (name, content) =>
132132
/** @type {Promise<void>} */ (
133133
new Promise((finish, bail) => {
134+
if (!compiler.outputFileSystem) return;
134135
const { mkdir, writeFile } = compiler.outputFileSystem;
135136
// ensure directory exists
136137
// @ts-ignore - the types for `outputFileSystem` are missing the 3 arg overload

0 commit comments

Comments
 (0)