@teambit/component-writer 1.0.511 → 1.0.513

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