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