@teambit/component-writer 1.0.256 → 1.0.258

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.
@@ -14,864 +14,76 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "component-writer.main.runtime.ts",
20
- "line": 44,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 4,
21
+ "character": 3
22
22
  },
23
- "signature": "class ComponentWriterMain",
24
23
  "name": "ComponentWriterMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "component-writer.main.runtime.ts",
30
- "line": 45,
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": 46,
41
- "character": 5
42
- },
43
- "name": "installer",
44
- "type": {
45
- "__schema": "TypeRefSchema",
46
- "location": {
47
- "filePath": "component-writer.main.runtime.ts",
48
- "line": 46,
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": 47,
65
- "character": 5
66
- },
67
- "name": "compiler",
68
- "type": {
69
- "__schema": "TypeRefSchema",
70
- "location": {
71
- "filePath": "component-writer.main.runtime.ts",
72
- "line": 47,
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": 48,
89
- "character": 5
90
- },
91
- "name": "workspace",
92
- "type": {
93
- "__schema": "TypeRefSchema",
94
- "location": {
95
- "filePath": "component-writer.main.runtime.ts",
96
- "line": 48,
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": 49,
113
- "character": 5
114
- },
115
- "name": "logger",
116
- "type": {
117
- "__schema": "TypeRefSchema",
118
- "location": {
119
- "filePath": "component-writer.main.runtime.ts",
120
- "line": 49,
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": 50,
137
- "character": 5
138
- },
139
- "name": "mover",
140
- "type": {
141
- "__schema": "TypeRefSchema",
142
- "location": {
143
- "filePath": "component-writer.main.runtime.ts",
144
- "line": 50,
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": 51,
161
- "character": 5
162
- },
163
- "name": "configMerge",
164
- "type": {
165
- "__schema": "TypeRefSchema",
166
- "location": {
167
- "filePath": "component-writer.main.runtime.ts",
168
- "line": 51,
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": 44,
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": 54,
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": 54,
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": 58,
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": 58,
227
- "character": 19
228
- },
229
- "name": "opts",
230
- "type": {
231
- "__schema": "TypeRefSchema",
232
- "location": {
233
- "filePath": "component-writer.main.runtime.ts",
234
- "line": 58,
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": 58,
248
- "character": 54
249
- },
250
- "name": "Promise",
251
- "typeArgs": [
252
- {
253
- "__schema": "TypeRefSchema",
254
- "location": {
255
- "filePath": "component-writer.main.runtime.ts",
256
- "line": 58,
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": 296,
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": 296,
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": 297,
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": 297,
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": 298,
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": 298,
323
- "character": 3
324
- },
325
- "type": "RuntimeDefinition"
326
- },
327
- "isOptional": true,
328
- "defaultValue": "MainRuntime"
24
+ "exportNode": {
25
+ "__schema": "TypeRefSchema",
26
+ "location": {
27
+ "filePath": "index.ts",
28
+ "line": 4,
29
+ "character": 3
329
30
  },
330
- {
331
- "__schema": "FunctionLikeSchema",
332
- "location": {
333
- "filePath": "component-writer.main.runtime.ts",
334
- "line": 299,
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": 299,
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": 299,
353
- "character": 90
354
- },
355
- "elements": [
356
- {
357
- "__schema": "TypeRefSchema",
358
- "location": {
359
- "filePath": "component-writer.main.runtime.ts",
360
- "line": 300,
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": 301,
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": 302,
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": 303,
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": 304,
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": 305,
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": 299,
445
- "character": 3
446
- },
447
- "type": "Promise<ComponentWriterMain>"
448
- },
449
- "modifiers": [
450
- "static",
451
- "async"
452
- ]
453
- }
454
- ],
455
- "extendsNodes": [],
456
- "implementNodes": []
31
+ "name": "ComponentWriterMain"
32
+ }
457
33
  },
458
34
  {
459
- "__schema": "TypeSchema",
35
+ "__schema": "ExportSchema",
460
36
  "location": {
461
- "filePath": "component-writer.main.runtime.ts",
462
- "line": 38,
463
- "character": 1
37
+ "filePath": "index.ts",
38
+ "line": 5,
39
+ "character": 3
464
40
  },
465
- "signature": "type ComponentWriterResults = {\n installationError?: Error | undefined;\n compilationError?: Error | undefined;\n workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult | undefined;\n}",
466
41
  "name": "ComponentWriterResults",
467
- "type": {
468
- "__schema": "TypeLiteralSchema",
42
+ "exportNode": {
43
+ "__schema": "TypeRefSchema",
469
44
  "location": {
470
- "filePath": "component-writer.main.runtime.ts",
471
- "line": 38,
472
- "character": 38
45
+ "filePath": "index.ts",
46
+ "line": 5,
47
+ "character": 3
473
48
  },
474
- "members": [
475
- {
476
- "__schema": "VariableLikeSchema",
477
- "location": {
478
- "filePath": "component-writer.main.runtime.ts",
479
- "line": 39,
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": 39,
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": 40,
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": 40,
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": 41,
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": 41,
529
- "character": 33
530
- },
531
- "name": "WorkspaceConfigUpdateResult",
532
- "componentId": {
533
- "scope": "teambit.workspace",
534
- "name": "config-merger"
535
- }
536
- },
537
- "isOptional": true
538
- }
539
- ]
49
+ "name": "ComponentWriterResults"
540
50
  }
541
51
  },
542
52
  {
543
- "__schema": "InterfaceSchema",
53
+ "__schema": "ExportSchema",
544
54
  "location": {
545
- "filePath": "component-writer.main.runtime.ts",
546
- "line": 23,
547
- "character": 1
55
+ "filePath": "index.ts",
56
+ "line": 6,
57
+ "character": 3
548
58
  },
549
- "signature": "interface ManyComponentsWriterParams",
550
59
  "name": "ManyComponentsWriterParams",
551
- "members": [
552
- {
553
- "__schema": "VariableLikeSchema",
554
- "location": {
555
- "filePath": "component-writer.main.runtime.ts",
556
- "line": 24,
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": 24,
566
- "character": 15
567
- },
568
- "type": {
569
- "__schema": "TypeRefSchema",
570
- "location": {
571
- "filePath": "component-writer.main.runtime.ts",
572
- "line": 24,
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": 25,
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": 25,
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": 26,
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": 26,
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": 27,
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": 27,
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": 28,
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": 28,
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": 29,
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": 29,
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": 30,
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": 30,
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": 31,
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": 31,
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": 32,
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": 32,
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": 33,
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": 33,
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": 34,
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": 34,
775
- "character": 27
776
- },
777
- "name": "string"
778
- },
779
- "isOptional": true
60
+ "exportNode": {
61
+ "__schema": "TypeRefSchema",
62
+ "location": {
63
+ "filePath": "index.ts",
64
+ "line": 6,
65
+ "character": 3
780
66
  },
781
- {
782
- "__schema": "VariableLikeSchema",
783
- "location": {
784
- "filePath": "component-writer.main.runtime.ts",
785
- "line": 35,
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": 35,
795
- "character": 33
796
- },
797
- "name": "boolean"
798
- },
799
- "isOptional": true
800
- }
801
- ],
802
- "extendsNodes": []
67
+ "name": "ManyComponentsWriterParams"
68
+ }
803
69
  },
804
70
  {
805
- "__schema": "FunctionLikeSchema",
71
+ "__schema": "ExportSchema",
806
72
  "location": {
807
- "filePath": "component-writer.main.runtime.ts",
808
- "line": 316,
809
- "character": 1
73
+ "filePath": "index.ts",
74
+ "line": 8,
75
+ "character": 10
810
76
  },
811
- "signature": "function incrementPathRecursively(p: string, allPaths: string[]): string",
812
77
  "name": "incrementPathRecursively",
813
- "params": [
814
- {
815
- "__schema": "ParameterSchema",
816
- "location": {
817
- "filePath": "component-writer.main.runtime.ts",
818
- "line": 316,
819
- "character": 42
820
- },
821
- "name": "p",
822
- "type": {
823
- "__schema": "KeywordTypeSchema",
824
- "location": {
825
- "filePath": "component-writer.main.runtime.ts",
826
- "line": 316,
827
- "character": 45
828
- },
829
- "name": "string"
830
- },
831
- "isOptional": false,
832
- "isSpread": false
833
- },
834
- {
835
- "__schema": "ParameterSchema",
836
- "location": {
837
- "filePath": "component-writer.main.runtime.ts",
838
- "line": 316,
839
- "character": 53
840
- },
841
- "name": "allPaths",
842
- "type": {
843
- "__schema": "TypeArraySchema",
844
- "location": {
845
- "filePath": "component-writer.main.runtime.ts",
846
- "line": 316,
847
- "character": 63
848
- },
849
- "type": {
850
- "__schema": "KeywordTypeSchema",
851
- "location": {
852
- "filePath": "component-writer.main.runtime.ts",
853
- "line": 316,
854
- "character": 63
855
- },
856
- "name": "string"
857
- }
858
- },
859
- "isOptional": false,
860
- "isSpread": false
861
- }
862
- ],
863
- "returnType": {
864
- "__schema": "InferenceTypeSchema",
78
+ "exportNode": {
79
+ "__schema": "TypeRefSchema",
865
80
  "location": {
866
- "filePath": "component-writer.main.runtime.ts",
867
- "line": 316,
868
- "character": 1
81
+ "filePath": "index.ts",
82
+ "line": 8,
83
+ "character": 10
869
84
  },
870
- "type": "string"
871
- },
872
- "modifiers": [
873
- "export"
874
- ]
85
+ "name": "incrementPathRecursively"
86
+ }
875
87
  },
876
88
  {
877
89
  "__schema": "UnImplementedSchema",
@@ -884,969 +96,31 @@
884
96
  "type": "Identifier"
885
97
  },
886
98
  {
887
- "__schema": "VariableLikeSchema",
99
+ "__schema": "ExportSchema",
888
100
  "location": {
889
- "filePath": "component-writer.aspect.ts",
890
- "line": 3,
891
- "character": 14
101
+ "filePath": "index.ts",
102
+ "line": 10,
103
+ "character": 10
892
104
  },
893
- "signature": "const ComponentWriterAspect: Aspect",
894
105
  "name": "ComponentWriterAspect",
895
- "type": {
106
+ "exportNode": {
896
107
  "__schema": "TypeRefSchema",
897
108
  "location": {
898
- "filePath": "component-writer.aspect.ts",
899
- "line": 3,
900
- "character": 14
109
+ "filePath": "index.ts",
110
+ "line": 10,
111
+ "character": 10
901
112
  },
902
- "name": "Aspect",
903
- "componentId": {
904
- "scope": "teambit.harmony",
905
- "name": "harmony",
906
- "version": "0.4.6"
907
- }
908
- },
909
- "isOptional": false,
910
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-writer',\n})"
113
+ "name": "ComponentWriterAspect"
114
+ }
911
115
  }
912
116
  ],
913
117
  "internals": []
914
118
  },
915
- "internals": [
916
- {
917
- "__schema": "ModuleSchema",
918
- "location": {
919
- "filePath": "component-writer.main.runtime.ts",
920
- "line": 1,
921
- "character": 1
922
- },
923
- "exports": [
924
- {
925
- "__schema": "InterfaceSchema",
926
- "location": {
927
- "filePath": "component-writer.main.runtime.ts",
928
- "line": 23,
929
- "character": 1
930
- },
931
- "signature": "interface ManyComponentsWriterParams",
932
- "name": "ManyComponentsWriterParams",
933
- "members": [
934
- {
935
- "__schema": "VariableLikeSchema",
936
- "location": {
937
- "filePath": "component-writer.main.runtime.ts",
938
- "line": 24,
939
- "character": 3
940
- },
941
- "signature": "(property) ManyComponentsWriterParams.components: ConsumerComponent[]",
942
- "name": "components",
943
- "type": {
944
- "__schema": "TypeArraySchema",
945
- "location": {
946
- "filePath": "component-writer.main.runtime.ts",
947
- "line": 24,
948
- "character": 15
949
- },
950
- "type": {
951
- "__schema": "TypeRefSchema",
952
- "location": {
953
- "filePath": "component-writer.main.runtime.ts",
954
- "line": 24,
955
- "character": 15
956
- },
957
- "name": "ConsumerComponent",
958
- "packageName": "@teambit/legacy/dist/consumer/component"
959
- }
960
- },
961
- "isOptional": false
962
- },
963
- {
964
- "__schema": "VariableLikeSchema",
965
- "location": {
966
- "filePath": "component-writer.main.runtime.ts",
967
- "line": 25,
968
- "character": 3
969
- },
970
- "signature": "(property) ManyComponentsWriterParams.writeToPath?: string | undefined",
971
- "name": "writeToPath",
972
- "type": {
973
- "__schema": "KeywordTypeSchema",
974
- "location": {
975
- "filePath": "component-writer.main.runtime.ts",
976
- "line": 25,
977
- "character": 17
978
- },
979
- "name": "string"
980
- },
981
- "isOptional": true
982
- },
983
- {
984
- "__schema": "VariableLikeSchema",
985
- "location": {
986
- "filePath": "component-writer.main.runtime.ts",
987
- "line": 26,
988
- "character": 3
989
- },
990
- "signature": "(property) ManyComponentsWriterParams.throwForExistingDir?: boolean | undefined",
991
- "name": "throwForExistingDir",
992
- "type": {
993
- "__schema": "KeywordTypeSchema",
994
- "location": {
995
- "filePath": "component-writer.main.runtime.ts",
996
- "line": 26,
997
- "character": 25
998
- },
999
- "name": "boolean"
1000
- },
1001
- "isOptional": true
1002
- },
1003
- {
1004
- "__schema": "VariableLikeSchema",
1005
- "location": {
1006
- "filePath": "component-writer.main.runtime.ts",
1007
- "line": 27,
1008
- "character": 3
1009
- },
1010
- "signature": "(property) ManyComponentsWriterParams.writeConfig?: boolean | undefined",
1011
- "name": "writeConfig",
1012
- "type": {
1013
- "__schema": "KeywordTypeSchema",
1014
- "location": {
1015
- "filePath": "component-writer.main.runtime.ts",
1016
- "line": 27,
1017
- "character": 17
1018
- },
1019
- "name": "boolean"
1020
- },
1021
- "isOptional": true
1022
- },
1023
- {
1024
- "__schema": "VariableLikeSchema",
1025
- "location": {
1026
- "filePath": "component-writer.main.runtime.ts",
1027
- "line": 28,
1028
- "character": 3
1029
- },
1030
- "signature": "(property) ManyComponentsWriterParams.skipDependencyInstallation?: boolean | undefined",
1031
- "name": "skipDependencyInstallation",
1032
- "type": {
1033
- "__schema": "KeywordTypeSchema",
1034
- "location": {
1035
- "filePath": "component-writer.main.runtime.ts",
1036
- "line": 28,
1037
- "character": 32
1038
- },
1039
- "name": "boolean"
1040
- },
1041
- "isOptional": true
1042
- },
1043
- {
1044
- "__schema": "VariableLikeSchema",
1045
- "location": {
1046
- "filePath": "component-writer.main.runtime.ts",
1047
- "line": 29,
1048
- "character": 3
1049
- },
1050
- "signature": "(property) ManyComponentsWriterParams.verbose?: boolean | undefined",
1051
- "name": "verbose",
1052
- "type": {
1053
- "__schema": "KeywordTypeSchema",
1054
- "location": {
1055
- "filePath": "component-writer.main.runtime.ts",
1056
- "line": 29,
1057
- "character": 13
1058
- },
1059
- "name": "boolean"
1060
- },
1061
- "isOptional": true
1062
- },
1063
- {
1064
- "__schema": "VariableLikeSchema",
1065
- "location": {
1066
- "filePath": "component-writer.main.runtime.ts",
1067
- "line": 30,
1068
- "character": 3
1069
- },
1070
- "signature": "(property) ManyComponentsWriterParams.resetConfig?: boolean | undefined",
1071
- "name": "resetConfig",
1072
- "type": {
1073
- "__schema": "KeywordTypeSchema",
1074
- "location": {
1075
- "filePath": "component-writer.main.runtime.ts",
1076
- "line": 30,
1077
- "character": 17
1078
- },
1079
- "name": "boolean"
1080
- },
1081
- "isOptional": true
1082
- },
1083
- {
1084
- "__schema": "VariableLikeSchema",
1085
- "location": {
1086
- "filePath": "component-writer.main.runtime.ts",
1087
- "line": 31,
1088
- "character": 3
1089
- },
1090
- "signature": "(property) ManyComponentsWriterParams.skipWritingToFs?: boolean | undefined",
1091
- "name": "skipWritingToFs",
1092
- "type": {
1093
- "__schema": "KeywordTypeSchema",
1094
- "location": {
1095
- "filePath": "component-writer.main.runtime.ts",
1096
- "line": 31,
1097
- "character": 21
1098
- },
1099
- "name": "boolean"
1100
- },
1101
- "isOptional": true
1102
- },
1103
- {
1104
- "__schema": "VariableLikeSchema",
1105
- "location": {
1106
- "filePath": "component-writer.main.runtime.ts",
1107
- "line": 32,
1108
- "character": 3
1109
- },
1110
- "signature": "(property) ManyComponentsWriterParams.skipUpdatingBitMap?: boolean | undefined",
1111
- "name": "skipUpdatingBitMap",
1112
- "type": {
1113
- "__schema": "KeywordTypeSchema",
1114
- "location": {
1115
- "filePath": "component-writer.main.runtime.ts",
1116
- "line": 32,
1117
- "character": 24
1118
- },
1119
- "name": "boolean"
1120
- },
1121
- "isOptional": true
1122
- },
1123
- {
1124
- "__schema": "VariableLikeSchema",
1125
- "location": {
1126
- "filePath": "component-writer.main.runtime.ts",
1127
- "line": 33,
1128
- "character": 3
1129
- },
1130
- "signature": "(property) ManyComponentsWriterParams.skipWriteConfigFiles?: boolean | undefined",
1131
- "name": "skipWriteConfigFiles",
1132
- "type": {
1133
- "__schema": "KeywordTypeSchema",
1134
- "location": {
1135
- "filePath": "component-writer.main.runtime.ts",
1136
- "line": 33,
1137
- "character": 26
1138
- },
1139
- "name": "boolean"
1140
- },
1141
- "isOptional": true
1142
- },
1143
- {
1144
- "__schema": "VariableLikeSchema",
1145
- "location": {
1146
- "filePath": "component-writer.main.runtime.ts",
1147
- "line": 34,
1148
- "character": 3
1149
- },
1150
- "signature": "(property) ManyComponentsWriterParams.reasonForBitmapChange?: string | undefined",
1151
- "name": "reasonForBitmapChange",
1152
- "type": {
1153
- "__schema": "KeywordTypeSchema",
1154
- "location": {
1155
- "filePath": "component-writer.main.runtime.ts",
1156
- "line": 34,
1157
- "character": 27
1158
- },
1159
- "name": "string"
1160
- },
1161
- "isOptional": true
1162
- },
1163
- {
1164
- "__schema": "VariableLikeSchema",
1165
- "location": {
1166
- "filePath": "component-writer.main.runtime.ts",
1167
- "line": 35,
1168
- "character": 3
1169
- },
1170
- "signature": "(property) ManyComponentsWriterParams.shouldUpdateWorkspaceConfig?: boolean | undefined",
1171
- "name": "shouldUpdateWorkspaceConfig",
1172
- "type": {
1173
- "__schema": "KeywordTypeSchema",
1174
- "location": {
1175
- "filePath": "component-writer.main.runtime.ts",
1176
- "line": 35,
1177
- "character": 33
1178
- },
1179
- "name": "boolean"
1180
- },
1181
- "isOptional": true
1182
- }
1183
- ],
1184
- "extendsNodes": []
1185
- },
1186
- {
1187
- "__schema": "TypeSchema",
1188
- "location": {
1189
- "filePath": "component-writer.main.runtime.ts",
1190
- "line": 38,
1191
- "character": 1
1192
- },
1193
- "signature": "type ComponentWriterResults = {\n installationError?: Error | undefined;\n compilationError?: Error | undefined;\n workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult | undefined;\n}",
1194
- "name": "ComponentWriterResults",
1195
- "type": {
1196
- "__schema": "TypeLiteralSchema",
1197
- "location": {
1198
- "filePath": "component-writer.main.runtime.ts",
1199
- "line": 38,
1200
- "character": 38
1201
- },
1202
- "members": [
1203
- {
1204
- "__schema": "VariableLikeSchema",
1205
- "location": {
1206
- "filePath": "component-writer.main.runtime.ts",
1207
- "line": 39,
1208
- "character": 3
1209
- },
1210
- "signature": "(property) installationError?: Error | undefined",
1211
- "name": "installationError",
1212
- "type": {
1213
- "__schema": "TypeRefSchema",
1214
- "location": {
1215
- "filePath": "component-writer.main.runtime.ts",
1216
- "line": 39,
1217
- "character": 23
1218
- },
1219
- "name": "Error"
1220
- },
1221
- "isOptional": true
1222
- },
1223
- {
1224
- "__schema": "VariableLikeSchema",
1225
- "location": {
1226
- "filePath": "component-writer.main.runtime.ts",
1227
- "line": 40,
1228
- "character": 3
1229
- },
1230
- "signature": "(property) compilationError?: Error | undefined",
1231
- "name": "compilationError",
1232
- "type": {
1233
- "__schema": "TypeRefSchema",
1234
- "location": {
1235
- "filePath": "component-writer.main.runtime.ts",
1236
- "line": 40,
1237
- "character": 22
1238
- },
1239
- "name": "Error"
1240
- },
1241
- "isOptional": true
1242
- },
1243
- {
1244
- "__schema": "VariableLikeSchema",
1245
- "location": {
1246
- "filePath": "component-writer.main.runtime.ts",
1247
- "line": 41,
1248
- "character": 3
1249
- },
1250
- "signature": "(property) workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult | undefined",
1251
- "name": "workspaceConfigUpdateResult",
1252
- "type": {
1253
- "__schema": "TypeRefSchema",
1254
- "location": {
1255
- "filePath": "component-writer.main.runtime.ts",
1256
- "line": 41,
1257
- "character": 33
1258
- },
1259
- "name": "WorkspaceConfigUpdateResult",
1260
- "componentId": {
1261
- "scope": "teambit.workspace",
1262
- "name": "config-merger"
1263
- }
1264
- },
1265
- "isOptional": true
1266
- }
1267
- ]
1268
- }
1269
- },
1270
- {
1271
- "__schema": "ClassSchema",
1272
- "location": {
1273
- "filePath": "component-writer.main.runtime.ts",
1274
- "line": 44,
1275
- "character": 1
1276
- },
1277
- "signature": "class ComponentWriterMain",
1278
- "name": "ComponentWriterMain",
1279
- "members": [
1280
- {
1281
- "__schema": "ConstructorSchema",
1282
- "location": {
1283
- "filePath": "component-writer.main.runtime.ts",
1284
- "line": 45,
1285
- "character": 3
1286
- },
1287
- "signature": "constructor ComponentWriterMain(installer: InstallMain, compiler: CompilerMain, workspace: Workspace, logger: Logger, mover: MoverMain, configMerge: ConfigMergerMain): ComponentWriterMain",
1288
- "name": "constructor",
1289
- "params": [
1290
- {
1291
- "__schema": "ParameterSchema",
1292
- "location": {
1293
- "filePath": "component-writer.main.runtime.ts",
1294
- "line": 46,
1295
- "character": 5
1296
- },
1297
- "name": "installer",
1298
- "type": {
1299
- "__schema": "TypeRefSchema",
1300
- "location": {
1301
- "filePath": "component-writer.main.runtime.ts",
1302
- "line": 46,
1303
- "character": 24
1304
- },
1305
- "name": "InstallMain",
1306
- "componentId": {
1307
- "scope": "teambit.workspace",
1308
- "name": "install"
1309
- }
1310
- },
1311
- "isOptional": false,
1312
- "isSpread": false
1313
- },
1314
- {
1315
- "__schema": "ParameterSchema",
1316
- "location": {
1317
- "filePath": "component-writer.main.runtime.ts",
1318
- "line": 47,
1319
- "character": 5
1320
- },
1321
- "name": "compiler",
1322
- "type": {
1323
- "__schema": "TypeRefSchema",
1324
- "location": {
1325
- "filePath": "component-writer.main.runtime.ts",
1326
- "line": 47,
1327
- "character": 23
1328
- },
1329
- "name": "CompilerMain",
1330
- "componentId": {
1331
- "scope": "teambit.compilation",
1332
- "name": "compiler"
1333
- }
1334
- },
1335
- "isOptional": false,
1336
- "isSpread": false
1337
- },
1338
- {
1339
- "__schema": "ParameterSchema",
1340
- "location": {
1341
- "filePath": "component-writer.main.runtime.ts",
1342
- "line": 48,
1343
- "character": 5
1344
- },
1345
- "name": "workspace",
1346
- "type": {
1347
- "__schema": "TypeRefSchema",
1348
- "location": {
1349
- "filePath": "component-writer.main.runtime.ts",
1350
- "line": 48,
1351
- "character": 24
1352
- },
1353
- "name": "Workspace",
1354
- "componentId": {
1355
- "scope": "teambit.workspace",
1356
- "name": "workspace"
1357
- }
1358
- },
1359
- "isOptional": false,
1360
- "isSpread": false
1361
- },
1362
- {
1363
- "__schema": "ParameterSchema",
1364
- "location": {
1365
- "filePath": "component-writer.main.runtime.ts",
1366
- "line": 49,
1367
- "character": 5
1368
- },
1369
- "name": "logger",
1370
- "type": {
1371
- "__schema": "TypeRefSchema",
1372
- "location": {
1373
- "filePath": "component-writer.main.runtime.ts",
1374
- "line": 49,
1375
- "character": 21
1376
- },
1377
- "name": "Logger",
1378
- "componentId": {
1379
- "scope": "teambit.harmony",
1380
- "name": "logger"
1381
- }
1382
- },
1383
- "isOptional": false,
1384
- "isSpread": false
1385
- },
1386
- {
1387
- "__schema": "ParameterSchema",
1388
- "location": {
1389
- "filePath": "component-writer.main.runtime.ts",
1390
- "line": 50,
1391
- "character": 5
1392
- },
1393
- "name": "mover",
1394
- "type": {
1395
- "__schema": "TypeRefSchema",
1396
- "location": {
1397
- "filePath": "component-writer.main.runtime.ts",
1398
- "line": 50,
1399
- "character": 20
1400
- },
1401
- "name": "MoverMain",
1402
- "componentId": {
1403
- "scope": "teambit.component",
1404
- "name": "mover"
1405
- }
1406
- },
1407
- "isOptional": false,
1408
- "isSpread": false
1409
- },
1410
- {
1411
- "__schema": "ParameterSchema",
1412
- "location": {
1413
- "filePath": "component-writer.main.runtime.ts",
1414
- "line": 51,
1415
- "character": 5
1416
- },
1417
- "name": "configMerge",
1418
- "type": {
1419
- "__schema": "TypeRefSchema",
1420
- "location": {
1421
- "filePath": "component-writer.main.runtime.ts",
1422
- "line": 51,
1423
- "character": 26
1424
- },
1425
- "name": "ConfigMergerMain",
1426
- "componentId": {
1427
- "scope": "teambit.workspace",
1428
- "name": "config-merger"
1429
- }
1430
- },
1431
- "isOptional": false,
1432
- "isSpread": false
1433
- }
1434
- ],
1435
- "returnType": {
1436
- "__schema": "ThisTypeSchema",
1437
- "location": {
1438
- "filePath": "component-writer.main.runtime.ts",
1439
- "line": 44,
1440
- "character": 1
1441
- },
1442
- "name": "ComponentWriterMain"
1443
- },
1444
- "modifiers": []
1445
- },
1446
- {
1447
- "__schema": "GetAccessorSchema",
1448
- "location": {
1449
- "filePath": "component-writer.main.runtime.ts",
1450
- "line": 54,
1451
- "character": 3
1452
- },
1453
- "signature": "(getter) ComponentWriterMain.consumer: Consumer",
1454
- "name": "consumer",
1455
- "type": {
1456
- "__schema": "TypeRefSchema",
1457
- "location": {
1458
- "filePath": "component-writer.main.runtime.ts",
1459
- "line": 54,
1460
- "character": 3
1461
- },
1462
- "name": "Consumer",
1463
- "packageName": "@teambit/legacy/dist/consumer/consumer"
1464
- }
1465
- },
1466
- {
1467
- "__schema": "FunctionLikeSchema",
1468
- "location": {
1469
- "filePath": "component-writer.main.runtime.ts",
1470
- "line": 58,
1471
- "character": 3
1472
- },
1473
- "signature": "(method) ComponentWriterMain.writeMany(opts: ManyComponentsWriterParams): Promise<ComponentWriterResults>",
1474
- "name": "writeMany",
1475
- "params": [
1476
- {
1477
- "__schema": "ParameterSchema",
1478
- "location": {
1479
- "filePath": "component-writer.main.runtime.ts",
1480
- "line": 58,
1481
- "character": 19
1482
- },
1483
- "name": "opts",
1484
- "type": {
1485
- "__schema": "TypeRefSchema",
1486
- "location": {
1487
- "filePath": "component-writer.main.runtime.ts",
1488
- "line": 58,
1489
- "character": 25
1490
- },
1491
- "name": "ManyComponentsWriterParams"
1492
- },
1493
- "isOptional": false,
1494
- "isSpread": false
1495
- }
1496
- ],
1497
- "returnType": {
1498
- "__schema": "TypeRefSchema",
1499
- "location": {
1500
- "filePath": "component-writer.main.runtime.ts",
1501
- "line": 58,
1502
- "character": 54
1503
- },
1504
- "name": "Promise",
1505
- "typeArgs": [
1506
- {
1507
- "__schema": "TypeRefSchema",
1508
- "location": {
1509
- "filePath": "component-writer.main.runtime.ts",
1510
- "line": 58,
1511
- "character": 62
1512
- },
1513
- "name": "ComponentWriterResults"
1514
- }
1515
- ]
1516
- },
1517
- "modifiers": [
1518
- "async"
1519
- ]
1520
- },
1521
- {
1522
- "__schema": "VariableLikeSchema",
1523
- "location": {
1524
- "filePath": "component-writer.main.runtime.ts",
1525
- "line": 296,
1526
- "character": 3
1527
- },
1528
- "signature": "(property) ComponentWriterMain.slots: never[]",
1529
- "name": "slots",
1530
- "type": {
1531
- "__schema": "InferenceTypeSchema",
1532
- "location": {
1533
- "filePath": "component-writer.main.runtime.ts",
1534
- "line": 296,
1535
- "character": 3
1536
- },
1537
- "type": "never[]"
1538
- },
1539
- "isOptional": true,
1540
- "defaultValue": "[]"
1541
- },
1542
- {
1543
- "__schema": "VariableLikeSchema",
1544
- "location": {
1545
- "filePath": "component-writer.main.runtime.ts",
1546
- "line": 297,
1547
- "character": 3
1548
- },
1549
- "signature": "(property) ComponentWriterMain.dependencies: Aspect[]",
1550
- "name": "dependencies",
1551
- "type": {
1552
- "__schema": "InferenceTypeSchema",
1553
- "location": {
1554
- "filePath": "component-writer.main.runtime.ts",
1555
- "line": 297,
1556
- "character": 3
1557
- },
1558
- "type": "Aspect[]"
1559
- },
1560
- "isOptional": true,
1561
- "defaultValue": "[InstallAspect, CompilerAspect, LoggerAspect, WorkspaceAspect, MoverAspect, ConfigMergerAspect]"
1562
- },
1563
- {
1564
- "__schema": "VariableLikeSchema",
1565
- "location": {
1566
- "filePath": "component-writer.main.runtime.ts",
1567
- "line": 298,
1568
- "character": 3
1569
- },
1570
- "signature": "(property) ComponentWriterMain.runtime: RuntimeDefinition",
1571
- "name": "runtime",
1572
- "type": {
1573
- "__schema": "InferenceTypeSchema",
1574
- "location": {
1575
- "filePath": "component-writer.main.runtime.ts",
1576
- "line": 298,
1577
- "character": 3
1578
- },
1579
- "type": "RuntimeDefinition"
1580
- },
1581
- "isOptional": true,
1582
- "defaultValue": "MainRuntime"
1583
- },
1584
- {
1585
- "__schema": "FunctionLikeSchema",
1586
- "location": {
1587
- "filePath": "component-writer.main.runtime.ts",
1588
- "line": 299,
1589
- "character": 3
1590
- },
1591
- "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>",
1592
- "name": "provider",
1593
- "params": [
1594
- {
1595
- "__schema": "ParameterSchema",
1596
- "location": {
1597
- "filePath": "component-writer.main.runtime.ts",
1598
- "line": 299,
1599
- "character": 25
1600
- },
1601
- "name": "[ install, compiler, loggerMain, workspace, mover, configMerger ]",
1602
- "type": {
1603
- "__schema": "TupleTypeSchema",
1604
- "location": {
1605
- "filePath": "component-writer.main.runtime.ts",
1606
- "line": 299,
1607
- "character": 90
1608
- },
1609
- "elements": [
1610
- {
1611
- "__schema": "TypeRefSchema",
1612
- "location": {
1613
- "filePath": "component-writer.main.runtime.ts",
1614
- "line": 300,
1615
- "character": 5
1616
- },
1617
- "name": "InstallMain",
1618
- "componentId": {
1619
- "scope": "teambit.workspace",
1620
- "name": "install"
1621
- }
1622
- },
1623
- {
1624
- "__schema": "TypeRefSchema",
1625
- "location": {
1626
- "filePath": "component-writer.main.runtime.ts",
1627
- "line": 301,
1628
- "character": 5
1629
- },
1630
- "name": "CompilerMain",
1631
- "componentId": {
1632
- "scope": "teambit.compilation",
1633
- "name": "compiler"
1634
- }
1635
- },
1636
- {
1637
- "__schema": "TypeRefSchema",
1638
- "location": {
1639
- "filePath": "component-writer.main.runtime.ts",
1640
- "line": 302,
1641
- "character": 5
1642
- },
1643
- "name": "LoggerMain",
1644
- "componentId": {
1645
- "scope": "teambit.harmony",
1646
- "name": "logger"
1647
- }
1648
- },
1649
- {
1650
- "__schema": "TypeRefSchema",
1651
- "location": {
1652
- "filePath": "component-writer.main.runtime.ts",
1653
- "line": 303,
1654
- "character": 5
1655
- },
1656
- "name": "Workspace",
1657
- "componentId": {
1658
- "scope": "teambit.workspace",
1659
- "name": "workspace"
1660
- }
1661
- },
1662
- {
1663
- "__schema": "TypeRefSchema",
1664
- "location": {
1665
- "filePath": "component-writer.main.runtime.ts",
1666
- "line": 304,
1667
- "character": 5
1668
- },
1669
- "name": "MoverMain",
1670
- "componentId": {
1671
- "scope": "teambit.component",
1672
- "name": "mover"
1673
- }
1674
- },
1675
- {
1676
- "__schema": "TypeRefSchema",
1677
- "location": {
1678
- "filePath": "component-writer.main.runtime.ts",
1679
- "line": 305,
1680
- "character": 5
1681
- },
1682
- "name": "ConfigMergerMain",
1683
- "componentId": {
1684
- "scope": "teambit.workspace",
1685
- "name": "config-merger"
1686
- }
1687
- }
1688
- ]
1689
- },
1690
- "isOptional": false,
1691
- "isSpread": false
1692
- }
1693
- ],
1694
- "returnType": {
1695
- "__schema": "InferenceTypeSchema",
1696
- "location": {
1697
- "filePath": "component-writer.main.runtime.ts",
1698
- "line": 299,
1699
- "character": 3
1700
- },
1701
- "type": "Promise<ComponentWriterMain>"
1702
- },
1703
- "modifiers": [
1704
- "static",
1705
- "async"
1706
- ]
1707
- }
1708
- ],
1709
- "extendsNodes": [],
1710
- "implementNodes": []
1711
- },
1712
- {
1713
- "__schema": "UnImplementedSchema",
1714
- "location": {
1715
- "filePath": "component-writer.main.runtime.ts",
1716
- "line": 314,
1717
- "character": 16
1718
- },
1719
- "name": "ComponentWriterMain",
1720
- "type": "Identifier"
1721
- },
1722
- {
1723
- "__schema": "FunctionLikeSchema",
1724
- "location": {
1725
- "filePath": "component-writer.main.runtime.ts",
1726
- "line": 316,
1727
- "character": 1
1728
- },
1729
- "signature": "function incrementPathRecursively(p: string, allPaths: string[]): string",
1730
- "name": "incrementPathRecursively",
1731
- "params": [
1732
- {
1733
- "__schema": "ParameterSchema",
1734
- "location": {
1735
- "filePath": "component-writer.main.runtime.ts",
1736
- "line": 316,
1737
- "character": 42
1738
- },
1739
- "name": "p",
1740
- "type": {
1741
- "__schema": "KeywordTypeSchema",
1742
- "location": {
1743
- "filePath": "component-writer.main.runtime.ts",
1744
- "line": 316,
1745
- "character": 45
1746
- },
1747
- "name": "string"
1748
- },
1749
- "isOptional": false,
1750
- "isSpread": false
1751
- },
1752
- {
1753
- "__schema": "ParameterSchema",
1754
- "location": {
1755
- "filePath": "component-writer.main.runtime.ts",
1756
- "line": 316,
1757
- "character": 53
1758
- },
1759
- "name": "allPaths",
1760
- "type": {
1761
- "__schema": "TypeArraySchema",
1762
- "location": {
1763
- "filePath": "component-writer.main.runtime.ts",
1764
- "line": 316,
1765
- "character": 63
1766
- },
1767
- "type": {
1768
- "__schema": "KeywordTypeSchema",
1769
- "location": {
1770
- "filePath": "component-writer.main.runtime.ts",
1771
- "line": 316,
1772
- "character": 63
1773
- },
1774
- "name": "string"
1775
- }
1776
- },
1777
- "isOptional": false,
1778
- "isSpread": false
1779
- }
1780
- ],
1781
- "returnType": {
1782
- "__schema": "InferenceTypeSchema",
1783
- "location": {
1784
- "filePath": "component-writer.main.runtime.ts",
1785
- "line": 316,
1786
- "character": 1
1787
- },
1788
- "type": "string"
1789
- },
1790
- "modifiers": [
1791
- "export"
1792
- ]
1793
- }
1794
- ],
1795
- "internals": [
1796
- {
1797
- "__schema": "UnImplementedSchema",
1798
- "location": {
1799
- "filePath": "component-writer.main.runtime.ts",
1800
- "line": 312,
1801
- "character": 1
1802
- },
1803
- "name": "ComponentWriterAspect.addRuntime(ComponentWriterMain);",
1804
- "type": "ExpressionStatement"
1805
- }
1806
- ]
1807
- },
1808
- {
1809
- "__schema": "ModuleSchema",
1810
- "location": {
1811
- "filePath": "component-writer.aspect.ts",
1812
- "line": 1,
1813
- "character": 1
1814
- },
1815
- "exports": [
1816
- {
1817
- "__schema": "VariableLikeSchema",
1818
- "location": {
1819
- "filePath": "component-writer.aspect.ts",
1820
- "line": 3,
1821
- "character": 14
1822
- },
1823
- "signature": "const ComponentWriterAspect: Aspect",
1824
- "name": "ComponentWriterAspect",
1825
- "type": {
1826
- "__schema": "TypeRefSchema",
1827
- "location": {
1828
- "filePath": "component-writer.aspect.ts",
1829
- "line": 3,
1830
- "character": 14
1831
- },
1832
- "name": "Aspect",
1833
- "componentId": {
1834
- "scope": "teambit.harmony",
1835
- "name": "harmony",
1836
- "version": "0.4.6"
1837
- }
1838
- },
1839
- "isOptional": false,
1840
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-writer',\n})"
1841
- }
1842
- ],
1843
- "internals": []
1844
- }
1845
- ],
119
+ "internals": [],
1846
120
  "componentId": {
1847
121
  "scope": "teambit.component",
1848
122
  "name": "component-writer",
1849
- "version": "1.0.256"
123
+ "version": "1.0.258"
1850
124
  },
1851
125
  "taggedModuleExports": []
1852
126
  }