@teambit/eject 1.0.258 → 1.0.259

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