knip 5.27.5 → 5.28.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/ConfigurationChief.d.ts +4 -0
- package/dist/ConfigurationValidator.d.ts +224 -0
- package/dist/ConfigurationValidator.js +4 -0
- package/dist/WorkspaceWorker.d.ts +2 -2
- package/dist/compilers/index.d.ts +40 -0
- package/dist/index.js +2 -2
- package/dist/plugins/index.d.ts +4 -0
- package/dist/plugins/index.js +4 -0
- package/dist/plugins/nest/index.d.ts +10 -0
- package/dist/plugins/nest/index.js +16 -0
- package/dist/plugins/nest/types.d.ts +3 -0
- package/dist/plugins/nest/types.js +1 -0
- package/dist/plugins/nuxt/index.d.ts +11 -0
- package/dist/plugins/nuxt/index.js +46 -0
- package/dist/plugins/nuxt/types.d.ts +8 -0
- package/dist/plugins/nuxt/types.js +1 -0
- package/dist/plugins/preconstruct/index.d.ts +10 -0
- package/dist/plugins/preconstruct/index.js +16 -0
- package/dist/plugins/preconstruct/types.d.ts +3 -0
- package/dist/plugins/preconstruct/types.js +1 -0
- package/dist/plugins/vike/index.d.ts +8 -0
- package/dist/plugins/vike/index.js +12 -0
- package/dist/util/modules.d.ts +1 -1
- package/dist/util/modules.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/schema.json +16 -0
|
@@ -100,13 +100,16 @@ export declare class ConfigurationChief {
|
|
|
100
100
|
mocha?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
101
101
|
moonrepo?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
102
102
|
msw?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
103
|
+
nest?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
103
104
|
netlify?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
104
105
|
next?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
106
|
+
nuxt?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
105
107
|
nx?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
106
108
|
nyc?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
107
109
|
oclif?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
108
110
|
playwright?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
109
111
|
postcss?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
112
|
+
preconstruct?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
110
113
|
prettier?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
111
114
|
remark?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
112
115
|
remix?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
@@ -126,6 +129,7 @@ export declare class ConfigurationChief {
|
|
|
126
129
|
unbuild?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
127
130
|
unocss?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
128
131
|
vue?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
132
|
+
vike?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
129
133
|
vite?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
130
134
|
vitest?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
131
135
|
webpack?: (boolean | import("./types/config.js").EnsuredPluginConfiguration) | undefined;
|
|
@@ -405,6 +405,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
405
405
|
entry?: string | string[] | undefined;
|
|
406
406
|
project?: string | string[] | undefined;
|
|
407
407
|
}>]>>;
|
|
408
|
+
nest: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
409
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
410
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
411
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
412
|
+
}, "strip", z.ZodTypeAny, {
|
|
413
|
+
config?: string | string[] | undefined;
|
|
414
|
+
entry?: string | string[] | undefined;
|
|
415
|
+
project?: string | string[] | undefined;
|
|
416
|
+
}, {
|
|
417
|
+
config?: string | string[] | undefined;
|
|
418
|
+
entry?: string | string[] | undefined;
|
|
419
|
+
project?: string | string[] | undefined;
|
|
420
|
+
}>]>>;
|
|
408
421
|
netlify: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
409
422
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
410
423
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -457,6 +470,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
457
470
|
entry?: string | string[] | undefined;
|
|
458
471
|
project?: string | string[] | undefined;
|
|
459
472
|
}>]>>;
|
|
473
|
+
nuxt: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
474
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
475
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
476
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
477
|
+
}, "strip", z.ZodTypeAny, {
|
|
478
|
+
config?: string | string[] | undefined;
|
|
479
|
+
entry?: string | string[] | undefined;
|
|
480
|
+
project?: string | string[] | undefined;
|
|
481
|
+
}, {
|
|
482
|
+
config?: string | string[] | undefined;
|
|
483
|
+
entry?: string | string[] | undefined;
|
|
484
|
+
project?: string | string[] | undefined;
|
|
485
|
+
}>]>>;
|
|
460
486
|
nx: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
461
487
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
462
488
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -535,6 +561,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
535
561
|
entry?: string | string[] | undefined;
|
|
536
562
|
project?: string | string[] | undefined;
|
|
537
563
|
}>]>>;
|
|
564
|
+
preconstruct: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
565
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
566
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
567
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
568
|
+
}, "strip", z.ZodTypeAny, {
|
|
569
|
+
config?: string | string[] | undefined;
|
|
570
|
+
entry?: string | string[] | undefined;
|
|
571
|
+
project?: string | string[] | undefined;
|
|
572
|
+
}, {
|
|
573
|
+
config?: string | string[] | undefined;
|
|
574
|
+
entry?: string | string[] | undefined;
|
|
575
|
+
project?: string | string[] | undefined;
|
|
576
|
+
}>]>>;
|
|
538
577
|
prettier: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
539
578
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
540
579
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -860,6 +899,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
860
899
|
entry?: string | string[] | undefined;
|
|
861
900
|
project?: string | string[] | undefined;
|
|
862
901
|
}>]>>;
|
|
902
|
+
vike: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
903
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
904
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
905
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
906
|
+
}, "strip", z.ZodTypeAny, {
|
|
907
|
+
config?: string | string[] | undefined;
|
|
908
|
+
entry?: string | string[] | undefined;
|
|
909
|
+
project?: string | string[] | undefined;
|
|
910
|
+
}, {
|
|
911
|
+
config?: string | string[] | undefined;
|
|
912
|
+
entry?: string | string[] | undefined;
|
|
913
|
+
project?: string | string[] | undefined;
|
|
914
|
+
}>]>>;
|
|
863
915
|
vite: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
864
916
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
865
917
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -1113,6 +1165,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1113
1165
|
entry?: string | string[] | undefined;
|
|
1114
1166
|
project?: string | string[] | undefined;
|
|
1115
1167
|
} | undefined;
|
|
1168
|
+
nest?: string | boolean | string[] | {
|
|
1169
|
+
config?: string | string[] | undefined;
|
|
1170
|
+
entry?: string | string[] | undefined;
|
|
1171
|
+
project?: string | string[] | undefined;
|
|
1172
|
+
} | undefined;
|
|
1116
1173
|
netlify?: string | boolean | string[] | {
|
|
1117
1174
|
config?: string | string[] | undefined;
|
|
1118
1175
|
entry?: string | string[] | undefined;
|
|
@@ -1133,6 +1190,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1133
1190
|
entry?: string | string[] | undefined;
|
|
1134
1191
|
project?: string | string[] | undefined;
|
|
1135
1192
|
} | undefined;
|
|
1193
|
+
nuxt?: string | boolean | string[] | {
|
|
1194
|
+
config?: string | string[] | undefined;
|
|
1195
|
+
entry?: string | string[] | undefined;
|
|
1196
|
+
project?: string | string[] | undefined;
|
|
1197
|
+
} | undefined;
|
|
1136
1198
|
nx?: string | boolean | string[] | {
|
|
1137
1199
|
config?: string | string[] | undefined;
|
|
1138
1200
|
entry?: string | string[] | undefined;
|
|
@@ -1163,6 +1225,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1163
1225
|
entry?: string | string[] | undefined;
|
|
1164
1226
|
project?: string | string[] | undefined;
|
|
1165
1227
|
} | undefined;
|
|
1228
|
+
preconstruct?: string | boolean | string[] | {
|
|
1229
|
+
config?: string | string[] | undefined;
|
|
1230
|
+
entry?: string | string[] | undefined;
|
|
1231
|
+
project?: string | string[] | undefined;
|
|
1232
|
+
} | undefined;
|
|
1166
1233
|
prettier?: string | boolean | string[] | {
|
|
1167
1234
|
config?: string | string[] | undefined;
|
|
1168
1235
|
entry?: string | string[] | undefined;
|
|
@@ -1288,6 +1355,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1288
1355
|
entry?: string | string[] | undefined;
|
|
1289
1356
|
project?: string | string[] | undefined;
|
|
1290
1357
|
} | undefined;
|
|
1358
|
+
vike?: string | boolean | string[] | {
|
|
1359
|
+
config?: string | string[] | undefined;
|
|
1360
|
+
entry?: string | string[] | undefined;
|
|
1361
|
+
project?: string | string[] | undefined;
|
|
1362
|
+
} | undefined;
|
|
1291
1363
|
vite?: string | boolean | string[] | {
|
|
1292
1364
|
config?: string | string[] | undefined;
|
|
1293
1365
|
entry?: string | string[] | undefined;
|
|
@@ -1477,6 +1549,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1477
1549
|
entry?: string | string[] | undefined;
|
|
1478
1550
|
project?: string | string[] | undefined;
|
|
1479
1551
|
} | undefined;
|
|
1552
|
+
nest?: string | boolean | string[] | {
|
|
1553
|
+
config?: string | string[] | undefined;
|
|
1554
|
+
entry?: string | string[] | undefined;
|
|
1555
|
+
project?: string | string[] | undefined;
|
|
1556
|
+
} | undefined;
|
|
1480
1557
|
netlify?: string | boolean | string[] | {
|
|
1481
1558
|
config?: string | string[] | undefined;
|
|
1482
1559
|
entry?: string | string[] | undefined;
|
|
@@ -1497,6 +1574,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1497
1574
|
entry?: string | string[] | undefined;
|
|
1498
1575
|
project?: string | string[] | undefined;
|
|
1499
1576
|
} | undefined;
|
|
1577
|
+
nuxt?: string | boolean | string[] | {
|
|
1578
|
+
config?: string | string[] | undefined;
|
|
1579
|
+
entry?: string | string[] | undefined;
|
|
1580
|
+
project?: string | string[] | undefined;
|
|
1581
|
+
} | undefined;
|
|
1500
1582
|
nx?: string | boolean | string[] | {
|
|
1501
1583
|
config?: string | string[] | undefined;
|
|
1502
1584
|
entry?: string | string[] | undefined;
|
|
@@ -1527,6 +1609,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1527
1609
|
entry?: string | string[] | undefined;
|
|
1528
1610
|
project?: string | string[] | undefined;
|
|
1529
1611
|
} | undefined;
|
|
1612
|
+
preconstruct?: string | boolean | string[] | {
|
|
1613
|
+
config?: string | string[] | undefined;
|
|
1614
|
+
entry?: string | string[] | undefined;
|
|
1615
|
+
project?: string | string[] | undefined;
|
|
1616
|
+
} | undefined;
|
|
1530
1617
|
prettier?: string | boolean | string[] | {
|
|
1531
1618
|
config?: string | string[] | undefined;
|
|
1532
1619
|
entry?: string | string[] | undefined;
|
|
@@ -1652,6 +1739,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
1652
1739
|
entry?: string | string[] | undefined;
|
|
1653
1740
|
project?: string | string[] | undefined;
|
|
1654
1741
|
} | undefined;
|
|
1742
|
+
vike?: string | boolean | string[] | {
|
|
1743
|
+
config?: string | string[] | undefined;
|
|
1744
|
+
entry?: string | string[] | undefined;
|
|
1745
|
+
project?: string | string[] | undefined;
|
|
1746
|
+
} | undefined;
|
|
1655
1747
|
vite?: string | boolean | string[] | {
|
|
1656
1748
|
config?: string | string[] | undefined;
|
|
1657
1749
|
entry?: string | string[] | undefined;
|
|
@@ -2058,6 +2150,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2058
2150
|
entry?: string | string[] | undefined;
|
|
2059
2151
|
project?: string | string[] | undefined;
|
|
2060
2152
|
}>]>>;
|
|
2153
|
+
nest: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2154
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2155
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2156
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2157
|
+
}, "strip", z.ZodTypeAny, {
|
|
2158
|
+
config?: string | string[] | undefined;
|
|
2159
|
+
entry?: string | string[] | undefined;
|
|
2160
|
+
project?: string | string[] | undefined;
|
|
2161
|
+
}, {
|
|
2162
|
+
config?: string | string[] | undefined;
|
|
2163
|
+
entry?: string | string[] | undefined;
|
|
2164
|
+
project?: string | string[] | undefined;
|
|
2165
|
+
}>]>>;
|
|
2061
2166
|
netlify: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2062
2167
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2063
2168
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -2110,6 +2215,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2110
2215
|
entry?: string | string[] | undefined;
|
|
2111
2216
|
project?: string | string[] | undefined;
|
|
2112
2217
|
}>]>>;
|
|
2218
|
+
nuxt: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2219
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2220
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2221
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2222
|
+
}, "strip", z.ZodTypeAny, {
|
|
2223
|
+
config?: string | string[] | undefined;
|
|
2224
|
+
entry?: string | string[] | undefined;
|
|
2225
|
+
project?: string | string[] | undefined;
|
|
2226
|
+
}, {
|
|
2227
|
+
config?: string | string[] | undefined;
|
|
2228
|
+
entry?: string | string[] | undefined;
|
|
2229
|
+
project?: string | string[] | undefined;
|
|
2230
|
+
}>]>>;
|
|
2113
2231
|
nx: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2114
2232
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2115
2233
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -2188,6 +2306,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2188
2306
|
entry?: string | string[] | undefined;
|
|
2189
2307
|
project?: string | string[] | undefined;
|
|
2190
2308
|
}>]>>;
|
|
2309
|
+
preconstruct: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2310
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2311
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2312
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2313
|
+
}, "strip", z.ZodTypeAny, {
|
|
2314
|
+
config?: string | string[] | undefined;
|
|
2315
|
+
entry?: string | string[] | undefined;
|
|
2316
|
+
project?: string | string[] | undefined;
|
|
2317
|
+
}, {
|
|
2318
|
+
config?: string | string[] | undefined;
|
|
2319
|
+
entry?: string | string[] | undefined;
|
|
2320
|
+
project?: string | string[] | undefined;
|
|
2321
|
+
}>]>>;
|
|
2191
2322
|
prettier: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2192
2323
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2193
2324
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -2513,6 +2644,19 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2513
2644
|
entry?: string | string[] | undefined;
|
|
2514
2645
|
project?: string | string[] | undefined;
|
|
2515
2646
|
}>]>>;
|
|
2647
|
+
vike: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2648
|
+
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2649
|
+
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2650
|
+
project: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2651
|
+
}, "strip", z.ZodTypeAny, {
|
|
2652
|
+
config?: string | string[] | undefined;
|
|
2653
|
+
entry?: string | string[] | undefined;
|
|
2654
|
+
project?: string | string[] | undefined;
|
|
2655
|
+
}, {
|
|
2656
|
+
config?: string | string[] | undefined;
|
|
2657
|
+
entry?: string | string[] | undefined;
|
|
2658
|
+
project?: string | string[] | undefined;
|
|
2659
|
+
}>]>>;
|
|
2516
2660
|
vite: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>, z.ZodObject<{
|
|
2517
2661
|
config: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
2518
2662
|
entry: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -2774,6 +2918,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2774
2918
|
entry?: string | string[] | undefined;
|
|
2775
2919
|
project?: string | string[] | undefined;
|
|
2776
2920
|
} | undefined;
|
|
2921
|
+
nest?: string | boolean | string[] | {
|
|
2922
|
+
config?: string | string[] | undefined;
|
|
2923
|
+
entry?: string | string[] | undefined;
|
|
2924
|
+
project?: string | string[] | undefined;
|
|
2925
|
+
} | undefined;
|
|
2777
2926
|
netlify?: string | boolean | string[] | {
|
|
2778
2927
|
config?: string | string[] | undefined;
|
|
2779
2928
|
entry?: string | string[] | undefined;
|
|
@@ -2794,6 +2943,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2794
2943
|
entry?: string | string[] | undefined;
|
|
2795
2944
|
project?: string | string[] | undefined;
|
|
2796
2945
|
} | undefined;
|
|
2946
|
+
nuxt?: string | boolean | string[] | {
|
|
2947
|
+
config?: string | string[] | undefined;
|
|
2948
|
+
entry?: string | string[] | undefined;
|
|
2949
|
+
project?: string | string[] | undefined;
|
|
2950
|
+
} | undefined;
|
|
2797
2951
|
nx?: string | boolean | string[] | {
|
|
2798
2952
|
config?: string | string[] | undefined;
|
|
2799
2953
|
entry?: string | string[] | undefined;
|
|
@@ -2824,6 +2978,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2824
2978
|
entry?: string | string[] | undefined;
|
|
2825
2979
|
project?: string | string[] | undefined;
|
|
2826
2980
|
} | undefined;
|
|
2981
|
+
preconstruct?: string | boolean | string[] | {
|
|
2982
|
+
config?: string | string[] | undefined;
|
|
2983
|
+
entry?: string | string[] | undefined;
|
|
2984
|
+
project?: string | string[] | undefined;
|
|
2985
|
+
} | undefined;
|
|
2827
2986
|
prettier?: string | boolean | string[] | {
|
|
2828
2987
|
config?: string | string[] | undefined;
|
|
2829
2988
|
entry?: string | string[] | undefined;
|
|
@@ -2949,6 +3108,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
2949
3108
|
entry?: string | string[] | undefined;
|
|
2950
3109
|
project?: string | string[] | undefined;
|
|
2951
3110
|
} | undefined;
|
|
3111
|
+
vike?: string | boolean | string[] | {
|
|
3112
|
+
config?: string | string[] | undefined;
|
|
3113
|
+
entry?: string | string[] | undefined;
|
|
3114
|
+
project?: string | string[] | undefined;
|
|
3115
|
+
} | undefined;
|
|
2952
3116
|
vite?: string | boolean | string[] | {
|
|
2953
3117
|
config?: string | string[] | undefined;
|
|
2954
3118
|
entry?: string | string[] | undefined;
|
|
@@ -3138,6 +3302,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3138
3302
|
entry?: string | string[] | undefined;
|
|
3139
3303
|
project?: string | string[] | undefined;
|
|
3140
3304
|
} | undefined;
|
|
3305
|
+
nest?: string | boolean | string[] | {
|
|
3306
|
+
config?: string | string[] | undefined;
|
|
3307
|
+
entry?: string | string[] | undefined;
|
|
3308
|
+
project?: string | string[] | undefined;
|
|
3309
|
+
} | undefined;
|
|
3141
3310
|
netlify?: string | boolean | string[] | {
|
|
3142
3311
|
config?: string | string[] | undefined;
|
|
3143
3312
|
entry?: string | string[] | undefined;
|
|
@@ -3158,6 +3327,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3158
3327
|
entry?: string | string[] | undefined;
|
|
3159
3328
|
project?: string | string[] | undefined;
|
|
3160
3329
|
} | undefined;
|
|
3330
|
+
nuxt?: string | boolean | string[] | {
|
|
3331
|
+
config?: string | string[] | undefined;
|
|
3332
|
+
entry?: string | string[] | undefined;
|
|
3333
|
+
project?: string | string[] | undefined;
|
|
3334
|
+
} | undefined;
|
|
3161
3335
|
nx?: string | boolean | string[] | {
|
|
3162
3336
|
config?: string | string[] | undefined;
|
|
3163
3337
|
entry?: string | string[] | undefined;
|
|
@@ -3188,6 +3362,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3188
3362
|
entry?: string | string[] | undefined;
|
|
3189
3363
|
project?: string | string[] | undefined;
|
|
3190
3364
|
} | undefined;
|
|
3365
|
+
preconstruct?: string | boolean | string[] | {
|
|
3366
|
+
config?: string | string[] | undefined;
|
|
3367
|
+
entry?: string | string[] | undefined;
|
|
3368
|
+
project?: string | string[] | undefined;
|
|
3369
|
+
} | undefined;
|
|
3191
3370
|
prettier?: string | boolean | string[] | {
|
|
3192
3371
|
config?: string | string[] | undefined;
|
|
3193
3372
|
entry?: string | string[] | undefined;
|
|
@@ -3313,6 +3492,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3313
3492
|
entry?: string | string[] | undefined;
|
|
3314
3493
|
project?: string | string[] | undefined;
|
|
3315
3494
|
} | undefined;
|
|
3495
|
+
vike?: string | boolean | string[] | {
|
|
3496
|
+
config?: string | string[] | undefined;
|
|
3497
|
+
entry?: string | string[] | undefined;
|
|
3498
|
+
project?: string | string[] | undefined;
|
|
3499
|
+
} | undefined;
|
|
3316
3500
|
vite?: string | boolean | string[] | {
|
|
3317
3501
|
config?: string | string[] | undefined;
|
|
3318
3502
|
entry?: string | string[] | undefined;
|
|
@@ -3511,6 +3695,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3511
3695
|
entry?: string | string[] | undefined;
|
|
3512
3696
|
project?: string | string[] | undefined;
|
|
3513
3697
|
} | undefined;
|
|
3698
|
+
nest?: string | boolean | string[] | {
|
|
3699
|
+
config?: string | string[] | undefined;
|
|
3700
|
+
entry?: string | string[] | undefined;
|
|
3701
|
+
project?: string | string[] | undefined;
|
|
3702
|
+
} | undefined;
|
|
3514
3703
|
netlify?: string | boolean | string[] | {
|
|
3515
3704
|
config?: string | string[] | undefined;
|
|
3516
3705
|
entry?: string | string[] | undefined;
|
|
@@ -3531,6 +3720,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3531
3720
|
entry?: string | string[] | undefined;
|
|
3532
3721
|
project?: string | string[] | undefined;
|
|
3533
3722
|
} | undefined;
|
|
3723
|
+
nuxt?: string | boolean | string[] | {
|
|
3724
|
+
config?: string | string[] | undefined;
|
|
3725
|
+
entry?: string | string[] | undefined;
|
|
3726
|
+
project?: string | string[] | undefined;
|
|
3727
|
+
} | undefined;
|
|
3534
3728
|
nx?: string | boolean | string[] | {
|
|
3535
3729
|
config?: string | string[] | undefined;
|
|
3536
3730
|
entry?: string | string[] | undefined;
|
|
@@ -3561,6 +3755,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3561
3755
|
entry?: string | string[] | undefined;
|
|
3562
3756
|
project?: string | string[] | undefined;
|
|
3563
3757
|
} | undefined;
|
|
3758
|
+
preconstruct?: string | boolean | string[] | {
|
|
3759
|
+
config?: string | string[] | undefined;
|
|
3760
|
+
entry?: string | string[] | undefined;
|
|
3761
|
+
project?: string | string[] | undefined;
|
|
3762
|
+
} | undefined;
|
|
3564
3763
|
prettier?: string | boolean | string[] | {
|
|
3565
3764
|
config?: string | string[] | undefined;
|
|
3566
3765
|
entry?: string | string[] | undefined;
|
|
@@ -3686,6 +3885,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3686
3885
|
entry?: string | string[] | undefined;
|
|
3687
3886
|
project?: string | string[] | undefined;
|
|
3688
3887
|
} | undefined;
|
|
3888
|
+
vike?: string | boolean | string[] | {
|
|
3889
|
+
config?: string | string[] | undefined;
|
|
3890
|
+
entry?: string | string[] | undefined;
|
|
3891
|
+
project?: string | string[] | undefined;
|
|
3892
|
+
} | undefined;
|
|
3689
3893
|
vite?: string | boolean | string[] | {
|
|
3690
3894
|
config?: string | string[] | undefined;
|
|
3691
3895
|
entry?: string | string[] | undefined;
|
|
@@ -3875,6 +4079,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3875
4079
|
entry?: string | string[] | undefined;
|
|
3876
4080
|
project?: string | string[] | undefined;
|
|
3877
4081
|
} | undefined;
|
|
4082
|
+
nest?: string | boolean | string[] | {
|
|
4083
|
+
config?: string | string[] | undefined;
|
|
4084
|
+
entry?: string | string[] | undefined;
|
|
4085
|
+
project?: string | string[] | undefined;
|
|
4086
|
+
} | undefined;
|
|
3878
4087
|
netlify?: string | boolean | string[] | {
|
|
3879
4088
|
config?: string | string[] | undefined;
|
|
3880
4089
|
entry?: string | string[] | undefined;
|
|
@@ -3895,6 +4104,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3895
4104
|
entry?: string | string[] | undefined;
|
|
3896
4105
|
project?: string | string[] | undefined;
|
|
3897
4106
|
} | undefined;
|
|
4107
|
+
nuxt?: string | boolean | string[] | {
|
|
4108
|
+
config?: string | string[] | undefined;
|
|
4109
|
+
entry?: string | string[] | undefined;
|
|
4110
|
+
project?: string | string[] | undefined;
|
|
4111
|
+
} | undefined;
|
|
3898
4112
|
nx?: string | boolean | string[] | {
|
|
3899
4113
|
config?: string | string[] | undefined;
|
|
3900
4114
|
entry?: string | string[] | undefined;
|
|
@@ -3925,6 +4139,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
3925
4139
|
entry?: string | string[] | undefined;
|
|
3926
4140
|
project?: string | string[] | undefined;
|
|
3927
4141
|
} | undefined;
|
|
4142
|
+
preconstruct?: string | boolean | string[] | {
|
|
4143
|
+
config?: string | string[] | undefined;
|
|
4144
|
+
entry?: string | string[] | undefined;
|
|
4145
|
+
project?: string | string[] | undefined;
|
|
4146
|
+
} | undefined;
|
|
3928
4147
|
prettier?: string | boolean | string[] | {
|
|
3929
4148
|
config?: string | string[] | undefined;
|
|
3930
4149
|
entry?: string | string[] | undefined;
|
|
@@ -4050,6 +4269,11 @@ export declare const ConfigurationValidator: z.ZodObject<z.objectUtil.extendShap
|
|
|
4050
4269
|
entry?: string | string[] | undefined;
|
|
4051
4270
|
project?: string | string[] | undefined;
|
|
4052
4271
|
} | undefined;
|
|
4272
|
+
vike?: string | boolean | string[] | {
|
|
4273
|
+
config?: string | string[] | undefined;
|
|
4274
|
+
entry?: string | string[] | undefined;
|
|
4275
|
+
project?: string | string[] | undefined;
|
|
4276
|
+
} | undefined;
|
|
4053
4277
|
vite?: string | boolean | string[] | {
|
|
4054
4278
|
config?: string | string[] | undefined;
|
|
4055
4279
|
entry?: string | string[] | undefined;
|
|
@@ -92,16 +92,19 @@ const pluginsSchema = z.object({
|
|
|
92
92
|
mocha: pluginSchema,
|
|
93
93
|
moonrepo: pluginSchema,
|
|
94
94
|
msw: pluginSchema,
|
|
95
|
+
nest: pluginSchema,
|
|
95
96
|
netlify: pluginSchema,
|
|
96
97
|
next: pluginSchema,
|
|
97
98
|
'node-test-runner': pluginSchema,
|
|
98
99
|
'npm-package-json-lint': pluginSchema,
|
|
100
|
+
nuxt: pluginSchema,
|
|
99
101
|
nx: pluginSchema,
|
|
100
102
|
nyc: pluginSchema,
|
|
101
103
|
oclif: pluginSchema,
|
|
102
104
|
playwright: pluginSchema,
|
|
103
105
|
'playwright-ct': pluginSchema,
|
|
104
106
|
postcss: pluginSchema,
|
|
107
|
+
preconstruct: pluginSchema,
|
|
105
108
|
prettier: pluginSchema,
|
|
106
109
|
'react-cosmos': pluginSchema,
|
|
107
110
|
'release-it': pluginSchema,
|
|
@@ -127,6 +130,7 @@ const pluginsSchema = z.object({
|
|
|
127
130
|
unocss: pluginSchema,
|
|
128
131
|
'vercel-og': pluginSchema,
|
|
129
132
|
vue: pluginSchema,
|
|
133
|
+
vike: pluginSchema,
|
|
130
134
|
vite: pluginSchema,
|
|
131
135
|
vitest: pluginSchema,
|
|
132
136
|
'webdriver-io': pluginSchema,
|
|
@@ -34,7 +34,7 @@ export declare class WorkspaceWorker {
|
|
|
34
34
|
isStrict: boolean;
|
|
35
35
|
rootIgnore: Configuration['ignore'];
|
|
36
36
|
negatedWorkspacePatterns: string[];
|
|
37
|
-
enabledPluginsMap: Record<"
|
|
37
|
+
enabledPluginsMap: Record<"angular" | "astro" | "ava" | "babel" | "capacitor" | "changesets" | "commitizen" | "commitlint" | "cspell" | "cucumber" | "cypress" | "drizzle" | "eleventy" | "eslint" | "gatsby" | "githubActions" | "graphqlCodegen" | "husky" | "jest" | "ladle" | "lefthook" | "linthtml" | "lintStaged" | "lockfileLint" | "lostPixel" | "markdownlint" | "mocha" | "moonrepo" | "msw" | "nest" | "netlify" | "next" | "nodeTestRunner" | "npmPackageJsonLint" | "nuxt" | "nx" | "nyc" | "oclif" | "playwright" | "playwrightCt" | "postcss" | "preconstruct" | "prettier" | "reactCosmos" | "releaseIt" | "remark" | "remix" | "rollup" | "rsbuild" | "rspack" | "semanticRelease" | "sentry" | "simpleGitHooks" | "sizeLimit" | "storybook" | "stryker" | "stylelint" | "svelte" | "syncpack" | "tailwind" | "tsup" | "typedoc" | "typescript" | "unbuild" | "unocss" | "vercelOg" | "vike" | "vite" | "vitest" | "vue" | "webdriverIo" | "webpack" | "wireit" | "wrangler" | "xo" | "yorkie", boolean>;
|
|
38
38
|
enabledPlugins: PluginName[];
|
|
39
39
|
enabledPluginsInAncestors: string[];
|
|
40
40
|
cache: CacheConsultant<CacheItem>;
|
|
@@ -54,7 +54,7 @@ export declare class WorkspaceWorker {
|
|
|
54
54
|
entryFilePatterns: Set<string>;
|
|
55
55
|
productionEntryFilePatterns: Set<string>;
|
|
56
56
|
referencedDependencies: ReferencedDependencies;
|
|
57
|
-
enabledPlugins: ("
|
|
57
|
+
enabledPlugins: ("angular" | "astro" | "ava" | "babel" | "capacitor" | "changesets" | "commitizen" | "commitlint" | "cspell" | "cucumber" | "cypress" | "drizzle" | "eleventy" | "eslint" | "gatsby" | "githubActions" | "graphqlCodegen" | "husky" | "jest" | "ladle" | "lefthook" | "linthtml" | "lintStaged" | "lockfileLint" | "lostPixel" | "markdownlint" | "mocha" | "moonrepo" | "msw" | "nest" | "netlify" | "next" | "nodeTestRunner" | "npmPackageJsonLint" | "nuxt" | "nx" | "nyc" | "oclif" | "playwright" | "playwrightCt" | "postcss" | "preconstruct" | "prettier" | "reactCosmos" | "releaseIt" | "remark" | "remix" | "rollup" | "rsbuild" | "rspack" | "semanticRelease" | "sentry" | "simpleGitHooks" | "sizeLimit" | "storybook" | "stryker" | "stylelint" | "svelte" | "syncpack" | "tailwind" | "tsup" | "typedoc" | "typescript" | "unbuild" | "unocss" | "vercelOg" | "vike" | "vite" | "vitest" | "vue" | "webdriverIo" | "webpack" | "wireit" | "wrangler" | "xo" | "yorkie")[];
|
|
58
58
|
}>;
|
|
59
59
|
onDispose(): void;
|
|
60
60
|
}
|
|
@@ -158,6 +158,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
158
158
|
entry?: string | string[] | undefined;
|
|
159
159
|
project?: string | string[] | undefined;
|
|
160
160
|
} | undefined;
|
|
161
|
+
nest?: string | boolean | string[] | {
|
|
162
|
+
config?: string | string[] | undefined;
|
|
163
|
+
entry?: string | string[] | undefined;
|
|
164
|
+
project?: string | string[] | undefined;
|
|
165
|
+
} | undefined;
|
|
161
166
|
netlify?: string | boolean | string[] | {
|
|
162
167
|
config?: string | string[] | undefined;
|
|
163
168
|
entry?: string | string[] | undefined;
|
|
@@ -178,6 +183,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
178
183
|
entry?: string | string[] | undefined;
|
|
179
184
|
project?: string | string[] | undefined;
|
|
180
185
|
} | undefined;
|
|
186
|
+
nuxt?: string | boolean | string[] | {
|
|
187
|
+
config?: string | string[] | undefined;
|
|
188
|
+
entry?: string | string[] | undefined;
|
|
189
|
+
project?: string | string[] | undefined;
|
|
190
|
+
} | undefined;
|
|
181
191
|
nx?: string | boolean | string[] | {
|
|
182
192
|
config?: string | string[] | undefined;
|
|
183
193
|
entry?: string | string[] | undefined;
|
|
@@ -208,6 +218,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
208
218
|
entry?: string | string[] | undefined;
|
|
209
219
|
project?: string | string[] | undefined;
|
|
210
220
|
} | undefined;
|
|
221
|
+
preconstruct?: string | boolean | string[] | {
|
|
222
|
+
config?: string | string[] | undefined;
|
|
223
|
+
entry?: string | string[] | undefined;
|
|
224
|
+
project?: string | string[] | undefined;
|
|
225
|
+
} | undefined;
|
|
211
226
|
prettier?: string | boolean | string[] | {
|
|
212
227
|
config?: string | string[] | undefined;
|
|
213
228
|
entry?: string | string[] | undefined;
|
|
@@ -333,6 +348,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
333
348
|
entry?: string | string[] | undefined;
|
|
334
349
|
project?: string | string[] | undefined;
|
|
335
350
|
} | undefined;
|
|
351
|
+
vike?: string | boolean | string[] | {
|
|
352
|
+
config?: string | string[] | undefined;
|
|
353
|
+
entry?: string | string[] | undefined;
|
|
354
|
+
project?: string | string[] | undefined;
|
|
355
|
+
} | undefined;
|
|
336
356
|
vite?: string | boolean | string[] | {
|
|
337
357
|
config?: string | string[] | undefined;
|
|
338
358
|
entry?: string | string[] | undefined;
|
|
@@ -522,6 +542,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
522
542
|
entry?: string | string[] | undefined;
|
|
523
543
|
project?: string | string[] | undefined;
|
|
524
544
|
} | undefined;
|
|
545
|
+
nest?: string | boolean | string[] | {
|
|
546
|
+
config?: string | string[] | undefined;
|
|
547
|
+
entry?: string | string[] | undefined;
|
|
548
|
+
project?: string | string[] | undefined;
|
|
549
|
+
} | undefined;
|
|
525
550
|
netlify?: string | boolean | string[] | {
|
|
526
551
|
config?: string | string[] | undefined;
|
|
527
552
|
entry?: string | string[] | undefined;
|
|
@@ -542,6 +567,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
542
567
|
entry?: string | string[] | undefined;
|
|
543
568
|
project?: string | string[] | undefined;
|
|
544
569
|
} | undefined;
|
|
570
|
+
nuxt?: string | boolean | string[] | {
|
|
571
|
+
config?: string | string[] | undefined;
|
|
572
|
+
entry?: string | string[] | undefined;
|
|
573
|
+
project?: string | string[] | undefined;
|
|
574
|
+
} | undefined;
|
|
545
575
|
nx?: string | boolean | string[] | {
|
|
546
576
|
config?: string | string[] | undefined;
|
|
547
577
|
entry?: string | string[] | undefined;
|
|
@@ -572,6 +602,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
572
602
|
entry?: string | string[] | undefined;
|
|
573
603
|
project?: string | string[] | undefined;
|
|
574
604
|
} | undefined;
|
|
605
|
+
preconstruct?: string | boolean | string[] | {
|
|
606
|
+
config?: string | string[] | undefined;
|
|
607
|
+
entry?: string | string[] | undefined;
|
|
608
|
+
project?: string | string[] | undefined;
|
|
609
|
+
} | undefined;
|
|
575
610
|
prettier?: string | boolean | string[] | {
|
|
576
611
|
config?: string | string[] | undefined;
|
|
577
612
|
entry?: string | string[] | undefined;
|
|
@@ -697,6 +732,11 @@ export declare const partitionCompilers: (rawLocalConfig: RawConfiguration) => {
|
|
|
697
732
|
entry?: string | string[] | undefined;
|
|
698
733
|
project?: string | string[] | undefined;
|
|
699
734
|
} | undefined;
|
|
735
|
+
vike?: string | boolean | string[] | {
|
|
736
|
+
config?: string | string[] | undefined;
|
|
737
|
+
entry?: string | string[] | undefined;
|
|
738
|
+
project?: string | string[] | undefined;
|
|
739
|
+
} | undefined;
|
|
700
740
|
vite?: string | boolean | string[] | {
|
|
701
741
|
config?: string | string[] | undefined;
|
|
702
742
|
entry?: string | string[] | undefined;
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import { getGitIgnoredHandler } from './util/globby.js';
|
|
|
16
16
|
import { getReferencedDependencyHandler } from './util/handle-dependency.js';
|
|
17
17
|
import { getHasStrictlyNsReferences, getType } from './util/has-strictly-ns-references.js';
|
|
18
18
|
import { getIsIdentifierReferencedHandler } from './util/is-identifier-referenced.js';
|
|
19
|
-
import {
|
|
19
|
+
import { getEntryPathsFromManifest, getPackageNameFromModuleSpecifier } from './util/modules.js';
|
|
20
20
|
import { dirname, join } from './util/path.js';
|
|
21
21
|
import { findMatch } from './util/regex.js';
|
|
22
22
|
import { getShouldIgnoreHandler, getShouldIgnoreTagHandler } from './util/tag.js';
|
|
@@ -116,7 +116,7 @@ export const main = async (unresolvedConfiguration) => {
|
|
|
116
116
|
const options = { manifestScriptNames, cwd: dir, dependencies };
|
|
117
117
|
const dependenciesFromManifest = _getDependenciesFromScripts(manifestScripts, options);
|
|
118
118
|
principal.addReferencedDependencies(name, new Set(dependenciesFromManifest.map(id => [manifestPath, id])));
|
|
119
|
-
const entryPathsFromManifest = await
|
|
119
|
+
const entryPathsFromManifest = await getEntryPathsFromManifest(manifest, { ...sharedGlobOptions, ignore });
|
|
120
120
|
debugLogArray(name, 'Entry paths in package.json', entryPathsFromManifest);
|
|
121
121
|
principal.addEntryPaths(entryPathsFromManifest);
|
|
122
122
|
const { referencedDependencies, enabledPlugins, entryFilePatterns, productionEntryFilePatterns } = await worker.findDependenciesByPlugins();
|
package/dist/plugins/index.d.ts
CHANGED
|
@@ -27,16 +27,19 @@ export { default as markdownlint } from './markdownlint/index.js';
|
|
|
27
27
|
export { default as mocha } from './mocha/index.js';
|
|
28
28
|
export { default as moonrepo } from './moonrepo/index.js';
|
|
29
29
|
export { default as msw } from './msw/index.js';
|
|
30
|
+
export { default as nest } from './nest/index.js';
|
|
30
31
|
export { default as netlify } from './netlify/index.js';
|
|
31
32
|
export { default as next } from './next/index.js';
|
|
32
33
|
export { default as nodeTestRunner } from './node-test-runner/index.js';
|
|
33
34
|
export { default as npmPackageJsonLint } from './npm-package-json-lint/index.js';
|
|
35
|
+
export { default as nuxt } from './nuxt/index.js';
|
|
34
36
|
export { default as nx } from './nx/index.js';
|
|
35
37
|
export { default as nyc } from './nyc/index.js';
|
|
36
38
|
export { default as oclif } from './oclif/index.js';
|
|
37
39
|
export { default as playwright } from './playwright/index.js';
|
|
38
40
|
export { default as playwrightCt } from './playwright-ct/index.js';
|
|
39
41
|
export { default as postcss } from './postcss/index.js';
|
|
42
|
+
export { default as preconstruct } from './preconstruct/index.js';
|
|
40
43
|
export { default as prettier } from './prettier/index.js';
|
|
41
44
|
export { default as reactCosmos } from './react-cosmos/index.js';
|
|
42
45
|
export { default as releaseIt } from './release-it/index.js';
|
|
@@ -61,6 +64,7 @@ export { default as typescript } from './typescript/index.js';
|
|
|
61
64
|
export { default as unbuild } from './unbuild/index.js';
|
|
62
65
|
export { default as unocss } from './unocss/index.js';
|
|
63
66
|
export { default as vercelOg } from './vercel-og/index.js';
|
|
67
|
+
export { default as vike } from './vike/index.js';
|
|
64
68
|
export { default as vite } from './vite/index.js';
|
|
65
69
|
export { default as vitest } from './vitest/index.js';
|
|
66
70
|
export { default as vue } from './vue/index.js';
|
package/dist/plugins/index.js
CHANGED
|
@@ -27,16 +27,19 @@ export { default as markdownlint } from './markdownlint/index.js';
|
|
|
27
27
|
export { default as mocha } from './mocha/index.js';
|
|
28
28
|
export { default as moonrepo } from './moonrepo/index.js';
|
|
29
29
|
export { default as msw } from './msw/index.js';
|
|
30
|
+
export { default as nest } from './nest/index.js';
|
|
30
31
|
export { default as netlify } from './netlify/index.js';
|
|
31
32
|
export { default as next } from './next/index.js';
|
|
32
33
|
export { default as nodeTestRunner } from './node-test-runner/index.js';
|
|
33
34
|
export { default as npmPackageJsonLint } from './npm-package-json-lint/index.js';
|
|
35
|
+
export { default as nuxt } from './nuxt/index.js';
|
|
34
36
|
export { default as nx } from './nx/index.js';
|
|
35
37
|
export { default as nyc } from './nyc/index.js';
|
|
36
38
|
export { default as oclif } from './oclif/index.js';
|
|
37
39
|
export { default as playwright } from './playwright/index.js';
|
|
38
40
|
export { default as playwrightCt } from './playwright-ct/index.js';
|
|
39
41
|
export { default as postcss } from './postcss/index.js';
|
|
42
|
+
export { default as preconstruct } from './preconstruct/index.js';
|
|
40
43
|
export { default as prettier } from './prettier/index.js';
|
|
41
44
|
export { default as reactCosmos } from './react-cosmos/index.js';
|
|
42
45
|
export { default as releaseIt } from './release-it/index.js';
|
|
@@ -61,6 +64,7 @@ export { default as typescript } from './typescript/index.js';
|
|
|
61
64
|
export { default as unbuild } from './unbuild/index.js';
|
|
62
65
|
export { default as unocss } from './unocss/index.js';
|
|
63
66
|
export { default as vercelOg } from './vercel-og/index.js';
|
|
67
|
+
export { default as vike } from './vike/index.js';
|
|
64
68
|
export { default as vite } from './vite/index.js';
|
|
65
69
|
export { default as vitest } from './vitest/index.js';
|
|
66
70
|
export { default as vue } from './vue/index.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '#p/types/plugins.js';
|
|
2
|
+
import type { NestConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: import("#p/types/config.js").IgnorePatterns;
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveConfig: ResolveConfig<NestConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { hasDependency } from '#p/util/plugin.js';
|
|
2
|
+
const title = 'Nest';
|
|
3
|
+
const enablers = [/^@nestjs\/.*/];
|
|
4
|
+
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
5
|
+
const config = ['nest-cli.json', '.nestcli.json', '.nest-cli.json', 'nest.json'];
|
|
6
|
+
const resolveConfig = async (config) => {
|
|
7
|
+
const dependencies = config?.collection ? [config.collection] : [];
|
|
8
|
+
return [...dependencies];
|
|
9
|
+
};
|
|
10
|
+
export default {
|
|
11
|
+
title,
|
|
12
|
+
enablers,
|
|
13
|
+
isEnabled,
|
|
14
|
+
config,
|
|
15
|
+
resolveConfig,
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveEntryPaths } from '#p/types/plugins.js';
|
|
2
|
+
import type { NuxtConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
entry: string[];
|
|
8
|
+
production: string[];
|
|
9
|
+
resolveEntryPaths: ResolveEntryPaths<NuxtConfig>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { join } from '#p/util/path.js';
|
|
2
|
+
import { hasDependency } from '#p/util/plugin.js';
|
|
3
|
+
import { toProductionEntryPattern } from '#p/util/protocols.js';
|
|
4
|
+
const title = 'Nuxt';
|
|
5
|
+
const enablers = ['nuxt'];
|
|
6
|
+
const isEnabled = ({ dependencies }) => {
|
|
7
|
+
const isEnabled = hasDependency(dependencies, enablers);
|
|
8
|
+
if (isEnabled && !('defineNuxtConfig' in globalThis))
|
|
9
|
+
globalThis.defineNuxtConfig = (c) => c;
|
|
10
|
+
return isEnabled;
|
|
11
|
+
};
|
|
12
|
+
const entry = ['nuxt.config.{js,mjs,ts}'];
|
|
13
|
+
const production = [
|
|
14
|
+
'app.vue',
|
|
15
|
+
'error.vue',
|
|
16
|
+
'pages/**/*.vue',
|
|
17
|
+
'layouts/default.vue',
|
|
18
|
+
'middleware/**/*.ts',
|
|
19
|
+
'server/api/**/*.ts',
|
|
20
|
+
'server/routes/**/*.ts',
|
|
21
|
+
'server/middleware/**/*.ts',
|
|
22
|
+
'server/plugins/**/*.ts',
|
|
23
|
+
];
|
|
24
|
+
const resolveEntryPaths = async (localConfig) => {
|
|
25
|
+
const srcDir = localConfig.srcDir ?? '.';
|
|
26
|
+
const patterns = [
|
|
27
|
+
'app.vue',
|
|
28
|
+
'error.vue',
|
|
29
|
+
join(typeof localConfig.dir?.pages === 'string' ? localConfig.dir.pages : 'pages', '**/*.vue'),
|
|
30
|
+
join(typeof localConfig.dir?.layouts === 'string' ? localConfig.dir.layouts : 'layouts', '**/*.vue'),
|
|
31
|
+
join(typeof localConfig.dir?.middleware === 'string' ? localConfig.dir.middleware : 'middleware', '**/*.ts'),
|
|
32
|
+
'server/api/**/*.ts',
|
|
33
|
+
'server/routes/**/*.ts',
|
|
34
|
+
'server/middleware/**/*.ts',
|
|
35
|
+
'server/plugins/**/*.ts',
|
|
36
|
+
];
|
|
37
|
+
return patterns.map(pattern => toProductionEntryPattern(join(srcDir, pattern)));
|
|
38
|
+
};
|
|
39
|
+
export default {
|
|
40
|
+
title,
|
|
41
|
+
enablers,
|
|
42
|
+
isEnabled,
|
|
43
|
+
entry,
|
|
44
|
+
production,
|
|
45
|
+
resolveEntryPaths,
|
|
46
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IsPluginEnabled, ResolveConfig } from '#p/types/plugins.js';
|
|
2
|
+
import type { PreconstructConfig } from './types.js';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
enablers: string[];
|
|
6
|
+
isEnabled: IsPluginEnabled;
|
|
7
|
+
config: string[];
|
|
8
|
+
resolveEntryPaths: ResolveConfig<PreconstructConfig>;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { hasDependency } from '#p/util/plugin.js';
|
|
2
|
+
import { toEntryPattern } from '../../util/protocols.js';
|
|
3
|
+
const title = 'Preconstruct';
|
|
4
|
+
const enablers = ['@preconstruct/cli'];
|
|
5
|
+
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
6
|
+
const config = ['package.json'];
|
|
7
|
+
const resolveEntryPaths = async (config) => {
|
|
8
|
+
return (config.entrypoints ?? []).map(toEntryPattern);
|
|
9
|
+
};
|
|
10
|
+
export default {
|
|
11
|
+
title,
|
|
12
|
+
enablers,
|
|
13
|
+
isEnabled,
|
|
14
|
+
config,
|
|
15
|
+
resolveEntryPaths,
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { hasDependency } from '#p/util/plugin.js';
|
|
2
|
+
const title = 'Vike';
|
|
3
|
+
const enablers = ['vike'];
|
|
4
|
+
const isEnabled = ({ dependencies }) => hasDependency(dependencies, enablers);
|
|
5
|
+
const patterns = ['{pages,renderer}/**/+*.{js,jsx,ts,tsx,vue,react,solid}'];
|
|
6
|
+
const production = [...patterns, ...patterns.map(pattern => `*/${pattern}`)];
|
|
7
|
+
export default {
|
|
8
|
+
title,
|
|
9
|
+
enablers,
|
|
10
|
+
isEnabled,
|
|
11
|
+
production,
|
|
12
|
+
};
|
package/dist/util/modules.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export declare const isStartsLikePackageName: (specifier: string) => boolean;
|
|
|
5
5
|
export declare const isDefinitelyTyped: (packageName: string) => boolean;
|
|
6
6
|
export declare const getDefinitelyTypedFor: (packageName: string) => string;
|
|
7
7
|
export declare const getPackageFromDefinitelyTyped: (typedDependency: string) => string;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const getEntryPathsFromManifest: (manifest: PackageJson, sharedGlobOptions: {
|
|
9
9
|
cwd: string;
|
|
10
10
|
workingDir: string;
|
|
11
11
|
gitignore: boolean;
|
package/dist/util/modules.js
CHANGED
|
@@ -32,7 +32,7 @@ export const getPackageFromDefinitelyTyped = (typedDependency) => {
|
|
|
32
32
|
}
|
|
33
33
|
return typedDependency;
|
|
34
34
|
};
|
|
35
|
-
export const
|
|
35
|
+
export const getEntryPathsFromManifest = (manifest, sharedGlobOptions) => {
|
|
36
36
|
const { main, bin, exports, types, typings } = manifest;
|
|
37
37
|
const entryPaths = new Set();
|
|
38
38
|
if (typeof main === 'string')
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "5.
|
|
1
|
+
export declare const version = "5.28.0";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '5.
|
|
1
|
+
export const version = '5.28.0';
|
package/package.json
CHANGED
package/schema.json
CHANGED
|
@@ -396,6 +396,10 @@
|
|
|
396
396
|
"title": "Mocha plugin configuration (https://knip.dev/reference/plugins/msw)",
|
|
397
397
|
"$ref": "#/definitions/plugin"
|
|
398
398
|
},
|
|
399
|
+
"nest": {
|
|
400
|
+
"title": "nest plugin configuration (https://knip.dev/reference/plugins/nest)",
|
|
401
|
+
"$ref": "#/definitions/plugin"
|
|
402
|
+
},
|
|
399
403
|
"netlify": {
|
|
400
404
|
"title": "Netlify plugin configuration (https://knip.dev/reference/plugins/netlify)",
|
|
401
405
|
"$ref": "#/definitions/plugin"
|
|
@@ -412,6 +416,10 @@
|
|
|
412
416
|
"title": "npm-package-json-lint plugin configuration (https://knip.dev/reference/plugins/npm-package-json-lint)",
|
|
413
417
|
"$ref": "#/definitions/plugin"
|
|
414
418
|
},
|
|
419
|
+
"nuxt": {
|
|
420
|
+
"title": "Nuxt plugin configuration (https://knip.dev/reference/plugins/nuxt)",
|
|
421
|
+
"$ref": "#/definitions/plugin"
|
|
422
|
+
},
|
|
415
423
|
"nx": {
|
|
416
424
|
"title": "Nx plugin configuration (https://knip.dev/reference/plugins/nx)",
|
|
417
425
|
"$ref": "#/definitions/plugin"
|
|
@@ -436,6 +444,10 @@
|
|
|
436
444
|
"title": "PostCSS plugin configuration (https://knip.dev/reference/plugins/postcss)",
|
|
437
445
|
"$ref": "#/definitions/plugin"
|
|
438
446
|
},
|
|
447
|
+
"preconstruct": {
|
|
448
|
+
"title": "preconstruct plugin configuration (https://knip.dev/reference/plugins/preconstruct)",
|
|
449
|
+
"$ref": "#/definitions/plugin"
|
|
450
|
+
},
|
|
439
451
|
"prettier": {
|
|
440
452
|
"title": "Prettier plugin configuration (https://knip.dev/reference/plugins/prettier)",
|
|
441
453
|
"$ref": "#/definitions/plugin"
|
|
@@ -532,6 +544,10 @@
|
|
|
532
544
|
"title": "vercel-og plugin configuration (https://knip.dev/reference/plugins/vercel-og)",
|
|
533
545
|
"$ref": "#/definitions/plugin"
|
|
534
546
|
},
|
|
547
|
+
"vike": {
|
|
548
|
+
"title": "vike plugin configuration (https://knip.dev/reference/plugins/vike)",
|
|
549
|
+
"$ref": "#/definitions/plugin"
|
|
550
|
+
},
|
|
535
551
|
"vite": {
|
|
536
552
|
"title": "vite plugin configuration (https://knip.dev/reference/plugins/vite)",
|
|
537
553
|
"$ref": "#/definitions/plugin"
|