@teambit/eject 1.0.511 → 1.0.513

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