@modern-js/module-tools 2.39.1 → 2.40.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.
@@ -1,649 +0,0 @@
1
- export declare const targets: string[];
2
- export declare const presets: string[];
3
- export declare const buildSchema: ({
4
- target: string;
5
- schema: {
6
- if: {
7
- type: string;
8
- };
9
- then: {
10
- items: {
11
- type: string;
12
- properties: {
13
- target: {
14
- enum: string[];
15
- };
16
- format: {
17
- enum: string[];
18
- };
19
- sourceMap: {
20
- enum: (string | boolean)[];
21
- };
22
- buildType: {
23
- enum: string[];
24
- };
25
- bundleOptions: {
26
- type: string;
27
- properties: {
28
- getModuleId: {
29
- instanceof: string;
30
- };
31
- entry: {
32
- type: string;
33
- };
34
- splitting: {
35
- type: string;
36
- };
37
- externals: {
38
- type: string;
39
- items: {
40
- anyOf: ({
41
- instanceof: string;
42
- typeof?: undefined;
43
- } | {
44
- typeof: string;
45
- instanceof?: undefined;
46
- })[];
47
- };
48
- };
49
- platform: {
50
- enum: string[];
51
- };
52
- minify: {
53
- enum: (string | boolean)[];
54
- };
55
- skipDeps: {
56
- type: string;
57
- };
58
- };
59
- };
60
- bundlelessOptions: {
61
- type: string;
62
- properties: {
63
- sourceDir: {
64
- type: string;
65
- };
66
- style: {
67
- type: string;
68
- properties: {
69
- compileMode: {
70
- enum: (string | boolean)[];
71
- };
72
- path: {
73
- type: string;
74
- };
75
- };
76
- };
77
- static: {
78
- type: string;
79
- properties: {
80
- path: {
81
- type: string;
82
- };
83
- };
84
- };
85
- };
86
- };
87
- tsconfig: {
88
- type: string;
89
- };
90
- enableDts: {
91
- type: string;
92
- };
93
- dtsOnly: {
94
- type: string;
95
- };
96
- outputPath: {
97
- type: string;
98
- };
99
- };
100
- additionalProperties: boolean;
101
- }[];
102
- };
103
- else: {
104
- type: string;
105
- properties: {
106
- target: {
107
- enum: string[];
108
- };
109
- format: {
110
- enum: string[];
111
- };
112
- sourceMap: {
113
- enum: (string | boolean)[];
114
- };
115
- buildType: {
116
- enum: string[];
117
- };
118
- bundleOptions: {
119
- type: string;
120
- properties: {
121
- getModuleId: {
122
- instanceof: string;
123
- };
124
- entry: {
125
- type: string;
126
- };
127
- splitting: {
128
- type: string;
129
- };
130
- externals: {
131
- type: string;
132
- items: {
133
- anyOf: ({
134
- instanceof: string;
135
- typeof?: undefined;
136
- } | {
137
- typeof: string;
138
- instanceof?: undefined;
139
- })[];
140
- };
141
- };
142
- platform: {
143
- enum: string[];
144
- };
145
- minify: {
146
- enum: (string | boolean)[];
147
- };
148
- skipDeps: {
149
- type: string;
150
- };
151
- };
152
- };
153
- bundlelessOptions: {
154
- type: string;
155
- properties: {
156
- sourceDir: {
157
- type: string;
158
- };
159
- style: {
160
- type: string;
161
- properties: {
162
- compileMode: {
163
- enum: (string | boolean)[];
164
- };
165
- path: {
166
- type: string;
167
- };
168
- };
169
- };
170
- static: {
171
- type: string;
172
- properties: {
173
- path: {
174
- type: string;
175
- };
176
- };
177
- };
178
- };
179
- };
180
- tsconfig: {
181
- type: string;
182
- };
183
- enableDts: {
184
- type: string;
185
- };
186
- dtsOnly: {
187
- type: string;
188
- };
189
- outputPath: {
190
- type: string;
191
- };
192
- };
193
- additionalProperties: boolean;
194
- };
195
- enum?: undefined;
196
- };
197
- } | {
198
- target: string;
199
- schema: {
200
- enum: string[];
201
- if?: undefined;
202
- then?: undefined;
203
- else?: undefined;
204
- };
205
- })[];
206
- export declare const outputSchema: ({
207
- target: string;
208
- schema: {
209
- if: {
210
- type: string;
211
- };
212
- then: {
213
- items: {
214
- type: string;
215
- properties: {
216
- target: {
217
- enum: string[];
218
- };
219
- format: {
220
- enum: string[];
221
- };
222
- sourceMap: {
223
- enum: (string | boolean)[];
224
- };
225
- buildType: {
226
- enum: string[];
227
- };
228
- bundleOptions: {
229
- type: string;
230
- properties: {
231
- getModuleId: {
232
- instanceof: string;
233
- };
234
- entry: {
235
- type: string;
236
- };
237
- splitting: {
238
- type: string;
239
- };
240
- externals: {
241
- type: string;
242
- items: {
243
- anyOf: ({
244
- instanceof: string;
245
- typeof?: undefined;
246
- } | {
247
- typeof: string;
248
- instanceof?: undefined;
249
- })[];
250
- };
251
- };
252
- platform: {
253
- enum: string[];
254
- };
255
- minify: {
256
- enum: (string | boolean)[];
257
- };
258
- skipDeps: {
259
- type: string;
260
- };
261
- };
262
- };
263
- bundlelessOptions: {
264
- type: string;
265
- properties: {
266
- sourceDir: {
267
- type: string;
268
- };
269
- style: {
270
- type: string;
271
- properties: {
272
- compileMode: {
273
- enum: (string | boolean)[];
274
- };
275
- path: {
276
- type: string;
277
- };
278
- };
279
- };
280
- static: {
281
- type: string;
282
- properties: {
283
- path: {
284
- type: string;
285
- };
286
- };
287
- };
288
- };
289
- };
290
- tsconfig: {
291
- type: string;
292
- };
293
- enableDts: {
294
- type: string;
295
- };
296
- dtsOnly: {
297
- type: string;
298
- };
299
- outputPath: {
300
- type: string;
301
- };
302
- };
303
- additionalProperties: boolean;
304
- }[];
305
- };
306
- else: {
307
- type: string;
308
- properties: {
309
- target: {
310
- enum: string[];
311
- };
312
- format: {
313
- enum: string[];
314
- };
315
- sourceMap: {
316
- enum: (string | boolean)[];
317
- };
318
- buildType: {
319
- enum: string[];
320
- };
321
- bundleOptions: {
322
- type: string;
323
- properties: {
324
- getModuleId: {
325
- instanceof: string;
326
- };
327
- entry: {
328
- type: string;
329
- };
330
- splitting: {
331
- type: string;
332
- };
333
- externals: {
334
- type: string;
335
- items: {
336
- anyOf: ({
337
- instanceof: string;
338
- typeof?: undefined;
339
- } | {
340
- typeof: string;
341
- instanceof?: undefined;
342
- })[];
343
- };
344
- };
345
- platform: {
346
- enum: string[];
347
- };
348
- minify: {
349
- enum: (string | boolean)[];
350
- };
351
- skipDeps: {
352
- type: string;
353
- };
354
- };
355
- };
356
- bundlelessOptions: {
357
- type: string;
358
- properties: {
359
- sourceDir: {
360
- type: string;
361
- };
362
- style: {
363
- type: string;
364
- properties: {
365
- compileMode: {
366
- enum: (string | boolean)[];
367
- };
368
- path: {
369
- type: string;
370
- };
371
- };
372
- };
373
- static: {
374
- type: string;
375
- properties: {
376
- path: {
377
- type: string;
378
- };
379
- };
380
- };
381
- };
382
- };
383
- tsconfig: {
384
- type: string;
385
- };
386
- enableDts: {
387
- type: string;
388
- };
389
- dtsOnly: {
390
- type: string;
391
- };
392
- outputPath: {
393
- type: string;
394
- };
395
- };
396
- additionalProperties: boolean;
397
- };
398
- enum?: undefined;
399
- };
400
- } | {
401
- target: string;
402
- schema: {
403
- enum: string[];
404
- if?: undefined;
405
- then?: undefined;
406
- else?: undefined;
407
- };
408
- } | {
409
- target: string;
410
- schema: {
411
- typeof: string;
412
- default?: undefined;
413
- };
414
- } | {
415
- target: string;
416
- schema: {
417
- typeof: string;
418
- default: string;
419
- };
420
- })[];
421
- export declare const sourceSchema: {
422
- target: string;
423
- schema: {
424
- enum: string[];
425
- };
426
- }[];
427
- export declare const toolsSchema: {
428
- target: string;
429
- schema: {
430
- typeof: string[];
431
- };
432
- }[];
433
- export declare const legacySchema: ({
434
- target: string;
435
- schema: {
436
- if: {
437
- type: string;
438
- };
439
- then: {
440
- items: {
441
- type: string;
442
- properties: {
443
- target: {
444
- enum: string[];
445
- };
446
- format: {
447
- enum: string[];
448
- };
449
- sourceMap: {
450
- enum: (string | boolean)[];
451
- };
452
- buildType: {
453
- enum: string[];
454
- };
455
- bundleOptions: {
456
- type: string;
457
- properties: {
458
- getModuleId: {
459
- instanceof: string;
460
- };
461
- entry: {
462
- type: string;
463
- };
464
- splitting: {
465
- type: string;
466
- };
467
- externals: {
468
- type: string;
469
- items: {
470
- anyOf: ({
471
- instanceof: string;
472
- typeof?: undefined;
473
- } | {
474
- typeof: string;
475
- instanceof?: undefined;
476
- })[];
477
- };
478
- };
479
- platform: {
480
- enum: string[];
481
- };
482
- minify: {
483
- enum: (string | boolean)[];
484
- };
485
- skipDeps: {
486
- type: string;
487
- };
488
- };
489
- };
490
- bundlelessOptions: {
491
- type: string;
492
- properties: {
493
- sourceDir: {
494
- type: string;
495
- };
496
- style: {
497
- type: string;
498
- properties: {
499
- compileMode: {
500
- enum: (string | boolean)[];
501
- };
502
- path: {
503
- type: string;
504
- };
505
- };
506
- };
507
- static: {
508
- type: string;
509
- properties: {
510
- path: {
511
- type: string;
512
- };
513
- };
514
- };
515
- };
516
- };
517
- tsconfig: {
518
- type: string;
519
- };
520
- enableDts: {
521
- type: string;
522
- };
523
- dtsOnly: {
524
- type: string;
525
- };
526
- outputPath: {
527
- type: string;
528
- };
529
- };
530
- additionalProperties: boolean;
531
- }[];
532
- };
533
- else: {
534
- type: string;
535
- properties: {
536
- target: {
537
- enum: string[];
538
- };
539
- format: {
540
- enum: string[];
541
- };
542
- sourceMap: {
543
- enum: (string | boolean)[];
544
- };
545
- buildType: {
546
- enum: string[];
547
- };
548
- bundleOptions: {
549
- type: string;
550
- properties: {
551
- getModuleId: {
552
- instanceof: string;
553
- };
554
- entry: {
555
- type: string;
556
- };
557
- splitting: {
558
- type: string;
559
- };
560
- externals: {
561
- type: string;
562
- items: {
563
- anyOf: ({
564
- instanceof: string;
565
- typeof?: undefined;
566
- } | {
567
- typeof: string;
568
- instanceof?: undefined;
569
- })[];
570
- };
571
- };
572
- platform: {
573
- enum: string[];
574
- };
575
- minify: {
576
- enum: (string | boolean)[];
577
- };
578
- skipDeps: {
579
- type: string;
580
- };
581
- };
582
- };
583
- bundlelessOptions: {
584
- type: string;
585
- properties: {
586
- sourceDir: {
587
- type: string;
588
- };
589
- style: {
590
- type: string;
591
- properties: {
592
- compileMode: {
593
- enum: (string | boolean)[];
594
- };
595
- path: {
596
- type: string;
597
- };
598
- };
599
- };
600
- static: {
601
- type: string;
602
- properties: {
603
- path: {
604
- type: string;
605
- };
606
- };
607
- };
608
- };
609
- };
610
- tsconfig: {
611
- type: string;
612
- };
613
- enableDts: {
614
- type: string;
615
- };
616
- dtsOnly: {
617
- type: string;
618
- };
619
- outputPath: {
620
- type: string;
621
- };
622
- };
623
- additionalProperties: boolean;
624
- };
625
- enum?: undefined;
626
- };
627
- } | {
628
- target: string;
629
- schema: {
630
- typeof: string;
631
- default?: undefined;
632
- };
633
- } | {
634
- target: string;
635
- schema: {
636
- typeof: string;
637
- default: string;
638
- };
639
- } | {
640
- target: string;
641
- schema: {
642
- enum: string[];
643
- };
644
- } | {
645
- target: string;
646
- schema: {
647
- typeof: string[];
648
- };
649
- })[];