Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 11343b9

Browse files
committed
Update project
devDependencies generate rules script
1 parent 81b0354 commit 11343b9

File tree

6 files changed

+1697
-1093
lines changed

6 files changed

+1697
-1093
lines changed

package.json

Lines changed: 33 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
"description": "Provide a defineConfig function for .eslintrc.js files",
55
"scripts": {
66
"clean": "rimraf .eslintcache dist pnpm-lock.yaml node_modules",
7-
"check": "tsc",
7+
"build": "tsc",
88
"format": "prettier --cache --write .",
99
"lint": "eslint --cache --cache-strategy content --report-unused-disable-directives .",
1010
"typecheck": "vitest typecheck",
1111
"test": "vitest",
1212
"coverage": "vitest run --coverage",
13-
"prepublishOnly": "pnpm run clean && pnpm install && pnpm run check",
14-
"generate:rules": "tsx ./scripts/generate-rule-files/cli.ts"
13+
"generate:rules": "tsx ./scripts/generate-rule-files/cli.ts",
14+
"prepublishOnly": "pnpm run clean && pnpm install && pnpm run build",
15+
"preflight": "pnpm install && run-s format lint build test typecheck"
1516
},
1617
"type": "module",
1718
"main": "src/index.cjs",
@@ -61,68 +62,60 @@
6162
"tsconfig.json"
6263
],
6364
"devDependencies": {
64-
"@graphql-eslint/eslint-plugin": "~3.18.0",
65+
"@graphql-eslint/eslint-plugin": "~3.19.1",
6566
"@intlify/eslint-plugin-vue-i18n": "~2.0.0",
6667
"@poppinss/cliui": "~3.0.5",
67-
"@types/eslint": "~8.37.0",
68-
"@types/json-schema": "~7.0.11",
69-
"@types/node": "~18.16.1",
70-
"@types/prettier": "~2.7.2",
71-
"@typescript-eslint/eslint-plugin": "~5.59.1",
72-
"@typescript-eslint/parser": "~5.59.1",
68+
"@types/eslint": "~8.40.2",
69+
"@types/json-schema": "~7.0.12",
70+
"@types/node": "~20.3.1",
71+
"@types/prettier": "~2.7.3",
72+
"@typescript-eslint/eslint-plugin": "~5.60.0",
73+
"@typescript-eslint/parser": "~5.60.0",
7374
"change-case": "~4.1.2",
74-
"eslint": "~8.39.0",
75+
"eslint": "~8.43.0",
7576
"eslint-config-prettier": "~8.8.0",
7677
"eslint-gitignore": "~0.1.0",
7778
"eslint-plugin-deprecation": "~1.4.1",
7879
"eslint-plugin-eslint-comments": "~3.2.0",
7980
"eslint-plugin-import": "~2.27.5",
8081
"eslint-plugin-inclusive-language": "~2.2.0",
81-
"eslint-plugin-jsdoc": "~43.1.1",
82-
"eslint-plugin-jsonc": "~2.7.0",
82+
"eslint-plugin-jsdoc": "~46.2.6",
83+
"eslint-plugin-jsonc": "~2.9.0",
8384
"eslint-plugin-jsx-a11y": "~6.7.1",
84-
"eslint-plugin-mdx": "~2.0.5",
85-
"eslint-plugin-n": "~15.7.0",
85+
"eslint-plugin-mdx": "~2.1.0",
86+
"eslint-plugin-n": "~16.0.0",
8687
"eslint-plugin-node": "~11.1.0",
8788
"eslint-plugin-prettier": "~4.2.1",
8889
"eslint-plugin-promise": "~6.1.1",
8990
"eslint-plugin-react": "~7.32.2",
9091
"eslint-plugin-react-hooks": "~4.6.0",
9192
"eslint-plugin-sonarjs": "~0.19.0",
9293
"eslint-plugin-spellcheck": "~0.0.20",
93-
"eslint-plugin-testing-library": "~5.10.3",
94-
"eslint-plugin-unicorn": "~46.0.0",
95-
"eslint-plugin-vitest": "~0.1.4",
96-
"eslint-plugin-vue": "~9.11.0",
94+
"eslint-plugin-testing-library": "~5.11.0",
95+
"eslint-plugin-unicorn": "~47.0.0",
96+
"eslint-plugin-vitest": "~0.2.6",
97+
"eslint-plugin-vue": "~9.15.0",
9798
"eslint-plugin-vue-pug": "~0.6.0",
98-
"expect-type": "~0.15.0",
99+
"expect-type": "~0.16.0",
99100
"graphql": "~16.6.0",
100101
"json-schema": "~0.4.0",
101-
"json-schema-to-ts": "~2.8.0",
102-
"json-schema-to-typescript": "~12.0.0",
102+
"json-schema-to-ts": "~2.9.1",
103+
"json-schema-to-typescript": "~13.0.2",
104+
"npm-run-all": "~4.1.5",
103105
"prettier": "2.8.8",
104106
"prettier-plugin-organize-imports": "~3.2.2",
105-
"rimraf": "~5.0.0",
107+
"rimraf": "~5.0.1",
106108
"ts-dedent": "~2.2.0",
107-
"tsx": "~3.12.6",
108-
"typescript": "~5.0.4",
109+
"tsx": "~3.12.7",
110+
"typescript": "~5.1.3",
109111
"upper-case-first": "~2.0.2",
110-
"vitest": "~0.30.1",
111-
"vue-eslint-parser": "~9.1.1"
112+
"vitest": "~0.32.2",
113+
"vue-eslint-parser": "~9.3.1"
112114
},
113-
"pnpm": {
114-
"peerDependencyRules": {
115-
"ignoreMissing": [
116-
"@babel/core",
117-
"cosmiconfig-toml-loader",
118-
"cosmiconfig-typescript-loader"
119-
]
120-
}
121-
},
122-
"packageManager": "[email protected]",
115+
"packageManager": "[email protected]",
123116
"engines": {
124-
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
125-
"npm": ">=6.14.13",
126-
"pnpm": ">= 7.0.0"
117+
"node": "^16.13.0 || >=18.0.0",
118+
"npm": ">=7.0.0",
119+
"pnpm": ">= 8.6.0"
127120
}
128121
}

0 commit comments

Comments
 (0)