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.
- package/dist/CacheConsultant.d.ts +3 -9
- package/dist/CacheConsultant.js +5 -5
- package/dist/ConfigurationChief.d.ts +597 -38
- package/dist/ConfigurationChief.js +33 -122
- package/dist/ConsoleStreamer.d.ts +2 -3
- package/dist/ConsoleStreamer.js +2 -2
- package/dist/DependencyDeputy.d.ts +2 -6
- package/dist/DependencyDeputy.js +3 -2
- package/dist/IssueCollector.d.ts +4 -12
- package/dist/IssueCollector.js +9 -9
- package/dist/IssueFixer.d.ts +3 -14
- package/dist/IssueFixer.js +14 -22
- package/dist/PrincipalFactory.d.ts +3 -2
- package/dist/PrincipalFactory.js +11 -11
- package/dist/ProjectPrincipal.d.ts +4 -3
- package/dist/ProjectPrincipal.js +8 -8
- package/dist/WorkspaceWorker.d.ts +4 -9
- package/dist/WorkspaceWorker.js +8 -12
- package/dist/binaries/bash-parser.d.ts +1 -0
- package/dist/binaries/bash-parser.js +4 -1
- package/dist/binaries/fallback.js +3 -2
- package/dist/binaries/package-manager/bun.js +1 -0
- package/dist/binaries/package-manager/pnpm.js +6 -1
- package/dist/binaries/plugins.js +3 -1
- package/dist/cli.js +43 -61
- package/dist/compilers/index.d.ts +34 -4
- package/dist/constants.js +2 -0
- package/dist/graph/analyze.d.ts +3 -8
- package/dist/graph/analyze.js +31 -31
- package/dist/graph/build.d.ts +3 -17
- package/dist/graph/build.js +49 -46
- package/dist/index.d.ts +3 -7
- package/dist/index.js +22 -62
- package/dist/plugins/angular/index.js +2 -3
- package/dist/plugins/bumpp/index.d.ts +8 -0
- package/dist/plugins/bumpp/index.js +11 -0
- package/dist/plugins/eslint/index.d.ts +7 -0
- package/dist/plugins/eslint/index.js +12 -0
- package/dist/plugins/glob/index.d.ts +0 -1
- package/dist/plugins/glob/index.js +0 -1
- package/dist/plugins/index.d.ts +24 -7
- package/dist/plugins/index.js +6 -0
- package/dist/plugins/karma/helpers.js +1 -1
- package/dist/plugins/node-modules-inspector/index.d.ts +0 -1
- package/dist/plugins/node-modules-inspector/index.js +0 -1
- package/dist/plugins/nuxt/index.js +10 -3
- package/dist/plugins/nuxt/types.d.ts +3 -2
- package/dist/plugins/oxlint/index.d.ts +0 -1
- package/dist/plugins/oxlint/index.js +0 -1
- package/dist/plugins/playwright/index.d.ts +0 -1
- package/dist/plugins/playwright/index.js +0 -1
- package/dist/plugins/playwright-test/index.d.ts +0 -1
- package/dist/plugins/playwright-test/index.js +0 -1
- package/dist/plugins/pnpm/index.d.ts +8 -0
- package/dist/plugins/pnpm/index.js +12 -0
- package/dist/plugins/prisma/index.d.ts +0 -1
- package/dist/plugins/prisma/index.js +0 -1
- package/dist/plugins/rsbuild/index.js +23 -6
- package/dist/plugins/rsbuild/types.d.ts +3 -0
- package/dist/plugins/rslib/index.js +1 -1
- package/dist/plugins/rstest/index.d.ts +10 -0
- package/dist/plugins/rstest/index.js +29 -0
- package/dist/plugins/rstest/types.d.ts +6 -0
- package/dist/plugins/ts-node/index.d.ts +0 -1
- package/dist/plugins/ts-node/index.js +0 -1
- package/dist/plugins.js +3 -2
- package/dist/reporters/codeclimate.d.ts +1 -1
- package/dist/reporters/codeclimate.js +10 -10
- package/dist/reporters/codeowners.d.ts +1 -1
- package/dist/reporters/codeowners.js +5 -5
- package/dist/reporters/compact.d.ts +1 -1
- package/dist/reporters/compact.js +7 -7
- package/dist/reporters/disclosure.d.ts +1 -1
- package/dist/reporters/disclosure.js +2 -2
- package/dist/reporters/githubActions.d.ts +3 -0
- package/dist/reporters/githubActions.js +94 -0
- package/dist/reporters/index.d.ts +7 -6
- package/dist/reporters/index.js +2 -0
- package/dist/reporters/json.d.ts +1 -1
- package/dist/reporters/json.js +4 -4
- package/dist/reporters/markdown.d.ts +1 -1
- package/dist/reporters/markdown.js +4 -4
- package/dist/reporters/symbols.js +1 -1
- package/dist/reporters/util/configuration-hints.d.ts +14 -2
- package/dist/reporters/util/configuration-hints.js +7 -7
- package/dist/reporters/util/util.d.ts +2 -2
- package/dist/reporters/util/util.js +4 -4
- package/dist/reporters/watch.d.ts +3 -4
- package/dist/reporters/watch.js +5 -5
- package/dist/schema/configuration.d.ts +176 -8
- package/dist/schema/plugins.d.ts +69 -0
- package/dist/schema/plugins.js +3 -0
- package/dist/types/PluginNames.d.ts +2 -2
- package/dist/types/PluginNames.js +3 -0
- package/dist/types/args.d.ts +2 -0
- package/dist/types/config.d.ts +4 -10
- package/dist/types/exports.d.ts +1 -1
- package/dist/types/imports.d.ts +1 -1
- package/dist/types/issues.d.ts +1 -2
- package/dist/types/module-graph.d.ts +5 -4
- package/dist/types/{cli.d.ts → options.d.ts} +2 -2
- package/dist/types/options.js +1 -0
- package/dist/types/package-json.d.ts +1 -0
- package/dist/types/project.d.ts +1 -7
- package/dist/typescript/SourceFile.d.ts +2 -2
- package/dist/typescript/ast-helpers.d.ts +4 -0
- package/dist/typescript/ast-helpers.js +29 -0
- package/dist/typescript/find-internal-references.js +10 -1
- package/dist/typescript/get-imports-and-exports.d.ts +2 -2
- package/dist/typescript/get-imports-and-exports.js +32 -23
- package/dist/typescript/visitors/dynamic-imports/importCall.js +6 -1
- package/dist/util/Performance.js +16 -6
- package/dist/util/cli-arguments.d.ts +3 -3
- package/dist/util/cli-arguments.js +4 -14
- package/dist/util/create-options.d.ts +1238 -0
- package/dist/util/create-options.js +112 -0
- package/dist/util/debug.js +3 -4
- package/dist/util/errors.d.ts +1 -1
- package/dist/util/file-entry-cache.js +3 -3
- package/dist/util/get-included-issue-types.d.ts +9 -13
- package/dist/util/get-included-issue-types.js +10 -16
- package/dist/util/get-referenced-inputs.js +1 -1
- package/dist/util/input.d.ts +1 -1
- package/dist/util/input.js +1 -1
- package/dist/util/is-identifier-referenced.d.ts +1 -1
- package/dist/util/is-identifier-referenced.js +2 -2
- package/dist/util/load-config.d.ts +2 -0
- package/dist/util/load-config.js +24 -0
- package/dist/util/modules.js +18 -7
- package/dist/util/path.d.ts +4 -4
- package/dist/util/path.js +5 -7
- package/dist/util/require.js +1 -2
- package/dist/util/tag.d.ts +1 -1
- package/dist/util/to-source-path.d.ts +1 -1
- package/dist/util/to-source-path.js +5 -5
- package/dist/util/trace.d.ts +6 -6
- package/dist/util/trace.js +18 -22
- package/dist/util/watch.d.ts +2 -5
- package/dist/util/watch.js +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/schema.json +12 -0
- package/dist/util/unwrap-function.d.ts +0 -1
- package/dist/util/unwrap-function.js +0 -13
- /package/dist/{types/cli.js → plugins/rstest/types.js} +0 -0
|
@@ -98,6 +98,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
98
98
|
entry?: string | string[] | undefined;
|
|
99
99
|
project?: string | string[] | undefined;
|
|
100
100
|
}>]>>;
|
|
101
|
+
bumpp: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
102
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
103
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
104
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
config?: string | string[] | undefined;
|
|
107
|
+
entry?: string | string[] | undefined;
|
|
108
|
+
project?: string | string[] | undefined;
|
|
109
|
+
}, {
|
|
110
|
+
config?: string | string[] | undefined;
|
|
111
|
+
entry?: string | string[] | undefined;
|
|
112
|
+
project?: string | string[] | undefined;
|
|
113
|
+
}>]>>;
|
|
101
114
|
bun: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
102
115
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
103
116
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -852,6 +865,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
852
865
|
entry?: string | string[] | undefined;
|
|
853
866
|
project?: string | string[] | undefined;
|
|
854
867
|
}>]>>;
|
|
868
|
+
pnpm: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
869
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
870
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
871
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
872
|
+
}, "strip", z.ZodTypeAny, {
|
|
873
|
+
config?: string | string[] | undefined;
|
|
874
|
+
entry?: string | string[] | undefined;
|
|
875
|
+
project?: string | string[] | undefined;
|
|
876
|
+
}, {
|
|
877
|
+
config?: string | string[] | undefined;
|
|
878
|
+
entry?: string | string[] | undefined;
|
|
879
|
+
project?: string | string[] | undefined;
|
|
880
|
+
}>]>>;
|
|
855
881
|
postcss: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
856
882
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
857
883
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -1034,6 +1060,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
1034
1060
|
entry?: string | string[] | undefined;
|
|
1035
1061
|
project?: string | string[] | undefined;
|
|
1036
1062
|
}>]>>;
|
|
1063
|
+
rstest: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1064
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1065
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1066
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1067
|
+
}, "strip", z.ZodTypeAny, {
|
|
1068
|
+
config?: string | string[] | undefined;
|
|
1069
|
+
entry?: string | string[] | undefined;
|
|
1070
|
+
project?: string | string[] | undefined;
|
|
1071
|
+
}, {
|
|
1072
|
+
config?: string | string[] | undefined;
|
|
1073
|
+
entry?: string | string[] | undefined;
|
|
1074
|
+
project?: string | string[] | undefined;
|
|
1075
|
+
}>]>>;
|
|
1037
1076
|
'semantic-release': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1038
1077
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1039
1078
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -1509,6 +1548,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
1509
1548
|
entry?: string | string[] | undefined;
|
|
1510
1549
|
project?: string | string[] | undefined;
|
|
1511
1550
|
} | undefined;
|
|
1551
|
+
bumpp?: string | boolean | string[] | {
|
|
1552
|
+
config?: string | string[] | undefined;
|
|
1553
|
+
entry?: string | string[] | undefined;
|
|
1554
|
+
project?: string | string[] | undefined;
|
|
1555
|
+
} | undefined;
|
|
1512
1556
|
bun?: string | boolean | string[] | {
|
|
1513
1557
|
config?: string | string[] | undefined;
|
|
1514
1558
|
entry?: string | string[] | undefined;
|
|
@@ -1794,6 +1838,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
1794
1838
|
entry?: string | string[] | undefined;
|
|
1795
1839
|
project?: string | string[] | undefined;
|
|
1796
1840
|
} | undefined;
|
|
1841
|
+
pnpm?: string | boolean | string[] | {
|
|
1842
|
+
config?: string | string[] | undefined;
|
|
1843
|
+
entry?: string | string[] | undefined;
|
|
1844
|
+
project?: string | string[] | undefined;
|
|
1845
|
+
} | undefined;
|
|
1797
1846
|
postcss?: string | boolean | string[] | {
|
|
1798
1847
|
config?: string | string[] | undefined;
|
|
1799
1848
|
entry?: string | string[] | undefined;
|
|
@@ -1864,6 +1913,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
1864
1913
|
entry?: string | string[] | undefined;
|
|
1865
1914
|
project?: string | string[] | undefined;
|
|
1866
1915
|
} | undefined;
|
|
1916
|
+
rstest?: string | boolean | string[] | {
|
|
1917
|
+
config?: string | string[] | undefined;
|
|
1918
|
+
entry?: string | string[] | undefined;
|
|
1919
|
+
project?: string | string[] | undefined;
|
|
1920
|
+
} | undefined;
|
|
1867
1921
|
'semantic-release'?: string | boolean | string[] | {
|
|
1868
1922
|
config?: string | string[] | undefined;
|
|
1869
1923
|
entry?: string | string[] | undefined;
|
|
@@ -2074,6 +2128,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
2074
2128
|
entry?: string | string[] | undefined;
|
|
2075
2129
|
project?: string | string[] | undefined;
|
|
2076
2130
|
} | undefined;
|
|
2131
|
+
bumpp?: string | boolean | string[] | {
|
|
2132
|
+
config?: string | string[] | undefined;
|
|
2133
|
+
entry?: string | string[] | undefined;
|
|
2134
|
+
project?: string | string[] | undefined;
|
|
2135
|
+
} | undefined;
|
|
2077
2136
|
bun?: string | boolean | string[] | {
|
|
2078
2137
|
config?: string | string[] | undefined;
|
|
2079
2138
|
entry?: string | string[] | undefined;
|
|
@@ -2359,6 +2418,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
2359
2418
|
entry?: string | string[] | undefined;
|
|
2360
2419
|
project?: string | string[] | undefined;
|
|
2361
2420
|
} | undefined;
|
|
2421
|
+
pnpm?: string | boolean | string[] | {
|
|
2422
|
+
config?: string | string[] | undefined;
|
|
2423
|
+
entry?: string | string[] | undefined;
|
|
2424
|
+
project?: string | string[] | undefined;
|
|
2425
|
+
} | undefined;
|
|
2362
2426
|
postcss?: string | boolean | string[] | {
|
|
2363
2427
|
config?: string | string[] | undefined;
|
|
2364
2428
|
entry?: string | string[] | undefined;
|
|
@@ -2429,6 +2493,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
2429
2493
|
entry?: string | string[] | undefined;
|
|
2430
2494
|
project?: string | string[] | undefined;
|
|
2431
2495
|
} | undefined;
|
|
2496
|
+
rstest?: string | boolean | string[] | {
|
|
2497
|
+
config?: string | string[] | undefined;
|
|
2498
|
+
entry?: string | string[] | undefined;
|
|
2499
|
+
project?: string | string[] | undefined;
|
|
2500
|
+
} | undefined;
|
|
2432
2501
|
'semantic-release'?: string | boolean | string[] | {
|
|
2433
2502
|
config?: string | string[] | undefined;
|
|
2434
2503
|
entry?: string | string[] | undefined;
|
|
@@ -2673,6 +2742,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
2673
2742
|
entry?: string | string[] | undefined;
|
|
2674
2743
|
project?: string | string[] | undefined;
|
|
2675
2744
|
}>]>>;
|
|
2745
|
+
bumpp: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2746
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2747
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2748
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2749
|
+
}, "strip", z.ZodTypeAny, {
|
|
2750
|
+
config?: string | string[] | undefined;
|
|
2751
|
+
entry?: string | string[] | undefined;
|
|
2752
|
+
project?: string | string[] | undefined;
|
|
2753
|
+
}, {
|
|
2754
|
+
config?: string | string[] | undefined;
|
|
2755
|
+
entry?: string | string[] | undefined;
|
|
2756
|
+
project?: string | string[] | undefined;
|
|
2757
|
+
}>]>>;
|
|
2676
2758
|
bun: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2677
2759
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2678
2760
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -3427,6 +3509,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
3427
3509
|
entry?: string | string[] | undefined;
|
|
3428
3510
|
project?: string | string[] | undefined;
|
|
3429
3511
|
}>]>>;
|
|
3512
|
+
pnpm: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
3513
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3514
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3515
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3516
|
+
}, "strip", z.ZodTypeAny, {
|
|
3517
|
+
config?: string | string[] | undefined;
|
|
3518
|
+
entry?: string | string[] | undefined;
|
|
3519
|
+
project?: string | string[] | undefined;
|
|
3520
|
+
}, {
|
|
3521
|
+
config?: string | string[] | undefined;
|
|
3522
|
+
entry?: string | string[] | undefined;
|
|
3523
|
+
project?: string | string[] | undefined;
|
|
3524
|
+
}>]>>;
|
|
3430
3525
|
postcss: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
3431
3526
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3432
3527
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -3609,6 +3704,19 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
3609
3704
|
entry?: string | string[] | undefined;
|
|
3610
3705
|
project?: string | string[] | undefined;
|
|
3611
3706
|
}>]>>;
|
|
3707
|
+
rstest: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
3708
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3709
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3710
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3711
|
+
}, "strip", z.ZodTypeAny, {
|
|
3712
|
+
config?: string | string[] | undefined;
|
|
3713
|
+
entry?: string | string[] | undefined;
|
|
3714
|
+
project?: string | string[] | undefined;
|
|
3715
|
+
}, {
|
|
3716
|
+
config?: string | string[] | undefined;
|
|
3717
|
+
entry?: string | string[] | undefined;
|
|
3718
|
+
project?: string | string[] | undefined;
|
|
3719
|
+
}>]>>;
|
|
3612
3720
|
'semantic-release': z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
3613
3721
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
3614
3722
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -4052,9 +4160,6 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
4052
4160
|
project?: string | string[] | undefined;
|
|
4053
4161
|
}>]>>;
|
|
4054
4162
|
}, "strict", z.ZodTypeAny, {
|
|
4055
|
-
exclude?: ("dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
|
|
4056
|
-
tags?: string[] | undefined;
|
|
4057
|
-
include?: ("dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
|
|
4058
4163
|
node?: string | boolean | string[] | {
|
|
4059
4164
|
config?: string | string[] | undefined;
|
|
4060
4165
|
entry?: string | string[] | undefined;
|
|
@@ -4087,6 +4192,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
4087
4192
|
entry?: string | string[] | undefined;
|
|
4088
4193
|
project?: string | string[] | undefined;
|
|
4089
4194
|
} | undefined;
|
|
4195
|
+
bumpp?: string | boolean | string[] | {
|
|
4196
|
+
config?: string | string[] | undefined;
|
|
4197
|
+
entry?: string | string[] | undefined;
|
|
4198
|
+
project?: string | string[] | undefined;
|
|
4199
|
+
} | undefined;
|
|
4090
4200
|
bun?: string | boolean | string[] | {
|
|
4091
4201
|
config?: string | string[] | undefined;
|
|
4092
4202
|
entry?: string | string[] | undefined;
|
|
@@ -4372,6 +4482,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
4372
4482
|
entry?: string | string[] | undefined;
|
|
4373
4483
|
project?: string | string[] | undefined;
|
|
4374
4484
|
} | undefined;
|
|
4485
|
+
pnpm?: string | boolean | string[] | {
|
|
4486
|
+
config?: string | string[] | undefined;
|
|
4487
|
+
entry?: string | string[] | undefined;
|
|
4488
|
+
project?: string | string[] | undefined;
|
|
4489
|
+
} | undefined;
|
|
4375
4490
|
postcss?: string | boolean | string[] | {
|
|
4376
4491
|
config?: string | string[] | undefined;
|
|
4377
4492
|
entry?: string | string[] | undefined;
|
|
@@ -4442,6 +4557,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
4442
4557
|
entry?: string | string[] | undefined;
|
|
4443
4558
|
project?: string | string[] | undefined;
|
|
4444
4559
|
} | undefined;
|
|
4560
|
+
rstest?: string | boolean | string[] | {
|
|
4561
|
+
config?: string | string[] | undefined;
|
|
4562
|
+
entry?: string | string[] | undefined;
|
|
4563
|
+
project?: string | string[] | undefined;
|
|
4564
|
+
} | undefined;
|
|
4445
4565
|
'semantic-release'?: string | boolean | string[] | {
|
|
4446
4566
|
config?: string | string[] | undefined;
|
|
4447
4567
|
entry?: string | string[] | undefined;
|
|
@@ -4612,8 +4732,9 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
4612
4732
|
entry?: string | string[] | undefined;
|
|
4613
4733
|
project?: string | string[] | undefined;
|
|
4614
4734
|
} | undefined;
|
|
4735
|
+
exclude?: ("files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
|
|
4615
4736
|
$schema?: string | undefined;
|
|
4616
|
-
rules?: Partial<Record<"
|
|
4737
|
+
rules?: Partial<Record<"files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers", "error" | "warn" | "off">> | undefined;
|
|
4617
4738
|
paths?: Record<string, string[]> | undefined;
|
|
4618
4739
|
ignore?: string | string[] | undefined;
|
|
4619
4740
|
ignoreBinaries?: (string | RegExp)[] | undefined;
|
|
@@ -4626,7 +4747,9 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
4626
4747
|
compilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string) | ((args_0: string, args_1: string, ...args: unknown[]) => Promise<string>)> | undefined;
|
|
4627
4748
|
syncCompilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string)> | undefined;
|
|
4628
4749
|
asyncCompilers?: Record<string, (args_0: string, args_1: string, ...args: unknown[]) => Promise<string>> | undefined;
|
|
4750
|
+
tags?: string[] | undefined;
|
|
4629
4751
|
treatConfigHintsAsErrors?: boolean | undefined;
|
|
4752
|
+
include?: ("files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
|
|
4630
4753
|
workspaces?: Record<string, {
|
|
4631
4754
|
node?: string | boolean | string[] | {
|
|
4632
4755
|
config?: string | string[] | undefined;
|
|
@@ -4660,6 +4783,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
4660
4783
|
entry?: string | string[] | undefined;
|
|
4661
4784
|
project?: string | string[] | undefined;
|
|
4662
4785
|
} | undefined;
|
|
4786
|
+
bumpp?: string | boolean | string[] | {
|
|
4787
|
+
config?: string | string[] | undefined;
|
|
4788
|
+
entry?: string | string[] | undefined;
|
|
4789
|
+
project?: string | string[] | undefined;
|
|
4790
|
+
} | undefined;
|
|
4663
4791
|
bun?: string | boolean | string[] | {
|
|
4664
4792
|
config?: string | string[] | undefined;
|
|
4665
4793
|
entry?: string | string[] | undefined;
|
|
@@ -4945,6 +5073,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
4945
5073
|
entry?: string | string[] | undefined;
|
|
4946
5074
|
project?: string | string[] | undefined;
|
|
4947
5075
|
} | undefined;
|
|
5076
|
+
pnpm?: string | boolean | string[] | {
|
|
5077
|
+
config?: string | string[] | undefined;
|
|
5078
|
+
entry?: string | string[] | undefined;
|
|
5079
|
+
project?: string | string[] | undefined;
|
|
5080
|
+
} | undefined;
|
|
4948
5081
|
postcss?: string | boolean | string[] | {
|
|
4949
5082
|
config?: string | string[] | undefined;
|
|
4950
5083
|
entry?: string | string[] | undefined;
|
|
@@ -5015,6 +5148,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
5015
5148
|
entry?: string | string[] | undefined;
|
|
5016
5149
|
project?: string | string[] | undefined;
|
|
5017
5150
|
} | undefined;
|
|
5151
|
+
rstest?: string | boolean | string[] | {
|
|
5152
|
+
config?: string | string[] | undefined;
|
|
5153
|
+
entry?: string | string[] | undefined;
|
|
5154
|
+
project?: string | string[] | undefined;
|
|
5155
|
+
} | undefined;
|
|
5018
5156
|
'semantic-release'?: string | boolean | string[] | {
|
|
5019
5157
|
config?: string | string[] | undefined;
|
|
5020
5158
|
entry?: string | string[] | undefined;
|
|
@@ -5194,9 +5332,6 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
5194
5332
|
includeEntryExports?: boolean | undefined;
|
|
5195
5333
|
}> | undefined;
|
|
5196
5334
|
}, {
|
|
5197
|
-
exclude?: ("dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
|
|
5198
|
-
tags?: string[] | undefined;
|
|
5199
|
-
include?: ("dependencies" | "exports" | "files" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
|
|
5200
5335
|
node?: string | boolean | string[] | {
|
|
5201
5336
|
config?: string | string[] | undefined;
|
|
5202
5337
|
entry?: string | string[] | undefined;
|
|
@@ -5229,6 +5364,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
5229
5364
|
entry?: string | string[] | undefined;
|
|
5230
5365
|
project?: string | string[] | undefined;
|
|
5231
5366
|
} | undefined;
|
|
5367
|
+
bumpp?: string | boolean | string[] | {
|
|
5368
|
+
config?: string | string[] | undefined;
|
|
5369
|
+
entry?: string | string[] | undefined;
|
|
5370
|
+
project?: string | string[] | undefined;
|
|
5371
|
+
} | undefined;
|
|
5232
5372
|
bun?: string | boolean | string[] | {
|
|
5233
5373
|
config?: string | string[] | undefined;
|
|
5234
5374
|
entry?: string | string[] | undefined;
|
|
@@ -5514,6 +5654,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
5514
5654
|
entry?: string | string[] | undefined;
|
|
5515
5655
|
project?: string | string[] | undefined;
|
|
5516
5656
|
} | undefined;
|
|
5657
|
+
pnpm?: string | boolean | string[] | {
|
|
5658
|
+
config?: string | string[] | undefined;
|
|
5659
|
+
entry?: string | string[] | undefined;
|
|
5660
|
+
project?: string | string[] | undefined;
|
|
5661
|
+
} | undefined;
|
|
5517
5662
|
postcss?: string | boolean | string[] | {
|
|
5518
5663
|
config?: string | string[] | undefined;
|
|
5519
5664
|
entry?: string | string[] | undefined;
|
|
@@ -5584,6 +5729,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
5584
5729
|
entry?: string | string[] | undefined;
|
|
5585
5730
|
project?: string | string[] | undefined;
|
|
5586
5731
|
} | undefined;
|
|
5732
|
+
rstest?: string | boolean | string[] | {
|
|
5733
|
+
config?: string | string[] | undefined;
|
|
5734
|
+
entry?: string | string[] | undefined;
|
|
5735
|
+
project?: string | string[] | undefined;
|
|
5736
|
+
} | undefined;
|
|
5587
5737
|
'semantic-release'?: string | boolean | string[] | {
|
|
5588
5738
|
config?: string | string[] | undefined;
|
|
5589
5739
|
entry?: string | string[] | undefined;
|
|
@@ -5754,8 +5904,9 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
5754
5904
|
entry?: string | string[] | undefined;
|
|
5755
5905
|
project?: string | string[] | undefined;
|
|
5756
5906
|
} | undefined;
|
|
5907
|
+
exclude?: ("files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
|
|
5757
5908
|
$schema?: string | undefined;
|
|
5758
|
-
rules?: Partial<Record<"
|
|
5909
|
+
rules?: Partial<Record<"files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers", "error" | "warn" | "off">> | undefined;
|
|
5759
5910
|
paths?: Record<string, string[]> | undefined;
|
|
5760
5911
|
ignore?: string | string[] | undefined;
|
|
5761
5912
|
ignoreBinaries?: (string | RegExp)[] | undefined;
|
|
@@ -5768,7 +5919,9 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
5768
5919
|
compilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string) | ((args_0: string, args_1: string, ...args: unknown[]) => Promise<string>)> | undefined;
|
|
5769
5920
|
syncCompilers?: Record<string, true | ((args_0: string, args_1: string, ...args: unknown[]) => string)> | undefined;
|
|
5770
5921
|
asyncCompilers?: Record<string, (args_0: string, args_1: string, ...args: unknown[]) => Promise<string>> | undefined;
|
|
5922
|
+
tags?: string[] | undefined;
|
|
5771
5923
|
treatConfigHintsAsErrors?: boolean | undefined;
|
|
5924
|
+
include?: ("files" | "dependencies" | "devDependencies" | "optionalPeerDependencies" | "unlisted" | "binaries" | "unresolved" | "exports" | "types" | "nsExports" | "nsTypes" | "duplicates" | "enumMembers" | "classMembers")[] | undefined;
|
|
5772
5925
|
workspaces?: Record<string, {
|
|
5773
5926
|
node?: string | boolean | string[] | {
|
|
5774
5927
|
config?: string | string[] | undefined;
|
|
@@ -5802,6 +5955,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
5802
5955
|
entry?: string | string[] | undefined;
|
|
5803
5956
|
project?: string | string[] | undefined;
|
|
5804
5957
|
} | undefined;
|
|
5958
|
+
bumpp?: string | boolean | string[] | {
|
|
5959
|
+
config?: string | string[] | undefined;
|
|
5960
|
+
entry?: string | string[] | undefined;
|
|
5961
|
+
project?: string | string[] | undefined;
|
|
5962
|
+
} | undefined;
|
|
5805
5963
|
bun?: string | boolean | string[] | {
|
|
5806
5964
|
config?: string | string[] | undefined;
|
|
5807
5965
|
entry?: string | string[] | undefined;
|
|
@@ -6087,6 +6245,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
6087
6245
|
entry?: string | string[] | undefined;
|
|
6088
6246
|
project?: string | string[] | undefined;
|
|
6089
6247
|
} | undefined;
|
|
6248
|
+
pnpm?: string | boolean | string[] | {
|
|
6249
|
+
config?: string | string[] | undefined;
|
|
6250
|
+
entry?: string | string[] | undefined;
|
|
6251
|
+
project?: string | string[] | undefined;
|
|
6252
|
+
} | undefined;
|
|
6090
6253
|
postcss?: string | boolean | string[] | {
|
|
6091
6254
|
config?: string | string[] | undefined;
|
|
6092
6255
|
entry?: string | string[] | undefined;
|
|
@@ -6157,6 +6320,11 @@ export declare const knipConfigurationSchema: z.ZodObject<{
|
|
|
6157
6320
|
entry?: string | string[] | undefined;
|
|
6158
6321
|
project?: string | string[] | undefined;
|
|
6159
6322
|
} | undefined;
|
|
6323
|
+
rstest?: string | boolean | string[] | {
|
|
6324
|
+
config?: string | string[] | undefined;
|
|
6325
|
+
entry?: string | string[] | undefined;
|
|
6326
|
+
project?: string | string[] | undefined;
|
|
6327
|
+
} | undefined;
|
|
6160
6328
|
'semantic-release'?: string | boolean | string[] | {
|
|
6161
6329
|
config?: string | string[] | undefined;
|
|
6162
6330
|
entry?: string | string[] | undefined;
|
package/dist/schema/plugins.d.ts
CHANGED
|
@@ -79,6 +79,19 @@ export declare const pluginsSchema: z.ZodObject<{
|
|
|
79
79
|
entry?: string | string[] | undefined;
|
|
80
80
|
project?: string | string[] | undefined;
|
|
81
81
|
}>]>;
|
|
82
|
+
bumpp: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
83
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
84
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
85
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
config?: string | string[] | undefined;
|
|
88
|
+
entry?: string | string[] | undefined;
|
|
89
|
+
project?: string | string[] | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
config?: string | string[] | undefined;
|
|
92
|
+
entry?: string | string[] | undefined;
|
|
93
|
+
project?: string | string[] | undefined;
|
|
94
|
+
}>]>;
|
|
82
95
|
bun: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
83
96
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
84
97
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -833,6 +846,19 @@ export declare const pluginsSchema: z.ZodObject<{
|
|
|
833
846
|
entry?: string | string[] | undefined;
|
|
834
847
|
project?: string | string[] | undefined;
|
|
835
848
|
}>]>;
|
|
849
|
+
pnpm: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
850
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
851
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
852
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
853
|
+
}, "strip", z.ZodTypeAny, {
|
|
854
|
+
config?: string | string[] | undefined;
|
|
855
|
+
entry?: string | string[] | undefined;
|
|
856
|
+
project?: string | string[] | undefined;
|
|
857
|
+
}, {
|
|
858
|
+
config?: string | string[] | undefined;
|
|
859
|
+
entry?: string | string[] | undefined;
|
|
860
|
+
project?: string | string[] | undefined;
|
|
861
|
+
}>]>;
|
|
836
862
|
postcss: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
837
863
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
838
864
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -1015,6 +1041,19 @@ export declare const pluginsSchema: z.ZodObject<{
|
|
|
1015
1041
|
entry?: string | string[] | undefined;
|
|
1016
1042
|
project?: string | string[] | undefined;
|
|
1017
1043
|
}>]>;
|
|
1044
|
+
rstest: z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1045
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1046
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1047
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1048
|
+
}, "strip", z.ZodTypeAny, {
|
|
1049
|
+
config?: string | string[] | undefined;
|
|
1050
|
+
entry?: string | string[] | undefined;
|
|
1051
|
+
project?: string | string[] | undefined;
|
|
1052
|
+
}, {
|
|
1053
|
+
config?: string | string[] | undefined;
|
|
1054
|
+
entry?: string | string[] | undefined;
|
|
1055
|
+
project?: string | string[] | undefined;
|
|
1056
|
+
}>]>;
|
|
1018
1057
|
'semantic-release': z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
1019
1058
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
1020
1059
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -1488,6 +1527,11 @@ export declare const pluginsSchema: z.ZodObject<{
|
|
|
1488
1527
|
entry?: string | string[] | undefined;
|
|
1489
1528
|
project?: string | string[] | undefined;
|
|
1490
1529
|
};
|
|
1530
|
+
bumpp: string | boolean | string[] | {
|
|
1531
|
+
config?: string | string[] | undefined;
|
|
1532
|
+
entry?: string | string[] | undefined;
|
|
1533
|
+
project?: string | string[] | undefined;
|
|
1534
|
+
};
|
|
1491
1535
|
bun: string | boolean | string[] | {
|
|
1492
1536
|
config?: string | string[] | undefined;
|
|
1493
1537
|
entry?: string | string[] | undefined;
|
|
@@ -1773,6 +1817,11 @@ export declare const pluginsSchema: z.ZodObject<{
|
|
|
1773
1817
|
entry?: string | string[] | undefined;
|
|
1774
1818
|
project?: string | string[] | undefined;
|
|
1775
1819
|
};
|
|
1820
|
+
pnpm: string | boolean | string[] | {
|
|
1821
|
+
config?: string | string[] | undefined;
|
|
1822
|
+
entry?: string | string[] | undefined;
|
|
1823
|
+
project?: string | string[] | undefined;
|
|
1824
|
+
};
|
|
1776
1825
|
postcss: string | boolean | string[] | {
|
|
1777
1826
|
config?: string | string[] | undefined;
|
|
1778
1827
|
entry?: string | string[] | undefined;
|
|
@@ -1843,6 +1892,11 @@ export declare const pluginsSchema: z.ZodObject<{
|
|
|
1843
1892
|
entry?: string | string[] | undefined;
|
|
1844
1893
|
project?: string | string[] | undefined;
|
|
1845
1894
|
};
|
|
1895
|
+
rstest: string | boolean | string[] | {
|
|
1896
|
+
config?: string | string[] | undefined;
|
|
1897
|
+
entry?: string | string[] | undefined;
|
|
1898
|
+
project?: string | string[] | undefined;
|
|
1899
|
+
};
|
|
1846
1900
|
'semantic-release': string | boolean | string[] | {
|
|
1847
1901
|
config?: string | string[] | undefined;
|
|
1848
1902
|
entry?: string | string[] | undefined;
|
|
@@ -2044,6 +2098,11 @@ export declare const pluginsSchema: z.ZodObject<{
|
|
|
2044
2098
|
entry?: string | string[] | undefined;
|
|
2045
2099
|
project?: string | string[] | undefined;
|
|
2046
2100
|
};
|
|
2101
|
+
bumpp: string | boolean | string[] | {
|
|
2102
|
+
config?: string | string[] | undefined;
|
|
2103
|
+
entry?: string | string[] | undefined;
|
|
2104
|
+
project?: string | string[] | undefined;
|
|
2105
|
+
};
|
|
2047
2106
|
bun: string | boolean | string[] | {
|
|
2048
2107
|
config?: string | string[] | undefined;
|
|
2049
2108
|
entry?: string | string[] | undefined;
|
|
@@ -2329,6 +2388,11 @@ export declare const pluginsSchema: z.ZodObject<{
|
|
|
2329
2388
|
entry?: string | string[] | undefined;
|
|
2330
2389
|
project?: string | string[] | undefined;
|
|
2331
2390
|
};
|
|
2391
|
+
pnpm: string | boolean | string[] | {
|
|
2392
|
+
config?: string | string[] | undefined;
|
|
2393
|
+
entry?: string | string[] | undefined;
|
|
2394
|
+
project?: string | string[] | undefined;
|
|
2395
|
+
};
|
|
2332
2396
|
postcss: string | boolean | string[] | {
|
|
2333
2397
|
config?: string | string[] | undefined;
|
|
2334
2398
|
entry?: string | string[] | undefined;
|
|
@@ -2399,6 +2463,11 @@ export declare const pluginsSchema: z.ZodObject<{
|
|
|
2399
2463
|
entry?: string | string[] | undefined;
|
|
2400
2464
|
project?: string | string[] | undefined;
|
|
2401
2465
|
};
|
|
2466
|
+
rstest: string | boolean | string[] | {
|
|
2467
|
+
config?: string | string[] | undefined;
|
|
2468
|
+
entry?: string | string[] | undefined;
|
|
2469
|
+
project?: string | string[] | undefined;
|
|
2470
|
+
};
|
|
2402
2471
|
'semantic-release': string | boolean | string[] | {
|
|
2403
2472
|
config?: string | string[] | undefined;
|
|
2404
2473
|
entry?: string | string[] | undefined;
|
package/dist/schema/plugins.js
CHANGED
|
@@ -15,6 +15,7 @@ export const pluginsSchema = z.object({
|
|
|
15
15
|
ava: pluginSchema,
|
|
16
16
|
babel: pluginSchema,
|
|
17
17
|
biome: pluginSchema,
|
|
18
|
+
bumpp: pluginSchema,
|
|
18
19
|
bun: pluginSchema,
|
|
19
20
|
c8: pluginSchema,
|
|
20
21
|
capacitor: pluginSchema,
|
|
@@ -73,6 +74,7 @@ export const pluginsSchema = z.object({
|
|
|
73
74
|
'playwright-ct': pluginSchema,
|
|
74
75
|
'playwright-test': pluginSchema,
|
|
75
76
|
plop: pluginSchema,
|
|
77
|
+
pnpm: pluginSchema,
|
|
76
78
|
postcss: pluginSchema,
|
|
77
79
|
preconstruct: pluginSchema,
|
|
78
80
|
prettier: pluginSchema,
|
|
@@ -87,6 +89,7 @@ export const pluginsSchema = z.object({
|
|
|
87
89
|
rsbuild: pluginSchema,
|
|
88
90
|
rslib: pluginSchema,
|
|
89
91
|
rspack: pluginSchema,
|
|
92
|
+
rstest: pluginSchema,
|
|
90
93
|
'semantic-release': pluginSchema,
|
|
91
94
|
sentry: pluginSchema,
|
|
92
95
|
'simple-git-hooks': 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' | 'node-modules-inspector' | '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' | '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", "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"];
|
|
1
|
+
export type PluginName = 'angular' | 'astro' | 'ava' | 'babel' | 'biome' | 'bumpp' | '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' | 'rstest' | '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", "bumpp", "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", "rstest", "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"];
|
|
@@ -4,6 +4,7 @@ export const pluginNames = [
|
|
|
4
4
|
'ava',
|
|
5
5
|
'babel',
|
|
6
6
|
'biome',
|
|
7
|
+
'bumpp',
|
|
7
8
|
'bun',
|
|
8
9
|
'c8',
|
|
9
10
|
'capacitor',
|
|
@@ -62,6 +63,7 @@ export const pluginNames = [
|
|
|
62
63
|
'playwright-ct',
|
|
63
64
|
'playwright-test',
|
|
64
65
|
'plop',
|
|
66
|
+
'pnpm',
|
|
65
67
|
'postcss',
|
|
66
68
|
'preconstruct',
|
|
67
69
|
'prettier',
|
|
@@ -76,6 +78,7 @@ export const pluginNames = [
|
|
|
76
78
|
'rsbuild',
|
|
77
79
|
'rslib',
|
|
78
80
|
'rspack',
|
|
81
|
+
'rstest',
|
|
79
82
|
'semantic-release',
|
|
80
83
|
'sentry',
|
|
81
84
|
'simple-git-hooks',
|
package/dist/types/args.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ParsedArgs } from 'minimist';
|
|
2
|
+
import type { Input } from '../util/input.js';
|
|
2
3
|
export type ConfigArg = boolean | (string | [string, (id: string) => string])[];
|
|
3
4
|
export type Args = {
|
|
4
5
|
binaries?: string[];
|
|
@@ -11,4 +12,5 @@ export type Args = {
|
|
|
11
12
|
config?: ConfigArg;
|
|
12
13
|
args?: (args: string[]) => string[];
|
|
13
14
|
fromArgs?: string[] | ((parsed: ParsedArgs, args: string[]) => string[]);
|
|
15
|
+
resolveInputs?: (parsed: ParsedArgs, args: string[]) => Input[];
|
|
14
16
|
};
|
package/dist/types/config.d.ts
CHANGED
|
@@ -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 {
|
|
10
|
-
import type {
|
|
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 = {
|