Skip to content

Commit 923de5d

Browse files
committed
chore: update dev depedencies
1 parent b146856 commit 923de5d

File tree

4 files changed

+330
-296
lines changed

4 files changed

+330
-296
lines changed

Diff for: .github/husky/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
yarn pretty-quick --staged && yarn lint-staged
4+
yarn lint-staged

Diff for: .prettierrc.js renamed to .prettierrc.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const sapphirePrettierConfig = require('@sapphire/prettier-config');
1+
import sapphirePrettierConfig from '@sapphire/prettier-config';
22

3-
module.exports = {
3+
export default {
44
...sapphirePrettierConfig,
55
overrides: [
66
...sapphirePrettierConfig.overrides,

Diff for: package.json

+21-7
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"docs": "typedoc-json-parser",
2222
"test": "yarn gyp:configure && yarn gyp:build && vitest run",
2323
"lint": "eslint src tests --ext ts --fix",
24+
"prettier": "prettier --ignore-path=.prettierignore",
2425
"prepack": "yarn build",
2526
"ts:build": "tsc -b src",
2627
"ts:esm": "gen-esm-wrapper dist/index.js dist/index.mjs",
@@ -52,22 +53,21 @@
5253
"@commitlint/config-conventional": "^17.6.7",
5354
"@favware/cliff-jumper": "^2.1.1",
5455
"@favware/npm-deprecate": "^1.0.7",
55-
"@sapphire/eslint-config": "^4.4.3",
56-
"@sapphire/prettier-config": "^1.4.5",
56+
"@sapphire/eslint-config": "^5.0.0",
57+
"@sapphire/prettier-config": "^2.0.0",
5758
"@sapphire/ts-config": "^4.0.1",
5859
"@types/node": "^18.17.0",
59-
"@typescript-eslint/eslint-plugin": "^5.62.0",
60-
"@typescript-eslint/parser": "^5.62.0",
60+
"@typescript-eslint/eslint-plugin": "^6.1.0",
61+
"@typescript-eslint/parser": "^6.1.0",
6162
"@vitest/coverage-v8": "^0.33.0",
6263
"cz-conventional-changelog": "^3.3.0",
6364
"eslint": "^8.45.0",
6465
"eslint-config-prettier": "^8.8.0",
65-
"eslint-plugin-prettier": "^4.2.1",
66+
"eslint-plugin-prettier": "^5.0.0",
6667
"gen-esm-wrapper": "^1.1.3",
6768
"husky": "^8.0.3",
6869
"lint-staged": "^13.2.3",
69-
"prettier": "^2.8.8",
70-
"pretty-quick": "^3.1.3",
70+
"prettier": "^3.0.0",
7171
"tsup": "^7.1.0",
7272
"typedoc": "^0.24.8",
7373
"typedoc-json-parser": "^8.2.0",
@@ -108,6 +108,20 @@
108108
"ansi-regex": "^5.0.1",
109109
"minimist": "^1.2.8"
110110
},
111+
"commitlint": {
112+
"extends": [
113+
"@commitlint/config-conventional"
114+
]
115+
},
116+
"lint-staged": {
117+
"*": "prettier --ignore-unknown --write",
118+
"*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts"
119+
},
120+
"config": {
121+
"commitizen": {
122+
"path": "./node_modules/cz-conventional-changelog"
123+
}
124+
},
111125
"gypfile": true,
112126
"packageManager": "[email protected]"
113127
}

0 commit comments

Comments
 (0)