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
@@ -696,6 +696,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
696
696
  entry?: string | string[] | undefined;
697
697
  project?: string | string[] | undefined;
698
698
  }>]>>;
699
+ 'node-modules-inspector': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
700
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
701
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
702
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
703
+ }, "strip", z.ZodTypeAny, {
704
+ config?: string | string[] | undefined;
705
+ entry?: string | string[] | undefined;
706
+ project?: string | string[] | undefined;
707
+ }, {
708
+ config?: string | string[] | undefined;
709
+ entry?: string | string[] | undefined;
710
+ project?: string | string[] | undefined;
711
+ }>]>>;
699
712
  nodemon: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
700
713
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
701
714
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -839,6 +852,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
839
852
  entry?: string | string[] | undefined;
840
853
  project?: string | string[] | undefined;
841
854
  }>]>>;
855
+ pnpm: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
856
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
857
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
858
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
859
+ }, "strip", z.ZodTypeAny, {
860
+ config?: string | string[] | undefined;
861
+ entry?: string | string[] | undefined;
862
+ project?: string | string[] | undefined;
863
+ }, {
864
+ config?: string | string[] | undefined;
865
+ entry?: string | string[] | undefined;
866
+ project?: string | string[] | undefined;
867
+ }>]>>;
842
868
  postcss: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
843
869
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
844
870
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -995,6 +1021,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
995
1021
  entry?: string | string[] | undefined;
996
1022
  project?: string | string[] | undefined;
997
1023
  }>]>>;
1024
+ rslib: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
1025
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1026
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1027
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1028
+ }, "strip", z.ZodTypeAny, {
1029
+ config?: string | string[] | undefined;
1030
+ entry?: string | string[] | undefined;
1031
+ project?: string | string[] | undefined;
1032
+ }, {
1033
+ config?: string | string[] | undefined;
1034
+ entry?: string | string[] | undefined;
1035
+ project?: string | string[] | undefined;
1036
+ }>]>>;
998
1037
  rspack: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
999
1038
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1000
1039
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -1708,6 +1747,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
1708
1747
  entry?: string | string[] | undefined;
1709
1748
  project?: string | string[] | undefined;
1710
1749
  } | undefined;
1750
+ 'node-modules-inspector'?: string | boolean | string[] | {
1751
+ config?: string | string[] | undefined;
1752
+ entry?: string | string[] | undefined;
1753
+ project?: string | string[] | undefined;
1754
+ } | undefined;
1711
1755
  nodemon?: string | boolean | string[] | {
1712
1756
  config?: string | string[] | undefined;
1713
1757
  entry?: string | string[] | undefined;
@@ -1763,6 +1807,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
1763
1807
  entry?: string | string[] | undefined;
1764
1808
  project?: string | string[] | undefined;
1765
1809
  } | undefined;
1810
+ pnpm?: string | boolean | string[] | {
1811
+ config?: string | string[] | undefined;
1812
+ entry?: string | string[] | undefined;
1813
+ project?: string | string[] | undefined;
1814
+ } | undefined;
1766
1815
  postcss?: string | boolean | string[] | {
1767
1816
  config?: string | string[] | undefined;
1768
1817
  entry?: string | string[] | undefined;
@@ -1823,6 +1872,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
1823
1872
  entry?: string | string[] | undefined;
1824
1873
  project?: string | string[] | undefined;
1825
1874
  } | undefined;
1875
+ rslib?: string | boolean | string[] | {
1876
+ config?: string | string[] | undefined;
1877
+ entry?: string | string[] | undefined;
1878
+ project?: string | string[] | undefined;
1879
+ } | undefined;
1826
1880
  rspack?: string | boolean | string[] | {
1827
1881
  config?: string | string[] | undefined;
1828
1882
  entry?: string | string[] | undefined;
@@ -2263,6 +2317,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
2263
2317
  entry?: string | string[] | undefined;
2264
2318
  project?: string | string[] | undefined;
2265
2319
  } | undefined;
2320
+ 'node-modules-inspector'?: string | boolean | string[] | {
2321
+ config?: string | string[] | undefined;
2322
+ entry?: string | string[] | undefined;
2323
+ project?: string | string[] | undefined;
2324
+ } | undefined;
2266
2325
  nodemon?: string | boolean | string[] | {
2267
2326
  config?: string | string[] | undefined;
2268
2327
  entry?: string | string[] | undefined;
@@ -2318,6 +2377,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
2318
2377
  entry?: string | string[] | undefined;
2319
2378
  project?: string | string[] | undefined;
2320
2379
  } | undefined;
2380
+ pnpm?: string | boolean | string[] | {
2381
+ config?: string | string[] | undefined;
2382
+ entry?: string | string[] | undefined;
2383
+ project?: string | string[] | undefined;
2384
+ } | undefined;
2321
2385
  postcss?: string | boolean | string[] | {
2322
2386
  config?: string | string[] | undefined;
2323
2387
  entry?: string | string[] | undefined;
@@ -2378,6 +2442,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
2378
2442
  entry?: string | string[] | undefined;
2379
2443
  project?: string | string[] | undefined;
2380
2444
  } | undefined;
2445
+ rslib?: string | boolean | string[] | {
2446
+ config?: string | string[] | undefined;
2447
+ entry?: string | string[] | undefined;
2448
+ project?: string | string[] | undefined;
2449
+ } | undefined;
2381
2450
  rspack?: string | boolean | string[] | {
2382
2451
  config?: string | string[] | undefined;
2383
2452
  entry?: string | string[] | undefined;
@@ -3225,6 +3294,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
3225
3294
  entry?: string | string[] | undefined;
3226
3295
  project?: string | string[] | undefined;
3227
3296
  }>]>>;
3297
+ 'node-modules-inspector': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3298
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3299
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3300
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3301
+ }, "strip", z.ZodTypeAny, {
3302
+ config?: string | string[] | undefined;
3303
+ entry?: string | string[] | undefined;
3304
+ project?: string | string[] | undefined;
3305
+ }, {
3306
+ config?: string | string[] | undefined;
3307
+ entry?: string | string[] | undefined;
3308
+ project?: string | string[] | undefined;
3309
+ }>]>>;
3228
3310
  nodemon: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3229
3311
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3230
3312
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -3368,6 +3450,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
3368
3450
  entry?: string | string[] | undefined;
3369
3451
  project?: string | string[] | undefined;
3370
3452
  }>]>>;
3453
+ pnpm: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3454
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3455
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3456
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3457
+ }, "strip", z.ZodTypeAny, {
3458
+ config?: string | string[] | undefined;
3459
+ entry?: string | string[] | undefined;
3460
+ project?: string | string[] | undefined;
3461
+ }, {
3462
+ config?: string | string[] | undefined;
3463
+ entry?: string | string[] | undefined;
3464
+ project?: string | string[] | undefined;
3465
+ }>]>>;
3371
3466
  postcss: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3372
3467
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3373
3468
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -3524,6 +3619,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
3524
3619
  entry?: string | string[] | undefined;
3525
3620
  project?: string | string[] | undefined;
3526
3621
  }>]>>;
3622
+ rslib: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3623
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3624
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3625
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3626
+ }, "strip", z.ZodTypeAny, {
3627
+ config?: string | string[] | undefined;
3628
+ entry?: string | string[] | undefined;
3629
+ project?: string | string[] | undefined;
3630
+ }, {
3631
+ config?: string | string[] | undefined;
3632
+ entry?: string | string[] | undefined;
3633
+ project?: string | string[] | undefined;
3634
+ }>]>>;
3527
3635
  rspack: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
3528
3636
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3529
3637
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -3980,9 +4088,6 @@ export declare const knipConfigurationSchema: z.ZodObject<{
3980
4088
  project?: string | string[] | undefined;
3981
4089
  }>]>>;
3982
4090
  }, "strict", z.ZodTypeAny, {
3983
- exclude?: ("dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
3984
- tags?: string[] | undefined;
3985
- include?: ("dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
3986
4091
  node?: string | boolean | string[] | {
3987
4092
  config?: string | string[] | undefined;
3988
4093
  entry?: string | string[] | undefined;
@@ -4240,6 +4345,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
4240
4345
  entry?: string | string[] | undefined;
4241
4346
  project?: string | string[] | undefined;
4242
4347
  } | undefined;
4348
+ 'node-modules-inspector'?: string | boolean | string[] | {
4349
+ config?: string | string[] | undefined;
4350
+ entry?: string | string[] | undefined;
4351
+ project?: string | string[] | undefined;
4352
+ } | undefined;
4243
4353
  nodemon?: string | boolean | string[] | {
4244
4354
  config?: string | string[] | undefined;
4245
4355
  entry?: string | string[] | undefined;
@@ -4295,6 +4405,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
4295
4405
  entry?: string | string[] | undefined;
4296
4406
  project?: string | string[] | undefined;
4297
4407
  } | undefined;
4408
+ pnpm?: string | boolean | string[] | {
4409
+ config?: string | string[] | undefined;
4410
+ entry?: string | string[] | undefined;
4411
+ project?: string | string[] | undefined;
4412
+ } | undefined;
4298
4413
  postcss?: string | boolean | string[] | {
4299
4414
  config?: string | string[] | undefined;
4300
4415
  entry?: string | string[] | undefined;
@@ -4355,6 +4470,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
4355
4470
  entry?: string | string[] | undefined;
4356
4471
  project?: string | string[] | undefined;
4357
4472
  } | undefined;
4473
+ rslib?: string | boolean | string[] | {
4474
+ config?: string | string[] | undefined;
4475
+ entry?: string | string[] | undefined;
4476
+ project?: string | string[] | undefined;
4477
+ } | undefined;
4358
4478
  rspack?: string | boolean | string[] | {
4359
4479
  config?: string | string[] | undefined;
4360
4480
  entry?: string | string[] | undefined;
@@ -4530,8 +4650,9 @@ export declare const knipConfigurationSchema: z.ZodObject<{
4530
4650
  entry?: string | string[] | undefined;
4531
4651
  project?: string | string[] | undefined;
4532
4652
  } | undefined;
4653
+ exclude?: ("files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
4533
4654
  $schema?: string | undefined;
4534
- rules?: Partial<Record<"dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers", "error" | "warn" | "off">> | undefined;
4655
+ rules?: Partial<Record<"files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers", "error" | "warn" | "off">> | undefined;
4535
4656
  paths?: Record<string, string[]> | undefined;
4536
4657
  ignore?: string | string[] | undefined;
4537
4658
  ignoreBinaries?: (string | RegExp)[] | undefined;
@@ -4544,7 +4665,9 @@ export declare const knipConfigurationSchema: z.ZodObject<{
4544
4665
  compilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string) | ((args_0: string, args_1: string, ...args: unknown[]) => Promise<string>)> | undefined;
4545
4666
  syncCompilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string)> | undefined;
4546
4667
  asyncCompilers?: Record<string, (args_0: string, args_1: string, ...args: unknown[]) => Promise<string>> | undefined;
4668
+ tags?: string[] | undefined;
4547
4669
  treatConfigHintsAsErrors?: boolean | undefined;
4670
+ include?: ("files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
4548
4671
  workspaces?: Record<string, {
4549
4672
  node?: string | boolean | string[] | {
4550
4673
  config?: string | string[] | undefined;
@@ -4803,6 +4926,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
4803
4926
  entry?: string | string[] | undefined;
4804
4927
  project?: string | string[] | undefined;
4805
4928
  } | undefined;
4929
+ 'node-modules-inspector'?: string | boolean | string[] | {
4930
+ config?: string | string[] | undefined;
4931
+ entry?: string | string[] | undefined;
4932
+ project?: string | string[] | undefined;
4933
+ } | undefined;
4806
4934
  nodemon?: string | boolean | string[] | {
4807
4935
  config?: string | string[] | undefined;
4808
4936
  entry?: string | string[] | undefined;
@@ -4858,6 +4986,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
4858
4986
  entry?: string | string[] | undefined;
4859
4987
  project?: string | string[] | undefined;
4860
4988
  } | undefined;
4989
+ pnpm?: string | boolean | string[] | {
4990
+ config?: string | string[] | undefined;
4991
+ entry?: string | string[] | undefined;
4992
+ project?: string | string[] | undefined;
4993
+ } | undefined;
4861
4994
  postcss?: string | boolean | string[] | {
4862
4995
  config?: string | string[] | undefined;
4863
4996
  entry?: string | string[] | undefined;
@@ -4918,6 +5051,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
4918
5051
  entry?: string | string[] | undefined;
4919
5052
  project?: string | string[] | undefined;
4920
5053
  } | undefined;
5054
+ rslib?: string | boolean | string[] | {
5055
+ config?: string | string[] | undefined;
5056
+ entry?: string | string[] | undefined;
5057
+ project?: string | string[] | undefined;
5058
+ } | undefined;
4921
5059
  rspack?: string | boolean | string[] | {
4922
5060
  config?: string | string[] | undefined;
4923
5061
  entry?: string | string[] | undefined;
@@ -5102,9 +5240,6 @@ export declare const knipConfigurationSchema: z.ZodObject<{
5102
5240
  includeEntryExports?: boolean | undefined;
5103
5241
  }> | undefined;
5104
5242
  }, {
5105
- exclude?: ("dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
5106
- tags?: string[] | undefined;
5107
- include?: ("dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
5108
5243
  node?: string | boolean | string[] | {
5109
5244
  config?: string | string[] | undefined;
5110
5245
  entry?: string | string[] | undefined;
@@ -5362,6 +5497,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
5362
5497
  entry?: string | string[] | undefined;
5363
5498
  project?: string | string[] | undefined;
5364
5499
  } | undefined;
5500
+ 'node-modules-inspector'?: string | boolean | string[] | {
5501
+ config?: string | string[] | undefined;
5502
+ entry?: string | string[] | undefined;
5503
+ project?: string | string[] | undefined;
5504
+ } | undefined;
5365
5505
  nodemon?: string | boolean | string[] | {
5366
5506
  config?: string | string[] | undefined;
5367
5507
  entry?: string | string[] | undefined;
@@ -5417,6 +5557,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
5417
5557
  entry?: string | string[] | undefined;
5418
5558
  project?: string | string[] | undefined;
5419
5559
  } | undefined;
5560
+ pnpm?: string | boolean | string[] | {
5561
+ config?: string | string[] | undefined;
5562
+ entry?: string | string[] | undefined;
5563
+ project?: string | string[] | undefined;
5564
+ } | undefined;
5420
5565
  postcss?: string | boolean | string[] | {
5421
5566
  config?: string | string[] | undefined;
5422
5567
  entry?: string | string[] | undefined;
@@ -5477,6 +5622,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
5477
5622
  entry?: string | string[] | undefined;
5478
5623
  project?: string | string[] | undefined;
5479
5624
  } | undefined;
5625
+ rslib?: string | boolean | string[] | {
5626
+ config?: string | string[] | undefined;
5627
+ entry?: string | string[] | undefined;
5628
+ project?: string | string[] | undefined;
5629
+ } | undefined;
5480
5630
  rspack?: string | boolean | string[] | {
5481
5631
  config?: string | string[] | undefined;
5482
5632
  entry?: string | string[] | undefined;
@@ -5652,8 +5802,9 @@ export declare const knipConfigurationSchema: z.ZodObject<{
5652
5802
  entry?: string | string[] | undefined;
5653
5803
  project?: string | string[] | undefined;
5654
5804
  } | undefined;
5805
+ exclude?: ("files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
5655
5806
  $schema?: string | undefined;
5656
- rules?: Partial<Record<"dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers", "error" | "warn" | "off">> | undefined;
5807
+ rules?: Partial<Record<"files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers", "error" | "warn" | "off">> | undefined;
5657
5808
  paths?: Record<string, string[]> | undefined;
5658
5809
  ignore?: string | string[] | undefined;
5659
5810
  ignoreBinaries?: (string | RegExp)[] | undefined;
@@ -5666,7 +5817,9 @@ export declare const knipConfigurationSchema: z.ZodObject<{
5666
5817
  compilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string) | ((args_0: string, args_1: string, ...args: unknown[]) => Promise<string>)> | undefined;
5667
5818
  syncCompilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string)> | undefined;
5668
5819
  asyncCompilers?: Record<string, (args_0: string, args_1: string, ...args: unknown[]) => Promise<string>> | undefined;
5820
+ tags?: string[] | undefined;
5669
5821
  treatConfigHintsAsErrors?: boolean | undefined;
5822
+ include?: ("files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
5670
5823
  workspaces?: Record<string, {
5671
5824
  node?: string | boolean | string[] | {
5672
5825
  config?: string | string[] | undefined;
@@ -5925,6 +6078,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
5925
6078
  entry?: string | string[] | undefined;
5926
6079
  project?: string | string[] | undefined;
5927
6080
  } | undefined;
6081
+ 'node-modules-inspector'?: string | boolean | string[] | {
6082
+ config?: string | string[] | undefined;
6083
+ entry?: string | string[] | undefined;
6084
+ project?: string | string[] | undefined;
6085
+ } | undefined;
5928
6086
  nodemon?: string | boolean | string[] | {
5929
6087
  config?: string | string[] | undefined;
5930
6088
  entry?: string | string[] | undefined;
@@ -5980,6 +6138,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
5980
6138
  entry?: string | string[] | undefined;
5981
6139
  project?: string | string[] | undefined;
5982
6140
  } | undefined;
6141
+ pnpm?: string | boolean | string[] | {
6142
+ config?: string | string[] | undefined;
6143
+ entry?: string | string[] | undefined;
6144
+ project?: string | string[] | undefined;
6145
+ } | undefined;
5983
6146
  postcss?: string | boolean | string[] | {
5984
6147
  config?: string | string[] | undefined;
5985
6148
  entry?: string | string[] | undefined;
@@ -6040,6 +6203,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
6040
6203
  entry?: string | string[] | undefined;
6041
6204
  project?: string | string[] | undefined;
6042
6205
  } | undefined;
6206
+ rslib?: string | boolean | string[] | {
6207
+ config?: string | string[] | undefined;
6208
+ entry?: string | string[] | undefined;
6209
+ project?: string | string[] | undefined;
6210
+ } | undefined;
6043
6211
  rspack?: string | boolean | string[] | {
6044
6212
  config?: string | string[] | undefined;
6045
6213
  entry?: string | string[] | undefined;
@@ -677,6 +677,19 @@ export declare const pluginsSchema: z.ZodObject<{
677
677
  entry?: string | string[] | undefined;
678
678
  project?: string | string[] | undefined;
679
679
  }>]>;
680
+ 'node-modules-inspector': z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
681
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
682
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
683
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
684
+ }, "strip", z.ZodTypeAny, {
685
+ config?: string | string[] | undefined;
686
+ entry?: string | string[] | undefined;
687
+ project?: string | string[] | undefined;
688
+ }, {
689
+ config?: string | string[] | undefined;
690
+ entry?: string | string[] | undefined;
691
+ project?: string | string[] | undefined;
692
+ }>]>;
680
693
  nodemon: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
681
694
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
682
695
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -820,6 +833,19 @@ export declare const pluginsSchema: z.ZodObject<{
820
833
  entry?: string | string[] | undefined;
821
834
  project?: string | string[] | undefined;
822
835
  }>]>;
836
+ pnpm: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
837
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
838
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
839
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
840
+ }, "strip", z.ZodTypeAny, {
841
+ config?: string | string[] | undefined;
842
+ entry?: string | string[] | undefined;
843
+ project?: string | string[] | undefined;
844
+ }, {
845
+ config?: string | string[] | undefined;
846
+ entry?: string | string[] | undefined;
847
+ project?: string | string[] | undefined;
848
+ }>]>;
823
849
  postcss: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
824
850
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
825
851
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -976,6 +1002,19 @@ export declare const pluginsSchema: z.ZodObject<{
976
1002
  entry?: string | string[] | undefined;
977
1003
  project?: string | string[] | undefined;
978
1004
  }>]>;
1005
+ rslib: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
1006
+ config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1007
+ entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1008
+ project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ config?: string | string[] | undefined;
1011
+ entry?: string | string[] | undefined;
1012
+ project?: string | string[] | undefined;
1013
+ }, {
1014
+ config?: string | string[] | undefined;
1015
+ entry?: string | string[] | undefined;
1016
+ project?: string | string[] | undefined;
1017
+ }>]>;
979
1018
  rspack: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
980
1019
  config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
981
1020
  entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
@@ -1687,6 +1726,11 @@ export declare const pluginsSchema: z.ZodObject<{
1687
1726
  entry?: string | string[] | undefined;
1688
1727
  project?: string | string[] | undefined;
1689
1728
  };
1729
+ 'node-modules-inspector': string | boolean | string[] | {
1730
+ config?: string | string[] | undefined;
1731
+ entry?: string | string[] | undefined;
1732
+ project?: string | string[] | undefined;
1733
+ };
1690
1734
  nodemon: string | boolean | string[] | {
1691
1735
  config?: string | string[] | undefined;
1692
1736
  entry?: string | string[] | undefined;
@@ -1742,6 +1786,11 @@ export declare const pluginsSchema: z.ZodObject<{
1742
1786
  entry?: string | string[] | undefined;
1743
1787
  project?: string | string[] | undefined;
1744
1788
  };
1789
+ pnpm: string | boolean | string[] | {
1790
+ config?: string | string[] | undefined;
1791
+ entry?: string | string[] | undefined;
1792
+ project?: string | string[] | undefined;
1793
+ };
1745
1794
  postcss: string | boolean | string[] | {
1746
1795
  config?: string | string[] | undefined;
1747
1796
  entry?: string | string[] | undefined;
@@ -1802,6 +1851,11 @@ export declare const pluginsSchema: z.ZodObject<{
1802
1851
  entry?: string | string[] | undefined;
1803
1852
  project?: string | string[] | undefined;
1804
1853
  };
1854
+ rslib: string | boolean | string[] | {
1855
+ config?: string | string[] | undefined;
1856
+ entry?: string | string[] | undefined;
1857
+ project?: string | string[] | undefined;
1858
+ };
1805
1859
  rspack: string | boolean | string[] | {
1806
1860
  config?: string | string[] | undefined;
1807
1861
  entry?: string | string[] | undefined;
@@ -2233,6 +2287,11 @@ export declare const pluginsSchema: z.ZodObject<{
2233
2287
  entry?: string | string[] | undefined;
2234
2288
  project?: string | string[] | undefined;
2235
2289
  };
2290
+ 'node-modules-inspector': string | boolean | string[] | {
2291
+ config?: string | string[] | undefined;
2292
+ entry?: string | string[] | undefined;
2293
+ project?: string | string[] | undefined;
2294
+ };
2236
2295
  nodemon: string | boolean | string[] | {
2237
2296
  config?: string | string[] | undefined;
2238
2297
  entry?: string | string[] | undefined;
@@ -2288,6 +2347,11 @@ export declare const pluginsSchema: z.ZodObject<{
2288
2347
  entry?: string | string[] | undefined;
2289
2348
  project?: string | string[] | undefined;
2290
2349
  };
2350
+ pnpm: string | boolean | string[] | {
2351
+ config?: string | string[] | undefined;
2352
+ entry?: string | string[] | undefined;
2353
+ project?: string | string[] | undefined;
2354
+ };
2291
2355
  postcss: string | boolean | string[] | {
2292
2356
  config?: string | string[] | undefined;
2293
2357
  entry?: string | string[] | undefined;
@@ -2348,6 +2412,11 @@ export declare const pluginsSchema: z.ZodObject<{
2348
2412
  entry?: string | string[] | undefined;
2349
2413
  project?: string | string[] | undefined;
2350
2414
  };
2415
+ rslib: string | boolean | string[] | {
2416
+ config?: string | string[] | undefined;
2417
+ entry?: string | string[] | undefined;
2418
+ project?: string | string[] | undefined;
2419
+ };
2351
2420
  rspack: string | boolean | string[] | {
2352
2421
  config?: string | string[] | undefined;
2353
2422
  entry?: string | string[] | undefined;
@@ -61,6 +61,7 @@ export const pluginsSchema = z.object({
61
61
  netlify: pluginSchema,
62
62
  next: pluginSchema,
63
63
  node: pluginSchema,
64
+ 'node-modules-inspector': pluginSchema,
64
65
  nodemon: pluginSchema,
65
66
  'npm-package-json-lint': pluginSchema,
66
67
  nuxt: pluginSchema,
@@ -72,6 +73,7 @@ export const pluginsSchema = z.object({
72
73
  'playwright-ct': pluginSchema,
73
74
  'playwright-test': pluginSchema,
74
75
  plop: pluginSchema,
76
+ pnpm: pluginSchema,
75
77
  postcss: pluginSchema,
76
78
  preconstruct: pluginSchema,
77
79
  prettier: pluginSchema,
@@ -84,6 +86,7 @@ export const pluginsSchema = z.object({
84
86
  remix: pluginSchema,
85
87
  rollup: pluginSchema,
86
88
  rsbuild: pluginSchema,
89
+ rslib: pluginSchema,
87
90
  rspack: pluginSchema,
88
91
  'semantic-release': pluginSchema,
89
92
  sentry: pluginSchema,
@@ -1,2 +1,2 @@
1
- export type PluginName = 'angular' | 'astro' | 'ava' | 'babel' | 'biome' | 'bun' | 'c8' | 'capacitor' | 'changelogen' | 'changelogithub' | 'changesets' | 'commitizen' | 'commitlint' | 'convex' | 'create-typescript-app' | 'cspell' | 'cucumber' | 'cypress' | 'dependency-cruiser' | 'docusaurus' | 'dotenv' | 'drizzle' | 'eleventy' | 'eslint' | 'expo' | 'gatsby' | 'github-action' | 'github-actions' | 'glob' | 'graphql-codegen' | 'hardhat' | 'husky' | 'i18next-parser' | 'jest' | 'karma' | 'ladle' | 'lefthook' | 'lint-staged' | 'linthtml' | 'lockfile-lint' | 'lost-pixel' | 'markdownlint' | 'metro' | 'mocha' | 'moonrepo' | 'msw' | 'nano-staged' | 'nest' | 'netlify' | 'next' | 'node' | 'nodemon' | 'npm-package-json-lint' | 'nuxt' | 'nx' | 'nyc' | 'oclif' | 'oxlint' | 'playwright' | 'playwright-ct' | 'playwright-test' | 'plop' | 'postcss' | 'preconstruct' | 'prettier' | 'prisma' | 'react-cosmos' | 'react-router' | 'relay' | 'release-it' | 'remark' | 'remix' | 'rollup' | 'rsbuild' | 'rspack' | 'semantic-release' | 'sentry' | 'simple-git-hooks' | 'size-limit' | 'sst' | 'starlight' | 'storybook' | 'stryker' | 'stylelint' | 'svelte' | 'svgo' | 'syncpack' | 'tailwind' | 'travis' | 'ts-node' | 'tsdown' | 'tsup' | 'tsx' | 'typedoc' | 'typescript' | 'unbuild' | 'unocss' | 'vercel-og' | 'vike' | 'vite' | 'vitest' | 'vue' | 'webdriver-io' | 'webpack' | 'wireit' | 'wrangler' | 'xo' | 'yarn' | 'yorkie';
2
- export declare const pluginNames: readonly ["angular", "astro", "ava", "babel", "biome", "bun", "c8", "capacitor", "changelogen", "changelogithub", "changesets", "commitizen", "commitlint", "convex", "create-typescript-app", "cspell", "cucumber", "cypress", "dependency-cruiser", "docusaurus", "dotenv", "drizzle", "eleventy", "eslint", "expo", "gatsby", "github-action", "github-actions", "glob", "graphql-codegen", "hardhat", "husky", "i18next-parser", "jest", "karma", "ladle", "lefthook", "lint-staged", "linthtml", "lockfile-lint", "lost-pixel", "markdownlint", "metro", "mocha", "moonrepo", "msw", "nano-staged", "nest", "netlify", "next", "node", "nodemon", "npm-package-json-lint", "nuxt", "nx", "nyc", "oclif", "oxlint", "playwright", "playwright-ct", "playwright-test", "plop", "postcss", "preconstruct", "prettier", "prisma", "react-cosmos", "react-router", "relay", "release-it", "remark", "remix", "rollup", "rsbuild", "rspack", "semantic-release", "sentry", "simple-git-hooks", "size-limit", "sst", "starlight", "storybook", "stryker", "stylelint", "svelte", "svgo", "syncpack", "tailwind", "travis", "ts-node", "tsdown", "tsup", "tsx", "typedoc", "typescript", "unbuild", "unocss", "vercel-og", "vike", "vite", "vitest", "vue", "webdriver-io", "webpack", "wireit", "wrangler", "xo", "yarn", "yorkie"];
1
+ export type PluginName = 'angular' | 'astro' | 'ava' | 'babel' | 'biome' | 'bun' | 'c8' | 'capacitor' | 'changelogen' | 'changelogithub' | 'changesets' | 'commitizen' | 'commitlint' | 'convex' | 'create-typescript-app' | 'cspell' | 'cucumber' | 'cypress' | 'dependency-cruiser' | 'docusaurus' | 'dotenv' | 'drizzle' | 'eleventy' | 'eslint' | 'expo' | 'gatsby' | 'github-action' | 'github-actions' | 'glob' | 'graphql-codegen' | 'hardhat' | 'husky' | 'i18next-parser' | 'jest' | 'karma' | 'ladle' | 'lefthook' | 'lint-staged' | 'linthtml' | 'lockfile-lint' | 'lost-pixel' | 'markdownlint' | 'metro' | 'mocha' | 'moonrepo' | 'msw' | 'nano-staged' | 'nest' | 'netlify' | 'next' | 'node' | 'node-modules-inspector' | 'nodemon' | 'npm-package-json-lint' | 'nuxt' | 'nx' | 'nyc' | 'oclif' | 'oxlint' | 'playwright' | 'playwright-ct' | 'playwright-test' | 'plop' | 'pnpm' | 'postcss' | 'preconstruct' | 'prettier' | 'prisma' | 'react-cosmos' | 'react-router' | 'relay' | 'release-it' | 'remark' | 'remix' | 'rollup' | 'rsbuild' | 'rslib' | 'rspack' | 'semantic-release' | 'sentry' | 'simple-git-hooks' | 'size-limit' | 'sst' | 'starlight' | 'storybook' | 'stryker' | 'stylelint' | 'svelte' | 'svgo' | 'syncpack' | 'tailwind' | 'travis' | 'ts-node' | 'tsdown' | 'tsup' | 'tsx' | 'typedoc' | 'typescript' | 'unbuild' | 'unocss' | 'vercel-og' | 'vike' | 'vite' | 'vitest' | 'vue' | 'webdriver-io' | 'webpack' | 'wireit' | 'wrangler' | 'xo' | 'yarn' | 'yorkie';
2
+ export declare const pluginNames: readonly ["angular", "astro", "ava", "babel", "biome", "bun", "c8", "capacitor", "changelogen", "changelogithub", "changesets", "commitizen", "commitlint", "convex", "create-typescript-app", "cspell", "cucumber", "cypress", "dependency-cruiser", "docusaurus", "dotenv", "drizzle", "eleventy", "eslint", "expo", "gatsby", "github-action", "github-actions", "glob", "graphql-codegen", "hardhat", "husky", "i18next-parser", "jest", "karma", "ladle", "lefthook", "lint-staged", "linthtml", "lockfile-lint", "lost-pixel", "markdownlint", "metro", "mocha", "moonrepo", "msw", "nano-staged", "nest", "netlify", "next", "node", "node-modules-inspector", "nodemon", "npm-package-json-lint", "nuxt", "nx", "nyc", "oclif", "oxlint", "playwright", "playwright-ct", "playwright-test", "plop", "pnpm", "postcss", "preconstruct", "prettier", "prisma", "react-cosmos", "react-router", "relay", "release-it", "remark", "remix", "rollup", "rsbuild", "rslib", "rspack", "semantic-release", "sentry", "simple-git-hooks", "size-limit", "sst", "starlight", "storybook", "stryker", "stylelint", "svelte", "svgo", "syncpack", "tailwind", "travis", "ts-node", "tsdown", "tsup", "tsx", "typedoc", "typescript", "unbuild", "unocss", "vercel-og", "vike", "vite", "vitest", "vue", "webdriver-io", "webpack", "wireit", "wrangler", "xo", "yarn", "yorkie"];
@@ -50,6 +50,7 @@ export const pluginNames = [
50
50
  'netlify',
51
51
  'next',
52
52
  'node',
53
+ 'node-modules-inspector',
53
54
  'nodemon',
54
55
  'npm-package-json-lint',
55
56
  'nuxt',
@@ -61,6 +62,7 @@ export const pluginNames = [
61
62
  'playwright-ct',
62
63
  'playwright-test',
63
64
  'plop',
65
+ 'pnpm',
64
66
  'postcss',
65
67
  'preconstruct',
66
68
  'prettier',
@@ -73,6 +75,7 @@ export const pluginNames = [
73
75
  'remix',
74
76
  'rollup',
75
77
  'rsbuild',
78
+ 'rslib',
76
79
  'rspack',
77
80
  'semantic-release',
78
81
  'sentry',
@@ -6,8 +6,8 @@ import type { pluginSchema } from '../schema/plugins.js';
6
6
  import type { Input } from '../util/input.js';
7
7
  import type { PluginName } from './PluginNames.js';
8
8
  import type { Args } from './args.js';
9
- import type { Tags } from './cli.js';
10
- import type { IssueType, Rules, SymbolType } from './issues.js';
9
+ import type { SymbolType } from './issues.js';
10
+ import type { Tags } from './options.js';
11
11
  import type { PackageJson } from './package-json.js';
12
12
  export interface GetInputsFromScriptsOptions extends BaseOptions {
13
13
  knownBinsOnly?: boolean;
@@ -24,32 +24,26 @@ export type RawConfiguration = z.infer<typeof knipConfigurationSchema>;
24
24
  export type RawPluginConfiguration = z.infer<typeof pluginSchema>;
25
25
  export type IgnorePatterns = (string | RegExp)[];
26
26
  type IgnorableExport = Exclude<SymbolType, SymbolType.UNKNOWN>;
27
- type IgnoreExportsUsedInFile = boolean | Partial<Record<IgnorableExport, boolean>>;
27
+ export type IgnoreExportsUsedInFile = boolean | Partial<Record<IgnorableExport, boolean>>;
28
28
  export type GetImportsAndExportsOptions = {
29
29
  skipTypeOnly: boolean;
30
- skipExports: boolean;
31
30
  isFixExports: boolean;
32
31
  isFixTypes: boolean;
33
32
  isReportClassMembers: boolean;
34
- ignoreExportsUsedInFile: IgnoreExportsUsedInFile;
35
33
  tags: Tags;
36
34
  };
37
35
  export interface Configuration {
38
- rules: Rules;
39
- include: IssueType[];
40
- exclude: IssueType[];
41
36
  ignore: NormalizedGlob;
42
37
  ignoreBinaries: IgnorePatterns;
43
38
  ignoreDependencies: IgnorePatterns;
44
39
  ignoreExportsUsedInFile: IgnoreExportsUsedInFile;
45
40
  ignoreMembers: IgnorePatterns;
41
+ ignoreUnresolved: IgnorePatterns;
46
42
  ignoreWorkspaces: string[];
47
43
  isIncludeEntryExports: boolean;
48
- isTreatConfigHintsAsErrors: boolean;
49
44
  syncCompilers: SyncCompilers;
50
45
  asyncCompilers: AsyncCompilers;
51
46
  rootPluginConfigs: Partial<PluginsConfiguration>;
52
- tags: string[];
53
47
  }
54
48
  type NormalizedGlob = string[];
55
49
  export type EnsuredPluginConfiguration = {
@@ -0,0 +1,3 @@
1
+ export type Entries<T> = Array<{
2
+ [K in keyof T]: [K, T[K]];
3
+ }[keyof T]>;
@@ -0,0 +1 @@
1
+ export {};