@teambit/eject 1.0.256 → 1.0.258

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