Skip to content

Commit 02777c9

Browse files
chore(deps): update and tooling (#381)
1 parent 1be8955 commit 02777c9

16 files changed

+1685
-1782
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ logs
22
*.log
33
npm-debug.log*
44
.eslintcache
5+
.cspellcache
56
/coverage
67
/dist
78
/local

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
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

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

lint-staged.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
module.exports = {
2-
"*": ["prettier --write --ignore-unknown", "cspell --no-must-find-files"],
2+
"*": [
3+
"prettier --cache --write --ignore-unknown",
4+
"cspell --cache --no-must-find-files",
5+
],
36
"*.js": ["eslint --cache --fix"],
47
};

package-lock.json

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

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
"build": "npm-run-all -p \"build:**\"",
2626
"commitlint": "commitlint --from=master",
2727
"security": "npm audit --production",
28-
"lint:prettier": "prettier --list-different .",
28+
"lint:prettier": "prettier --cache --list-different .",
2929
"lint:js": "eslint --cache .",
30-
"lint:spelling": "cspell \"**/*.*\"",
30+
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"",
3131
"lint:types": "tsc --pretty --noEmit",
3232
"lint": "npm-run-all -l -p \"lint:**\"",
3333
"fix:js": "npm run lint:js -- --fix",
@@ -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": [
@@ -56,8 +56,8 @@
5656
"@babel/cli": "^7.23.4",
5757
"@babel/core": "^7.23.7",
5858
"@babel/preset-env": "^7.23.8",
59-
"@commitlint/cli": "^18.4.4",
60-
"@commitlint/config-conventional": "^18.4.4",
59+
"@commitlint/cli": "^19.0.0",
60+
"@commitlint/config-conventional": "^19.0.0",
6161
"@gfx/zopfli": "^1.0.15",
6262
"@types/node": "^20.11.2",
6363
"@types/serialize-javascript": "^5.0.4",
@@ -71,7 +71,7 @@
7171
"eslint-config-prettier": "^9.1.0",
7272
"eslint-plugin-import": "^2.29.1",
7373
"file-loader": "^6.2.0",
74-
"husky": "^8.0.3",
74+
"husky": "^9.0.11",
7575
"jest": "^29.7.0",
7676
"lint-staged": "^15.2.0",
7777
"memfs": "^4.6.0",

0 commit comments

Comments
 (0)