knip 5.62.0 → 5.63.1

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 (134) hide show
  1. package/README.md +22 -24
  2. package/dist/CacheConsultant.d.ts +3 -9
  3. package/dist/CacheConsultant.js +5 -5
  4. package/dist/ConfigurationChief.d.ts +588 -38
  5. package/dist/ConfigurationChief.js +43 -124
  6. package/dist/ConsoleStreamer.d.ts +2 -3
  7. package/dist/ConsoleStreamer.js +2 -2
  8. package/dist/DependencyDeputy.d.ts +2 -6
  9. package/dist/IssueCollector.d.ts +4 -12
  10. package/dist/IssueCollector.js +10 -10
  11. package/dist/IssueFixer.d.ts +3 -14
  12. package/dist/IssueFixer.js +11 -21
  13. package/dist/PrincipalFactory.d.ts +3 -2
  14. package/dist/PrincipalFactory.js +11 -11
  15. package/dist/ProjectPrincipal.d.ts +5 -3
  16. package/dist/ProjectPrincipal.js +17 -11
  17. package/dist/WorkspaceWorker.d.ts +4 -9
  18. package/dist/WorkspaceWorker.js +8 -12
  19. package/dist/binaries/bash-parser.js +1 -1
  20. package/dist/binaries/fallback.js +4 -2
  21. package/dist/binaries/package-manager/pnpm.js +6 -1
  22. package/dist/cli.js +43 -60
  23. package/dist/compilers/index.d.ts +34 -4
  24. package/dist/graph/analyze.d.ts +3 -8
  25. package/dist/graph/analyze.js +24 -27
  26. package/dist/graph/build.d.ts +3 -17
  27. package/dist/graph/build.js +60 -47
  28. package/dist/index.d.ts +3 -6
  29. package/dist/index.js +23 -62
  30. package/dist/plugins/astro/index.d.ts +1 -0
  31. package/dist/plugins/astro/index.js +4 -0
  32. package/dist/plugins/index.d.ts +24 -1
  33. package/dist/plugins/index.js +6 -0
  34. package/dist/plugins/lefthook/index.js +2 -0
  35. package/dist/plugins/node-modules-inspector/index.d.ts +12 -0
  36. package/dist/plugins/node-modules-inspector/index.js +17 -0
  37. package/dist/plugins/nuxt/index.js +4 -3
  38. package/dist/plugins/nuxt/types.d.ts +3 -2
  39. package/dist/plugins/playwright/index.js +8 -1
  40. package/dist/plugins/playwright/types.d.ts +20 -14
  41. package/dist/plugins/pnpm/index.d.ts +7 -0
  42. package/dist/plugins/pnpm/index.js +8 -0
  43. package/dist/plugins/preconstruct/index.js +2 -1
  44. package/dist/plugins/react-router/index.js +18 -8
  45. package/dist/plugins/rsbuild/index.js +28 -2
  46. package/dist/plugins/rsbuild/types.d.ts +11 -0
  47. package/dist/plugins/rslib/index.d.ts +10 -0
  48. package/dist/plugins/rslib/index.js +15 -0
  49. package/dist/plugins/rslib/types.d.ts +1 -0
  50. package/dist/plugins/rspack/index.js +1 -1
  51. package/dist/plugins/typescript/index.d.ts +1 -1
  52. package/dist/plugins.js +3 -2
  53. package/dist/reporters/codeclimate.d.ts +1 -1
  54. package/dist/reporters/codeclimate.js +10 -10
  55. package/dist/reporters/codeowners.d.ts +1 -1
  56. package/dist/reporters/codeowners.js +5 -5
  57. package/dist/reporters/compact.d.ts +1 -1
  58. package/dist/reporters/compact.js +7 -7
  59. package/dist/reporters/disclosure.d.ts +1 -1
  60. package/dist/reporters/disclosure.js +2 -2
  61. package/dist/reporters/index.d.ts +6 -6
  62. package/dist/reporters/json.d.ts +1 -1
  63. package/dist/reporters/json.js +3 -3
  64. package/dist/reporters/markdown.d.ts +1 -1
  65. package/dist/reporters/markdown.js +4 -4
  66. package/dist/reporters/symbols.js +4 -2
  67. package/dist/reporters/util/configuration-hints.d.ts +1 -1
  68. package/dist/reporters/util/configuration-hints.js +58 -23
  69. package/dist/reporters/util/util.d.ts +2 -4
  70. package/dist/reporters/util/util.js +6 -6
  71. package/dist/reporters/watch.d.ts +3 -4
  72. package/dist/reporters/watch.js +5 -5
  73. package/dist/schema/configuration.d.ts +176 -8
  74. package/dist/schema/plugins.d.ts +69 -0
  75. package/dist/schema/plugins.js +3 -0
  76. package/dist/types/PluginNames.d.ts +2 -2
  77. package/dist/types/PluginNames.js +3 -0
  78. package/dist/types/config.d.ts +4 -10
  79. package/dist/types/entries.d.ts +3 -0
  80. package/dist/types/entries.js +1 -0
  81. package/dist/types/issues.d.ts +4 -3
  82. package/dist/types/{cli.d.ts → options.d.ts} +2 -2
  83. package/dist/types/options.js +1 -0
  84. package/dist/types/package-json.d.ts +5 -0
  85. package/dist/types/project.d.ts +1 -7
  86. package/dist/types/tsconfig-json.d.ts +14 -0
  87. package/dist/types/tsconfig-json.js +1 -0
  88. package/dist/typescript/ast-helpers.js +1 -1
  89. package/dist/typescript/get-imports-and-exports.d.ts +2 -2
  90. package/dist/typescript/get-imports-and-exports.js +9 -10
  91. package/dist/util/Performance.js +16 -6
  92. package/dist/util/cli-arguments.d.ts +1 -2
  93. package/dist/util/cli-arguments.js +3 -13
  94. package/dist/util/create-options.d.ts +1219 -0
  95. package/dist/util/create-options.js +112 -0
  96. package/dist/util/debug.js +3 -4
  97. package/dist/util/errors.d.ts +1 -1
  98. package/dist/util/file-entry-cache.js +3 -3
  99. package/dist/util/fs.d.ts +1 -1
  100. package/dist/util/get-included-issue-types.d.ts +9 -13
  101. package/dist/util/get-included-issue-types.js +10 -16
  102. package/dist/util/get-referenced-inputs.js +1 -1
  103. package/dist/util/glob-core.d.ts +1 -1
  104. package/dist/util/glob-core.js +8 -7
  105. package/dist/util/glob.d.ts +1 -0
  106. package/dist/util/glob.js +1 -1
  107. package/dist/util/input.d.ts +1 -1
  108. package/dist/util/input.js +1 -1
  109. package/dist/util/is-identifier-referenced.d.ts +1 -1
  110. package/dist/util/is-identifier-referenced.js +19 -19
  111. package/dist/util/load-config.d.ts +1 -0
  112. package/dist/util/load-config.js +24 -0
  113. package/dist/util/package-json.d.ts +2 -1
  114. package/dist/util/package-json.js +24 -12
  115. package/dist/util/parse-and-convert-gitignores.js +2 -0
  116. package/dist/util/path.d.ts +4 -4
  117. package/dist/util/path.js +5 -7
  118. package/dist/util/reporter.js +3 -3
  119. package/dist/util/require.js +1 -2
  120. package/dist/util/table.js +1 -3
  121. package/dist/util/tag.d.ts +1 -1
  122. package/dist/util/to-source-path.d.ts +1 -1
  123. package/dist/util/to-source-path.js +5 -5
  124. package/dist/util/trace.d.ts +6 -6
  125. package/dist/util/trace.js +18 -22
  126. package/dist/util/watch.d.ts +2 -5
  127. package/dist/util/watch.js +3 -3
  128. package/dist/version.d.ts +1 -1
  129. package/dist/version.js +1 -1
  130. package/package.json +10 -15
  131. package/schema.json +12 -0
  132. package/dist/util/unwrap-function.d.ts +0 -1
  133. package/dist/util/unwrap-function.js +0 -13
  134. /package/dist/{types/cli.js → plugins/rslib/types.js} +0 -0
@@ -1,18 +1,9 @@
1
- import type { z } from 'zod';
2
- import { knipConfigurationSchema } from './schema/configuration.js';
3
- import type { Configuration, IgnorePatterns, WorkspaceConfiguration } from './types/config.js';
1
+ import type { Configuration, IgnorePatterns, RawConfiguration, WorkspaceConfiguration } from './types/config.js';
4
2
  import type { ConfigurationHints } from './types/issues.js';
5
- import type { PackageJson, WorkspacePackage } from './types/package-json.js';
3
+ import type { WorkspacePackage } from './types/package-json.js';
4
+ import type { MainOptions } from './util/create-options.js';
6
5
  import { type WorkspaceGraph } from './util/create-workspace-graph.js';
7
- import { type CLIArguments } from './util/get-included-issue-types.js';
8
6
  export declare const isDefaultPattern: (type: "entry" | "project", id: string) => boolean;
9
- type ConfigurationManagerOptions = {
10
- cwd: string;
11
- isProduction: boolean;
12
- isStrict: boolean;
13
- isIncludeEntryExports: boolean;
14
- workspace: string | undefined;
15
- };
16
7
  export type Workspace = {
17
8
  name: string;
18
9
  pkgName: string;
@@ -27,13 +18,13 @@ export type Workspace = {
27
18
  };
28
19
  export declare class ConfigurationChief {
29
20
  cwd: string;
21
+ rawConfig?: RawConfiguration;
30
22
  isProduction: boolean;
31
23
  isStrict: boolean;
32
24
  isIncludeEntryExports: boolean;
33
25
  config: Configuration;
34
26
  workspace: string | undefined;
35
- manifestPath?: string;
36
- manifest?: PackageJson;
27
+ workspaces: string[];
37
28
  ignoredWorkspacePatterns: string[];
38
29
  workspacePackages: Map<string, WorkspacePackage>;
39
30
  workspacesByPkgName: Map<string, Workspace>;
@@ -44,38 +35,597 @@ export declare class ConfigurationChief {
44
35
  availableWorkspaceDirs: string[];
45
36
  workspaceGraph: WorkspaceGraph;
46
37
  includedWorkspaces: Workspace[];
47
- resolvedConfigFilePath?: string;
48
- rawConfig?: any;
49
- parsedConfig?: z.infer<typeof knipConfigurationSchema>;
50
- constructor({ cwd, isProduction, isStrict, isIncludeEntryExports, workspace }: ConfigurationManagerOptions);
51
- init(): Promise<void>;
38
+ constructor(options: MainOptions);
52
39
  getConfigurationHints(): ConfigurationHints;
53
- private loadResolvedConfigurationFile;
54
- getRules(): import("./types/issues.js").Rules;
55
- getFilters(): {
56
- dir: string;
57
- } | {
58
- dir?: undefined;
59
- };
60
40
  private normalize;
61
- private setWorkspaces;
41
+ getWorkspaces(): Promise<Workspace[]>;
62
42
  private getListedWorkspaces;
43
+ private getIgnoredWorkspaces;
63
44
  private getIgnoredWorkspacePatterns;
64
45
  private getConfiguredWorkspaceKeys;
65
46
  private getAdditionalWorkspaceNames;
66
47
  private getAvailableWorkspaceNames;
67
48
  private getIncludedWorkspaces;
68
- getManifestForWorkspace(name: string): PackageJson | undefined;
69
- getWorkspaces(): Workspace[];
49
+ getManifestForWorkspace(name: string): import("./types/package-json.js").PackageJson | undefined;
70
50
  private getDescendentWorkspaces;
71
51
  getIgnoredWorkspacesFor(name: string): string[];
72
52
  getNegatedWorkspacePatterns(name: string): string[];
73
53
  private getConfigKeyForWorkspace;
74
- getWorkspaceConfig(workspaceName: string): any;
54
+ getWorkspaceConfig(workspaceName: string): {
55
+ node?: string | boolean | string[] | {
56
+ config?: string | string[] | undefined;
57
+ entry?: string | string[] | undefined;
58
+ project?: string | string[] | undefined;
59
+ } | undefined;
60
+ entry?: string | string[] | undefined;
61
+ project?: string | string[] | undefined;
62
+ angular?: string | boolean | string[] | {
63
+ config?: string | string[] | undefined;
64
+ entry?: string | string[] | undefined;
65
+ project?: string | string[] | undefined;
66
+ } | undefined;
67
+ astro?: string | boolean | string[] | {
68
+ config?: string | string[] | undefined;
69
+ entry?: string | string[] | undefined;
70
+ project?: string | string[] | undefined;
71
+ } | undefined;
72
+ ava?: string | boolean | string[] | {
73
+ config?: string | string[] | undefined;
74
+ entry?: string | string[] | undefined;
75
+ project?: string | string[] | undefined;
76
+ } | undefined;
77
+ babel?: string | boolean | string[] | {
78
+ config?: string | string[] | undefined;
79
+ entry?: string | string[] | undefined;
80
+ project?: string | string[] | undefined;
81
+ } | undefined;
82
+ biome?: string | boolean | string[] | {
83
+ config?: string | string[] | undefined;
84
+ entry?: string | string[] | undefined;
85
+ project?: string | string[] | undefined;
86
+ } | undefined;
87
+ bun?: string | boolean | string[] | {
88
+ config?: string | string[] | undefined;
89
+ entry?: string | string[] | undefined;
90
+ project?: string | string[] | undefined;
91
+ } | undefined;
92
+ c8?: string | boolean | string[] | {
93
+ config?: string | string[] | undefined;
94
+ entry?: string | string[] | undefined;
95
+ project?: string | string[] | undefined;
96
+ } | undefined;
97
+ capacitor?: string | boolean | string[] | {
98
+ config?: string | string[] | undefined;
99
+ entry?: string | string[] | undefined;
100
+ project?: string | string[] | undefined;
101
+ } | undefined;
102
+ changelogen?: string | boolean | string[] | {
103
+ config?: string | string[] | undefined;
104
+ entry?: string | string[] | undefined;
105
+ project?: string | string[] | undefined;
106
+ } | undefined;
107
+ changelogithub?: string | boolean | string[] | {
108
+ config?: string | string[] | undefined;
109
+ entry?: string | string[] | undefined;
110
+ project?: string | string[] | undefined;
111
+ } | undefined;
112
+ changesets?: string | boolean | string[] | {
113
+ config?: string | string[] | undefined;
114
+ entry?: string | string[] | undefined;
115
+ project?: string | string[] | undefined;
116
+ } | undefined;
117
+ commitizen?: string | boolean | string[] | {
118
+ config?: string | string[] | undefined;
119
+ entry?: string | string[] | undefined;
120
+ project?: string | string[] | undefined;
121
+ } | undefined;
122
+ commitlint?: string | boolean | string[] | {
123
+ config?: string | string[] | undefined;
124
+ entry?: string | string[] | undefined;
125
+ project?: string | string[] | undefined;
126
+ } | undefined;
127
+ convex?: string | boolean | string[] | {
128
+ config?: string | string[] | undefined;
129
+ entry?: string | string[] | undefined;
130
+ project?: string | string[] | undefined;
131
+ } | undefined;
132
+ 'create-typescript-app'?: string | boolean | string[] | {
133
+ config?: string | string[] | undefined;
134
+ entry?: string | string[] | undefined;
135
+ project?: string | string[] | undefined;
136
+ } | undefined;
137
+ cspell?: string | boolean | string[] | {
138
+ config?: string | string[] | undefined;
139
+ entry?: string | string[] | undefined;
140
+ project?: string | string[] | undefined;
141
+ } | undefined;
142
+ cucumber?: string | boolean | string[] | {
143
+ config?: string | string[] | undefined;
144
+ entry?: string | string[] | undefined;
145
+ project?: string | string[] | undefined;
146
+ } | undefined;
147
+ cypress?: string | boolean | string[] | {
148
+ config?: string | string[] | undefined;
149
+ entry?: string | string[] | undefined;
150
+ project?: string | string[] | undefined;
151
+ } | undefined;
152
+ 'dependency-cruiser'?: string | boolean | string[] | {
153
+ config?: string | string[] | undefined;
154
+ entry?: string | string[] | undefined;
155
+ project?: string | string[] | undefined;
156
+ } | undefined;
157
+ docusaurus?: string | boolean | string[] | {
158
+ config?: string | string[] | undefined;
159
+ entry?: string | string[] | undefined;
160
+ project?: string | string[] | undefined;
161
+ } | undefined;
162
+ dotenv?: string | boolean | string[] | {
163
+ config?: string | string[] | undefined;
164
+ entry?: string | string[] | undefined;
165
+ project?: string | string[] | undefined;
166
+ } | undefined;
167
+ drizzle?: string | boolean | string[] | {
168
+ config?: string | string[] | undefined;
169
+ entry?: string | string[] | undefined;
170
+ project?: string | string[] | undefined;
171
+ } | undefined;
172
+ eleventy?: string | boolean | string[] | {
173
+ config?: string | string[] | undefined;
174
+ entry?: string | string[] | undefined;
175
+ project?: string | string[] | undefined;
176
+ } | undefined;
177
+ eslint?: string | boolean | string[] | {
178
+ config?: string | string[] | undefined;
179
+ entry?: string | string[] | undefined;
180
+ project?: string | string[] | undefined;
181
+ } | undefined;
182
+ expo?: string | boolean | string[] | {
183
+ config?: string | string[] | undefined;
184
+ entry?: string | string[] | undefined;
185
+ project?: string | string[] | undefined;
186
+ } | undefined;
187
+ gatsby?: string | boolean | string[] | {
188
+ config?: string | string[] | undefined;
189
+ entry?: string | string[] | undefined;
190
+ project?: string | string[] | undefined;
191
+ } | undefined;
192
+ 'github-action'?: string | boolean | string[] | {
193
+ config?: string | string[] | undefined;
194
+ entry?: string | string[] | undefined;
195
+ project?: string | string[] | undefined;
196
+ } | undefined;
197
+ 'github-actions'?: string | boolean | string[] | {
198
+ config?: string | string[] | undefined;
199
+ entry?: string | string[] | undefined;
200
+ project?: string | string[] | undefined;
201
+ } | undefined;
202
+ glob?: string | boolean | string[] | {
203
+ config?: string | string[] | undefined;
204
+ entry?: string | string[] | undefined;
205
+ project?: string | string[] | undefined;
206
+ } | undefined;
207
+ 'graphql-codegen'?: string | boolean | string[] | {
208
+ config?: string | string[] | undefined;
209
+ entry?: string | string[] | undefined;
210
+ project?: string | string[] | undefined;
211
+ } | undefined;
212
+ hardhat?: string | boolean | string[] | {
213
+ config?: string | string[] | undefined;
214
+ entry?: string | string[] | undefined;
215
+ project?: string | string[] | undefined;
216
+ } | undefined;
217
+ husky?: string | boolean | string[] | {
218
+ config?: string | string[] | undefined;
219
+ entry?: string | string[] | undefined;
220
+ project?: string | string[] | undefined;
221
+ } | undefined;
222
+ 'i18next-parser'?: string | boolean | string[] | {
223
+ config?: string | string[] | undefined;
224
+ entry?: string | string[] | undefined;
225
+ project?: string | string[] | undefined;
226
+ } | undefined;
227
+ jest?: string | boolean | string[] | {
228
+ config?: string | string[] | undefined;
229
+ entry?: string | string[] | undefined;
230
+ project?: string | string[] | undefined;
231
+ } | undefined;
232
+ karma?: string | boolean | string[] | {
233
+ config?: string | string[] | undefined;
234
+ entry?: string | string[] | undefined;
235
+ project?: string | string[] | undefined;
236
+ } | undefined;
237
+ ladle?: string | boolean | string[] | {
238
+ config?: string | string[] | undefined;
239
+ entry?: string | string[] | undefined;
240
+ project?: string | string[] | undefined;
241
+ } | undefined;
242
+ lefthook?: string | boolean | string[] | {
243
+ config?: string | string[] | undefined;
244
+ entry?: string | string[] | undefined;
245
+ project?: string | string[] | undefined;
246
+ } | undefined;
247
+ 'lint-staged'?: string | boolean | string[] | {
248
+ config?: string | string[] | undefined;
249
+ entry?: string | string[] | undefined;
250
+ project?: string | string[] | undefined;
251
+ } | undefined;
252
+ linthtml?: string | boolean | string[] | {
253
+ config?: string | string[] | undefined;
254
+ entry?: string | string[] | undefined;
255
+ project?: string | string[] | undefined;
256
+ } | undefined;
257
+ 'lockfile-lint'?: string | boolean | string[] | {
258
+ config?: string | string[] | undefined;
259
+ entry?: string | string[] | undefined;
260
+ project?: string | string[] | undefined;
261
+ } | undefined;
262
+ 'lost-pixel'?: string | boolean | string[] | {
263
+ config?: string | string[] | undefined;
264
+ entry?: string | string[] | undefined;
265
+ project?: string | string[] | undefined;
266
+ } | undefined;
267
+ markdownlint?: string | boolean | string[] | {
268
+ config?: string | string[] | undefined;
269
+ entry?: string | string[] | undefined;
270
+ project?: string | string[] | undefined;
271
+ } | undefined;
272
+ metro?: string | boolean | string[] | {
273
+ config?: string | string[] | undefined;
274
+ entry?: string | string[] | undefined;
275
+ project?: string | string[] | undefined;
276
+ } | undefined;
277
+ mocha?: string | boolean | string[] | {
278
+ config?: string | string[] | undefined;
279
+ entry?: string | string[] | undefined;
280
+ project?: string | string[] | undefined;
281
+ } | undefined;
282
+ moonrepo?: string | boolean | string[] | {
283
+ config?: string | string[] | undefined;
284
+ entry?: string | string[] | undefined;
285
+ project?: string | string[] | undefined;
286
+ } | undefined;
287
+ msw?: string | boolean | string[] | {
288
+ config?: string | string[] | undefined;
289
+ entry?: string | string[] | undefined;
290
+ project?: string | string[] | undefined;
291
+ } | undefined;
292
+ 'nano-staged'?: string | boolean | string[] | {
293
+ config?: string | string[] | undefined;
294
+ entry?: string | string[] | undefined;
295
+ project?: string | string[] | undefined;
296
+ } | undefined;
297
+ nest?: string | boolean | string[] | {
298
+ config?: string | string[] | undefined;
299
+ entry?: string | string[] | undefined;
300
+ project?: string | string[] | undefined;
301
+ } | undefined;
302
+ netlify?: string | boolean | string[] | {
303
+ config?: string | string[] | undefined;
304
+ entry?: string | string[] | undefined;
305
+ project?: string | string[] | undefined;
306
+ } | undefined;
307
+ next?: string | boolean | string[] | {
308
+ config?: string | string[] | undefined;
309
+ entry?: string | string[] | undefined;
310
+ project?: string | string[] | undefined;
311
+ } | undefined;
312
+ 'node-modules-inspector'?: string | boolean | string[] | {
313
+ config?: string | string[] | undefined;
314
+ entry?: string | string[] | undefined;
315
+ project?: string | string[] | undefined;
316
+ } | undefined;
317
+ nodemon?: string | boolean | string[] | {
318
+ config?: string | string[] | undefined;
319
+ entry?: string | string[] | undefined;
320
+ project?: string | string[] | undefined;
321
+ } | undefined;
322
+ 'npm-package-json-lint'?: string | boolean | string[] | {
323
+ config?: string | string[] | undefined;
324
+ entry?: string | string[] | undefined;
325
+ project?: string | string[] | undefined;
326
+ } | undefined;
327
+ nuxt?: string | boolean | string[] | {
328
+ config?: string | string[] | undefined;
329
+ entry?: string | string[] | undefined;
330
+ project?: string | string[] | undefined;
331
+ } | undefined;
332
+ nx?: string | boolean | string[] | {
333
+ config?: string | string[] | undefined;
334
+ entry?: string | string[] | undefined;
335
+ project?: string | string[] | undefined;
336
+ } | undefined;
337
+ nyc?: string | boolean | string[] | {
338
+ config?: string | string[] | undefined;
339
+ entry?: string | string[] | undefined;
340
+ project?: string | string[] | undefined;
341
+ } | undefined;
342
+ oclif?: string | boolean | string[] | {
343
+ config?: string | string[] | undefined;
344
+ entry?: string | string[] | undefined;
345
+ project?: string | string[] | undefined;
346
+ } | undefined;
347
+ oxlint?: string | boolean | string[] | {
348
+ config?: string | string[] | undefined;
349
+ entry?: string | string[] | undefined;
350
+ project?: string | string[] | undefined;
351
+ } | undefined;
352
+ playwright?: string | boolean | string[] | {
353
+ config?: string | string[] | undefined;
354
+ entry?: string | string[] | undefined;
355
+ project?: string | string[] | undefined;
356
+ } | undefined;
357
+ 'playwright-ct'?: string | boolean | string[] | {
358
+ config?: string | string[] | undefined;
359
+ entry?: string | string[] | undefined;
360
+ project?: string | string[] | undefined;
361
+ } | undefined;
362
+ 'playwright-test'?: string | boolean | string[] | {
363
+ config?: string | string[] | undefined;
364
+ entry?: string | string[] | undefined;
365
+ project?: string | string[] | undefined;
366
+ } | undefined;
367
+ plop?: string | boolean | string[] | {
368
+ config?: string | string[] | undefined;
369
+ entry?: string | string[] | undefined;
370
+ project?: string | string[] | undefined;
371
+ } | undefined;
372
+ pnpm?: string | boolean | string[] | {
373
+ config?: string | string[] | undefined;
374
+ entry?: string | string[] | undefined;
375
+ project?: string | string[] | undefined;
376
+ } | undefined;
377
+ postcss?: string | boolean | string[] | {
378
+ config?: string | string[] | undefined;
379
+ entry?: string | string[] | undefined;
380
+ project?: string | string[] | undefined;
381
+ } | undefined;
382
+ preconstruct?: string | boolean | string[] | {
383
+ config?: string | string[] | undefined;
384
+ entry?: string | string[] | undefined;
385
+ project?: string | string[] | undefined;
386
+ } | undefined;
387
+ prettier?: string | boolean | string[] | {
388
+ config?: string | string[] | undefined;
389
+ entry?: string | string[] | undefined;
390
+ project?: string | string[] | undefined;
391
+ } | undefined;
392
+ prisma?: string | boolean | string[] | {
393
+ config?: string | string[] | undefined;
394
+ entry?: string | string[] | undefined;
395
+ project?: string | string[] | undefined;
396
+ } | undefined;
397
+ 'react-cosmos'?: string | boolean | string[] | {
398
+ config?: string | string[] | undefined;
399
+ entry?: string | string[] | undefined;
400
+ project?: string | string[] | undefined;
401
+ } | undefined;
402
+ 'react-router'?: string | boolean | string[] | {
403
+ config?: string | string[] | undefined;
404
+ entry?: string | string[] | undefined;
405
+ project?: string | string[] | undefined;
406
+ } | undefined;
407
+ relay?: string | boolean | string[] | {
408
+ config?: string | string[] | undefined;
409
+ entry?: string | string[] | undefined;
410
+ project?: string | string[] | undefined;
411
+ } | undefined;
412
+ 'release-it'?: string | boolean | string[] | {
413
+ config?: string | string[] | undefined;
414
+ entry?: string | string[] | undefined;
415
+ project?: string | string[] | undefined;
416
+ } | undefined;
417
+ remark?: string | boolean | string[] | {
418
+ config?: string | string[] | undefined;
419
+ entry?: string | string[] | undefined;
420
+ project?: string | string[] | undefined;
421
+ } | undefined;
422
+ remix?: string | boolean | string[] | {
423
+ config?: string | string[] | undefined;
424
+ entry?: string | string[] | undefined;
425
+ project?: string | string[] | undefined;
426
+ } | undefined;
427
+ rollup?: string | boolean | string[] | {
428
+ config?: string | string[] | undefined;
429
+ entry?: string | string[] | undefined;
430
+ project?: string | string[] | undefined;
431
+ } | undefined;
432
+ rsbuild?: string | boolean | string[] | {
433
+ config?: string | string[] | undefined;
434
+ entry?: string | string[] | undefined;
435
+ project?: string | string[] | undefined;
436
+ } | undefined;
437
+ rslib?: string | boolean | string[] | {
438
+ config?: string | string[] | undefined;
439
+ entry?: string | string[] | undefined;
440
+ project?: string | string[] | undefined;
441
+ } | undefined;
442
+ rspack?: string | boolean | string[] | {
443
+ config?: string | string[] | undefined;
444
+ entry?: string | string[] | undefined;
445
+ project?: string | string[] | undefined;
446
+ } | undefined;
447
+ 'semantic-release'?: string | boolean | string[] | {
448
+ config?: string | string[] | undefined;
449
+ entry?: string | string[] | undefined;
450
+ project?: string | string[] | undefined;
451
+ } | undefined;
452
+ sentry?: string | boolean | string[] | {
453
+ config?: string | string[] | undefined;
454
+ entry?: string | string[] | undefined;
455
+ project?: string | string[] | undefined;
456
+ } | undefined;
457
+ 'simple-git-hooks'?: string | boolean | string[] | {
458
+ config?: string | string[] | undefined;
459
+ entry?: string | string[] | undefined;
460
+ project?: string | string[] | undefined;
461
+ } | undefined;
462
+ 'size-limit'?: string | boolean | string[] | {
463
+ config?: string | string[] | undefined;
464
+ entry?: string | string[] | undefined;
465
+ project?: string | string[] | undefined;
466
+ } | undefined;
467
+ sst?: string | boolean | string[] | {
468
+ config?: string | string[] | undefined;
469
+ entry?: string | string[] | undefined;
470
+ project?: string | string[] | undefined;
471
+ } | undefined;
472
+ starlight?: string | boolean | string[] | {
473
+ config?: string | string[] | undefined;
474
+ entry?: string | string[] | undefined;
475
+ project?: string | string[] | undefined;
476
+ } | undefined;
477
+ storybook?: string | boolean | string[] | {
478
+ config?: string | string[] | undefined;
479
+ entry?: string | string[] | undefined;
480
+ project?: string | string[] | undefined;
481
+ } | undefined;
482
+ stryker?: string | boolean | string[] | {
483
+ config?: string | string[] | undefined;
484
+ entry?: string | string[] | undefined;
485
+ project?: string | string[] | undefined;
486
+ } | undefined;
487
+ stylelint?: string | boolean | string[] | {
488
+ config?: string | string[] | undefined;
489
+ entry?: string | string[] | undefined;
490
+ project?: string | string[] | undefined;
491
+ } | undefined;
492
+ svelte?: string | boolean | string[] | {
493
+ config?: string | string[] | undefined;
494
+ entry?: string | string[] | undefined;
495
+ project?: string | string[] | undefined;
496
+ } | undefined;
497
+ svgo?: string | boolean | string[] | {
498
+ config?: string | string[] | undefined;
499
+ entry?: string | string[] | undefined;
500
+ project?: string | string[] | undefined;
501
+ } | undefined;
502
+ syncpack?: string | boolean | string[] | {
503
+ config?: string | string[] | undefined;
504
+ entry?: string | string[] | undefined;
505
+ project?: string | string[] | undefined;
506
+ } | undefined;
507
+ tailwind?: string | boolean | string[] | {
508
+ config?: string | string[] | undefined;
509
+ entry?: string | string[] | undefined;
510
+ project?: string | string[] | undefined;
511
+ } | undefined;
512
+ travis?: string | boolean | string[] | {
513
+ config?: string | string[] | undefined;
514
+ entry?: string | string[] | undefined;
515
+ project?: string | string[] | undefined;
516
+ } | undefined;
517
+ 'ts-node'?: string | boolean | string[] | {
518
+ config?: string | string[] | undefined;
519
+ entry?: string | string[] | undefined;
520
+ project?: string | string[] | undefined;
521
+ } | undefined;
522
+ tsdown?: string | boolean | string[] | {
523
+ config?: string | string[] | undefined;
524
+ entry?: string | string[] | undefined;
525
+ project?: string | string[] | undefined;
526
+ } | undefined;
527
+ tsup?: string | boolean | string[] | {
528
+ config?: string | string[] | undefined;
529
+ entry?: string | string[] | undefined;
530
+ project?: string | string[] | undefined;
531
+ } | undefined;
532
+ tsx?: string | boolean | string[] | {
533
+ config?: string | string[] | undefined;
534
+ entry?: string | string[] | undefined;
535
+ project?: string | string[] | undefined;
536
+ } | undefined;
537
+ typedoc?: string | boolean | string[] | {
538
+ config?: string | string[] | undefined;
539
+ entry?: string | string[] | undefined;
540
+ project?: string | string[] | undefined;
541
+ } | undefined;
542
+ typescript?: string | boolean | string[] | {
543
+ config?: string | string[] | undefined;
544
+ entry?: string | string[] | undefined;
545
+ project?: string | string[] | undefined;
546
+ } | undefined;
547
+ unbuild?: string | boolean | string[] | {
548
+ config?: string | string[] | undefined;
549
+ entry?: string | string[] | undefined;
550
+ project?: string | string[] | undefined;
551
+ } | undefined;
552
+ unocss?: string | boolean | string[] | {
553
+ config?: string | string[] | undefined;
554
+ entry?: string | string[] | undefined;
555
+ project?: string | string[] | undefined;
556
+ } | undefined;
557
+ 'vercel-og'?: string | boolean | string[] | {
558
+ config?: string | string[] | undefined;
559
+ entry?: string | string[] | undefined;
560
+ project?: string | string[] | undefined;
561
+ } | undefined;
562
+ vike?: string | boolean | string[] | {
563
+ config?: string | string[] | undefined;
564
+ entry?: string | string[] | undefined;
565
+ project?: string | string[] | undefined;
566
+ } | undefined;
567
+ vite?: string | boolean | string[] | {
568
+ config?: string | string[] | undefined;
569
+ entry?: string | string[] | undefined;
570
+ project?: string | string[] | undefined;
571
+ } | undefined;
572
+ vitest?: string | boolean | string[] | {
573
+ config?: string | string[] | undefined;
574
+ entry?: string | string[] | undefined;
575
+ project?: string | string[] | undefined;
576
+ } | undefined;
577
+ vue?: string | boolean | string[] | {
578
+ config?: string | string[] | undefined;
579
+ entry?: string | string[] | undefined;
580
+ project?: string | string[] | undefined;
581
+ } | undefined;
582
+ 'webdriver-io'?: string | boolean | string[] | {
583
+ config?: string | string[] | undefined;
584
+ entry?: string | string[] | undefined;
585
+ project?: string | string[] | undefined;
586
+ } | undefined;
587
+ webpack?: string | boolean | string[] | {
588
+ config?: string | string[] | undefined;
589
+ entry?: string | string[] | undefined;
590
+ project?: string | string[] | undefined;
591
+ } | undefined;
592
+ wireit?: string | boolean | string[] | {
593
+ config?: string | string[] | undefined;
594
+ entry?: string | string[] | undefined;
595
+ project?: string | string[] | undefined;
596
+ } | undefined;
597
+ wrangler?: string | boolean | string[] | {
598
+ config?: string | string[] | undefined;
599
+ entry?: string | string[] | undefined;
600
+ project?: string | string[] | undefined;
601
+ } | undefined;
602
+ xo?: string | boolean | string[] | {
603
+ config?: string | string[] | undefined;
604
+ entry?: string | string[] | undefined;
605
+ project?: string | string[] | undefined;
606
+ } | undefined;
607
+ yarn?: string | boolean | string[] | {
608
+ config?: string | string[] | undefined;
609
+ entry?: string | string[] | undefined;
610
+ project?: string | string[] | undefined;
611
+ } | undefined;
612
+ yorkie?: string | boolean | string[] | {
613
+ config?: string | string[] | undefined;
614
+ entry?: string | string[] | undefined;
615
+ project?: string | string[] | undefined;
616
+ } | undefined;
617
+ paths?: Record<string, string[]> | undefined;
618
+ ignore?: string | string[] | undefined;
619
+ ignoreBinaries?: (string | RegExp)[] | undefined;
620
+ ignoreDependencies?: (string | RegExp)[] | undefined;
621
+ ignoreMembers?: (string | RegExp)[] | undefined;
622
+ ignoreUnresolved?: (string | RegExp)[] | undefined;
623
+ includeEntryExports?: boolean | undefined;
624
+ };
75
625
  getIgnores(workspaceName: string): {
76
- ignoreBinaries: any[];
77
- ignoreDependencies: any[];
78
- ignoreUnresolved: any[];
626
+ ignoreBinaries: (string | RegExp)[];
627
+ ignoreDependencies: (string | RegExp)[];
628
+ ignoreUnresolved: (string | RegExp)[];
79
629
  };
80
630
  getConfigForWorkspace(workspaceName: string, extensions?: string[]): {
81
631
  node?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
@@ -129,6 +679,7 @@ export declare class ConfigurationChief {
129
679
  nest?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
130
680
  netlify?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
131
681
  next?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
682
+ "node-modules-inspector"?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
132
683
  nodemon?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
133
684
  "npm-package-json-lint"?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
134
685
  nuxt?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
@@ -140,6 +691,7 @@ export declare class ConfigurationChief {
140
691
  "playwright-ct"?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
141
692
  "playwright-test"?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
142
693
  plop?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
694
+ pnpm?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
143
695
  postcss?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
144
696
  preconstruct?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
145
697
  prettier?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
@@ -152,6 +704,7 @@ export declare class ConfigurationChief {
152
704
  remix?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
153
705
  rollup?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
154
706
  rsbuild?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
707
+ rslib?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
155
708
  rspack?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
156
709
  "semantic-release"?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
157
710
  sentry?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
@@ -189,13 +742,10 @@ export declare class ConfigurationChief {
189
742
  yorkie?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
190
743
  entry: string[];
191
744
  project: string[];
192
- paths: any;
745
+ paths: Record<string, string[]>;
193
746
  ignore: string[];
194
- isIncludeEntryExports: any;
747
+ isIncludeEntryExports: boolean;
195
748
  };
196
- getIncludedIssueTypes(cliArgs: CLIArguments): import("./types/issues.js").Report;
197
749
  findWorkspaceByFilePath(filePath: string): Workspace | undefined;
198
750
  getUnusedIgnoredWorkspaces(): string[];
199
- getTags(): import("./types/cli.js").Tags;
200
751
  }
201
- export {};