@teambit/component-writer 1.0.188 → 1.0.190

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