@modern-js/module-tools 2.39.2 → 2.41.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,889 +0,0 @@
1
- export declare const targets: string[];
2
- export declare const presets: string[];
3
- export declare const buildConfig: {
4
- target: string;
5
- schema: {
6
- if: {
7
- type: string;
8
- };
9
- then: {
10
- items: {
11
- type: string;
12
- properties: {
13
- alias: {
14
- typeof: string[];
15
- };
16
- hooks: {
17
- type: string;
18
- };
19
- resolve: {
20
- type: string;
21
- };
22
- banner: {
23
- type: string;
24
- };
25
- asset: {
26
- type: string;
27
- };
28
- autoExternal: {
29
- if: {
30
- type: string;
31
- };
32
- then: {
33
- properties: {
34
- dependencies: {
35
- type: string;
36
- };
37
- peerDependencies: {
38
- type: string;
39
- };
40
- };
41
- };
42
- else: {
43
- type: string;
44
- };
45
- };
46
- buildType: {
47
- enum: string[];
48
- };
49
- copy: {
50
- type: string;
51
- properties: {
52
- patterns: {
53
- type: string;
54
- items: {
55
- type: string;
56
- properties: {
57
- from: {
58
- type: string;
59
- };
60
- to: {
61
- type: string;
62
- };
63
- context: {
64
- type: string;
65
- };
66
- globOptions: {
67
- type: string;
68
- };
69
- };
70
- };
71
- };
72
- options: {
73
- type: string;
74
- properties: {
75
- concurrency: {
76
- type: string;
77
- };
78
- };
79
- };
80
- };
81
- };
82
- define: {
83
- typeof: string;
84
- };
85
- dts: {
86
- if: {
87
- type: string;
88
- };
89
- then: {
90
- properties: {
91
- distPath: {
92
- type: string;
93
- };
94
- tsconfigPath: {
95
- type: string;
96
- };
97
- abortOnError: {
98
- type: string;
99
- };
100
- respectExternal: {
101
- type: string;
102
- };
103
- };
104
- };
105
- else: {
106
- type: string;
107
- };
108
- };
109
- autoExtension: {
110
- type: string;
111
- };
112
- externals: {
113
- type: string;
114
- items: {
115
- anyOf: ({
116
- instanceof: string;
117
- typeof?: undefined;
118
- } | {
119
- typeof: string;
120
- instanceof?: undefined;
121
- })[];
122
- };
123
- };
124
- format: {
125
- enum: string[];
126
- };
127
- input: {
128
- type: string[];
129
- };
130
- jsx: {
131
- enum: string[];
132
- };
133
- minify: {
134
- if: {
135
- type: string;
136
- };
137
- else: {
138
- enum: (string | boolean)[];
139
- };
140
- };
141
- outDir: {
142
- type: string;
143
- };
144
- platform: {
145
- enum: string[];
146
- };
147
- sourceDir: {
148
- typeof: string;
149
- };
150
- sourceMap: {
151
- enum: (string | boolean)[];
152
- };
153
- splitting: {
154
- type: string;
155
- };
156
- style: {
157
- type: string;
158
- };
159
- redirect: {
160
- type: string;
161
- };
162
- target: {
163
- enum: string[];
164
- };
165
- umdGlobals: {
166
- type: string;
167
- };
168
- esbuildOpitons: {
169
- instanceof: string;
170
- };
171
- umdModuleName: {
172
- anyOf: ({
173
- instanceof: string;
174
- typeof?: undefined;
175
- } | {
176
- typeof: string;
177
- instanceof?: undefined;
178
- })[];
179
- };
180
- shims: {
181
- type: string;
182
- };
183
- sideEffects: {
184
- anyOf: ({
185
- type: string;
186
- items: {
187
- instanceof: string;
188
- };
189
- instanceof?: undefined;
190
- } | {
191
- type: string;
192
- items?: undefined;
193
- instanceof?: undefined;
194
- } | {
195
- instanceof: string;
196
- type?: undefined;
197
- items?: undefined;
198
- })[];
199
- };
200
- externalHelpers: {
201
- type: string;
202
- };
203
- tsconfig: {
204
- type: string;
205
- };
206
- transformImport: {
207
- type: string;
208
- };
209
- transformLodash: {
210
- type: string;
211
- };
212
- sourceType: {
213
- enum: string[];
214
- };
215
- };
216
- }[];
217
- };
218
- else: {
219
- type: string;
220
- properties: {
221
- alias: {
222
- typeof: string[];
223
- };
224
- hooks: {
225
- type: string;
226
- };
227
- resolve: {
228
- type: string;
229
- };
230
- banner: {
231
- type: string;
232
- };
233
- asset: {
234
- type: string;
235
- };
236
- autoExternal: {
237
- if: {
238
- type: string;
239
- };
240
- then: {
241
- properties: {
242
- dependencies: {
243
- type: string;
244
- };
245
- peerDependencies: {
246
- type: string;
247
- };
248
- };
249
- };
250
- else: {
251
- type: string;
252
- };
253
- };
254
- buildType: {
255
- enum: string[];
256
- };
257
- copy: {
258
- type: string;
259
- properties: {
260
- patterns: {
261
- type: string;
262
- items: {
263
- type: string;
264
- properties: {
265
- from: {
266
- type: string;
267
- };
268
- to: {
269
- type: string;
270
- };
271
- context: {
272
- type: string;
273
- };
274
- globOptions: {
275
- type: string;
276
- };
277
- };
278
- };
279
- };
280
- options: {
281
- type: string;
282
- properties: {
283
- concurrency: {
284
- type: string;
285
- };
286
- };
287
- };
288
- };
289
- };
290
- define: {
291
- typeof: string;
292
- };
293
- dts: {
294
- if: {
295
- type: string;
296
- };
297
- then: {
298
- properties: {
299
- distPath: {
300
- type: string;
301
- };
302
- tsconfigPath: {
303
- type: string;
304
- };
305
- abortOnError: {
306
- type: string;
307
- };
308
- respectExternal: {
309
- type: string;
310
- };
311
- };
312
- };
313
- else: {
314
- type: string;
315
- };
316
- };
317
- autoExtension: {
318
- type: string;
319
- };
320
- externals: {
321
- type: string;
322
- items: {
323
- anyOf: ({
324
- instanceof: string;
325
- typeof?: undefined;
326
- } | {
327
- typeof: string;
328
- instanceof?: undefined;
329
- })[];
330
- };
331
- };
332
- format: {
333
- enum: string[];
334
- };
335
- input: {
336
- type: string[];
337
- };
338
- jsx: {
339
- enum: string[];
340
- };
341
- minify: {
342
- if: {
343
- type: string;
344
- };
345
- else: {
346
- enum: (string | boolean)[];
347
- };
348
- };
349
- outDir: {
350
- type: string;
351
- };
352
- platform: {
353
- enum: string[];
354
- };
355
- sourceDir: {
356
- typeof: string;
357
- };
358
- sourceMap: {
359
- enum: (string | boolean)[];
360
- };
361
- splitting: {
362
- type: string;
363
- };
364
- style: {
365
- type: string;
366
- };
367
- redirect: {
368
- type: string;
369
- };
370
- target: {
371
- enum: string[];
372
- };
373
- umdGlobals: {
374
- type: string;
375
- };
376
- esbuildOpitons: {
377
- instanceof: string;
378
- };
379
- umdModuleName: {
380
- anyOf: ({
381
- instanceof: string;
382
- typeof?: undefined;
383
- } | {
384
- typeof: string;
385
- instanceof?: undefined;
386
- })[];
387
- };
388
- shims: {
389
- type: string;
390
- };
391
- sideEffects: {
392
- anyOf: ({
393
- type: string;
394
- items: {
395
- instanceof: string;
396
- };
397
- instanceof?: undefined;
398
- } | {
399
- type: string;
400
- items?: undefined;
401
- instanceof?: undefined;
402
- } | {
403
- instanceof: string;
404
- type?: undefined;
405
- items?: undefined;
406
- })[];
407
- };
408
- externalHelpers: {
409
- type: string;
410
- };
411
- tsconfig: {
412
- type: string;
413
- };
414
- transformImport: {
415
- type: string;
416
- };
417
- transformLodash: {
418
- type: string;
419
- };
420
- sourceType: {
421
- enum: string[];
422
- };
423
- };
424
- };
425
- };
426
- };
427
- export declare const buildPreset: {
428
- target: string;
429
- schema: {
430
- if: {
431
- type: string;
432
- };
433
- then: {
434
- enum: string[];
435
- };
436
- else: {
437
- typeof: string;
438
- };
439
- };
440
- };
441
- export declare const legacy: {
442
- target: string;
443
- schema: {
444
- type: string;
445
- };
446
- };
447
- export declare const schema: ({
448
- target: string;
449
- schema: {
450
- if: {
451
- type: string;
452
- };
453
- then: {
454
- items: {
455
- type: string;
456
- properties: {
457
- alias: {
458
- typeof: string[];
459
- };
460
- hooks: {
461
- type: string;
462
- };
463
- resolve: {
464
- type: string;
465
- };
466
- banner: {
467
- type: string;
468
- };
469
- asset: {
470
- type: string;
471
- };
472
- autoExternal: {
473
- if: {
474
- type: string;
475
- };
476
- then: {
477
- properties: {
478
- dependencies: {
479
- type: string;
480
- };
481
- peerDependencies: {
482
- type: string;
483
- };
484
- };
485
- };
486
- else: {
487
- type: string;
488
- };
489
- };
490
- buildType: {
491
- enum: string[];
492
- };
493
- copy: {
494
- type: string;
495
- properties: {
496
- patterns: {
497
- type: string;
498
- items: {
499
- type: string;
500
- properties: {
501
- from: {
502
- type: string;
503
- };
504
- to: {
505
- type: string;
506
- };
507
- context: {
508
- type: string;
509
- };
510
- globOptions: {
511
- type: string;
512
- };
513
- };
514
- };
515
- };
516
- options: {
517
- type: string;
518
- properties: {
519
- concurrency: {
520
- type: string;
521
- };
522
- };
523
- };
524
- };
525
- };
526
- define: {
527
- typeof: string;
528
- };
529
- dts: {
530
- if: {
531
- type: string;
532
- };
533
- then: {
534
- properties: {
535
- distPath: {
536
- type: string;
537
- };
538
- tsconfigPath: {
539
- type: string;
540
- };
541
- abortOnError: {
542
- type: string;
543
- };
544
- respectExternal: {
545
- type: string;
546
- };
547
- };
548
- };
549
- else: {
550
- type: string;
551
- };
552
- };
553
- autoExtension: {
554
- type: string;
555
- };
556
- externals: {
557
- type: string;
558
- items: {
559
- anyOf: ({
560
- instanceof: string;
561
- typeof?: undefined;
562
- } | {
563
- typeof: string;
564
- instanceof?: undefined;
565
- })[];
566
- };
567
- };
568
- format: {
569
- enum: string[];
570
- };
571
- input: {
572
- type: string[];
573
- };
574
- jsx: {
575
- enum: string[];
576
- };
577
- minify: {
578
- if: {
579
- type: string;
580
- };
581
- else: {
582
- enum: (string | boolean)[];
583
- };
584
- };
585
- outDir: {
586
- type: string;
587
- };
588
- platform: {
589
- enum: string[];
590
- };
591
- sourceDir: {
592
- typeof: string;
593
- };
594
- sourceMap: {
595
- enum: (string | boolean)[];
596
- };
597
- splitting: {
598
- type: string;
599
- };
600
- style: {
601
- type: string;
602
- };
603
- redirect: {
604
- type: string;
605
- };
606
- target: {
607
- enum: string[];
608
- };
609
- umdGlobals: {
610
- type: string;
611
- };
612
- esbuildOpitons: {
613
- instanceof: string;
614
- };
615
- umdModuleName: {
616
- anyOf: ({
617
- instanceof: string;
618
- typeof?: undefined;
619
- } | {
620
- typeof: string;
621
- instanceof?: undefined;
622
- })[];
623
- };
624
- shims: {
625
- type: string;
626
- };
627
- sideEffects: {
628
- anyOf: ({
629
- type: string;
630
- items: {
631
- instanceof: string;
632
- };
633
- instanceof?: undefined;
634
- } | {
635
- type: string;
636
- items?: undefined;
637
- instanceof?: undefined;
638
- } | {
639
- instanceof: string;
640
- type?: undefined;
641
- items?: undefined;
642
- })[];
643
- };
644
- externalHelpers: {
645
- type: string;
646
- };
647
- tsconfig: {
648
- type: string;
649
- };
650
- transformImport: {
651
- type: string;
652
- };
653
- transformLodash: {
654
- type: string;
655
- };
656
- sourceType: {
657
- enum: string[];
658
- };
659
- };
660
- }[];
661
- };
662
- else: {
663
- type: string;
664
- properties: {
665
- alias: {
666
- typeof: string[];
667
- };
668
- hooks: {
669
- type: string;
670
- };
671
- resolve: {
672
- type: string;
673
- };
674
- banner: {
675
- type: string;
676
- };
677
- asset: {
678
- type: string;
679
- };
680
- autoExternal: {
681
- if: {
682
- type: string;
683
- };
684
- then: {
685
- properties: {
686
- dependencies: {
687
- type: string;
688
- };
689
- peerDependencies: {
690
- type: string;
691
- };
692
- };
693
- };
694
- else: {
695
- type: string;
696
- };
697
- };
698
- buildType: {
699
- enum: string[];
700
- };
701
- copy: {
702
- type: string;
703
- properties: {
704
- patterns: {
705
- type: string;
706
- items: {
707
- type: string;
708
- properties: {
709
- from: {
710
- type: string;
711
- };
712
- to: {
713
- type: string;
714
- };
715
- context: {
716
- type: string;
717
- };
718
- globOptions: {
719
- type: string;
720
- };
721
- };
722
- };
723
- };
724
- options: {
725
- type: string;
726
- properties: {
727
- concurrency: {
728
- type: string;
729
- };
730
- };
731
- };
732
- };
733
- };
734
- define: {
735
- typeof: string;
736
- };
737
- dts: {
738
- if: {
739
- type: string;
740
- };
741
- then: {
742
- properties: {
743
- distPath: {
744
- type: string;
745
- };
746
- tsconfigPath: {
747
- type: string;
748
- };
749
- abortOnError: {
750
- type: string;
751
- };
752
- respectExternal: {
753
- type: string;
754
- };
755
- };
756
- };
757
- else: {
758
- type: string;
759
- };
760
- };
761
- autoExtension: {
762
- type: string;
763
- };
764
- externals: {
765
- type: string;
766
- items: {
767
- anyOf: ({
768
- instanceof: string;
769
- typeof?: undefined;
770
- } | {
771
- typeof: string;
772
- instanceof?: undefined;
773
- })[];
774
- };
775
- };
776
- format: {
777
- enum: string[];
778
- };
779
- input: {
780
- type: string[];
781
- };
782
- jsx: {
783
- enum: string[];
784
- };
785
- minify: {
786
- if: {
787
- type: string;
788
- };
789
- else: {
790
- enum: (string | boolean)[];
791
- };
792
- };
793
- outDir: {
794
- type: string;
795
- };
796
- platform: {
797
- enum: string[];
798
- };
799
- sourceDir: {
800
- typeof: string;
801
- };
802
- sourceMap: {
803
- enum: (string | boolean)[];
804
- };
805
- splitting: {
806
- type: string;
807
- };
808
- style: {
809
- type: string;
810
- };
811
- redirect: {
812
- type: string;
813
- };
814
- target: {
815
- enum: string[];
816
- };
817
- umdGlobals: {
818
- type: string;
819
- };
820
- esbuildOpitons: {
821
- instanceof: string;
822
- };
823
- umdModuleName: {
824
- anyOf: ({
825
- instanceof: string;
826
- typeof?: undefined;
827
- } | {
828
- typeof: string;
829
- instanceof?: undefined;
830
- })[];
831
- };
832
- shims: {
833
- type: string;
834
- };
835
- sideEffects: {
836
- anyOf: ({
837
- type: string;
838
- items: {
839
- instanceof: string;
840
- };
841
- instanceof?: undefined;
842
- } | {
843
- type: string;
844
- items?: undefined;
845
- instanceof?: undefined;
846
- } | {
847
- instanceof: string;
848
- type?: undefined;
849
- items?: undefined;
850
- })[];
851
- };
852
- externalHelpers: {
853
- type: string;
854
- };
855
- tsconfig: {
856
- type: string;
857
- };
858
- transformImport: {
859
- type: string;
860
- };
861
- transformLodash: {
862
- type: string;
863
- };
864
- sourceType: {
865
- enum: string[];
866
- };
867
- };
868
- };
869
- };
870
- } | {
871
- target: string;
872
- schema: {
873
- if: {
874
- type: string;
875
- };
876
- then: {
877
- enum: string[];
878
- };
879
- else: {
880
- typeof: string;
881
- };
882
- };
883
- } | {
884
- target: string;
885
- schema: {
886
- type: string;
887
- };
888
- })[];
889
- export { legacySchema } from './legacySchema';