@dhzh/eslint-config 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,12 +28,12 @@ var import_ansis5 = __toESM(require("ansis"), 1);
28
28
  var import_cac = require("cac");
29
29
 
30
30
  // package.json
31
- var version = "1.0.2";
31
+ var version = "1.0.4";
32
32
  var package_default = {
33
33
  name: "@dhzh/eslint-config",
34
34
  type: "module",
35
35
  version,
36
- packageManager: "pnpm@10.7.0",
36
+ packageManager: "pnpm@10.9.0",
37
37
  description: "Lyle's ESLint config",
38
38
  author: {
39
39
  name: "Lyle Zheng",
@@ -70,7 +70,7 @@ var package_default = {
70
70
  node: "^18.18.0 || ^20.9.0 || >=21.1.0"
71
71
  },
72
72
  scripts: {
73
- build: "tsup --clean --dts",
73
+ build: "pnpm run typegen && tsup --clean --dts",
74
74
  "build:inspector": "pnpm run build && npx @eslint/config-inspector build",
75
75
  dev: "pnpm run typegen && npx @eslint/config-inspector --config eslint.config.ts",
76
76
  lint: "eslint",
@@ -91,9 +91,9 @@ var package_default = {
91
91
  }
92
92
  },
93
93
  dependencies: {
94
- "@clack/prompts": "^0.10.0",
94
+ "@clack/prompts": "^0.10.1",
95
95
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
96
- "@eslint-react/eslint-plugin": "^1.48.4",
96
+ "@eslint-react/eslint-plugin": "^1.48.5",
97
97
  "@eslint/js": "^9.25.1",
98
98
  "@stylistic/eslint-plugin": "^4.2.0",
99
99
  "@unocss/eslint-config": "66.1.0-beta.12",
@@ -102,9 +102,9 @@ var package_default = {
102
102
  "eslint-plugin-antfu": "^3.1.1",
103
103
  "eslint-plugin-format": "^1.0.1",
104
104
  "eslint-plugin-hyoban": "^0.6.1",
105
- "eslint-plugin-import-x": "^4.10.6",
105
+ "eslint-plugin-import-x": "^4.11.0",
106
106
  "eslint-plugin-jsonc": "^2.20.0",
107
- "eslint-plugin-n": "^17.16.2",
107
+ "eslint-plugin-n": "^17.17.0",
108
108
  "eslint-plugin-package-json": "^0.30.0",
109
109
  "eslint-plugin-react-compiler": "19.1.0-rc.1",
110
110
  "eslint-plugin-react-google-translate": "^0.1.1",
@@ -114,27 +114,27 @@ var package_default = {
114
114
  "eslint-plugin-simple-import-sort": "^12.1.1",
115
115
  "eslint-plugin-tailwindcss": "^3.18.0",
116
116
  "eslint-plugin-toml": "^0.12.0",
117
- "eslint-plugin-unicorn": "^57.0.0",
117
+ "eslint-plugin-unicorn": "^58.0.0",
118
118
  "eslint-plugin-unused-imports": "^4.1.4",
119
- "eslint-plugin-yml": "^1.17.0",
119
+ "eslint-plugin-yml": "^1.18.0",
120
120
  globals: "^16.0.0",
121
121
  "jsonc-eslint-parser": "^2.4.0",
122
122
  "local-pkg": "^1.1.1",
123
123
  "toml-eslint-parser": "^0.10.0",
124
- "typescript-eslint": "^8.30.1",
124
+ "typescript-eslint": "^8.31.0",
125
125
  "yaml-eslint-parser": "^1.3.0"
126
126
  },
127
127
  devDependencies: {
128
128
  "@eslint/config-inspector": "^1.0.2",
129
129
  "@prettier/plugin-xml": "^3.4.1",
130
130
  "@types/eslint-plugin-tailwindcss": "^3.17.0",
131
- "@types/node": "^22.13.11",
132
- bumpp: "^10.0.3",
131
+ "@types/node": "^22.15.2",
132
+ bumpp: "^10.1.0",
133
133
  "bundle-require": "^5.1.0",
134
- eslint: "^9.25.0",
134
+ eslint: "^9.25.1",
135
135
  "eslint-typegen": "^2.1.0",
136
- "lint-staged": "^15.5.0",
137
- "simple-git-hooks": "^2.12.1",
136
+ "lint-staged": "^15.5.1",
137
+ "simple-git-hooks": "^2.13.0",
138
138
  tsup: "^8.4.0",
139
139
  tsx: "^4.19.3",
140
140
  typescript: "^5.8.3"
package/dist/cli/index.js CHANGED
@@ -4,12 +4,12 @@ import c4 from "ansis";
4
4
  import { cac } from "cac";
5
5
 
6
6
  // package.json
7
- var version = "1.0.2";
7
+ var version = "1.0.4";
8
8
  var package_default = {
9
9
  name: "@dhzh/eslint-config",
10
10
  type: "module",
11
11
  version,
12
- packageManager: "pnpm@10.7.0",
12
+ packageManager: "pnpm@10.9.0",
13
13
  description: "Lyle's ESLint config",
14
14
  author: {
15
15
  name: "Lyle Zheng",
@@ -46,7 +46,7 @@ var package_default = {
46
46
  node: "^18.18.0 || ^20.9.0 || >=21.1.0"
47
47
  },
48
48
  scripts: {
49
- build: "tsup --clean --dts",
49
+ build: "pnpm run typegen && tsup --clean --dts",
50
50
  "build:inspector": "pnpm run build && npx @eslint/config-inspector build",
51
51
  dev: "pnpm run typegen && npx @eslint/config-inspector --config eslint.config.ts",
52
52
  lint: "eslint",
@@ -67,9 +67,9 @@ var package_default = {
67
67
  }
68
68
  },
69
69
  dependencies: {
70
- "@clack/prompts": "^0.10.0",
70
+ "@clack/prompts": "^0.10.1",
71
71
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
72
- "@eslint-react/eslint-plugin": "^1.48.4",
72
+ "@eslint-react/eslint-plugin": "^1.48.5",
73
73
  "@eslint/js": "^9.25.1",
74
74
  "@stylistic/eslint-plugin": "^4.2.0",
75
75
  "@unocss/eslint-config": "66.1.0-beta.12",
@@ -78,9 +78,9 @@ var package_default = {
78
78
  "eslint-plugin-antfu": "^3.1.1",
79
79
  "eslint-plugin-format": "^1.0.1",
80
80
  "eslint-plugin-hyoban": "^0.6.1",
81
- "eslint-plugin-import-x": "^4.10.6",
81
+ "eslint-plugin-import-x": "^4.11.0",
82
82
  "eslint-plugin-jsonc": "^2.20.0",
83
- "eslint-plugin-n": "^17.16.2",
83
+ "eslint-plugin-n": "^17.17.0",
84
84
  "eslint-plugin-package-json": "^0.30.0",
85
85
  "eslint-plugin-react-compiler": "19.1.0-rc.1",
86
86
  "eslint-plugin-react-google-translate": "^0.1.1",
@@ -90,27 +90,27 @@ var package_default = {
90
90
  "eslint-plugin-simple-import-sort": "^12.1.1",
91
91
  "eslint-plugin-tailwindcss": "^3.18.0",
92
92
  "eslint-plugin-toml": "^0.12.0",
93
- "eslint-plugin-unicorn": "^57.0.0",
93
+ "eslint-plugin-unicorn": "^58.0.0",
94
94
  "eslint-plugin-unused-imports": "^4.1.4",
95
- "eslint-plugin-yml": "^1.17.0",
95
+ "eslint-plugin-yml": "^1.18.0",
96
96
  globals: "^16.0.0",
97
97
  "jsonc-eslint-parser": "^2.4.0",
98
98
  "local-pkg": "^1.1.1",
99
99
  "toml-eslint-parser": "^0.10.0",
100
- "typescript-eslint": "^8.30.1",
100
+ "typescript-eslint": "^8.31.0",
101
101
  "yaml-eslint-parser": "^1.3.0"
102
102
  },
103
103
  devDependencies: {
104
104
  "@eslint/config-inspector": "^1.0.2",
105
105
  "@prettier/plugin-xml": "^3.4.1",
106
106
  "@types/eslint-plugin-tailwindcss": "^3.17.0",
107
- "@types/node": "^22.13.11",
108
- bumpp: "^10.0.3",
107
+ "@types/node": "^22.15.2",
108
+ bumpp: "^10.1.0",
109
109
  "bundle-require": "^5.1.0",
110
- eslint: "^9.25.0",
110
+ eslint: "^9.25.1",
111
111
  "eslint-typegen": "^2.1.0",
112
- "lint-staged": "^15.5.0",
113
- "simple-git-hooks": "^2.12.1",
112
+ "lint-staged": "^15.5.1",
113
+ "simple-git-hooks": "^2.13.0",
114
114
  tsup: "^8.4.0",
115
115
  tsx: "^4.19.3",
116
116
  typescript: "^5.8.3"
package/dist/index.cjs CHANGED
@@ -1217,7 +1217,7 @@ function imports(options = {}) {
1217
1217
  ];
1218
1218
  }
1219
1219
 
1220
- // src/configs/formatters.ts
1220
+ // src/configs/format.ts
1221
1221
  var import_eslint_plugin_format = __toESM(require("eslint-plugin-format"), 1);
1222
1222
 
1223
1223
  // src/utils.ts
@@ -1247,13 +1247,13 @@ var parserPlain = {
1247
1247
  })
1248
1248
  };
1249
1249
 
1250
- // src/configs/formatters.ts
1250
+ // src/configs/format.ts
1251
1251
  var mergePrettierOptions = (options, overrides) => ({
1252
1252
  ...options,
1253
1253
  ...overrides,
1254
1254
  plugins: [...overrides.plugins || []]
1255
1255
  });
1256
- function formatters(options = {}) {
1256
+ function format(options = {}) {
1257
1257
  const {
1258
1258
  enable = {
1259
1259
  html: true,
@@ -1293,20 +1293,20 @@ function formatters(options = {}) {
1293
1293
  xmlWhitespaceSensitivity: "ignore"
1294
1294
  };
1295
1295
  configs2.push({
1296
- name: `${RULE_PREFIX}/formatters`,
1296
+ name: `${RULE_PREFIX}/format`,
1297
1297
  plugins: {
1298
- formatter: import_eslint_plugin_format.default
1298
+ format: import_eslint_plugin_format.default
1299
1299
  }
1300
1300
  });
1301
1301
  if (enable.html) {
1302
1302
  configs2.push({
1303
- name: `${RULE_PREFIX}/formatters/html`,
1303
+ name: `${RULE_PREFIX}/format/html`,
1304
1304
  files: [GLOB_HTML],
1305
1305
  languageOptions: {
1306
1306
  parser: parserPlain
1307
1307
  },
1308
1308
  rules: {
1309
- "formatter/prettier": [
1309
+ "format/prettier": [
1310
1310
  "error",
1311
1311
  mergePrettierOptions(prettierOptions, {
1312
1312
  parser: "html"
@@ -1318,7 +1318,7 @@ function formatters(options = {}) {
1318
1318
  if (enable.css) {
1319
1319
  configs2.push(
1320
1320
  {
1321
- name: `${RULE_PREFIX}/formatters/css`,
1321
+ name: `${RULE_PREFIX}/format/css`,
1322
1322
  files: [GLOB_CSS, GLOB_POSTCSS],
1323
1323
  languageOptions: {
1324
1324
  parser: parserPlain
@@ -1333,7 +1333,7 @@ function formatters(options = {}) {
1333
1333
  }
1334
1334
  },
1335
1335
  {
1336
- name: `${RULE_PREFIX}/formatters/scss`,
1336
+ name: `${RULE_PREFIX}/format/scss`,
1337
1337
  files: [GLOB_SCSS],
1338
1338
  languageOptions: {
1339
1339
  parser: parserPlain
@@ -1348,7 +1348,7 @@ function formatters(options = {}) {
1348
1348
  }
1349
1349
  },
1350
1350
  {
1351
- name: `${RULE_PREFIX}/formatters/less`,
1351
+ name: `${RULE_PREFIX}/format/less`,
1352
1352
  files: [GLOB_LESS],
1353
1353
  languageOptions: {
1354
1354
  parser: parserPlain
@@ -1366,7 +1366,7 @@ function formatters(options = {}) {
1366
1366
  }
1367
1367
  if (enable.graphql) {
1368
1368
  configs2.push({
1369
- name: `${RULE_PREFIX}/formatters/graphql`,
1369
+ name: `${RULE_PREFIX}/format/graphql`,
1370
1370
  files: [GLOB_GRAPHQL],
1371
1371
  languageOptions: {
1372
1372
  parser: parserPlain
@@ -1383,7 +1383,7 @@ function formatters(options = {}) {
1383
1383
  }
1384
1384
  if (enable.xml) {
1385
1385
  configs2.push({
1386
- name: `${RULE_PREFIX}/formatters/xml`,
1386
+ name: `${RULE_PREFIX}/format/xml`,
1387
1387
  files: [GLOB_XML],
1388
1388
  languageOptions: {
1389
1389
  parser: parserPlain
@@ -1407,7 +1407,7 @@ function formatters(options = {}) {
1407
1407
  }
1408
1408
  if (enable.svg) {
1409
1409
  configs2.push({
1410
- name: `${RULE_PREFIX}/formatters/svg`,
1410
+ name: `${RULE_PREFIX}/format/svg`,
1411
1411
  files: [GLOB_SVG],
1412
1412
  languageOptions: {
1413
1413
  parser: parserPlain
@@ -1452,8 +1452,13 @@ function tailwindcss(options = {}) {
1452
1452
 
1453
1453
  // src/configs/unocss.ts
1454
1454
  var import_flat = __toESM(require("@unocss/eslint-config/flat"), 1);
1455
+ var import_local_pkg2 = require("local-pkg");
1455
1456
  function unocss(options = {}) {
1456
1457
  const { overrides = {} } = options;
1458
+ const isUnocssEnabled = (0, import_local_pkg2.isPackageExists)("unocss");
1459
+ if (!isUnocssEnabled) {
1460
+ return [];
1461
+ }
1457
1462
  return [
1458
1463
  {
1459
1464
  ...import_flat.default,
@@ -1727,7 +1732,7 @@ function defineConfig(options = {}) {
1727
1732
  ...json(configs2.json),
1728
1733
  ...unicorn(configs2.unicorn),
1729
1734
  ...imports(configs2.imports),
1730
- ...formatters(configs2.formatters),
1735
+ ...format(configs2.format),
1731
1736
  ...tailwindcss(configs2.tailwindcss),
1732
1737
  ...unocss(configs2.unocss),
1733
1738
  ...yml(configs2.yml),
package/dist/index.d.cts CHANGED
@@ -149,7 +149,7 @@ interface IUnicornConfigsOptions extends IConfigsOptions {
149
149
  interface IImportsConfigsOptions extends IConfigsOptions {
150
150
  closeOrder?: boolean;
151
151
  }
152
- interface IFormattersConfigsOptions {
152
+ interface IFormatConfigsOptions {
153
153
  enable?: false | {
154
154
  html?: boolean;
155
155
  css?: boolean;
@@ -194,7 +194,7 @@ interface Options {
194
194
  json?: IJsonConfigsOptions;
195
195
  unicorn?: IUnicornConfigsOptions;
196
196
  imports?: IImportsConfigsOptions;
197
- formatters?: IFormattersConfigsOptions;
197
+ format?: IFormatConfigsOptions;
198
198
  tailwindcss?: ITailwindcssConfigsOptions;
199
199
  unocss?: IUnocssConfigsOptions;
200
200
  yml?: IYmlConfigsOptions;
package/dist/index.d.ts CHANGED
@@ -149,7 +149,7 @@ interface IUnicornConfigsOptions extends IConfigsOptions {
149
149
  interface IImportsConfigsOptions extends IConfigsOptions {
150
150
  closeOrder?: boolean;
151
151
  }
152
- interface IFormattersConfigsOptions {
152
+ interface IFormatConfigsOptions {
153
153
  enable?: false | {
154
154
  html?: boolean;
155
155
  css?: boolean;
@@ -194,7 +194,7 @@ interface Options {
194
194
  json?: IJsonConfigsOptions;
195
195
  unicorn?: IUnicornConfigsOptions;
196
196
  imports?: IImportsConfigsOptions;
197
- formatters?: IFormattersConfigsOptions;
197
+ format?: IFormatConfigsOptions;
198
198
  tailwindcss?: ITailwindcssConfigsOptions;
199
199
  unocss?: IUnocssConfigsOptions;
200
200
  yml?: IYmlConfigsOptions;
package/dist/index.js CHANGED
@@ -1181,7 +1181,7 @@ function imports(options = {}) {
1181
1181
  ];
1182
1182
  }
1183
1183
 
1184
- // src/configs/formatters.ts
1184
+ // src/configs/format.ts
1185
1185
  import pluginFormat from "eslint-plugin-format";
1186
1186
 
1187
1187
  // src/utils.ts
@@ -1211,13 +1211,13 @@ var parserPlain = {
1211
1211
  })
1212
1212
  };
1213
1213
 
1214
- // src/configs/formatters.ts
1214
+ // src/configs/format.ts
1215
1215
  var mergePrettierOptions = (options, overrides) => ({
1216
1216
  ...options,
1217
1217
  ...overrides,
1218
1218
  plugins: [...overrides.plugins || []]
1219
1219
  });
1220
- function formatters(options = {}) {
1220
+ function format(options = {}) {
1221
1221
  const {
1222
1222
  enable = {
1223
1223
  html: true,
@@ -1257,20 +1257,20 @@ function formatters(options = {}) {
1257
1257
  xmlWhitespaceSensitivity: "ignore"
1258
1258
  };
1259
1259
  configs2.push({
1260
- name: `${RULE_PREFIX}/formatters`,
1260
+ name: `${RULE_PREFIX}/format`,
1261
1261
  plugins: {
1262
- formatter: pluginFormat
1262
+ format: pluginFormat
1263
1263
  }
1264
1264
  });
1265
1265
  if (enable.html) {
1266
1266
  configs2.push({
1267
- name: `${RULE_PREFIX}/formatters/html`,
1267
+ name: `${RULE_PREFIX}/format/html`,
1268
1268
  files: [GLOB_HTML],
1269
1269
  languageOptions: {
1270
1270
  parser: parserPlain
1271
1271
  },
1272
1272
  rules: {
1273
- "formatter/prettier": [
1273
+ "format/prettier": [
1274
1274
  "error",
1275
1275
  mergePrettierOptions(prettierOptions, {
1276
1276
  parser: "html"
@@ -1282,7 +1282,7 @@ function formatters(options = {}) {
1282
1282
  if (enable.css) {
1283
1283
  configs2.push(
1284
1284
  {
1285
- name: `${RULE_PREFIX}/formatters/css`,
1285
+ name: `${RULE_PREFIX}/format/css`,
1286
1286
  files: [GLOB_CSS, GLOB_POSTCSS],
1287
1287
  languageOptions: {
1288
1288
  parser: parserPlain
@@ -1297,7 +1297,7 @@ function formatters(options = {}) {
1297
1297
  }
1298
1298
  },
1299
1299
  {
1300
- name: `${RULE_PREFIX}/formatters/scss`,
1300
+ name: `${RULE_PREFIX}/format/scss`,
1301
1301
  files: [GLOB_SCSS],
1302
1302
  languageOptions: {
1303
1303
  parser: parserPlain
@@ -1312,7 +1312,7 @@ function formatters(options = {}) {
1312
1312
  }
1313
1313
  },
1314
1314
  {
1315
- name: `${RULE_PREFIX}/formatters/less`,
1315
+ name: `${RULE_PREFIX}/format/less`,
1316
1316
  files: [GLOB_LESS],
1317
1317
  languageOptions: {
1318
1318
  parser: parserPlain
@@ -1330,7 +1330,7 @@ function formatters(options = {}) {
1330
1330
  }
1331
1331
  if (enable.graphql) {
1332
1332
  configs2.push({
1333
- name: `${RULE_PREFIX}/formatters/graphql`,
1333
+ name: `${RULE_PREFIX}/format/graphql`,
1334
1334
  files: [GLOB_GRAPHQL],
1335
1335
  languageOptions: {
1336
1336
  parser: parserPlain
@@ -1347,7 +1347,7 @@ function formatters(options = {}) {
1347
1347
  }
1348
1348
  if (enable.xml) {
1349
1349
  configs2.push({
1350
- name: `${RULE_PREFIX}/formatters/xml`,
1350
+ name: `${RULE_PREFIX}/format/xml`,
1351
1351
  files: [GLOB_XML],
1352
1352
  languageOptions: {
1353
1353
  parser: parserPlain
@@ -1371,7 +1371,7 @@ function formatters(options = {}) {
1371
1371
  }
1372
1372
  if (enable.svg) {
1373
1373
  configs2.push({
1374
- name: `${RULE_PREFIX}/formatters/svg`,
1374
+ name: `${RULE_PREFIX}/format/svg`,
1375
1375
  files: [GLOB_SVG],
1376
1376
  languageOptions: {
1377
1377
  parser: parserPlain
@@ -1416,8 +1416,13 @@ function tailwindcss(options = {}) {
1416
1416
 
1417
1417
  // src/configs/unocss.ts
1418
1418
  import configUnocss from "@unocss/eslint-config/flat";
1419
+ import { isPackageExists as isPackageExists2 } from "local-pkg";
1419
1420
  function unocss(options = {}) {
1420
1421
  const { overrides = {} } = options;
1422
+ const isUnocssEnabled = isPackageExists2("unocss");
1423
+ if (!isUnocssEnabled) {
1424
+ return [];
1425
+ }
1421
1426
  return [
1422
1427
  {
1423
1428
  ...configUnocss,
@@ -1691,7 +1696,7 @@ function defineConfig(options = {}) {
1691
1696
  ...json(configs2.json),
1692
1697
  ...unicorn(configs2.unicorn),
1693
1698
  ...imports(configs2.imports),
1694
- ...formatters(configs2.formatters),
1699
+ ...format(configs2.format),
1695
1700
  ...tailwindcss(configs2.tailwindcss),
1696
1701
  ...unocss(configs2.unocss),
1697
1702
  ...yml(configs2.yml),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dhzh/eslint-config",
3
3
  "type": "module",
4
- "version": "1.0.2",
4
+ "version": "1.0.4",
5
5
  "description": "Lyle's ESLint config",
6
6
  "author": {
7
7
  "name": "Lyle Zheng",
@@ -47,9 +47,9 @@
47
47
  }
48
48
  },
49
49
  "dependencies": {
50
- "@clack/prompts": "^0.10.0",
50
+ "@clack/prompts": "^0.10.1",
51
51
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
52
- "@eslint-react/eslint-plugin": "^1.48.4",
52
+ "@eslint-react/eslint-plugin": "^1.48.5",
53
53
  "@eslint/js": "^9.25.1",
54
54
  "@stylistic/eslint-plugin": "^4.2.0",
55
55
  "@unocss/eslint-config": "66.1.0-beta.12",
@@ -58,9 +58,9 @@
58
58
  "eslint-plugin-antfu": "^3.1.1",
59
59
  "eslint-plugin-format": "^1.0.1",
60
60
  "eslint-plugin-hyoban": "^0.6.1",
61
- "eslint-plugin-import-x": "^4.10.6",
61
+ "eslint-plugin-import-x": "^4.11.0",
62
62
  "eslint-plugin-jsonc": "^2.20.0",
63
- "eslint-plugin-n": "^17.16.2",
63
+ "eslint-plugin-n": "^17.17.0",
64
64
  "eslint-plugin-package-json": "^0.30.0",
65
65
  "eslint-plugin-react-compiler": "19.1.0-rc.1",
66
66
  "eslint-plugin-react-google-translate": "^0.1.1",
@@ -70,27 +70,27 @@
70
70
  "eslint-plugin-simple-import-sort": "^12.1.1",
71
71
  "eslint-plugin-tailwindcss": "^3.18.0",
72
72
  "eslint-plugin-toml": "^0.12.0",
73
- "eslint-plugin-unicorn": "^57.0.0",
73
+ "eslint-plugin-unicorn": "^58.0.0",
74
74
  "eslint-plugin-unused-imports": "^4.1.4",
75
- "eslint-plugin-yml": "^1.17.0",
75
+ "eslint-plugin-yml": "^1.18.0",
76
76
  "globals": "^16.0.0",
77
77
  "jsonc-eslint-parser": "^2.4.0",
78
78
  "local-pkg": "^1.1.1",
79
79
  "toml-eslint-parser": "^0.10.0",
80
- "typescript-eslint": "^8.30.1",
80
+ "typescript-eslint": "^8.31.0",
81
81
  "yaml-eslint-parser": "^1.3.0"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@eslint/config-inspector": "^1.0.2",
85
85
  "@prettier/plugin-xml": "^3.4.1",
86
86
  "@types/eslint-plugin-tailwindcss": "^3.17.0",
87
- "@types/node": "^22.13.11",
88
- "bumpp": "^10.0.3",
87
+ "@types/node": "^22.15.2",
88
+ "bumpp": "^10.1.0",
89
89
  "bundle-require": "^5.1.0",
90
- "eslint": "^9.25.0",
90
+ "eslint": "^9.25.1",
91
91
  "eslint-typegen": "^2.1.0",
92
- "lint-staged": "^15.5.0",
93
- "simple-git-hooks": "^2.12.1",
92
+ "lint-staged": "^15.5.1",
93
+ "simple-git-hooks": "^2.13.0",
94
94
  "tsup": "^8.4.0",
95
95
  "tsx": "^4.19.3",
96
96
  "typescript": "^5.8.3"
@@ -102,7 +102,7 @@
102
102
  "*": "eslint --fix"
103
103
  },
104
104
  "scripts": {
105
- "build": "tsup --clean --dts",
105
+ "build": "pnpm run typegen && tsup --clean --dts",
106
106
  "build:inspector": "pnpm run build && npx @eslint/config-inspector build",
107
107
  "dev": "pnpm run typegen && npx @eslint/config-inspector --config eslint.config.ts",
108
108
  "lint": "eslint",