|
4 | 4 | "description": "Provide a defineConfig function for .eslintrc.js files",
|
5 | 5 | "scripts": {
|
6 | 6 | "clean": "rimraf .eslintcache dist pnpm-lock.yaml node_modules",
|
7 |
| - "check": "tsc", |
| 7 | + "build": "tsc", |
8 | 8 | "format": "prettier --cache --write .",
|
9 | 9 | "lint": "eslint --cache --cache-strategy content --report-unused-disable-directives .",
|
10 | 10 | "typecheck": "vitest typecheck",
|
11 | 11 | "test": "vitest",
|
12 | 12 | "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" |
15 | 16 | },
|
16 | 17 | "type": "module",
|
17 | 18 | "main": "src/index.cjs",
|
|
61 | 62 | "tsconfig.json"
|
62 | 63 | ],
|
63 | 64 | "devDependencies": {
|
64 |
| - "@graphql-eslint/eslint-plugin": "~3.18.0", |
| 65 | + "@graphql-eslint/eslint-plugin": "~3.19.1", |
65 | 66 | "@intlify/eslint-plugin-vue-i18n": "~2.0.0",
|
66 | 67 | "@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", |
73 | 74 | "change-case": "~4.1.2",
|
74 |
| - "eslint": "~8.39.0", |
| 75 | + "eslint": "~8.43.0", |
75 | 76 | "eslint-config-prettier": "~8.8.0",
|
76 | 77 | "eslint-gitignore": "~0.1.0",
|
77 | 78 | "eslint-plugin-deprecation": "~1.4.1",
|
78 | 79 | "eslint-plugin-eslint-comments": "~3.2.0",
|
79 | 80 | "eslint-plugin-import": "~2.27.5",
|
80 | 81 | "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", |
83 | 84 | "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", |
86 | 87 | "eslint-plugin-node": "~11.1.0",
|
87 | 88 | "eslint-plugin-prettier": "~4.2.1",
|
88 | 89 | "eslint-plugin-promise": "~6.1.1",
|
89 | 90 | "eslint-plugin-react": "~7.32.2",
|
90 | 91 | "eslint-plugin-react-hooks": "~4.6.0",
|
91 | 92 | "eslint-plugin-sonarjs": "~0.19.0",
|
92 | 93 | "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", |
97 | 98 | "eslint-plugin-vue-pug": "~0.6.0",
|
98 |
| - "expect-type": "~0.15.0", |
| 99 | + "expect-type": "~0.16.0", |
99 | 100 | "graphql": "~16.6.0",
|
100 | 101 | "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", |
103 | 105 | "prettier": "2.8.8",
|
104 | 106 | "prettier-plugin-organize-imports": "~3.2.2",
|
105 |
| - "rimraf": "~5.0.0", |
| 107 | + "rimraf": "~5.0.1", |
106 | 108 | "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", |
109 | 111 | "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" |
112 | 114 | },
|
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]", |
123 | 116 | "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" |
127 | 120 | }
|
128 | 121 | }
|
0 commit comments