@teambit/component-writer 1.0.158 → 1.0.159

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