@teambit/component-writer 1.0.516 → 1.0.517

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,1966 +0,0 @@
1
- {
2
- "__schema": "APISchema",
3
- "location": {
4
- "filePath": "index.ts",
5
- "line": 1,
6
- "character": 1
7
- },
8
- "module": {
9
- "__schema": "ModuleSchema",
10
- "location": {
11
- "filePath": "index.ts",
12
- "line": 1,
13
- "character": 1
14
- },
15
- "exports": [
16
- {
17
- "__schema": "ExportSchema",
18
- "location": {
19
- "filePath": "index.ts",
20
- "line": 4,
21
- "character": 3
22
- },
23
- "signature": "class ComponentWriterMain",
24
- "name": "ComponentWriterMain",
25
- "exportNode": {
26
- "__schema": "ClassSchema",
27
- "location": {
28
- "filePath": "component-writer.main.runtime.ts",
29
- "line": 52,
30
- "character": 1
31
- },
32
- "signature": "class ComponentWriterMain",
33
- "name": "ComponentWriterMain",
34
- "members": [
35
- {
36
- "__schema": "ConstructorSchema",
37
- "location": {
38
- "filePath": "component-writer.main.runtime.ts",
39
- "line": 53,
40
- "character": 3
41
- },
42
- "signature": "constructor ComponentWriterMain(installer: InstallMain, compiler: CompilerMain, workspace: Workspace, logger: Logger, mover: MoverMain, configMerge: ConfigMergerMain): ComponentWriterMain",
43
- "name": "constructor",
44
- "params": [
45
- {
46
- "__schema": "ParameterSchema",
47
- "location": {
48
- "filePath": "component-writer.main.runtime.ts",
49
- "line": 54,
50
- "character": 5
51
- },
52
- "name": "installer",
53
- "type": {
54
- "__schema": "TypeRefSchema",
55
- "location": {
56
- "filePath": "component-writer.main.runtime.ts",
57
- "line": 54,
58
- "character": 24
59
- },
60
- "name": "InstallMain",
61
- "componentId": {
62
- "scope": "teambit.workspace",
63
- "name": "install"
64
- }
65
- },
66
- "isOptional": false,
67
- "isSpread": false
68
- },
69
- {
70
- "__schema": "ParameterSchema",
71
- "location": {
72
- "filePath": "component-writer.main.runtime.ts",
73
- "line": 55,
74
- "character": 5
75
- },
76
- "name": "compiler",
77
- "type": {
78
- "__schema": "TypeRefSchema",
79
- "location": {
80
- "filePath": "component-writer.main.runtime.ts",
81
- "line": 55,
82
- "character": 23
83
- },
84
- "name": "CompilerMain",
85
- "componentId": {
86
- "scope": "teambit.compilation",
87
- "name": "compiler"
88
- }
89
- },
90
- "isOptional": false,
91
- "isSpread": false
92
- },
93
- {
94
- "__schema": "ParameterSchema",
95
- "location": {
96
- "filePath": "component-writer.main.runtime.ts",
97
- "line": 56,
98
- "character": 5
99
- },
100
- "name": "workspace",
101
- "type": {
102
- "__schema": "TypeRefSchema",
103
- "location": {
104
- "filePath": "component-writer.main.runtime.ts",
105
- "line": 56,
106
- "character": 24
107
- },
108
- "name": "Workspace",
109
- "componentId": {
110
- "scope": "teambit.workspace",
111
- "name": "workspace"
112
- }
113
- },
114
- "isOptional": false,
115
- "isSpread": false
116
- },
117
- {
118
- "__schema": "ParameterSchema",
119
- "location": {
120
- "filePath": "component-writer.main.runtime.ts",
121
- "line": 57,
122
- "character": 5
123
- },
124
- "name": "logger",
125
- "type": {
126
- "__schema": "TypeRefSchema",
127
- "location": {
128
- "filePath": "component-writer.main.runtime.ts",
129
- "line": 57,
130
- "character": 21
131
- },
132
- "name": "Logger",
133
- "componentId": {
134
- "scope": "teambit.harmony",
135
- "name": "logger"
136
- }
137
- },
138
- "isOptional": false,
139
- "isSpread": false
140
- },
141
- {
142
- "__schema": "ParameterSchema",
143
- "location": {
144
- "filePath": "component-writer.main.runtime.ts",
145
- "line": 58,
146
- "character": 5
147
- },
148
- "name": "mover",
149
- "type": {
150
- "__schema": "TypeRefSchema",
151
- "location": {
152
- "filePath": "component-writer.main.runtime.ts",
153
- "line": 58,
154
- "character": 20
155
- },
156
- "name": "MoverMain",
157
- "componentId": {
158
- "scope": "teambit.component",
159
- "name": "mover"
160
- }
161
- },
162
- "isOptional": false,
163
- "isSpread": false
164
- },
165
- {
166
- "__schema": "ParameterSchema",
167
- "location": {
168
- "filePath": "component-writer.main.runtime.ts",
169
- "line": 59,
170
- "character": 5
171
- },
172
- "name": "configMerge",
173
- "type": {
174
- "__schema": "TypeRefSchema",
175
- "location": {
176
- "filePath": "component-writer.main.runtime.ts",
177
- "line": 59,
178
- "character": 26
179
- },
180
- "name": "ConfigMergerMain",
181
- "componentId": {
182
- "scope": "teambit.workspace",
183
- "name": "config-merger"
184
- }
185
- },
186
- "isOptional": false,
187
- "isSpread": false
188
- }
189
- ],
190
- "returnType": {
191
- "__schema": "ThisTypeSchema",
192
- "location": {
193
- "filePath": "component-writer.main.runtime.ts",
194
- "line": 52,
195
- "character": 1
196
- },
197
- "name": "ComponentWriterMain"
198
- },
199
- "modifiers": []
200
- },
201
- {
202
- "__schema": "GetAccessorSchema",
203
- "location": {
204
- "filePath": "component-writer.main.runtime.ts",
205
- "line": 62,
206
- "character": 3
207
- },
208
- "signature": "(getter) ComponentWriterMain.consumer: Consumer",
209
- "name": "consumer",
210
- "type": {
211
- "__schema": "TypeRefSchema",
212
- "location": {
213
- "filePath": "component-writer.main.runtime.ts",
214
- "line": 62,
215
- "character": 3
216
- },
217
- "name": "Consumer",
218
- "componentId": {
219
- "scope": "teambit.legacy",
220
- "name": "consumer",
221
- "version": "0.0.21"
222
- }
223
- }
224
- },
225
- {
226
- "__schema": "FunctionLikeSchema",
227
- "location": {
228
- "filePath": "component-writer.main.runtime.ts",
229
- "line": 66,
230
- "character": 3
231
- },
232
- "signature": "(method) ComponentWriterMain.writeMany(opts: ManyComponentsWriterParams): Promise<ComponentWriterResults>",
233
- "name": "writeMany",
234
- "params": [
235
- {
236
- "__schema": "ParameterSchema",
237
- "location": {
238
- "filePath": "component-writer.main.runtime.ts",
239
- "line": 66,
240
- "character": 19
241
- },
242
- "name": "opts",
243
- "type": {
244
- "__schema": "TypeRefSchema",
245
- "location": {
246
- "filePath": "component-writer.main.runtime.ts",
247
- "line": 66,
248
- "character": 25
249
- },
250
- "name": "ManyComponentsWriterParams"
251
- },
252
- "isOptional": false,
253
- "isSpread": false
254
- }
255
- ],
256
- "returnType": {
257
- "__schema": "TypeRefSchema",
258
- "location": {
259
- "filePath": "component-writer.main.runtime.ts",
260
- "line": 66,
261
- "character": 54
262
- },
263
- "name": "Promise",
264
- "typeArgs": [
265
- {
266
- "__schema": "TypeRefSchema",
267
- "location": {
268
- "filePath": "component-writer.main.runtime.ts",
269
- "line": 66,
270
- "character": 62
271
- },
272
- "name": "ComponentWriterResults"
273
- }
274
- ]
275
- },
276
- "modifiers": [
277
- "async"
278
- ]
279
- },
280
- {
281
- "__schema": "VariableLikeSchema",
282
- "location": {
283
- "filePath": "component-writer.main.runtime.ts",
284
- "line": 323,
285
- "character": 3
286
- },
287
- "signature": "(property) ComponentWriterMain.slots: never[]",
288
- "name": "slots",
289
- "type": {
290
- "__schema": "InferenceTypeSchema",
291
- "location": {
292
- "filePath": "component-writer.main.runtime.ts",
293
- "line": 323,
294
- "character": 3
295
- },
296
- "type": "never[]"
297
- },
298
- "isOptional": true,
299
- "defaultValue": "[]"
300
- },
301
- {
302
- "__schema": "VariableLikeSchema",
303
- "location": {
304
- "filePath": "component-writer.main.runtime.ts",
305
- "line": 324,
306
- "character": 3
307
- },
308
- "signature": "(property) ComponentWriterMain.dependencies: Aspect[]",
309
- "name": "dependencies",
310
- "type": {
311
- "__schema": "InferenceTypeSchema",
312
- "location": {
313
- "filePath": "component-writer.main.runtime.ts",
314
- "line": 324,
315
- "character": 3
316
- },
317
- "type": "Aspect[]"
318
- },
319
- "isOptional": true,
320
- "defaultValue": "[InstallAspect, CompilerAspect, LoggerAspect, WorkspaceAspect, MoverAspect, ConfigMergerAspect]"
321
- },
322
- {
323
- "__schema": "VariableLikeSchema",
324
- "location": {
325
- "filePath": "component-writer.main.runtime.ts",
326
- "line": 325,
327
- "character": 3
328
- },
329
- "signature": "(property) ComponentWriterMain.runtime: RuntimeDefinition",
330
- "name": "runtime",
331
- "type": {
332
- "__schema": "InferenceTypeSchema",
333
- "location": {
334
- "filePath": "component-writer.main.runtime.ts",
335
- "line": 325,
336
- "character": 3
337
- },
338
- "type": "RuntimeDefinition"
339
- },
340
- "isOptional": true,
341
- "defaultValue": "MainRuntime"
342
- },
343
- {
344
- "__schema": "FunctionLikeSchema",
345
- "location": {
346
- "filePath": "component-writer.main.runtime.ts",
347
- "line": 326,
348
- "character": 3
349
- },
350
- "signature": "(method) ComponentWriterMain.provider([install, compiler, loggerMain, workspace, mover, configMerger]: [InstallMain, CompilerMain, LoggerMain, Workspace, MoverMain, ConfigMergerMain]): Promise<ComponentWriterMain>",
351
- "name": "provider",
352
- "params": [
353
- {
354
- "__schema": "ParameterSchema",
355
- "location": {
356
- "filePath": "component-writer.main.runtime.ts",
357
- "line": 326,
358
- "character": 25
359
- },
360
- "name": "[ install, compiler, loggerMain, workspace, mover, configMerger ]",
361
- "type": {
362
- "__schema": "TupleTypeSchema",
363
- "location": {
364
- "filePath": "component-writer.main.runtime.ts",
365
- "line": 326,
366
- "character": 90
367
- },
368
- "elements": [
369
- {
370
- "__schema": "TypeRefSchema",
371
- "location": {
372
- "filePath": "component-writer.main.runtime.ts",
373
- "line": 327,
374
- "character": 5
375
- },
376
- "name": "InstallMain",
377
- "componentId": {
378
- "scope": "teambit.workspace",
379
- "name": "install"
380
- }
381
- },
382
- {
383
- "__schema": "TypeRefSchema",
384
- "location": {
385
- "filePath": "component-writer.main.runtime.ts",
386
- "line": 328,
387
- "character": 5
388
- },
389
- "name": "CompilerMain",
390
- "componentId": {
391
- "scope": "teambit.compilation",
392
- "name": "compiler"
393
- }
394
- },
395
- {
396
- "__schema": "TypeRefSchema",
397
- "location": {
398
- "filePath": "component-writer.main.runtime.ts",
399
- "line": 329,
400
- "character": 5
401
- },
402
- "name": "LoggerMain",
403
- "componentId": {
404
- "scope": "teambit.harmony",
405
- "name": "logger"
406
- }
407
- },
408
- {
409
- "__schema": "TypeRefSchema",
410
- "location": {
411
- "filePath": "component-writer.main.runtime.ts",
412
- "line": 330,
413
- "character": 5
414
- },
415
- "name": "Workspace",
416
- "componentId": {
417
- "scope": "teambit.workspace",
418
- "name": "workspace"
419
- }
420
- },
421
- {
422
- "__schema": "TypeRefSchema",
423
- "location": {
424
- "filePath": "component-writer.main.runtime.ts",
425
- "line": 331,
426
- "character": 5
427
- },
428
- "name": "MoverMain",
429
- "componentId": {
430
- "scope": "teambit.component",
431
- "name": "mover"
432
- }
433
- },
434
- {
435
- "__schema": "TypeRefSchema",
436
- "location": {
437
- "filePath": "component-writer.main.runtime.ts",
438
- "line": 332,
439
- "character": 5
440
- },
441
- "name": "ConfigMergerMain",
442
- "componentId": {
443
- "scope": "teambit.workspace",
444
- "name": "config-merger"
445
- }
446
- }
447
- ]
448
- },
449
- "isOptional": false,
450
- "isSpread": false
451
- }
452
- ],
453
- "returnType": {
454
- "__schema": "InferenceTypeSchema",
455
- "location": {
456
- "filePath": "component-writer.main.runtime.ts",
457
- "line": 326,
458
- "character": 3
459
- },
460
- "type": "Promise<ComponentWriterMain>"
461
- },
462
- "modifiers": [
463
- "static",
464
- "async"
465
- ]
466
- }
467
- ],
468
- "extendsNodes": [],
469
- "implementNodes": []
470
- }
471
- },
472
- {
473
- "__schema": "ExportSchema",
474
- "location": {
475
- "filePath": "index.ts",
476
- "line": 5,
477
- "character": 3
478
- },
479
- "signature": "type ComponentWriterResults = {\n installationError?: Error;\n compilationError?: Error;\n workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult;\n}",
480
- "name": "ComponentWriterResults",
481
- "exportNode": {
482
- "__schema": "TypeSchema",
483
- "location": {
484
- "filePath": "component-writer.main.runtime.ts",
485
- "line": 46,
486
- "character": 1
487
- },
488
- "signature": "type ComponentWriterResults = {\n installationError?: Error;\n compilationError?: Error;\n workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult;\n}",
489
- "name": "ComponentWriterResults",
490
- "type": {
491
- "__schema": "TypeLiteralSchema",
492
- "location": {
493
- "filePath": "component-writer.main.runtime.ts",
494
- "line": 46,
495
- "character": 38
496
- },
497
- "members": [
498
- {
499
- "__schema": "VariableLikeSchema",
500
- "location": {
501
- "filePath": "component-writer.main.runtime.ts",
502
- "line": 47,
503
- "character": 3
504
- },
505
- "signature": "(property) installationError?: Error | undefined",
506
- "name": "installationError",
507
- "type": {
508
- "__schema": "TypeRefSchema",
509
- "location": {
510
- "filePath": "component-writer.main.runtime.ts",
511
- "line": 47,
512
- "character": 23
513
- },
514
- "name": "Error"
515
- },
516
- "isOptional": true
517
- },
518
- {
519
- "__schema": "VariableLikeSchema",
520
- "location": {
521
- "filePath": "component-writer.main.runtime.ts",
522
- "line": 48,
523
- "character": 3
524
- },
525
- "signature": "(property) compilationError?: Error | undefined",
526
- "name": "compilationError",
527
- "type": {
528
- "__schema": "TypeRefSchema",
529
- "location": {
530
- "filePath": "component-writer.main.runtime.ts",
531
- "line": 48,
532
- "character": 22
533
- },
534
- "name": "Error"
535
- },
536
- "isOptional": true
537
- },
538
- {
539
- "__schema": "VariableLikeSchema",
540
- "location": {
541
- "filePath": "component-writer.main.runtime.ts",
542
- "line": 49,
543
- "character": 3
544
- },
545
- "signature": "(property) workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult | undefined",
546
- "name": "workspaceConfigUpdateResult",
547
- "type": {
548
- "__schema": "TypeRefSchema",
549
- "location": {
550
- "filePath": "component-writer.main.runtime.ts",
551
- "line": 49,
552
- "character": 33
553
- },
554
- "name": "WorkspaceConfigUpdateResult",
555
- "componentId": {
556
- "scope": "teambit.workspace",
557
- "name": "config-merger"
558
- }
559
- },
560
- "isOptional": true
561
- }
562
- ]
563
- }
564
- }
565
- },
566
- {
567
- "__schema": "ExportSchema",
568
- "location": {
569
- "filePath": "index.ts",
570
- "line": 6,
571
- "character": 3
572
- },
573
- "signature": "interface ManyComponentsWriterParams",
574
- "name": "ManyComponentsWriterParams",
575
- "exportNode": {
576
- "__schema": "InterfaceSchema",
577
- "location": {
578
- "filePath": "component-writer.main.runtime.ts",
579
- "line": 30,
580
- "character": 1
581
- },
582
- "signature": "interface ManyComponentsWriterParams",
583
- "name": "ManyComponentsWriterParams",
584
- "members": [
585
- {
586
- "__schema": "VariableLikeSchema",
587
- "location": {
588
- "filePath": "component-writer.main.runtime.ts",
589
- "line": 31,
590
- "character": 3
591
- },
592
- "signature": "(property) ManyComponentsWriterParams.components: ConsumerComponent[]",
593
- "name": "components",
594
- "type": {
595
- "__schema": "TypeArraySchema",
596
- "location": {
597
- "filePath": "component-writer.main.runtime.ts",
598
- "line": 31,
599
- "character": 15
600
- },
601
- "type": {
602
- "__schema": "TypeRefSchema",
603
- "location": {
604
- "filePath": "component-writer.main.runtime.ts",
605
- "line": 31,
606
- "character": 15
607
- },
608
- "name": "ConsumerComponent",
609
- "componentId": {
610
- "scope": "teambit.legacy",
611
- "name": "consumer-component",
612
- "version": "0.0.22"
613
- }
614
- }
615
- },
616
- "isOptional": false
617
- },
618
- {
619
- "__schema": "VariableLikeSchema",
620
- "location": {
621
- "filePath": "component-writer.main.runtime.ts",
622
- "line": 32,
623
- "character": 3
624
- },
625
- "signature": "(property) ManyComponentsWriterParams.writeToPath?: string | undefined",
626
- "name": "writeToPath",
627
- "type": {
628
- "__schema": "KeywordTypeSchema",
629
- "location": {
630
- "filePath": "component-writer.main.runtime.ts",
631
- "line": 32,
632
- "character": 17
633
- },
634
- "name": "string"
635
- },
636
- "isOptional": true
637
- },
638
- {
639
- "__schema": "VariableLikeSchema",
640
- "location": {
641
- "filePath": "component-writer.main.runtime.ts",
642
- "line": 33,
643
- "character": 3
644
- },
645
- "signature": "(property) ManyComponentsWriterParams.throwForExistingDir?: boolean | undefined",
646
- "name": "throwForExistingDir",
647
- "type": {
648
- "__schema": "KeywordTypeSchema",
649
- "location": {
650
- "filePath": "component-writer.main.runtime.ts",
651
- "line": 33,
652
- "character": 25
653
- },
654
- "name": "boolean"
655
- },
656
- "isOptional": true
657
- },
658
- {
659
- "__schema": "VariableLikeSchema",
660
- "location": {
661
- "filePath": "component-writer.main.runtime.ts",
662
- "line": 34,
663
- "character": 3
664
- },
665
- "signature": "(property) ManyComponentsWriterParams.writeConfig?: boolean | undefined",
666
- "name": "writeConfig",
667
- "type": {
668
- "__schema": "KeywordTypeSchema",
669
- "location": {
670
- "filePath": "component-writer.main.runtime.ts",
671
- "line": 34,
672
- "character": 17
673
- },
674
- "name": "boolean"
675
- },
676
- "isOptional": true
677
- },
678
- {
679
- "__schema": "VariableLikeSchema",
680
- "location": {
681
- "filePath": "component-writer.main.runtime.ts",
682
- "line": 35,
683
- "character": 3
684
- },
685
- "signature": "(property) ManyComponentsWriterParams.skipDependencyInstallation?: boolean | undefined",
686
- "name": "skipDependencyInstallation",
687
- "type": {
688
- "__schema": "KeywordTypeSchema",
689
- "location": {
690
- "filePath": "component-writer.main.runtime.ts",
691
- "line": 35,
692
- "character": 32
693
- },
694
- "name": "boolean"
695
- },
696
- "isOptional": true
697
- },
698
- {
699
- "__schema": "VariableLikeSchema",
700
- "location": {
701
- "filePath": "component-writer.main.runtime.ts",
702
- "line": 36,
703
- "character": 3
704
- },
705
- "signature": "(property) ManyComponentsWriterParams.verbose?: boolean | undefined",
706
- "name": "verbose",
707
- "type": {
708
- "__schema": "KeywordTypeSchema",
709
- "location": {
710
- "filePath": "component-writer.main.runtime.ts",
711
- "line": 36,
712
- "character": 13
713
- },
714
- "name": "boolean"
715
- },
716
- "isOptional": true
717
- },
718
- {
719
- "__schema": "VariableLikeSchema",
720
- "location": {
721
- "filePath": "component-writer.main.runtime.ts",
722
- "line": 37,
723
- "character": 3
724
- },
725
- "signature": "(property) ManyComponentsWriterParams.resetConfig?: boolean | undefined",
726
- "name": "resetConfig",
727
- "type": {
728
- "__schema": "KeywordTypeSchema",
729
- "location": {
730
- "filePath": "component-writer.main.runtime.ts",
731
- "line": 37,
732
- "character": 17
733
- },
734
- "name": "boolean"
735
- },
736
- "isOptional": true
737
- },
738
- {
739
- "__schema": "VariableLikeSchema",
740
- "location": {
741
- "filePath": "component-writer.main.runtime.ts",
742
- "line": 38,
743
- "character": 3
744
- },
745
- "signature": "(property) ManyComponentsWriterParams.skipWritingToFs?: boolean | undefined",
746
- "name": "skipWritingToFs",
747
- "type": {
748
- "__schema": "KeywordTypeSchema",
749
- "location": {
750
- "filePath": "component-writer.main.runtime.ts",
751
- "line": 38,
752
- "character": 21
753
- },
754
- "name": "boolean"
755
- },
756
- "isOptional": true
757
- },
758
- {
759
- "__schema": "VariableLikeSchema",
760
- "location": {
761
- "filePath": "component-writer.main.runtime.ts",
762
- "line": 39,
763
- "character": 3
764
- },
765
- "signature": "(property) ManyComponentsWriterParams.skipUpdatingBitMap?: boolean | undefined",
766
- "name": "skipUpdatingBitMap",
767
- "type": {
768
- "__schema": "KeywordTypeSchema",
769
- "location": {
770
- "filePath": "component-writer.main.runtime.ts",
771
- "line": 39,
772
- "character": 24
773
- },
774
- "name": "boolean"
775
- },
776
- "isOptional": true
777
- },
778
- {
779
- "__schema": "VariableLikeSchema",
780
- "location": {
781
- "filePath": "component-writer.main.runtime.ts",
782
- "line": 40,
783
- "character": 3
784
- },
785
- "signature": "(property) ManyComponentsWriterParams.skipWriteConfigFiles?: boolean | undefined",
786
- "name": "skipWriteConfigFiles",
787
- "type": {
788
- "__schema": "KeywordTypeSchema",
789
- "location": {
790
- "filePath": "component-writer.main.runtime.ts",
791
- "line": 40,
792
- "character": 26
793
- },
794
- "name": "boolean"
795
- },
796
- "isOptional": true
797
- },
798
- {
799
- "__schema": "VariableLikeSchema",
800
- "location": {
801
- "filePath": "component-writer.main.runtime.ts",
802
- "line": 41,
803
- "character": 3
804
- },
805
- "signature": "(property) ManyComponentsWriterParams.reasonForBitmapChange?: string | undefined",
806
- "name": "reasonForBitmapChange",
807
- "type": {
808
- "__schema": "KeywordTypeSchema",
809
- "location": {
810
- "filePath": "component-writer.main.runtime.ts",
811
- "line": 41,
812
- "character": 27
813
- },
814
- "name": "string"
815
- },
816
- "isOptional": true
817
- },
818
- {
819
- "__schema": "VariableLikeSchema",
820
- "location": {
821
- "filePath": "component-writer.main.runtime.ts",
822
- "line": 42,
823
- "character": 3
824
- },
825
- "signature": "(property) ManyComponentsWriterParams.shouldUpdateWorkspaceConfig?: boolean | undefined",
826
- "name": "shouldUpdateWorkspaceConfig",
827
- "type": {
828
- "__schema": "KeywordTypeSchema",
829
- "location": {
830
- "filePath": "component-writer.main.runtime.ts",
831
- "line": 42,
832
- "character": 33
833
- },
834
- "name": "boolean"
835
- },
836
- "isOptional": true
837
- },
838
- {
839
- "__schema": "VariableLikeSchema",
840
- "location": {
841
- "filePath": "component-writer.main.runtime.ts",
842
- "line": 43,
843
- "character": 3
844
- },
845
- "signature": "(property) ManyComponentsWriterParams.mergeStrategy?: \"manual\" | \"theirs\" | \"ours\" | undefined",
846
- "name": "mergeStrategy",
847
- "type": {
848
- "__schema": "TypeRefSchema",
849
- "location": {
850
- "filePath": "component-writer.main.runtime.ts",
851
- "line": 43,
852
- "character": 19
853
- },
854
- "name": "MergeStrategy",
855
- "componentId": {
856
- "scope": "teambit.component",
857
- "name": "merging"
858
- }
859
- },
860
- "isOptional": true
861
- }
862
- ],
863
- "extendsNodes": []
864
- }
865
- },
866
- {
867
- "__schema": "ExportSchema",
868
- "location": {
869
- "filePath": "index.ts",
870
- "line": 8,
871
- "character": 10
872
- },
873
- "signature": "function incrementPathRecursively(p: string, allPaths: string[]): string",
874
- "name": "incrementPathRecursively",
875
- "exportNode": {
876
- "__schema": "FunctionLikeSchema",
877
- "location": {
878
- "filePath": "component-writer.main.runtime.ts",
879
- "line": 343,
880
- "character": 1
881
- },
882
- "signature": "function incrementPathRecursively(p: string, allPaths: string[]): string",
883
- "name": "incrementPathRecursively",
884
- "params": [
885
- {
886
- "__schema": "ParameterSchema",
887
- "location": {
888
- "filePath": "component-writer.main.runtime.ts",
889
- "line": 343,
890
- "character": 42
891
- },
892
- "name": "p",
893
- "type": {
894
- "__schema": "KeywordTypeSchema",
895
- "location": {
896
- "filePath": "component-writer.main.runtime.ts",
897
- "line": 343,
898
- "character": 45
899
- },
900
- "name": "string"
901
- },
902
- "isOptional": false,
903
- "isSpread": false
904
- },
905
- {
906
- "__schema": "ParameterSchema",
907
- "location": {
908
- "filePath": "component-writer.main.runtime.ts",
909
- "line": 343,
910
- "character": 53
911
- },
912
- "name": "allPaths",
913
- "type": {
914
- "__schema": "TypeArraySchema",
915
- "location": {
916
- "filePath": "component-writer.main.runtime.ts",
917
- "line": 343,
918
- "character": 63
919
- },
920
- "type": {
921
- "__schema": "KeywordTypeSchema",
922
- "location": {
923
- "filePath": "component-writer.main.runtime.ts",
924
- "line": 343,
925
- "character": 63
926
- },
927
- "name": "string"
928
- }
929
- },
930
- "isOptional": false,
931
- "isSpread": false
932
- }
933
- ],
934
- "returnType": {
935
- "__schema": "InferenceTypeSchema",
936
- "location": {
937
- "filePath": "component-writer.main.runtime.ts",
938
- "line": 343,
939
- "character": 1
940
- },
941
- "type": "string"
942
- },
943
- "modifiers": [
944
- "export"
945
- ]
946
- }
947
- },
948
- {
949
- "__schema": "UnImplementedSchema",
950
- "location": {
951
- "filePath": "index.ts",
952
- "line": 9,
953
- "character": 16
954
- },
955
- "name": "ComponentWriterAspect",
956
- "type": "Identifier"
957
- },
958
- {
959
- "__schema": "ExportSchema",
960
- "location": {
961
- "filePath": "index.ts",
962
- "line": 10,
963
- "character": 10
964
- },
965
- "signature": "const ComponentWriterAspect: Aspect",
966
- "name": "ComponentWriterAspect",
967
- "exportNode": {
968
- "__schema": "VariableLikeSchema",
969
- "location": {
970
- "filePath": "component-writer.aspect.ts",
971
- "line": 3,
972
- "character": 14
973
- },
974
- "signature": "const ComponentWriterAspect: Aspect",
975
- "name": "ComponentWriterAspect",
976
- "type": {
977
- "__schema": "TypeRefSchema",
978
- "location": {
979
- "filePath": "component-writer.aspect.ts",
980
- "line": 3,
981
- "character": 14
982
- },
983
- "name": "Aspect",
984
- "componentId": {
985
- "scope": "teambit.harmony",
986
- "name": "harmony",
987
- "version": "0.4.6"
988
- }
989
- },
990
- "isOptional": false,
991
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-writer',\n})"
992
- }
993
- }
994
- ],
995
- "internals": []
996
- },
997
- "internals": [
998
- {
999
- "__schema": "ModuleSchema",
1000
- "location": {
1001
- "filePath": "component-writer.main.runtime.ts",
1002
- "line": 1,
1003
- "character": 1
1004
- },
1005
- "exports": [
1006
- {
1007
- "__schema": "InterfaceSchema",
1008
- "location": {
1009
- "filePath": "component-writer.main.runtime.ts",
1010
- "line": 30,
1011
- "character": 1
1012
- },
1013
- "signature": "interface ManyComponentsWriterParams",
1014
- "name": "ManyComponentsWriterParams",
1015
- "members": [
1016
- {
1017
- "__schema": "VariableLikeSchema",
1018
- "location": {
1019
- "filePath": "component-writer.main.runtime.ts",
1020
- "line": 31,
1021
- "character": 3
1022
- },
1023
- "signature": "(property) ManyComponentsWriterParams.components: ConsumerComponent[]",
1024
- "name": "components",
1025
- "type": {
1026
- "__schema": "TypeArraySchema",
1027
- "location": {
1028
- "filePath": "component-writer.main.runtime.ts",
1029
- "line": 31,
1030
- "character": 15
1031
- },
1032
- "type": {
1033
- "__schema": "TypeRefSchema",
1034
- "location": {
1035
- "filePath": "component-writer.main.runtime.ts",
1036
- "line": 31,
1037
- "character": 15
1038
- },
1039
- "name": "ConsumerComponent",
1040
- "componentId": {
1041
- "scope": "teambit.legacy",
1042
- "name": "consumer-component",
1043
- "version": "0.0.22"
1044
- }
1045
- }
1046
- },
1047
- "isOptional": false
1048
- },
1049
- {
1050
- "__schema": "VariableLikeSchema",
1051
- "location": {
1052
- "filePath": "component-writer.main.runtime.ts",
1053
- "line": 32,
1054
- "character": 3
1055
- },
1056
- "signature": "(property) ManyComponentsWriterParams.writeToPath?: string | undefined",
1057
- "name": "writeToPath",
1058
- "type": {
1059
- "__schema": "KeywordTypeSchema",
1060
- "location": {
1061
- "filePath": "component-writer.main.runtime.ts",
1062
- "line": 32,
1063
- "character": 17
1064
- },
1065
- "name": "string"
1066
- },
1067
- "isOptional": true
1068
- },
1069
- {
1070
- "__schema": "VariableLikeSchema",
1071
- "location": {
1072
- "filePath": "component-writer.main.runtime.ts",
1073
- "line": 33,
1074
- "character": 3
1075
- },
1076
- "signature": "(property) ManyComponentsWriterParams.throwForExistingDir?: boolean | undefined",
1077
- "name": "throwForExistingDir",
1078
- "type": {
1079
- "__schema": "KeywordTypeSchema",
1080
- "location": {
1081
- "filePath": "component-writer.main.runtime.ts",
1082
- "line": 33,
1083
- "character": 25
1084
- },
1085
- "name": "boolean"
1086
- },
1087
- "isOptional": true
1088
- },
1089
- {
1090
- "__schema": "VariableLikeSchema",
1091
- "location": {
1092
- "filePath": "component-writer.main.runtime.ts",
1093
- "line": 34,
1094
- "character": 3
1095
- },
1096
- "signature": "(property) ManyComponentsWriterParams.writeConfig?: boolean | undefined",
1097
- "name": "writeConfig",
1098
- "type": {
1099
- "__schema": "KeywordTypeSchema",
1100
- "location": {
1101
- "filePath": "component-writer.main.runtime.ts",
1102
- "line": 34,
1103
- "character": 17
1104
- },
1105
- "name": "boolean"
1106
- },
1107
- "isOptional": true
1108
- },
1109
- {
1110
- "__schema": "VariableLikeSchema",
1111
- "location": {
1112
- "filePath": "component-writer.main.runtime.ts",
1113
- "line": 35,
1114
- "character": 3
1115
- },
1116
- "signature": "(property) ManyComponentsWriterParams.skipDependencyInstallation?: boolean | undefined",
1117
- "name": "skipDependencyInstallation",
1118
- "type": {
1119
- "__schema": "KeywordTypeSchema",
1120
- "location": {
1121
- "filePath": "component-writer.main.runtime.ts",
1122
- "line": 35,
1123
- "character": 32
1124
- },
1125
- "name": "boolean"
1126
- },
1127
- "isOptional": true
1128
- },
1129
- {
1130
- "__schema": "VariableLikeSchema",
1131
- "location": {
1132
- "filePath": "component-writer.main.runtime.ts",
1133
- "line": 36,
1134
- "character": 3
1135
- },
1136
- "signature": "(property) ManyComponentsWriterParams.verbose?: boolean | undefined",
1137
- "name": "verbose",
1138
- "type": {
1139
- "__schema": "KeywordTypeSchema",
1140
- "location": {
1141
- "filePath": "component-writer.main.runtime.ts",
1142
- "line": 36,
1143
- "character": 13
1144
- },
1145
- "name": "boolean"
1146
- },
1147
- "isOptional": true
1148
- },
1149
- {
1150
- "__schema": "VariableLikeSchema",
1151
- "location": {
1152
- "filePath": "component-writer.main.runtime.ts",
1153
- "line": 37,
1154
- "character": 3
1155
- },
1156
- "signature": "(property) ManyComponentsWriterParams.resetConfig?: boolean | undefined",
1157
- "name": "resetConfig",
1158
- "type": {
1159
- "__schema": "KeywordTypeSchema",
1160
- "location": {
1161
- "filePath": "component-writer.main.runtime.ts",
1162
- "line": 37,
1163
- "character": 17
1164
- },
1165
- "name": "boolean"
1166
- },
1167
- "isOptional": true
1168
- },
1169
- {
1170
- "__schema": "VariableLikeSchema",
1171
- "location": {
1172
- "filePath": "component-writer.main.runtime.ts",
1173
- "line": 38,
1174
- "character": 3
1175
- },
1176
- "signature": "(property) ManyComponentsWriterParams.skipWritingToFs?: boolean | undefined",
1177
- "name": "skipWritingToFs",
1178
- "type": {
1179
- "__schema": "KeywordTypeSchema",
1180
- "location": {
1181
- "filePath": "component-writer.main.runtime.ts",
1182
- "line": 38,
1183
- "character": 21
1184
- },
1185
- "name": "boolean"
1186
- },
1187
- "isOptional": true
1188
- },
1189
- {
1190
- "__schema": "VariableLikeSchema",
1191
- "location": {
1192
- "filePath": "component-writer.main.runtime.ts",
1193
- "line": 39,
1194
- "character": 3
1195
- },
1196
- "signature": "(property) ManyComponentsWriterParams.skipUpdatingBitMap?: boolean | undefined",
1197
- "name": "skipUpdatingBitMap",
1198
- "type": {
1199
- "__schema": "KeywordTypeSchema",
1200
- "location": {
1201
- "filePath": "component-writer.main.runtime.ts",
1202
- "line": 39,
1203
- "character": 24
1204
- },
1205
- "name": "boolean"
1206
- },
1207
- "isOptional": true
1208
- },
1209
- {
1210
- "__schema": "VariableLikeSchema",
1211
- "location": {
1212
- "filePath": "component-writer.main.runtime.ts",
1213
- "line": 40,
1214
- "character": 3
1215
- },
1216
- "signature": "(property) ManyComponentsWriterParams.skipWriteConfigFiles?: boolean | undefined",
1217
- "name": "skipWriteConfigFiles",
1218
- "type": {
1219
- "__schema": "KeywordTypeSchema",
1220
- "location": {
1221
- "filePath": "component-writer.main.runtime.ts",
1222
- "line": 40,
1223
- "character": 26
1224
- },
1225
- "name": "boolean"
1226
- },
1227
- "isOptional": true
1228
- },
1229
- {
1230
- "__schema": "VariableLikeSchema",
1231
- "location": {
1232
- "filePath": "component-writer.main.runtime.ts",
1233
- "line": 41,
1234
- "character": 3
1235
- },
1236
- "signature": "(property) ManyComponentsWriterParams.reasonForBitmapChange?: string | undefined",
1237
- "name": "reasonForBitmapChange",
1238
- "type": {
1239
- "__schema": "KeywordTypeSchema",
1240
- "location": {
1241
- "filePath": "component-writer.main.runtime.ts",
1242
- "line": 41,
1243
- "character": 27
1244
- },
1245
- "name": "string"
1246
- },
1247
- "isOptional": true
1248
- },
1249
- {
1250
- "__schema": "VariableLikeSchema",
1251
- "location": {
1252
- "filePath": "component-writer.main.runtime.ts",
1253
- "line": 42,
1254
- "character": 3
1255
- },
1256
- "signature": "(property) ManyComponentsWriterParams.shouldUpdateWorkspaceConfig?: boolean | undefined",
1257
- "name": "shouldUpdateWorkspaceConfig",
1258
- "type": {
1259
- "__schema": "KeywordTypeSchema",
1260
- "location": {
1261
- "filePath": "component-writer.main.runtime.ts",
1262
- "line": 42,
1263
- "character": 33
1264
- },
1265
- "name": "boolean"
1266
- },
1267
- "isOptional": true
1268
- },
1269
- {
1270
- "__schema": "VariableLikeSchema",
1271
- "location": {
1272
- "filePath": "component-writer.main.runtime.ts",
1273
- "line": 43,
1274
- "character": 3
1275
- },
1276
- "signature": "(property) ManyComponentsWriterParams.mergeStrategy?: \"manual\" | \"theirs\" | \"ours\" | undefined",
1277
- "name": "mergeStrategy",
1278
- "type": {
1279
- "__schema": "TypeRefSchema",
1280
- "location": {
1281
- "filePath": "component-writer.main.runtime.ts",
1282
- "line": 43,
1283
- "character": 19
1284
- },
1285
- "name": "MergeStrategy",
1286
- "componentId": {
1287
- "scope": "teambit.component",
1288
- "name": "merging"
1289
- }
1290
- },
1291
- "isOptional": true
1292
- }
1293
- ],
1294
- "extendsNodes": []
1295
- },
1296
- {
1297
- "__schema": "TypeSchema",
1298
- "location": {
1299
- "filePath": "component-writer.main.runtime.ts",
1300
- "line": 46,
1301
- "character": 1
1302
- },
1303
- "signature": "type ComponentWriterResults = {\n installationError?: Error;\n compilationError?: Error;\n workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult;\n}",
1304
- "name": "ComponentWriterResults",
1305
- "type": {
1306
- "__schema": "TypeLiteralSchema",
1307
- "location": {
1308
- "filePath": "component-writer.main.runtime.ts",
1309
- "line": 46,
1310
- "character": 38
1311
- },
1312
- "members": [
1313
- {
1314
- "__schema": "VariableLikeSchema",
1315
- "location": {
1316
- "filePath": "component-writer.main.runtime.ts",
1317
- "line": 47,
1318
- "character": 3
1319
- },
1320
- "signature": "(property) installationError?: Error | undefined",
1321
- "name": "installationError",
1322
- "type": {
1323
- "__schema": "TypeRefSchema",
1324
- "location": {
1325
- "filePath": "component-writer.main.runtime.ts",
1326
- "line": 47,
1327
- "character": 23
1328
- },
1329
- "name": "Error"
1330
- },
1331
- "isOptional": true
1332
- },
1333
- {
1334
- "__schema": "VariableLikeSchema",
1335
- "location": {
1336
- "filePath": "component-writer.main.runtime.ts",
1337
- "line": 48,
1338
- "character": 3
1339
- },
1340
- "signature": "(property) compilationError?: Error | undefined",
1341
- "name": "compilationError",
1342
- "type": {
1343
- "__schema": "TypeRefSchema",
1344
- "location": {
1345
- "filePath": "component-writer.main.runtime.ts",
1346
- "line": 48,
1347
- "character": 22
1348
- },
1349
- "name": "Error"
1350
- },
1351
- "isOptional": true
1352
- },
1353
- {
1354
- "__schema": "VariableLikeSchema",
1355
- "location": {
1356
- "filePath": "component-writer.main.runtime.ts",
1357
- "line": 49,
1358
- "character": 3
1359
- },
1360
- "signature": "(property) workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult | undefined",
1361
- "name": "workspaceConfigUpdateResult",
1362
- "type": {
1363
- "__schema": "TypeRefSchema",
1364
- "location": {
1365
- "filePath": "component-writer.main.runtime.ts",
1366
- "line": 49,
1367
- "character": 33
1368
- },
1369
- "name": "WorkspaceConfigUpdateResult",
1370
- "componentId": {
1371
- "scope": "teambit.workspace",
1372
- "name": "config-merger"
1373
- }
1374
- },
1375
- "isOptional": true
1376
- }
1377
- ]
1378
- }
1379
- },
1380
- {
1381
- "__schema": "ClassSchema",
1382
- "location": {
1383
- "filePath": "component-writer.main.runtime.ts",
1384
- "line": 52,
1385
- "character": 1
1386
- },
1387
- "signature": "class ComponentWriterMain",
1388
- "name": "ComponentWriterMain",
1389
- "members": [
1390
- {
1391
- "__schema": "ConstructorSchema",
1392
- "location": {
1393
- "filePath": "component-writer.main.runtime.ts",
1394
- "line": 53,
1395
- "character": 3
1396
- },
1397
- "signature": "constructor ComponentWriterMain(installer: InstallMain, compiler: CompilerMain, workspace: Workspace, logger: Logger, mover: MoverMain, configMerge: ConfigMergerMain): ComponentWriterMain",
1398
- "name": "constructor",
1399
- "params": [
1400
- {
1401
- "__schema": "ParameterSchema",
1402
- "location": {
1403
- "filePath": "component-writer.main.runtime.ts",
1404
- "line": 54,
1405
- "character": 5
1406
- },
1407
- "name": "installer",
1408
- "type": {
1409
- "__schema": "TypeRefSchema",
1410
- "location": {
1411
- "filePath": "component-writer.main.runtime.ts",
1412
- "line": 54,
1413
- "character": 24
1414
- },
1415
- "name": "InstallMain",
1416
- "componentId": {
1417
- "scope": "teambit.workspace",
1418
- "name": "install"
1419
- }
1420
- },
1421
- "isOptional": false,
1422
- "isSpread": false
1423
- },
1424
- {
1425
- "__schema": "ParameterSchema",
1426
- "location": {
1427
- "filePath": "component-writer.main.runtime.ts",
1428
- "line": 55,
1429
- "character": 5
1430
- },
1431
- "name": "compiler",
1432
- "type": {
1433
- "__schema": "TypeRefSchema",
1434
- "location": {
1435
- "filePath": "component-writer.main.runtime.ts",
1436
- "line": 55,
1437
- "character": 23
1438
- },
1439
- "name": "CompilerMain",
1440
- "componentId": {
1441
- "scope": "teambit.compilation",
1442
- "name": "compiler"
1443
- }
1444
- },
1445
- "isOptional": false,
1446
- "isSpread": false
1447
- },
1448
- {
1449
- "__schema": "ParameterSchema",
1450
- "location": {
1451
- "filePath": "component-writer.main.runtime.ts",
1452
- "line": 56,
1453
- "character": 5
1454
- },
1455
- "name": "workspace",
1456
- "type": {
1457
- "__schema": "TypeRefSchema",
1458
- "location": {
1459
- "filePath": "component-writer.main.runtime.ts",
1460
- "line": 56,
1461
- "character": 24
1462
- },
1463
- "name": "Workspace",
1464
- "componentId": {
1465
- "scope": "teambit.workspace",
1466
- "name": "workspace"
1467
- }
1468
- },
1469
- "isOptional": false,
1470
- "isSpread": false
1471
- },
1472
- {
1473
- "__schema": "ParameterSchema",
1474
- "location": {
1475
- "filePath": "component-writer.main.runtime.ts",
1476
- "line": 57,
1477
- "character": 5
1478
- },
1479
- "name": "logger",
1480
- "type": {
1481
- "__schema": "TypeRefSchema",
1482
- "location": {
1483
- "filePath": "component-writer.main.runtime.ts",
1484
- "line": 57,
1485
- "character": 21
1486
- },
1487
- "name": "Logger",
1488
- "componentId": {
1489
- "scope": "teambit.harmony",
1490
- "name": "logger"
1491
- }
1492
- },
1493
- "isOptional": false,
1494
- "isSpread": false
1495
- },
1496
- {
1497
- "__schema": "ParameterSchema",
1498
- "location": {
1499
- "filePath": "component-writer.main.runtime.ts",
1500
- "line": 58,
1501
- "character": 5
1502
- },
1503
- "name": "mover",
1504
- "type": {
1505
- "__schema": "TypeRefSchema",
1506
- "location": {
1507
- "filePath": "component-writer.main.runtime.ts",
1508
- "line": 58,
1509
- "character": 20
1510
- },
1511
- "name": "MoverMain",
1512
- "componentId": {
1513
- "scope": "teambit.component",
1514
- "name": "mover"
1515
- }
1516
- },
1517
- "isOptional": false,
1518
- "isSpread": false
1519
- },
1520
- {
1521
- "__schema": "ParameterSchema",
1522
- "location": {
1523
- "filePath": "component-writer.main.runtime.ts",
1524
- "line": 59,
1525
- "character": 5
1526
- },
1527
- "name": "configMerge",
1528
- "type": {
1529
- "__schema": "TypeRefSchema",
1530
- "location": {
1531
- "filePath": "component-writer.main.runtime.ts",
1532
- "line": 59,
1533
- "character": 26
1534
- },
1535
- "name": "ConfigMergerMain",
1536
- "componentId": {
1537
- "scope": "teambit.workspace",
1538
- "name": "config-merger"
1539
- }
1540
- },
1541
- "isOptional": false,
1542
- "isSpread": false
1543
- }
1544
- ],
1545
- "returnType": {
1546
- "__schema": "ThisTypeSchema",
1547
- "location": {
1548
- "filePath": "component-writer.main.runtime.ts",
1549
- "line": 52,
1550
- "character": 1
1551
- },
1552
- "name": "ComponentWriterMain"
1553
- },
1554
- "modifiers": []
1555
- },
1556
- {
1557
- "__schema": "GetAccessorSchema",
1558
- "location": {
1559
- "filePath": "component-writer.main.runtime.ts",
1560
- "line": 62,
1561
- "character": 3
1562
- },
1563
- "signature": "(getter) ComponentWriterMain.consumer: Consumer",
1564
- "name": "consumer",
1565
- "type": {
1566
- "__schema": "TypeRefSchema",
1567
- "location": {
1568
- "filePath": "component-writer.main.runtime.ts",
1569
- "line": 62,
1570
- "character": 3
1571
- },
1572
- "name": "Consumer",
1573
- "componentId": {
1574
- "scope": "teambit.legacy",
1575
- "name": "consumer",
1576
- "version": "0.0.21"
1577
- }
1578
- }
1579
- },
1580
- {
1581
- "__schema": "FunctionLikeSchema",
1582
- "location": {
1583
- "filePath": "component-writer.main.runtime.ts",
1584
- "line": 66,
1585
- "character": 3
1586
- },
1587
- "signature": "(method) ComponentWriterMain.writeMany(opts: ManyComponentsWriterParams): Promise<ComponentWriterResults>",
1588
- "name": "writeMany",
1589
- "params": [
1590
- {
1591
- "__schema": "ParameterSchema",
1592
- "location": {
1593
- "filePath": "component-writer.main.runtime.ts",
1594
- "line": 66,
1595
- "character": 19
1596
- },
1597
- "name": "opts",
1598
- "type": {
1599
- "__schema": "TypeRefSchema",
1600
- "location": {
1601
- "filePath": "component-writer.main.runtime.ts",
1602
- "line": 66,
1603
- "character": 25
1604
- },
1605
- "name": "ManyComponentsWriterParams"
1606
- },
1607
- "isOptional": false,
1608
- "isSpread": false
1609
- }
1610
- ],
1611
- "returnType": {
1612
- "__schema": "TypeRefSchema",
1613
- "location": {
1614
- "filePath": "component-writer.main.runtime.ts",
1615
- "line": 66,
1616
- "character": 54
1617
- },
1618
- "name": "Promise",
1619
- "typeArgs": [
1620
- {
1621
- "__schema": "TypeRefSchema",
1622
- "location": {
1623
- "filePath": "component-writer.main.runtime.ts",
1624
- "line": 66,
1625
- "character": 62
1626
- },
1627
- "name": "ComponentWriterResults"
1628
- }
1629
- ]
1630
- },
1631
- "modifiers": [
1632
- "async"
1633
- ]
1634
- },
1635
- {
1636
- "__schema": "VariableLikeSchema",
1637
- "location": {
1638
- "filePath": "component-writer.main.runtime.ts",
1639
- "line": 323,
1640
- "character": 3
1641
- },
1642
- "signature": "(property) ComponentWriterMain.slots: never[]",
1643
- "name": "slots",
1644
- "type": {
1645
- "__schema": "InferenceTypeSchema",
1646
- "location": {
1647
- "filePath": "component-writer.main.runtime.ts",
1648
- "line": 323,
1649
- "character": 3
1650
- },
1651
- "type": "never[]"
1652
- },
1653
- "isOptional": true,
1654
- "defaultValue": "[]"
1655
- },
1656
- {
1657
- "__schema": "VariableLikeSchema",
1658
- "location": {
1659
- "filePath": "component-writer.main.runtime.ts",
1660
- "line": 324,
1661
- "character": 3
1662
- },
1663
- "signature": "(property) ComponentWriterMain.dependencies: Aspect[]",
1664
- "name": "dependencies",
1665
- "type": {
1666
- "__schema": "InferenceTypeSchema",
1667
- "location": {
1668
- "filePath": "component-writer.main.runtime.ts",
1669
- "line": 324,
1670
- "character": 3
1671
- },
1672
- "type": "Aspect[]"
1673
- },
1674
- "isOptional": true,
1675
- "defaultValue": "[InstallAspect, CompilerAspect, LoggerAspect, WorkspaceAspect, MoverAspect, ConfigMergerAspect]"
1676
- },
1677
- {
1678
- "__schema": "VariableLikeSchema",
1679
- "location": {
1680
- "filePath": "component-writer.main.runtime.ts",
1681
- "line": 325,
1682
- "character": 3
1683
- },
1684
- "signature": "(property) ComponentWriterMain.runtime: RuntimeDefinition",
1685
- "name": "runtime",
1686
- "type": {
1687
- "__schema": "InferenceTypeSchema",
1688
- "location": {
1689
- "filePath": "component-writer.main.runtime.ts",
1690
- "line": 325,
1691
- "character": 3
1692
- },
1693
- "type": "RuntimeDefinition"
1694
- },
1695
- "isOptional": true,
1696
- "defaultValue": "MainRuntime"
1697
- },
1698
- {
1699
- "__schema": "FunctionLikeSchema",
1700
- "location": {
1701
- "filePath": "component-writer.main.runtime.ts",
1702
- "line": 326,
1703
- "character": 3
1704
- },
1705
- "signature": "(method) ComponentWriterMain.provider([install, compiler, loggerMain, workspace, mover, configMerger]: [InstallMain, CompilerMain, LoggerMain, Workspace, MoverMain, ConfigMergerMain]): Promise<ComponentWriterMain>",
1706
- "name": "provider",
1707
- "params": [
1708
- {
1709
- "__schema": "ParameterSchema",
1710
- "location": {
1711
- "filePath": "component-writer.main.runtime.ts",
1712
- "line": 326,
1713
- "character": 25
1714
- },
1715
- "name": "[ install, compiler, loggerMain, workspace, mover, configMerger ]",
1716
- "type": {
1717
- "__schema": "TupleTypeSchema",
1718
- "location": {
1719
- "filePath": "component-writer.main.runtime.ts",
1720
- "line": 326,
1721
- "character": 90
1722
- },
1723
- "elements": [
1724
- {
1725
- "__schema": "TypeRefSchema",
1726
- "location": {
1727
- "filePath": "component-writer.main.runtime.ts",
1728
- "line": 327,
1729
- "character": 5
1730
- },
1731
- "name": "InstallMain",
1732
- "componentId": {
1733
- "scope": "teambit.workspace",
1734
- "name": "install"
1735
- }
1736
- },
1737
- {
1738
- "__schema": "TypeRefSchema",
1739
- "location": {
1740
- "filePath": "component-writer.main.runtime.ts",
1741
- "line": 328,
1742
- "character": 5
1743
- },
1744
- "name": "CompilerMain",
1745
- "componentId": {
1746
- "scope": "teambit.compilation",
1747
- "name": "compiler"
1748
- }
1749
- },
1750
- {
1751
- "__schema": "TypeRefSchema",
1752
- "location": {
1753
- "filePath": "component-writer.main.runtime.ts",
1754
- "line": 329,
1755
- "character": 5
1756
- },
1757
- "name": "LoggerMain",
1758
- "componentId": {
1759
- "scope": "teambit.harmony",
1760
- "name": "logger"
1761
- }
1762
- },
1763
- {
1764
- "__schema": "TypeRefSchema",
1765
- "location": {
1766
- "filePath": "component-writer.main.runtime.ts",
1767
- "line": 330,
1768
- "character": 5
1769
- },
1770
- "name": "Workspace",
1771
- "componentId": {
1772
- "scope": "teambit.workspace",
1773
- "name": "workspace"
1774
- }
1775
- },
1776
- {
1777
- "__schema": "TypeRefSchema",
1778
- "location": {
1779
- "filePath": "component-writer.main.runtime.ts",
1780
- "line": 331,
1781
- "character": 5
1782
- },
1783
- "name": "MoverMain",
1784
- "componentId": {
1785
- "scope": "teambit.component",
1786
- "name": "mover"
1787
- }
1788
- },
1789
- {
1790
- "__schema": "TypeRefSchema",
1791
- "location": {
1792
- "filePath": "component-writer.main.runtime.ts",
1793
- "line": 332,
1794
- "character": 5
1795
- },
1796
- "name": "ConfigMergerMain",
1797
- "componentId": {
1798
- "scope": "teambit.workspace",
1799
- "name": "config-merger"
1800
- }
1801
- }
1802
- ]
1803
- },
1804
- "isOptional": false,
1805
- "isSpread": false
1806
- }
1807
- ],
1808
- "returnType": {
1809
- "__schema": "InferenceTypeSchema",
1810
- "location": {
1811
- "filePath": "component-writer.main.runtime.ts",
1812
- "line": 326,
1813
- "character": 3
1814
- },
1815
- "type": "Promise<ComponentWriterMain>"
1816
- },
1817
- "modifiers": [
1818
- "static",
1819
- "async"
1820
- ]
1821
- }
1822
- ],
1823
- "extendsNodes": [],
1824
- "implementNodes": []
1825
- },
1826
- {
1827
- "__schema": "UnImplementedSchema",
1828
- "location": {
1829
- "filePath": "component-writer.main.runtime.ts",
1830
- "line": 341,
1831
- "character": 16
1832
- },
1833
- "name": "ComponentWriterMain",
1834
- "type": "Identifier"
1835
- },
1836
- {
1837
- "__schema": "FunctionLikeSchema",
1838
- "location": {
1839
- "filePath": "component-writer.main.runtime.ts",
1840
- "line": 343,
1841
- "character": 1
1842
- },
1843
- "signature": "function incrementPathRecursively(p: string, allPaths: string[]): string",
1844
- "name": "incrementPathRecursively",
1845
- "params": [
1846
- {
1847
- "__schema": "ParameterSchema",
1848
- "location": {
1849
- "filePath": "component-writer.main.runtime.ts",
1850
- "line": 343,
1851
- "character": 42
1852
- },
1853
- "name": "p",
1854
- "type": {
1855
- "__schema": "KeywordTypeSchema",
1856
- "location": {
1857
- "filePath": "component-writer.main.runtime.ts",
1858
- "line": 343,
1859
- "character": 45
1860
- },
1861
- "name": "string"
1862
- },
1863
- "isOptional": false,
1864
- "isSpread": false
1865
- },
1866
- {
1867
- "__schema": "ParameterSchema",
1868
- "location": {
1869
- "filePath": "component-writer.main.runtime.ts",
1870
- "line": 343,
1871
- "character": 53
1872
- },
1873
- "name": "allPaths",
1874
- "type": {
1875
- "__schema": "TypeArraySchema",
1876
- "location": {
1877
- "filePath": "component-writer.main.runtime.ts",
1878
- "line": 343,
1879
- "character": 63
1880
- },
1881
- "type": {
1882
- "__schema": "KeywordTypeSchema",
1883
- "location": {
1884
- "filePath": "component-writer.main.runtime.ts",
1885
- "line": 343,
1886
- "character": 63
1887
- },
1888
- "name": "string"
1889
- }
1890
- },
1891
- "isOptional": false,
1892
- "isSpread": false
1893
- }
1894
- ],
1895
- "returnType": {
1896
- "__schema": "InferenceTypeSchema",
1897
- "location": {
1898
- "filePath": "component-writer.main.runtime.ts",
1899
- "line": 343,
1900
- "character": 1
1901
- },
1902
- "type": "string"
1903
- },
1904
- "modifiers": [
1905
- "export"
1906
- ]
1907
- }
1908
- ],
1909
- "internals": [
1910
- {
1911
- "__schema": "UnImplementedSchema",
1912
- "location": {
1913
- "filePath": "component-writer.main.runtime.ts",
1914
- "line": 339,
1915
- "character": 1
1916
- },
1917
- "name": "ComponentWriterAspect.addRuntime(ComponentWriterMain);",
1918
- "type": "ExpressionStatement"
1919
- }
1920
- ]
1921
- },
1922
- {
1923
- "__schema": "ModuleSchema",
1924
- "location": {
1925
- "filePath": "component-writer.aspect.ts",
1926
- "line": 1,
1927
- "character": 1
1928
- },
1929
- "exports": [
1930
- {
1931
- "__schema": "VariableLikeSchema",
1932
- "location": {
1933
- "filePath": "component-writer.aspect.ts",
1934
- "line": 3,
1935
- "character": 14
1936
- },
1937
- "signature": "const ComponentWriterAspect: Aspect",
1938
- "name": "ComponentWriterAspect",
1939
- "type": {
1940
- "__schema": "TypeRefSchema",
1941
- "location": {
1942
- "filePath": "component-writer.aspect.ts",
1943
- "line": 3,
1944
- "character": 14
1945
- },
1946
- "name": "Aspect",
1947
- "componentId": {
1948
- "scope": "teambit.harmony",
1949
- "name": "harmony",
1950
- "version": "0.4.6"
1951
- }
1952
- },
1953
- "isOptional": false,
1954
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-writer',\n})"
1955
- }
1956
- ],
1957
- "internals": []
1958
- }
1959
- ],
1960
- "componentId": {
1961
- "scope": "teambit.component",
1962
- "name": "component-writer",
1963
- "version": "1.0.516"
1964
- },
1965
- "taggedModuleExports": []
1966
- }