knip 6.39.0 → 6.41.0

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.
Files changed (86) hide show
  1. package/dist/ConfigurationChief.d.ts +24 -0
  2. package/dist/DependencyDeputy.d.ts +1 -0
  3. package/dist/DependencyDeputy.js +28 -2
  4. package/dist/IssueCollector.js +13 -15
  5. package/dist/IssueFixer.js +1 -1
  6. package/dist/WorkspaceWorker.d.ts +3 -4
  7. package/dist/WorkspaceWorker.js +25 -45
  8. package/dist/binaries/bash-parser.js +10 -4
  9. package/dist/binaries/command.d.ts +1 -1
  10. package/dist/binaries/command.js +14 -8
  11. package/dist/compilers/compilers.js +1 -1
  12. package/dist/graph/build.js +33 -17
  13. package/dist/manifest/index.d.ts +1 -0
  14. package/dist/manifest/index.js +5 -0
  15. package/dist/plugins/capacitor/index.js +1 -1
  16. package/dist/plugins/commitlint/index.js +34 -9
  17. package/dist/plugins/eslint/resolveFromAST.d.ts +0 -1
  18. package/dist/plugins/eslint/resolveFromAST.js +1 -1
  19. package/dist/plugins/expo/helpers.js +1 -1
  20. package/dist/plugins/expo/index.js +4 -24
  21. package/dist/plugins/expo-router/index.d.ts +3 -0
  22. package/dist/plugins/expo-router/index.js +32 -0
  23. package/dist/plugins/flue/index.d.ts +3 -0
  24. package/dist/plugins/flue/index.js +42 -0
  25. package/dist/plugins/index.d.ts +4 -0
  26. package/dist/plugins/index.js +8 -0
  27. package/dist/plugins/jasmine/index.d.ts +3 -0
  28. package/dist/plugins/jasmine/index.js +55 -0
  29. package/dist/plugins/jasmine/types.d.ts +7 -0
  30. package/dist/plugins/jasmine/types.js +1 -0
  31. package/dist/plugins/jest/helpers.d.ts +1 -0
  32. package/dist/plugins/jest/helpers.js +2 -0
  33. package/dist/plugins/jest/index.js +20 -11
  34. package/dist/plugins/mise/scripts.js +32 -10
  35. package/dist/plugins/moonrepo/index.js +2 -1
  36. package/dist/plugins/nx/index.js +6 -2
  37. package/dist/plugins/osls/index.d.ts +3 -0
  38. package/dist/plugins/osls/index.js +13 -0
  39. package/dist/plugins/oxlint/index.d.ts +3 -0
  40. package/dist/plugins/oxlint/index.js +4 -31
  41. package/dist/plugins/oxlint/types.d.ts +1 -0
  42. package/dist/plugins/playwright/index.js +17 -0
  43. package/dist/plugins/playwright/types.d.ts +5 -0
  44. package/dist/plugins/postcss/index.js +5 -1
  45. package/dist/plugins/react-native/index.js +1 -1
  46. package/dist/plugins/rsbuild/index.js +58 -6
  47. package/dist/plugins/rsbuild/types.d.ts +24 -1
  48. package/dist/plugins/rspack/index.d.ts +3 -1
  49. package/dist/plugins/rspack/index.js +1 -1
  50. package/dist/plugins/rstest/types.d.ts +1 -5
  51. package/dist/plugins/serverless-framework/index.d.ts +4 -1
  52. package/dist/plugins/serverless-framework/index.js +40 -7
  53. package/dist/plugins/serverless-framework/types.d.ts +4 -2
  54. package/dist/plugins/simple-git-hooks/index.js +1 -1
  55. package/dist/plugins/sveltejs-package/helpers.js +7 -44
  56. package/dist/plugins/vitest/index.js +16 -2
  57. package/dist/plugins/vitest/types.d.ts +2 -0
  58. package/dist/run.js +2 -0
  59. package/dist/schema/configuration.d.ts +60 -0
  60. package/dist/schema/plugins.d.ts +20 -0
  61. package/dist/schema/plugins.js +4 -0
  62. package/dist/types/PluginNames.d.ts +2 -2
  63. package/dist/types/PluginNames.js +4 -0
  64. package/dist/types/workspace.d.ts +1 -0
  65. package/dist/typescript/ast-nodes.js +291 -0
  66. package/dist/typescript/resolve-module-names.js +15 -4
  67. package/dist/typescript/visitors/walk.js +12 -0
  68. package/dist/util/create-options.d.ts +40 -0
  69. package/dist/util/filter-transitive-dependencies.d.ts +2 -0
  70. package/dist/util/filter-transitive-dependencies.js +38 -0
  71. package/dist/util/glob-cache.d.ts +2 -2
  72. package/dist/util/glob-core.js +70 -47
  73. package/dist/util/glob.js +15 -10
  74. package/dist/util/load-tsconfig.d.ts +1 -1
  75. package/dist/util/load-tsconfig.js +21 -11
  76. package/dist/util/module-graph.js +9 -4
  77. package/dist/util/package-json.d.ts +1 -354
  78. package/dist/util/package-json.js +56 -10
  79. package/dist/util/scripts.d.ts +3 -2
  80. package/dist/util/scripts.js +9 -3
  81. package/dist/util/to-source-path.d.ts +1 -1
  82. package/dist/util/to-source-path.js +7 -5
  83. package/dist/version.d.ts +1 -1
  84. package/dist/version.js +1 -1
  85. package/package.json +9 -10
  86. package/schema.json +16 -0
@@ -181,6 +181,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
181
181
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
182
182
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
183
183
  }, z.core.$strip>]>>;
184
+ 'expo-router': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
185
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
186
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
187
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
188
+ }, z.core.$strip>]>>;
184
189
  'expressive-code': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
185
190
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
186
191
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -191,6 +196,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
191
196
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
192
197
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
193
198
  }, z.core.$strip>]>>;
199
+ flue: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
200
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
201
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
202
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
203
+ }, z.core.$strip>]>>;
194
204
  fumadocs: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
195
205
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
196
206
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -236,6 +246,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
236
246
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
237
247
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
238
248
  }, z.core.$strip>]>>;
249
+ jasmine: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
250
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
251
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
252
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
253
+ }, z.core.$strip>]>>;
239
254
  jest: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
240
255
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
241
256
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -441,6 +456,11 @@ export declare const workspaceConfigurationSchema: z.ZodMiniObject<{
441
456
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
442
457
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
443
458
  }, z.core.$strip>]>>;
459
+ osls: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
460
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
461
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
462
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
463
+ }, z.core.$strip>]>>;
444
464
  oxfmt: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
445
465
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
446
466
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -1138,6 +1158,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
1138
1158
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1139
1159
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1140
1160
  }, z.core.$strip>]>>;
1161
+ 'expo-router': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
1162
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1163
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1164
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1165
+ }, z.core.$strip>]>>;
1141
1166
  'expressive-code': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
1142
1167
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1143
1168
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -1148,6 +1173,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
1148
1173
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1149
1174
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1150
1175
  }, z.core.$strip>]>>;
1176
+ flue: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
1177
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1178
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1179
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1180
+ }, z.core.$strip>]>>;
1151
1181
  fumadocs: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
1152
1182
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1153
1183
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -1193,6 +1223,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
1193
1223
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1194
1224
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1195
1225
  }, z.core.$strip>]>>;
1226
+ jasmine: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
1227
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1228
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1229
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1230
+ }, z.core.$strip>]>>;
1196
1231
  jest: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
1197
1232
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1198
1233
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -1398,6 +1433,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
1398
1433
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1399
1434
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1400
1435
  }, z.core.$strip>]>>;
1436
+ osls: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
1437
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1438
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1439
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1440
+ }, z.core.$strip>]>>;
1401
1441
  oxfmt: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
1402
1442
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
1403
1443
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -2114,6 +2154,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
2114
2154
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2115
2155
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2116
2156
  }, z.core.$strip>]>>;
2157
+ 'expo-router': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
2158
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2159
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2160
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2161
+ }, z.core.$strip>]>>;
2117
2162
  'expressive-code': z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
2118
2163
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2119
2164
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -2124,6 +2169,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
2124
2169
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2125
2170
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2126
2171
  }, z.core.$strip>]>>;
2172
+ flue: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
2173
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2174
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2175
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2176
+ }, z.core.$strip>]>>;
2127
2177
  fumadocs: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
2128
2178
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2129
2179
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -2169,6 +2219,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
2169
2219
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2170
2220
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2171
2221
  }, z.core.$strip>]>>;
2222
+ jasmine: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
2223
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2224
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2225
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2226
+ }, z.core.$strip>]>>;
2172
2227
  jest: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
2173
2228
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2174
2229
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -2374,6 +2429,11 @@ export declare const knipConfigurationSchema: z.ZodMiniObject<{
2374
2429
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2375
2430
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2376
2431
  }, z.core.$strip>]>>;
2432
+ osls: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
2433
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2434
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2435
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2436
+ }, z.core.$strip>]>>;
2377
2437
  oxfmt: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
2378
2438
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
2379
2439
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -186,6 +186,11 @@ export declare const pluginsSchema: z.ZodMiniObject<{
186
186
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
187
187
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
188
188
  }, z.core.$strip>]>;
189
+ 'expo-router': z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
190
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
191
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
192
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
193
+ }, z.core.$strip>]>;
189
194
  'expressive-code': z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
190
195
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
191
196
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -196,6 +201,11 @@ export declare const pluginsSchema: z.ZodMiniObject<{
196
201
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
197
202
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
198
203
  }, z.core.$strip>]>;
204
+ flue: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
205
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
206
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
207
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
208
+ }, z.core.$strip>]>;
199
209
  fumadocs: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
200
210
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
201
211
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -241,6 +251,11 @@ export declare const pluginsSchema: z.ZodMiniObject<{
241
251
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
242
252
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
243
253
  }, z.core.$strip>]>;
254
+ jasmine: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
255
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
256
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
257
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
258
+ }, z.core.$strip>]>;
244
259
  jest: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
245
260
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
246
261
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -446,6 +461,11 @@ export declare const pluginsSchema: z.ZodMiniObject<{
446
461
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
447
462
  project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
448
463
  }, z.core.$strip>]>;
464
+ osls: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
465
+ config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
466
+ entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
467
+ project: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
468
+ }, z.core.$strip>]>;
449
469
  oxfmt: z.ZodMiniUnion<readonly [z.ZodMiniBoolean<boolean>, z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>, z.ZodMiniObject<{
450
470
  config: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
451
471
  entry: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
@@ -46,8 +46,10 @@ export const pluginsSchema = z.object({
46
46
  eve: pluginSchema,
47
47
  execa: pluginSchema,
48
48
  expo: pluginSchema,
49
+ 'expo-router': pluginSchema,
49
50
  'expressive-code': pluginSchema,
50
51
  fast: pluginSchema,
52
+ flue: pluginSchema,
51
53
  fumadocs: pluginSchema,
52
54
  gatsby: pluginSchema,
53
55
  'github-action': pluginSchema,
@@ -57,6 +59,7 @@ export const pluginsSchema = z.object({
57
59
  hardhat: pluginSchema,
58
60
  husky: pluginSchema,
59
61
  'i18next-parser': pluginSchema,
62
+ jasmine: pluginSchema,
60
63
  jest: pluginSchema,
61
64
  karma: pluginSchema,
62
65
  knex: pluginSchema,
@@ -98,6 +101,7 @@ export const pluginsSchema = z.object({
98
101
  'openapi-ts': pluginSchema,
99
102
  openclaw: pluginSchema,
100
103
  orval: pluginSchema,
104
+ osls: pluginSchema,
101
105
  oxfmt: pluginSchema,
102
106
  oxlint: pluginSchema,
103
107
  'panda-css': pluginSchema,
@@ -1,2 +1,2 @@
1
- export type PluginName = 'angular' | 'astro' | 'astro-db' | 'astro-markdoc' | 'astro-og-canvas' | 'ava' | 'babel' | 'biome' | 'borp' | 'bumpp' | 'bun' | 'c8' | 'capacitor' | 'catalyst' | 'changelogen' | 'changelogithub' | 'changesets' | 'commitizen' | 'commitlint' | 'convex' | 'create-typescript-app' | 'cspell' | 'cucumber' | 'cypress' | 'danger' | 'dependency-cruiser' | 'docusaurus' | 'dotenv' | 'drizzle' | 'electron-vite' | 'eleventy' | 'esbuild' | 'eslint' | 'eve' | 'execa' | 'expo' | 'expressive-code' | 'fast' | 'fumadocs' | 'gatsby' | 'github-action' | 'github-actions' | 'glob' | 'graphql-codegen' | 'hardhat' | 'husky' | 'i18next-parser' | 'jest' | 'karma' | 'knex' | 'ladle' | 'laravel-vite-plugin' | 'lefthook' | 'lint-staged' | 'linthtml' | 'lit' | 'lockfile-lint' | 'lost-pixel' | 'lunaria' | 'markdownlint' | 'marko' | 'mdx' | 'mdxlint' | 'metro' | 'mise' | 'mocha' | 'moonrepo' | 'msw' | 'nano-spawn' | 'nano-staged' | 'nest' | 'netlify' | 'next' | 'next-intl' | 'next-mdx' | 'nitro' | 'node' | 'node-modules-inspector' | 'nodemon' | 'npm-package-json-lint' | 'nuxt' | 'nuxtjs-i18n' | 'nx' | 'nyc' | 'oclif' | 'openapi-ts' | 'openclaw' | 'orval' | 'oxfmt' | 'oxlint' | 'panda-css' | 'parcel' | 'payload' | 'pino' | 'playwright' | 'playwright-ct' | 'playwright-test' | 'plop' | 'pm2' | 'pnpm' | 'postcss' | 'pre-commit' | 'preconstruct' | 'prettier' | 'prisma' | 'quasar' | 'qwik' | 'railway' | 'raycast' | 'react-cosmos' | 'react-email' | 'react-native' | 'react-router' | 'relay' | 'release-it' | 'remark' | 'remix' | 'rolldown' | 'rollup' | 'rsbuild' | 'rslib' | 'rspack' | 'rstest' | 'sanity' | 'semantic-release' | 'sentry' | 'serverless-framework' | 'simple-git-hooks' | 'size-limit' | 'sst' | 'starlight' | 'stencil' | 'storybook' | 'stryker' | 'stylelint' | 'svelte' | 'sveltejs-package' | 'sveltekit' | 'svgo' | 'svgr' | 'swc' | 'syncpack' | 'tailwind' | 'tanstack-router' | 'taskfile' | 'tauri' | 'temporal' | 'textlint' | 'travis' | 'ts-node' | 'tsd' | 'tsdown' | 'tsup' | 'tsx' | 'turbo' | 'typedoc' | 'typescript' | 'typescript-content-mapper' | 'unbuild' | 'unocss' | 'unplugin-auto-import' | 'unplugin-icons' | 'unplugin-vue-components' | 'unplugin-vue-i18n' | 'unplugin-vue-markdown' | 'unplugin-vue-router' | 'varlock' | 'vercel' | 'vercel-og' | 'vike' | 'vite' | 'vite-plugin-pages' | 'vite-plugin-pwa' | 'vite-plugin-vue-layouts-next' | 'vite-plus' | 'vite-pwa-assets-generator' | 'vitepress' | 'vitest' | 'vue' | 'webdriver-io' | 'webpack' | 'wireit' | 'wrangler' | 'wxt' | 'xo' | 'yarn' | 'yorkie' | 'zx';
2
- export declare const pluginNames: readonly ['angular', 'astro', 'astro-db', 'astro-markdoc', 'astro-og-canvas', 'ava', 'babel', 'biome', 'borp', 'bumpp', 'bun', 'c8', 'capacitor', 'catalyst', 'changelogen', 'changelogithub', 'changesets', 'commitizen', 'commitlint', 'convex', 'create-typescript-app', 'cspell', 'cucumber', 'cypress', 'danger', 'dependency-cruiser', 'docusaurus', 'dotenv', 'drizzle', 'electron-vite', 'eleventy', 'esbuild', 'eslint', 'eve', 'execa', 'expo', 'expressive-code', 'fast', 'fumadocs', 'gatsby', 'github-action', 'github-actions', 'glob', 'graphql-codegen', 'hardhat', 'husky', 'i18next-parser', 'jest', 'karma', 'knex', 'ladle', 'laravel-vite-plugin', 'lefthook', 'lint-staged', 'linthtml', 'lit', 'lockfile-lint', 'lost-pixel', 'lunaria', 'markdownlint', 'marko', 'mdx', 'mdxlint', 'metro', 'mise', 'mocha', 'moonrepo', 'msw', 'nano-spawn', 'nano-staged', 'nest', 'netlify', 'next', 'next-intl', 'next-mdx', 'nitro', 'node', 'node-modules-inspector', 'nodemon', 'npm-package-json-lint', 'nuxt', 'nuxtjs-i18n', 'nx', 'nyc', 'oclif', 'openapi-ts', 'openclaw', 'orval', 'oxfmt', 'oxlint', 'panda-css', 'parcel', 'payload', 'pino', 'playwright', 'playwright-ct', 'playwright-test', 'plop', 'pm2', 'pnpm', 'postcss', 'pre-commit', 'preconstruct', 'prettier', 'prisma', 'quasar', 'qwik', 'railway', 'raycast', 'react-cosmos', 'react-email', 'react-native', 'react-router', 'relay', 'release-it', 'remark', 'remix', 'rolldown', 'rollup', 'rsbuild', 'rslib', 'rspack', 'rstest', 'sanity', 'semantic-release', 'sentry', 'serverless-framework', 'simple-git-hooks', 'size-limit', 'sst', 'starlight', 'stencil', 'storybook', 'stryker', 'stylelint', 'svelte', 'sveltejs-package', 'sveltekit', 'svgo', 'svgr', 'swc', 'syncpack', 'tailwind', 'tanstack-router', 'taskfile', 'tauri', 'temporal', 'textlint', 'travis', 'ts-node', 'tsd', 'tsdown', 'tsup', 'tsx', 'turbo', 'typedoc', 'typescript', 'typescript-content-mapper', 'unbuild', 'unocss', 'unplugin-auto-import', 'unplugin-icons', 'unplugin-vue-components', 'unplugin-vue-i18n', 'unplugin-vue-markdown', 'unplugin-vue-router', 'varlock', 'vercel', 'vercel-og', 'vike', 'vite', 'vite-plugin-pages', 'vite-plugin-pwa', 'vite-plugin-vue-layouts-next', 'vite-plus', 'vite-pwa-assets-generator', 'vitepress', 'vitest', 'vue', 'webdriver-io', 'webpack', 'wireit', 'wrangler', 'wxt', 'xo', 'yarn', 'yorkie', 'zx'];
1
+ export type PluginName = 'angular' | 'astro' | 'astro-db' | 'astro-markdoc' | 'astro-og-canvas' | 'ava' | 'babel' | 'biome' | 'borp' | 'bumpp' | 'bun' | 'c8' | 'capacitor' | 'catalyst' | 'changelogen' | 'changelogithub' | 'changesets' | 'commitizen' | 'commitlint' | 'convex' | 'create-typescript-app' | 'cspell' | 'cucumber' | 'cypress' | 'danger' | 'dependency-cruiser' | 'docusaurus' | 'dotenv' | 'drizzle' | 'electron-vite' | 'eleventy' | 'esbuild' | 'eslint' | 'eve' | 'execa' | 'expo' | 'expo-router' | 'expressive-code' | 'fast' | 'flue' | 'fumadocs' | 'gatsby' | 'github-action' | 'github-actions' | 'glob' | 'graphql-codegen' | 'hardhat' | 'husky' | 'i18next-parser' | 'jasmine' | 'jest' | 'karma' | 'knex' | 'ladle' | 'laravel-vite-plugin' | 'lefthook' | 'lint-staged' | 'linthtml' | 'lit' | 'lockfile-lint' | 'lost-pixel' | 'lunaria' | 'markdownlint' | 'marko' | 'mdx' | 'mdxlint' | 'metro' | 'mise' | 'mocha' | 'moonrepo' | 'msw' | 'nano-spawn' | 'nano-staged' | 'nest' | 'netlify' | 'next' | 'next-intl' | 'next-mdx' | 'nitro' | 'node' | 'node-modules-inspector' | 'nodemon' | 'npm-package-json-lint' | 'nuxt' | 'nuxtjs-i18n' | 'nx' | 'nyc' | 'oclif' | 'openapi-ts' | 'openclaw' | 'orval' | 'osls' | 'oxfmt' | 'oxlint' | 'panda-css' | 'parcel' | 'payload' | 'pino' | 'playwright' | 'playwright-ct' | 'playwright-test' | 'plop' | 'pm2' | 'pnpm' | 'postcss' | 'pre-commit' | 'preconstruct' | 'prettier' | 'prisma' | 'quasar' | 'qwik' | 'railway' | 'raycast' | 'react-cosmos' | 'react-email' | 'react-native' | 'react-router' | 'relay' | 'release-it' | 'remark' | 'remix' | 'rolldown' | 'rollup' | 'rsbuild' | 'rslib' | 'rspack' | 'rstest' | 'sanity' | 'semantic-release' | 'sentry' | 'serverless-framework' | 'simple-git-hooks' | 'size-limit' | 'sst' | 'starlight' | 'stencil' | 'storybook' | 'stryker' | 'stylelint' | 'svelte' | 'sveltejs-package' | 'sveltekit' | 'svgo' | 'svgr' | 'swc' | 'syncpack' | 'tailwind' | 'tanstack-router' | 'taskfile' | 'tauri' | 'temporal' | 'textlint' | 'travis' | 'ts-node' | 'tsd' | 'tsdown' | 'tsup' | 'tsx' | 'turbo' | 'typedoc' | 'typescript' | 'typescript-content-mapper' | 'unbuild' | 'unocss' | 'unplugin-auto-import' | 'unplugin-icons' | 'unplugin-vue-components' | 'unplugin-vue-i18n' | 'unplugin-vue-markdown' | 'unplugin-vue-router' | 'varlock' | 'vercel' | 'vercel-og' | 'vike' | 'vite' | 'vite-plugin-pages' | 'vite-plugin-pwa' | 'vite-plugin-vue-layouts-next' | 'vite-plus' | 'vite-pwa-assets-generator' | 'vitepress' | 'vitest' | 'vue' | 'webdriver-io' | 'webpack' | 'wireit' | 'wrangler' | 'wxt' | 'xo' | 'yarn' | 'yorkie' | 'zx';
2
+ export declare const pluginNames: readonly ['angular', 'astro', 'astro-db', 'astro-markdoc', 'astro-og-canvas', 'ava', 'babel', 'biome', 'borp', 'bumpp', 'bun', 'c8', 'capacitor', 'catalyst', 'changelogen', 'changelogithub', 'changesets', 'commitizen', 'commitlint', 'convex', 'create-typescript-app', 'cspell', 'cucumber', 'cypress', 'danger', 'dependency-cruiser', 'docusaurus', 'dotenv', 'drizzle', 'electron-vite', 'eleventy', 'esbuild', 'eslint', 'eve', 'execa', 'expo', 'expo-router', 'expressive-code', 'fast', 'flue', 'fumadocs', 'gatsby', 'github-action', 'github-actions', 'glob', 'graphql-codegen', 'hardhat', 'husky', 'i18next-parser', 'jasmine', 'jest', 'karma', 'knex', 'ladle', 'laravel-vite-plugin', 'lefthook', 'lint-staged', 'linthtml', 'lit', 'lockfile-lint', 'lost-pixel', 'lunaria', 'markdownlint', 'marko', 'mdx', 'mdxlint', 'metro', 'mise', 'mocha', 'moonrepo', 'msw', 'nano-spawn', 'nano-staged', 'nest', 'netlify', 'next', 'next-intl', 'next-mdx', 'nitro', 'node', 'node-modules-inspector', 'nodemon', 'npm-package-json-lint', 'nuxt', 'nuxtjs-i18n', 'nx', 'nyc', 'oclif', 'openapi-ts', 'openclaw', 'orval', 'osls', 'oxfmt', 'oxlint', 'panda-css', 'parcel', 'payload', 'pino', 'playwright', 'playwright-ct', 'playwright-test', 'plop', 'pm2', 'pnpm', 'postcss', 'pre-commit', 'preconstruct', 'prettier', 'prisma', 'quasar', 'qwik', 'railway', 'raycast', 'react-cosmos', 'react-email', 'react-native', 'react-router', 'relay', 'release-it', 'remark', 'remix', 'rolldown', 'rollup', 'rsbuild', 'rslib', 'rspack', 'rstest', 'sanity', 'semantic-release', 'sentry', 'serverless-framework', 'simple-git-hooks', 'size-limit', 'sst', 'starlight', 'stencil', 'storybook', 'stryker', 'stylelint', 'svelte', 'sveltejs-package', 'sveltekit', 'svgo', 'svgr', 'swc', 'syncpack', 'tailwind', 'tanstack-router', 'taskfile', 'tauri', 'temporal', 'textlint', 'travis', 'ts-node', 'tsd', 'tsdown', 'tsup', 'tsx', 'turbo', 'typedoc', 'typescript', 'typescript-content-mapper', 'unbuild', 'unocss', 'unplugin-auto-import', 'unplugin-icons', 'unplugin-vue-components', 'unplugin-vue-i18n', 'unplugin-vue-markdown', 'unplugin-vue-router', 'varlock', 'vercel', 'vercel-og', 'vike', 'vite', 'vite-plugin-pages', 'vite-plugin-pwa', 'vite-plugin-vue-layouts-next', 'vite-plus', 'vite-pwa-assets-generator', 'vitepress', 'vitest', 'vue', 'webdriver-io', 'webpack', 'wireit', 'wrangler', 'wxt', 'xo', 'yarn', 'yorkie', 'zx'];
@@ -35,8 +35,10 @@ export const pluginNames = [
35
35
  'eve',
36
36
  'execa',
37
37
  'expo',
38
+ 'expo-router',
38
39
  'expressive-code',
39
40
  'fast',
41
+ 'flue',
40
42
  'fumadocs',
41
43
  'gatsby',
42
44
  'github-action',
@@ -46,6 +48,7 @@ export const pluginNames = [
46
48
  'hardhat',
47
49
  'husky',
48
50
  'i18next-parser',
51
+ 'jasmine',
49
52
  'jest',
50
53
  'karma',
51
54
  'knex',
@@ -87,6 +90,7 @@ export const pluginNames = [
87
90
  'openapi-ts',
88
91
  'openclaw',
89
92
  'orval',
93
+ 'osls',
90
94
  'oxfmt',
91
95
  'oxlint',
92
96
  'panda-css',
@@ -9,6 +9,7 @@ type WorkspaceManifest = {
9
9
  peerDependencies: DependencySet;
10
10
  optionalPeerDependencies: DependencySet;
11
11
  requiredPeerDependencies: DependencyArray;
12
+ uninstalledOptionalDependencies: DependencySet;
12
13
  allDependencies: DependencySet;
13
14
  engines: Record<string, string>;
14
15
  isPrivate: boolean;
@@ -145,8 +145,299 @@ export function extractNamespaceMembers(decl, options, lineStarts, getJSDocTags,
145
145
  addMember(d.id.name, d.id.start, stmt.start, stmt.end);
146
146
  }
147
147
  }
148
+ if (!prefix && members.length > 0)
149
+ markNamespaceMemberRefs(decl.body.body, members);
148
150
  return members;
149
151
  }
152
+ const noNames = new Set();
153
+ const addBindingNames = (pattern, names) => {
154
+ if (!pattern)
155
+ return;
156
+ if (pattern.type === 'Identifier')
157
+ names.add(pattern.name);
158
+ else if (pattern.type === 'ObjectPattern')
159
+ for (const p of pattern.properties)
160
+ addBindingNames(p.value ?? p.argument, names);
161
+ else if (pattern.type === 'ArrayPattern')
162
+ for (const el of pattern.elements)
163
+ addBindingNames(el, names);
164
+ else if (pattern.type === 'AssignmentPattern')
165
+ addBindingNames(pattern.left, names);
166
+ else if (pattern.type === 'RestElement')
167
+ addBindingNames(pattern.argument, names);
168
+ };
169
+ const addDeclaredNames = (statements, names) => {
170
+ for (const stmt of statements) {
171
+ if (stmt.type === 'VariableDeclaration')
172
+ for (const d of stmt.declarations)
173
+ addBindingNames(d.id, names);
174
+ else if (stmt.type !== 'ExpressionStatement' && stmt.id?.type === 'Identifier')
175
+ names.add(stmt.id.name);
176
+ }
177
+ };
178
+ const addVarNames = (node, names) => {
179
+ if (!node)
180
+ return;
181
+ switch (node.type) {
182
+ case 'VariableDeclaration':
183
+ if (node.kind === 'var')
184
+ for (const d of node.declarations)
185
+ addBindingNames(d.id, names);
186
+ return;
187
+ case 'BlockStatement':
188
+ for (const stmt of node.body)
189
+ addVarNames(stmt, names);
190
+ return;
191
+ case 'IfStatement':
192
+ addVarNames(node.consequent, names);
193
+ addVarNames(node.alternate, names);
194
+ return;
195
+ case 'ForStatement':
196
+ addVarNames(node.init, names);
197
+ addVarNames(node.body, names);
198
+ return;
199
+ case 'ForInStatement':
200
+ case 'ForOfStatement':
201
+ addVarNames(node.left, names);
202
+ addVarNames(node.body, names);
203
+ return;
204
+ case 'WhileStatement':
205
+ case 'DoWhileStatement':
206
+ case 'LabeledStatement':
207
+ addVarNames(node.body, names);
208
+ return;
209
+ case 'TryStatement':
210
+ addVarNames(node.block, names);
211
+ addVarNames(node.handler?.body, names);
212
+ addVarNames(node.finalizer, names);
213
+ return;
214
+ case 'SwitchStatement':
215
+ for (const c of node.cases)
216
+ for (const stmt of c.consequent)
217
+ addVarNames(stmt, names);
218
+ return;
219
+ }
220
+ };
221
+ const getShadowedNames = (node) => {
222
+ switch (node.type) {
223
+ case 'BlockStatement':
224
+ case 'StaticBlock': {
225
+ const names = new Set();
226
+ addDeclaredNames(node.body, names);
227
+ return names;
228
+ }
229
+ case 'SwitchStatement': {
230
+ const names = new Set();
231
+ for (const c of node.cases)
232
+ addDeclaredNames(c.consequent, names);
233
+ return names;
234
+ }
235
+ case 'ForStatement':
236
+ case 'ForInStatement':
237
+ case 'ForOfStatement': {
238
+ const init = node.init ?? node.left;
239
+ if (init?.type !== 'VariableDeclaration')
240
+ return;
241
+ const names = new Set();
242
+ addDeclaredNames([init], names);
243
+ return names;
244
+ }
245
+ case 'CatchClause': {
246
+ const names = new Set();
247
+ addBindingNames(node.param, names);
248
+ return names;
249
+ }
250
+ case 'ClassExpression':
251
+ return node.id?.type === 'Identifier' ? new Set([node.id.name]) : undefined;
252
+ }
253
+ const params = node.params;
254
+ if (!params || node.type === 'TSTypeParameterDeclaration')
255
+ return;
256
+ const names = new Set();
257
+ for (const param of Array.isArray(params) ? params : (params.items ?? [])) {
258
+ addBindingNames(param.type === 'TSParameterProperty' ? param.parameter : param, names);
259
+ }
260
+ if (node.type === 'FunctionExpression' && node.id?.type === 'Identifier')
261
+ names.add(node.id.name);
262
+ if (node.body?.type === 'BlockStatement')
263
+ addVarNames(node.body, names);
264
+ return names;
265
+ };
266
+ const markNamespaceMemberRefs = (body, members) => {
267
+ const byIdentifier = new Map();
268
+ for (const member of members)
269
+ byIdentifier.set(member.identifier, member);
270
+ const scopes = [];
271
+ const addRef = (name, path) => {
272
+ for (let i = scopes.length - 1; i >= 0; i--) {
273
+ const scope = scopes[i];
274
+ if (!scope.names.has(name))
275
+ continue;
276
+ if (scope.isShadow)
277
+ return;
278
+ let id = scope.prefix ? `${scope.prefix}.${name}` : name;
279
+ for (let j = 0; j <= path.length; j++) {
280
+ if (!scope.own.has(id)) {
281
+ const member = byIdentifier.get(id);
282
+ if (member)
283
+ member.hasRefsInFile = true;
284
+ }
285
+ if (j < path.length)
286
+ id = `${id}.${path[j]}`;
287
+ }
288
+ return;
289
+ }
290
+ };
291
+ const visitBinding = (node) => {
292
+ if (!node)
293
+ return;
294
+ switch (node.type) {
295
+ case 'Identifier':
296
+ visit(node.typeAnnotation);
297
+ return;
298
+ case 'ObjectPattern':
299
+ for (const p of node.properties) {
300
+ if (p.type === 'RestElement')
301
+ visitBinding(p);
302
+ else {
303
+ if (p.computed)
304
+ visit(p.key);
305
+ visitBinding(p.value);
306
+ }
307
+ }
308
+ visit(node.typeAnnotation);
309
+ return;
310
+ case 'ArrayPattern':
311
+ for (const el of node.elements)
312
+ visitBinding(el);
313
+ visit(node.typeAnnotation);
314
+ return;
315
+ case 'AssignmentPattern':
316
+ visitBinding(node.left);
317
+ visit(node.right);
318
+ return;
319
+ case 'RestElement':
320
+ visitBinding(node.argument);
321
+ visit(node.typeAnnotation);
322
+ return;
323
+ case 'TSParameterProperty':
324
+ visit(node.decorators);
325
+ visitBinding(node.parameter);
326
+ return;
327
+ }
328
+ visit(node);
329
+ };
330
+ const visit = (node) => {
331
+ if (!node)
332
+ return;
333
+ if (Array.isArray(node)) {
334
+ for (const item of node)
335
+ visit(item);
336
+ return;
337
+ }
338
+ const type = node.type;
339
+ if (!type)
340
+ return;
341
+ if (type === 'Identifier') {
342
+ addRef(node.name, []);
343
+ visit(node.typeAnnotation);
344
+ return;
345
+ }
346
+ if (type === 'JSXIdentifier') {
347
+ addRef(node.name, []);
348
+ return;
349
+ }
350
+ if (type === 'JSXMemberExpression') {
351
+ visit(node.object);
352
+ return;
353
+ }
354
+ if (type === 'JSXAttribute') {
355
+ visit(node.value);
356
+ return;
357
+ }
358
+ if (type === 'TSModuleDeclaration' && node.body?.type === 'TSModuleBlock') {
359
+ visitNamespace(node.body.body, node.id.type === 'Identifier' ? node.id.name : undefined);
360
+ return;
361
+ }
362
+ if (type === 'MemberExpression' || type === 'TSQualifiedName') {
363
+ const path = [];
364
+ let object = node;
365
+ while ((object.type === 'MemberExpression' && !object.computed && object.property.type === 'Identifier') ||
366
+ (object.type === 'TSQualifiedName' && object.right.type === 'Identifier')) {
367
+ path.unshift(object.type === 'MemberExpression' ? object.property.name : object.right.name);
368
+ object = object.type === 'MemberExpression' ? object.object : object.left;
369
+ }
370
+ if (path.length > 0) {
371
+ if (object.type === 'Identifier')
372
+ addRef(object.name, path);
373
+ else
374
+ visit(object);
375
+ return;
376
+ }
377
+ }
378
+ const keys = visitorKeys[type];
379
+ if (!keys)
380
+ return;
381
+ const shadowed = getShadowedNames(node);
382
+ const shadow = shadowed && shadowed.size > 0 ? { prefix: '', names: shadowed, own: noNames, isShadow: true } : undefined;
383
+ if (shadow)
384
+ scopes.push(shadow);
385
+ for (const key of keys) {
386
+ const val = node[key];
387
+ if (!val || key === 'label')
388
+ continue;
389
+ if (key === 'key' && !node.computed)
390
+ continue;
391
+ if (key === 'id' || (key === 'name' && type === 'TSTypeParameter') || key.startsWith('param')) {
392
+ if (Array.isArray(val))
393
+ for (const item of val)
394
+ visitBinding(item);
395
+ else
396
+ visitBinding(val);
397
+ }
398
+ else
399
+ visit(val);
400
+ }
401
+ if (shadow)
402
+ scopes.pop();
403
+ };
404
+ const visitNamespace = (statements, name) => {
405
+ const parent = scopes.at(-1);
406
+ const prefix = !parent ? '' : parent.prefix ? `${parent.prefix}.${name}` : (name ?? '');
407
+ const scope = { prefix, names: new Set(), own: new Set() };
408
+ for (const stmt of statements) {
409
+ const d = stmt.type === 'ExportNamedDeclaration' ? stmt.declaration : stmt;
410
+ if (d?.type === 'VariableDeclaration')
411
+ for (const v of d.declarations)
412
+ addBindingNames(v.id, scope.names);
413
+ else if (d?.id?.type === 'Identifier')
414
+ scope.names.add(d.id.name);
415
+ }
416
+ scopes.push(scope);
417
+ for (const stmt of statements) {
418
+ const d = stmt.type === 'ExportNamedDeclaration' && stmt.declaration ? stmt.declaration : stmt;
419
+ if (d.type === 'VariableDeclaration') {
420
+ for (const declarator of d.declarations) {
421
+ const names = new Set();
422
+ addBindingNames(declarator.id, names);
423
+ scope.own = new Set();
424
+ for (const n of names)
425
+ scope.own.add(prefix ? `${prefix}.${n}` : n);
426
+ visitBinding(declarator.id);
427
+ visit(declarator.init);
428
+ }
429
+ }
430
+ else {
431
+ scope.own = new Set();
432
+ if (d.id?.type === 'Identifier')
433
+ scope.own.add(prefix ? `${prefix}.${d.id.name}` : d.id.name);
434
+ visit(d);
435
+ }
436
+ }
437
+ scopes.pop();
438
+ };
439
+ visitNamespace(body);
440
+ };
150
441
  export const collectAugmentationRefs = (node) => {
151
442
  if (!node.body || node.body.type !== 'TSModuleBlock')
152
443
  return [];