@teambit/remove 1.0.329 → 1.0.331

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,7 +25,7 @@
25
25
  "__schema": "ClassSchema",
26
26
  "location": {
27
27
  "filePath": "remove.main.runtime.ts",
28
- "line": 45,
28
+ "line": 44,
29
29
  "character": 1
30
30
  },
31
31
  "signature": "class RemoveMain",
@@ -35,7 +35,7 @@
35
35
  "__schema": "ConstructorSchema",
36
36
  "location": {
37
37
  "filePath": "remove.main.runtime.ts",
38
- "line": 46,
38
+ "line": 45,
39
39
  "character": 3
40
40
  },
41
41
  "signature": "constructor RemoveMain(workspace: Workspace, scope: ScopeMain, logger: Logger, importer: ImporterMain, depResolver: DependencyResolverMain, lister: ListerMain): RemoveMain",
@@ -45,7 +45,7 @@
45
45
  "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "remove.main.runtime.ts",
48
- "line": 47,
48
+ "line": 46,
49
49
  "character": 5
50
50
  },
51
51
  "name": "workspace",
@@ -53,14 +53,10 @@
53
53
  "__schema": "TypeRefSchema",
54
54
  "location": {
55
55
  "filePath": "remove.main.runtime.ts",
56
- "line": 47,
56
+ "line": 46,
57
57
  "character": 24
58
58
  },
59
- "name": "Workspace",
60
- "componentId": {
61
- "scope": "teambit.workspace",
62
- "name": "workspace"
63
- }
59
+ "name": "Workspace"
64
60
  },
65
61
  "isOptional": false,
66
62
  "isSpread": false
@@ -69,7 +65,7 @@
69
65
  "__schema": "ParameterSchema",
70
66
  "location": {
71
67
  "filePath": "remove.main.runtime.ts",
72
- "line": 48,
68
+ "line": 47,
73
69
  "character": 5
74
70
  },
75
71
  "name": "scope",
@@ -77,14 +73,10 @@
77
73
  "__schema": "TypeRefSchema",
78
74
  "location": {
79
75
  "filePath": "remove.main.runtime.ts",
80
- "line": 48,
76
+ "line": 47,
81
77
  "character": 20
82
78
  },
83
- "name": "ScopeMain",
84
- "componentId": {
85
- "scope": "teambit.scope",
86
- "name": "scope"
87
- }
79
+ "name": "ScopeMain"
88
80
  },
89
81
  "isOptional": false,
90
82
  "isSpread": false
@@ -93,7 +85,7 @@
93
85
  "__schema": "ParameterSchema",
94
86
  "location": {
95
87
  "filePath": "remove.main.runtime.ts",
96
- "line": 49,
88
+ "line": 48,
97
89
  "character": 5
98
90
  },
99
91
  "name": "logger",
@@ -101,14 +93,10 @@
101
93
  "__schema": "TypeRefSchema",
102
94
  "location": {
103
95
  "filePath": "remove.main.runtime.ts",
104
- "line": 49,
96
+ "line": 48,
105
97
  "character": 20
106
98
  },
107
- "name": "Logger",
108
- "componentId": {
109
- "scope": "teambit.harmony",
110
- "name": "logger"
111
- }
99
+ "name": "Logger"
112
100
  },
113
101
  "isOptional": false,
114
102
  "isSpread": false
@@ -117,7 +105,7 @@
117
105
  "__schema": "ParameterSchema",
118
106
  "location": {
119
107
  "filePath": "remove.main.runtime.ts",
120
- "line": 50,
108
+ "line": 49,
121
109
  "character": 5
122
110
  },
123
111
  "name": "importer",
@@ -125,14 +113,10 @@
125
113
  "__schema": "TypeRefSchema",
126
114
  "location": {
127
115
  "filePath": "remove.main.runtime.ts",
128
- "line": 50,
116
+ "line": 49,
129
117
  "character": 23
130
118
  },
131
- "name": "ImporterMain",
132
- "componentId": {
133
- "scope": "teambit.scope",
134
- "name": "importer"
135
- }
119
+ "name": "ImporterMain"
136
120
  },
137
121
  "isOptional": false,
138
122
  "isSpread": false
@@ -141,7 +125,7 @@
141
125
  "__schema": "ParameterSchema",
142
126
  "location": {
143
127
  "filePath": "remove.main.runtime.ts",
144
- "line": 51,
128
+ "line": 50,
145
129
  "character": 5
146
130
  },
147
131
  "name": "depResolver",
@@ -149,14 +133,10 @@
149
133
  "__schema": "TypeRefSchema",
150
134
  "location": {
151
135
  "filePath": "remove.main.runtime.ts",
152
- "line": 51,
136
+ "line": 50,
153
137
  "character": 26
154
138
  },
155
- "name": "DependencyResolverMain",
156
- "componentId": {
157
- "scope": "teambit.dependencies",
158
- "name": "dependency-resolver"
159
- }
139
+ "name": "DependencyResolverMain"
160
140
  },
161
141
  "isOptional": false,
162
142
  "isSpread": false
@@ -165,7 +145,7 @@
165
145
  "__schema": "ParameterSchema",
166
146
  "location": {
167
147
  "filePath": "remove.main.runtime.ts",
168
- "line": 52,
148
+ "line": 51,
169
149
  "character": 5
170
150
  },
171
151
  "name": "lister",
@@ -173,14 +153,10 @@
173
153
  "__schema": "TypeRefSchema",
174
154
  "location": {
175
155
  "filePath": "remove.main.runtime.ts",
176
- "line": 52,
156
+ "line": 51,
177
157
  "character": 21
178
158
  },
179
- "name": "ListerMain",
180
- "componentId": {
181
- "scope": "teambit.component",
182
- "name": "lister"
183
- }
159
+ "name": "ListerMain"
184
160
  },
185
161
  "isOptional": false,
186
162
  "isSpread": false
@@ -190,7 +166,7 @@
190
166
  "__schema": "ThisTypeSchema",
191
167
  "location": {
192
168
  "filePath": "remove.main.runtime.ts",
193
- "line": 45,
169
+ "line": 44,
194
170
  "character": 1
195
171
  },
196
172
  "name": "RemoveMain"
@@ -201,7 +177,7 @@
201
177
  "__schema": "FunctionLikeSchema",
202
178
  "location": {
203
179
  "filePath": "remove.main.runtime.ts",
204
- "line": 55,
180
+ "line": 54,
205
181
  "character": 3
206
182
  },
207
183
  "signature": "(method) RemoveMain.remove({ componentsPattern, force, remote, track, deleteFiles, }: {\n componentsPattern: string;\n force?: boolean;\n remote?: boolean;\n track?: boolean;\n deleteFiles?: boolean;\n}): Promise<RemoveComponentsResult>",
@@ -211,7 +187,7 @@
211
187
  "__schema": "ParameterSchema",
212
188
  "location": {
213
189
  "filePath": "remove.main.runtime.ts",
214
- "line": 55,
190
+ "line": 54,
215
191
  "character": 16
216
192
  },
217
193
  "name": "{ componentsPattern, force = false, remote = false, track = false, deleteFiles = true }",
@@ -219,7 +195,7 @@
219
195
  "__schema": "TypeLiteralSchema",
220
196
  "location": {
221
197
  "filePath": "remove.main.runtime.ts",
222
- "line": 61,
198
+ "line": 60,
223
199
  "character": 6
224
200
  },
225
201
  "members": [
@@ -227,7 +203,7 @@
227
203
  "__schema": "VariableLikeSchema",
228
204
  "location": {
229
205
  "filePath": "remove.main.runtime.ts",
230
- "line": 62,
206
+ "line": 61,
231
207
  "character": 5
232
208
  },
233
209
  "signature": "(property) componentsPattern: string",
@@ -236,7 +212,7 @@
236
212
  "__schema": "KeywordTypeSchema",
237
213
  "location": {
238
214
  "filePath": "remove.main.runtime.ts",
239
- "line": 62,
215
+ "line": 61,
240
216
  "character": 24
241
217
  },
242
218
  "name": "string"
@@ -247,7 +223,7 @@
247
223
  "__schema": "VariableLikeSchema",
248
224
  "location": {
249
225
  "filePath": "remove.main.runtime.ts",
250
- "line": 63,
226
+ "line": 62,
251
227
  "character": 5
252
228
  },
253
229
  "signature": "(property) force?: boolean | undefined",
@@ -256,7 +232,7 @@
256
232
  "__schema": "KeywordTypeSchema",
257
233
  "location": {
258
234
  "filePath": "remove.main.runtime.ts",
259
- "line": 63,
235
+ "line": 62,
260
236
  "character": 13
261
237
  },
262
238
  "name": "boolean"
@@ -267,7 +243,7 @@
267
243
  "__schema": "VariableLikeSchema",
268
244
  "location": {
269
245
  "filePath": "remove.main.runtime.ts",
270
- "line": 64,
246
+ "line": 63,
271
247
  "character": 5
272
248
  },
273
249
  "signature": "(property) remote?: boolean | undefined",
@@ -276,7 +252,7 @@
276
252
  "__schema": "KeywordTypeSchema",
277
253
  "location": {
278
254
  "filePath": "remove.main.runtime.ts",
279
- "line": 64,
255
+ "line": 63,
280
256
  "character": 14
281
257
  },
282
258
  "name": "boolean"
@@ -287,7 +263,7 @@
287
263
  "__schema": "VariableLikeSchema",
288
264
  "location": {
289
265
  "filePath": "remove.main.runtime.ts",
290
- "line": 65,
266
+ "line": 64,
291
267
  "character": 5
292
268
  },
293
269
  "signature": "(property) track?: boolean | undefined",
@@ -296,7 +272,7 @@
296
272
  "__schema": "KeywordTypeSchema",
297
273
  "location": {
298
274
  "filePath": "remove.main.runtime.ts",
299
- "line": 65,
275
+ "line": 64,
300
276
  "character": 13
301
277
  },
302
278
  "name": "boolean"
@@ -307,7 +283,7 @@
307
283
  "__schema": "VariableLikeSchema",
308
284
  "location": {
309
285
  "filePath": "remove.main.runtime.ts",
310
- "line": 66,
286
+ "line": 65,
311
287
  "character": 5
312
288
  },
313
289
  "signature": "(property) deleteFiles?: boolean | undefined",
@@ -316,7 +292,7 @@
316
292
  "__schema": "KeywordTypeSchema",
317
293
  "location": {
318
294
  "filePath": "remove.main.runtime.ts",
319
- "line": 66,
295
+ "line": 65,
320
296
  "character": 19
321
297
  },
322
298
  "name": "boolean"
@@ -331,7 +307,7 @@
331
307
  "__schema": "VariableLikeSchema",
332
308
  "location": {
333
309
  "filePath": "remove.main.runtime.ts",
334
- "line": 62,
310
+ "line": 61,
335
311
  "character": 5
336
312
  },
337
313
  "signature": "(property) componentsPattern: string",
@@ -340,7 +316,7 @@
340
316
  "__schema": "KeywordTypeSchema",
341
317
  "location": {
342
318
  "filePath": "remove.main.runtime.ts",
343
- "line": 62,
319
+ "line": 61,
344
320
  "character": 24
345
321
  },
346
322
  "name": "string"
@@ -351,7 +327,7 @@
351
327
  "__schema": "VariableLikeSchema",
352
328
  "location": {
353
329
  "filePath": "remove.main.runtime.ts",
354
- "line": 63,
330
+ "line": 62,
355
331
  "character": 5
356
332
  },
357
333
  "signature": "(property) force?: boolean | undefined",
@@ -360,7 +336,7 @@
360
336
  "__schema": "KeywordTypeSchema",
361
337
  "location": {
362
338
  "filePath": "remove.main.runtime.ts",
363
- "line": 63,
339
+ "line": 62,
364
340
  "character": 13
365
341
  },
366
342
  "name": "boolean"
@@ -371,7 +347,7 @@
371
347
  "__schema": "VariableLikeSchema",
372
348
  "location": {
373
349
  "filePath": "remove.main.runtime.ts",
374
- "line": 64,
350
+ "line": 63,
375
351
  "character": 5
376
352
  },
377
353
  "signature": "(property) remote?: boolean | undefined",
@@ -380,7 +356,7 @@
380
356
  "__schema": "KeywordTypeSchema",
381
357
  "location": {
382
358
  "filePath": "remove.main.runtime.ts",
383
- "line": 64,
359
+ "line": 63,
384
360
  "character": 14
385
361
  },
386
362
  "name": "boolean"
@@ -391,7 +367,7 @@
391
367
  "__schema": "VariableLikeSchema",
392
368
  "location": {
393
369
  "filePath": "remove.main.runtime.ts",
394
- "line": 65,
370
+ "line": 64,
395
371
  "character": 5
396
372
  },
397
373
  "signature": "(property) track?: boolean | undefined",
@@ -400,7 +376,7 @@
400
376
  "__schema": "KeywordTypeSchema",
401
377
  "location": {
402
378
  "filePath": "remove.main.runtime.ts",
403
- "line": 65,
379
+ "line": 64,
404
380
  "character": 13
405
381
  },
406
382
  "name": "boolean"
@@ -411,7 +387,7 @@
411
387
  "__schema": "VariableLikeSchema",
412
388
  "location": {
413
389
  "filePath": "remove.main.runtime.ts",
414
- "line": 66,
390
+ "line": 65,
415
391
  "character": 5
416
392
  },
417
393
  "signature": "(property) deleteFiles?: boolean | undefined",
@@ -420,7 +396,7 @@
420
396
  "__schema": "KeywordTypeSchema",
421
397
  "location": {
422
398
  "filePath": "remove.main.runtime.ts",
423
- "line": 66,
399
+ "line": 65,
424
400
  "character": 19
425
401
  },
426
402
  "name": "boolean"
@@ -435,7 +411,7 @@
435
411
  "__schema": "TypeRefSchema",
436
412
  "location": {
437
413
  "filePath": "remove.main.runtime.ts",
438
- "line": 67,
414
+ "line": 66,
439
415
  "character": 7
440
416
  },
441
417
  "name": "Promise",
@@ -444,11 +420,10 @@
444
420
  "__schema": "TypeRefSchema",
445
421
  "location": {
446
422
  "filePath": "remove.main.runtime.ts",
447
- "line": 67,
423
+ "line": 66,
448
424
  "character": 15
449
425
  },
450
- "name": "RemoveComponentsResult",
451
- "internalFilePath": "remove-components.ts"
426
+ "name": "RemoveComponentsResult"
452
427
  }
453
428
  ]
454
429
  },
@@ -460,14 +435,14 @@
460
435
  "__schema": "FunctionLikeSchema",
461
436
  "location": {
462
437
  "filePath": "remove.main.runtime.ts",
463
- "line": 89,
438
+ "line": 88,
464
439
  "character": 3
465
440
  },
466
441
  "doc": {
467
442
  "__schema": "DocSchema",
468
443
  "location": {
469
444
  "filePath": "remove.main.runtime.ts",
470
- "line": 86,
445
+ "line": 85,
471
446
  "character": 3
472
447
  },
473
448
  "raw": "/**\n * remove components from the workspace.\n */",
@@ -481,7 +456,7 @@
481
456
  "__schema": "ParameterSchema",
482
457
  "location": {
483
458
  "filePath": "remove.main.runtime.ts",
484
- "line": 90,
459
+ "line": 89,
485
460
  "character": 5
486
461
  },
487
462
  "name": "ids",
@@ -489,22 +464,17 @@
489
464
  "__schema": "TypeArraySchema",
490
465
  "location": {
491
466
  "filePath": "remove.main.runtime.ts",
492
- "line": 90,
467
+ "line": 89,
493
468
  "character": 10
494
469
  },
495
470
  "type": {
496
471
  "__schema": "TypeRefSchema",
497
472
  "location": {
498
473
  "filePath": "remove.main.runtime.ts",
499
- "line": 90,
474
+ "line": 89,
500
475
  "character": 10
501
476
  },
502
- "name": "ComponentID",
503
- "componentId": {
504
- "scope": "teambit.component",
505
- "name": "component-id",
506
- "version": "1.2.0"
507
- }
477
+ "name": "ComponentID"
508
478
  }
509
479
  },
510
480
  "isOptional": false,
@@ -514,7 +484,7 @@
514
484
  "__schema": "ParameterSchema",
515
485
  "location": {
516
486
  "filePath": "remove.main.runtime.ts",
517
- "line": 91,
487
+ "line": 90,
518
488
  "character": 5
519
489
  },
520
490
  "name": "{ force = false, reasonForRemoval }",
@@ -522,7 +492,7 @@
522
492
  "__schema": "TypeLiteralSchema",
523
493
  "location": {
524
494
  "filePath": "remove.main.runtime.ts",
525
- "line": 91,
495
+ "line": 90,
526
496
  "character": 42
527
497
  },
528
498
  "members": [
@@ -530,7 +500,7 @@
530
500
  "__schema": "VariableLikeSchema",
531
501
  "location": {
532
502
  "filePath": "remove.main.runtime.ts",
533
- "line": 91,
503
+ "line": 90,
534
504
  "character": 44
535
505
  },
536
506
  "signature": "(property) force?: boolean | undefined",
@@ -539,7 +509,7 @@
539
509
  "__schema": "KeywordTypeSchema",
540
510
  "location": {
541
511
  "filePath": "remove.main.runtime.ts",
542
- "line": 91,
512
+ "line": 90,
543
513
  "character": 52
544
514
  },
545
515
  "name": "boolean"
@@ -550,7 +520,7 @@
550
520
  "__schema": "VariableLikeSchema",
551
521
  "location": {
552
522
  "filePath": "remove.main.runtime.ts",
553
- "line": 91,
523
+ "line": 90,
554
524
  "character": 61
555
525
  },
556
526
  "signature": "(property) reasonForRemoval?: string | undefined",
@@ -559,7 +529,7 @@
559
529
  "__schema": "KeywordTypeSchema",
560
530
  "location": {
561
531
  "filePath": "remove.main.runtime.ts",
562
- "line": 91,
532
+ "line": 90,
563
533
  "character": 80
564
534
  },
565
535
  "name": "string"
@@ -575,7 +545,7 @@
575
545
  "__schema": "VariableLikeSchema",
576
546
  "location": {
577
547
  "filePath": "remove.main.runtime.ts",
578
- "line": 91,
548
+ "line": 90,
579
549
  "character": 44
580
550
  },
581
551
  "signature": "(property) force?: boolean | undefined",
@@ -584,7 +554,7 @@
584
554
  "__schema": "KeywordTypeSchema",
585
555
  "location": {
586
556
  "filePath": "remove.main.runtime.ts",
587
- "line": 91,
557
+ "line": 90,
588
558
  "character": 52
589
559
  },
590
560
  "name": "boolean"
@@ -595,7 +565,7 @@
595
565
  "__schema": "VariableLikeSchema",
596
566
  "location": {
597
567
  "filePath": "remove.main.runtime.ts",
598
- "line": 91,
568
+ "line": 90,
599
569
  "character": 61
600
570
  },
601
571
  "signature": "(property) reasonForRemoval?: string | undefined",
@@ -604,7 +574,7 @@
604
574
  "__schema": "KeywordTypeSchema",
605
575
  "location": {
606
576
  "filePath": "remove.main.runtime.ts",
607
- "line": 91,
577
+ "line": 90,
608
578
  "character": 80
609
579
  },
610
580
  "name": "string"
@@ -619,7 +589,7 @@
619
589
  "__schema": "InferenceTypeSchema",
620
590
  "location": {
621
591
  "filePath": "remove.main.runtime.ts",
622
- "line": 89,
592
+ "line": 88,
623
593
  "character": 3
624
594
  },
625
595
  "type": "Promise<RemoveComponentsResult>"
@@ -632,7 +602,7 @@
632
602
  "__schema": "FunctionLikeSchema",
633
603
  "location": {
634
604
  "filePath": "remove.main.runtime.ts",
635
- "line": 132,
605
+ "line": 131,
636
606
  "character": 3
637
607
  },
638
608
  "signature": "(method) RemoveMain.deleteComps(componentsPattern: string, opts?: DeleteOpts): Promise<Component[]>",
@@ -642,7 +612,7 @@
642
612
  "__schema": "ParameterSchema",
643
613
  "location": {
644
614
  "filePath": "remove.main.runtime.ts",
645
- "line": 132,
615
+ "line": 131,
646
616
  "character": 21
647
617
  },
648
618
  "name": "componentsPattern",
@@ -650,7 +620,7 @@
650
620
  "__schema": "KeywordTypeSchema",
651
621
  "location": {
652
622
  "filePath": "remove.main.runtime.ts",
653
- "line": 132,
623
+ "line": 131,
654
624
  "character": 40
655
625
  },
656
626
  "name": "string"
@@ -662,7 +632,7 @@
662
632
  "__schema": "ParameterSchema",
663
633
  "location": {
664
634
  "filePath": "remove.main.runtime.ts",
665
- "line": 132,
635
+ "line": 131,
666
636
  "character": 48
667
637
  },
668
638
  "name": "opts",
@@ -670,11 +640,10 @@
670
640
  "__schema": "TypeRefSchema",
671
641
  "location": {
672
642
  "filePath": "remove.main.runtime.ts",
673
- "line": 132,
643
+ "line": 131,
674
644
  "character": 54
675
645
  },
676
- "name": "DeleteOpts",
677
- "internalFilePath": "remove.main.runtime.ts"
646
+ "name": "DeleteOpts"
678
647
  },
679
648
  "isOptional": true,
680
649
  "defaultValue": "{}",
@@ -685,7 +654,7 @@
685
654
  "__schema": "TypeRefSchema",
686
655
  "location": {
687
656
  "filePath": "remove.main.runtime.ts",
688
- "line": 132,
657
+ "line": 131,
689
658
  "character": 72
690
659
  },
691
660
  "name": "Promise",
@@ -694,21 +663,17 @@
694
663
  "__schema": "TypeArraySchema",
695
664
  "location": {
696
665
  "filePath": "remove.main.runtime.ts",
697
- "line": 132,
666
+ "line": 131,
698
667
  "character": 80
699
668
  },
700
669
  "type": {
701
670
  "__schema": "TypeRefSchema",
702
671
  "location": {
703
672
  "filePath": "remove.main.runtime.ts",
704
- "line": 132,
673
+ "line": 131,
705
674
  "character": 80
706
675
  },
707
- "name": "Component",
708
- "componentId": {
709
- "scope": "teambit.component",
710
- "name": "component"
711
- }
676
+ "name": "Component"
712
677
  }
713
678
  }
714
679
  ]
@@ -721,14 +686,14 @@
721
686
  "__schema": "FunctionLikeSchema",
722
687
  "location": {
723
688
  "filePath": "remove.main.runtime.ts",
724
- "line": 180,
689
+ "line": 179,
725
690
  "character": 3
726
691
  },
727
692
  "doc": {
728
693
  "__schema": "DocSchema",
729
694
  "location": {
730
695
  "filePath": "remove.main.runtime.ts",
731
- "line": 168,
696
+ "line": 167,
732
697
  "character": 3
733
698
  },
734
699
  "raw": "/**\n * recover a soft-removed component.\n * there are 4 different scenarios.\n * 1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n * 1.a. the component still exists in the local scope. no need to import. write it from there.\n * 1.b. the component doesn't exist in the local scope. import it.\n * 2. soft-removed and then snapped. It's not in .bitmap now.\n * 3. soft-removed, snapped, exported. it's not in .bitmap now.\n * 4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n * 5. workspace is empty. the soft-removed component is on the remote.\n * returns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from.\n */",
@@ -742,7 +707,7 @@
742
707
  "__schema": "ParameterSchema",
743
708
  "location": {
744
709
  "filePath": "remove.main.runtime.ts",
745
- "line": 180,
710
+ "line": 179,
746
711
  "character": 17
747
712
  },
748
713
  "name": "compIdStr",
@@ -750,7 +715,7 @@
750
715
  "__schema": "KeywordTypeSchema",
751
716
  "location": {
752
717
  "filePath": "remove.main.runtime.ts",
753
- "line": 180,
718
+ "line": 179,
754
719
  "character": 28
755
720
  },
756
721
  "name": "string"
@@ -762,7 +727,7 @@
762
727
  "__schema": "ParameterSchema",
763
728
  "location": {
764
729
  "filePath": "remove.main.runtime.ts",
765
- "line": 180,
730
+ "line": 179,
766
731
  "character": 36
767
732
  },
768
733
  "name": "options",
@@ -770,11 +735,10 @@
770
735
  "__schema": "TypeRefSchema",
771
736
  "location": {
772
737
  "filePath": "remove.main.runtime.ts",
773
- "line": 180,
738
+ "line": 179,
774
739
  "character": 45
775
740
  },
776
- "name": "RecoverOptions",
777
- "internalFilePath": "recover-cmd.ts"
741
+ "name": "RecoverOptions"
778
742
  },
779
743
  "isOptional": false,
780
744
  "isSpread": false
@@ -784,7 +748,7 @@
784
748
  "__schema": "TypeRefSchema",
785
749
  "location": {
786
750
  "filePath": "remove.main.runtime.ts",
787
- "line": 180,
751
+ "line": 179,
788
752
  "character": 62
789
753
  },
790
754
  "name": "Promise",
@@ -793,7 +757,7 @@
793
757
  "__schema": "KeywordTypeSchema",
794
758
  "location": {
795
759
  "filePath": "remove.main.runtime.ts",
796
- "line": 180,
760
+ "line": 179,
797
761
  "character": 70
798
762
  },
799
763
  "name": "boolean"
@@ -808,7 +772,7 @@
808
772
  "__schema": "FunctionLikeSchema",
809
773
  "location": {
810
774
  "filePath": "remove.main.runtime.ts",
811
- "line": 266,
775
+ "line": 265,
812
776
  "character": 3
813
777
  },
814
778
  "signature": "(method) RemoveMain.getRemoveInfo(component: Component): Promise<RemoveInfo>",
@@ -818,7 +782,7 @@
818
782
  "__schema": "ParameterSchema",
819
783
  "location": {
820
784
  "filePath": "remove.main.runtime.ts",
821
- "line": 266,
785
+ "line": 265,
822
786
  "character": 23
823
787
  },
824
788
  "name": "component",
@@ -826,14 +790,10 @@
826
790
  "__schema": "TypeRefSchema",
827
791
  "location": {
828
792
  "filePath": "remove.main.runtime.ts",
829
- "line": 266,
793
+ "line": 265,
830
794
  "character": 34
831
795
  },
832
- "name": "Component",
833
- "componentId": {
834
- "scope": "teambit.component",
835
- "name": "component"
836
- }
796
+ "name": "Component"
837
797
  },
838
798
  "isOptional": false,
839
799
  "isSpread": false
@@ -843,7 +803,7 @@
843
803
  "__schema": "TypeRefSchema",
844
804
  "location": {
845
805
  "filePath": "remove.main.runtime.ts",
846
- "line": 266,
806
+ "line": 265,
847
807
  "character": 46
848
808
  },
849
809
  "name": "Promise",
@@ -852,7 +812,7 @@
852
812
  "__schema": "TypeRefSchema",
853
813
  "location": {
854
814
  "filePath": "remove.main.runtime.ts",
855
- "line": 266,
815
+ "line": 265,
856
816
  "character": 54
857
817
  },
858
818
  "name": "RemoveInfo"
@@ -867,14 +827,14 @@
867
827
  "__schema": "FunctionLikeSchema",
868
828
  "location": {
869
829
  "filePath": "remove.main.runtime.ts",
870
- "line": 301,
830
+ "line": 300,
871
831
  "character": 3
872
832
  },
873
833
  "doc": {
874
834
  "__schema": "DocSchema",
875
835
  "location": {
876
836
  "filePath": "remove.main.runtime.ts",
877
- "line": 298,
837
+ "line": 297,
878
838
  "character": 3
879
839
  },
880
840
  "raw": "/**\n * @deprecated use `isDeleted` instead.\n */",
@@ -884,7 +844,7 @@
884
844
  "__schema": "TagSchema",
885
845
  "location": {
886
846
  "filePath": "remove.main.runtime.ts",
887
- "line": 299,
847
+ "line": 298,
888
848
  "character": 6
889
849
  },
890
850
  "tagName": "deprecated",
@@ -899,7 +859,7 @@
899
859
  "__schema": "ParameterSchema",
900
860
  "location": {
901
861
  "filePath": "remove.main.runtime.ts",
902
- "line": 301,
862
+ "line": 300,
903
863
  "character": 19
904
864
  },
905
865
  "name": "component",
@@ -907,14 +867,10 @@
907
867
  "__schema": "TypeRefSchema",
908
868
  "location": {
909
869
  "filePath": "remove.main.runtime.ts",
910
- "line": 301,
870
+ "line": 300,
911
871
  "character": 30
912
872
  },
913
- "name": "Component",
914
- "componentId": {
915
- "scope": "teambit.component",
916
- "name": "component"
917
- }
873
+ "name": "Component"
918
874
  },
919
875
  "isOptional": false,
920
876
  "isSpread": false
@@ -924,7 +880,7 @@
924
880
  "__schema": "TypeRefSchema",
925
881
  "location": {
926
882
  "filePath": "remove.main.runtime.ts",
927
- "line": 301,
883
+ "line": 300,
928
884
  "character": 42
929
885
  },
930
886
  "name": "Promise",
@@ -933,7 +889,7 @@
933
889
  "__schema": "KeywordTypeSchema",
934
890
  "location": {
935
891
  "filePath": "remove.main.runtime.ts",
936
- "line": 301,
892
+ "line": 300,
937
893
  "character": 50
938
894
  },
939
895
  "name": "boolean"
@@ -948,14 +904,14 @@
948
904
  "__schema": "FunctionLikeSchema",
949
905
  "location": {
950
906
  "filePath": "remove.main.runtime.ts",
951
- "line": 308,
907
+ "line": 307,
952
908
  "character": 3
953
909
  },
954
910
  "doc": {
955
911
  "__schema": "DocSchema",
956
912
  "location": {
957
913
  "filePath": "remove.main.runtime.ts",
958
- "line": 305,
914
+ "line": 304,
959
915
  "character": 3
960
916
  },
961
917
  "raw": "/**\n * whether a component is marked as deleted.\n */",
@@ -969,7 +925,7 @@
969
925
  "__schema": "ParameterSchema",
970
926
  "location": {
971
927
  "filePath": "remove.main.runtime.ts",
972
- "line": 308,
928
+ "line": 307,
973
929
  "character": 19
974
930
  },
975
931
  "name": "component",
@@ -977,14 +933,10 @@
977
933
  "__schema": "TypeRefSchema",
978
934
  "location": {
979
935
  "filePath": "remove.main.runtime.ts",
980
- "line": 308,
936
+ "line": 307,
981
937
  "character": 30
982
938
  },
983
- "name": "Component",
984
- "componentId": {
985
- "scope": "teambit.component",
986
- "name": "component"
987
- }
939
+ "name": "Component"
988
940
  },
989
941
  "isOptional": false,
990
942
  "isSpread": false
@@ -994,7 +946,7 @@
994
946
  "__schema": "TypeRefSchema",
995
947
  "location": {
996
948
  "filePath": "remove.main.runtime.ts",
997
- "line": 308,
949
+ "line": 307,
998
950
  "character": 42
999
951
  },
1000
952
  "name": "Promise",
@@ -1003,7 +955,7 @@
1003
955
  "__schema": "KeywordTypeSchema",
1004
956
  "location": {
1005
957
  "filePath": "remove.main.runtime.ts",
1006
- "line": 308,
958
+ "line": 307,
1007
959
  "character": 50
1008
960
  },
1009
961
  "name": "boolean"
@@ -1018,14 +970,14 @@
1018
970
  "__schema": "FunctionLikeSchema",
1019
971
  "location": {
1020
972
  "filePath": "remove.main.runtime.ts",
1021
- "line": 316,
973
+ "line": 315,
1022
974
  "character": 3
1023
975
  },
1024
976
  "doc": {
1025
977
  "__schema": "DocSchema",
1026
978
  "location": {
1027
979
  "filePath": "remove.main.runtime.ts",
1028
- "line": 313,
980
+ "line": 312,
1029
981
  "character": 3
1030
982
  },
1031
983
  "raw": "/**\n * performant version of isRemoved() in case the component object is not available and loading it is expensive.\n */",
@@ -1039,7 +991,7 @@
1039
991
  "__schema": "ParameterSchema",
1040
992
  "location": {
1041
993
  "filePath": "remove.main.runtime.ts",
1042
- "line": 316,
994
+ "line": 315,
1043
995
  "character": 46
1044
996
  },
1045
997
  "name": "componentId",
@@ -1047,15 +999,10 @@
1047
999
  "__schema": "TypeRefSchema",
1048
1000
  "location": {
1049
1001
  "filePath": "remove.main.runtime.ts",
1050
- "line": 316,
1002
+ "line": 315,
1051
1003
  "character": 59
1052
1004
  },
1053
- "name": "ComponentID",
1054
- "componentId": {
1055
- "scope": "teambit.component",
1056
- "name": "component-id",
1057
- "version": "1.2.0"
1058
- }
1005
+ "name": "ComponentID"
1059
1006
  },
1060
1007
  "isOptional": false,
1061
1008
  "isSpread": false
@@ -1065,7 +1012,7 @@
1065
1012
  "__schema": "TypeRefSchema",
1066
1013
  "location": {
1067
1014
  "filePath": "remove.main.runtime.ts",
1068
- "line": 316,
1015
+ "line": 315,
1069
1016
  "character": 73
1070
1017
  },
1071
1018
  "name": "Promise",
@@ -1074,7 +1021,7 @@
1074
1021
  "__schema": "KeywordTypeSchema",
1075
1022
  "location": {
1076
1023
  "filePath": "remove.main.runtime.ts",
1077
- "line": 316,
1024
+ "line": 315,
1078
1025
  "character": 81
1079
1026
  },
1080
1027
  "name": "boolean"
@@ -1089,14 +1036,69 @@
1089
1036
  "__schema": "FunctionLikeSchema",
1090
1037
  "location": {
1091
1038
  "filePath": "remove.main.runtime.ts",
1092
- "line": 333,
1039
+ "line": 329,
1040
+ "character": 3
1041
+ },
1042
+ "signature": "(method) RemoveMain.isEnvByIdWithoutLoadingComponent(componentId: ComponentID): Promise<boolean>",
1043
+ "name": "isEnvByIdWithoutLoadingComponent",
1044
+ "params": [
1045
+ {
1046
+ "__schema": "ParameterSchema",
1047
+ "location": {
1048
+ "filePath": "remove.main.runtime.ts",
1049
+ "line": 329,
1050
+ "character": 42
1051
+ },
1052
+ "name": "componentId",
1053
+ "type": {
1054
+ "__schema": "TypeRefSchema",
1055
+ "location": {
1056
+ "filePath": "remove.main.runtime.ts",
1057
+ "line": 329,
1058
+ "character": 55
1059
+ },
1060
+ "name": "ComponentID"
1061
+ },
1062
+ "isOptional": false,
1063
+ "isSpread": false
1064
+ }
1065
+ ],
1066
+ "returnType": {
1067
+ "__schema": "TypeRefSchema",
1068
+ "location": {
1069
+ "filePath": "remove.main.runtime.ts",
1070
+ "line": 329,
1071
+ "character": 69
1072
+ },
1073
+ "name": "Promise",
1074
+ "typeArgs": [
1075
+ {
1076
+ "__schema": "KeywordTypeSchema",
1077
+ "location": {
1078
+ "filePath": "remove.main.runtime.ts",
1079
+ "line": 329,
1080
+ "character": 77
1081
+ },
1082
+ "name": "boolean"
1083
+ }
1084
+ ]
1085
+ },
1086
+ "modifiers": [
1087
+ "async"
1088
+ ]
1089
+ },
1090
+ {
1091
+ "__schema": "FunctionLikeSchema",
1092
+ "location": {
1093
+ "filePath": "remove.main.runtime.ts",
1094
+ "line": 338,
1093
1095
  "character": 3
1094
1096
  },
1095
1097
  "doc": {
1096
1098
  "__schema": "DocSchema",
1097
1099
  "location": {
1098
1100
  "filePath": "remove.main.runtime.ts",
1099
- "line": 330,
1101
+ "line": 335,
1100
1102
  "character": 3
1101
1103
  },
1102
1104
  "raw": "/**\n * get components that were soft-removed and tagged/snapped/merged but not exported yet.\n */",
@@ -1110,7 +1112,7 @@
1110
1112
  "__schema": "TypeRefSchema",
1111
1113
  "location": {
1112
1114
  "filePath": "remove.main.runtime.ts",
1113
- "line": 333,
1115
+ "line": 338,
1114
1116
  "character": 29
1115
1117
  },
1116
1118
  "name": "Promise",
@@ -1119,22 +1121,17 @@
1119
1121
  "__schema": "TypeArraySchema",
1120
1122
  "location": {
1121
1123
  "filePath": "remove.main.runtime.ts",
1122
- "line": 333,
1124
+ "line": 338,
1123
1125
  "character": 37
1124
1126
  },
1125
1127
  "type": {
1126
1128
  "__schema": "TypeRefSchema",
1127
1129
  "location": {
1128
1130
  "filePath": "remove.main.runtime.ts",
1129
- "line": 333,
1131
+ "line": 338,
1130
1132
  "character": 37
1131
1133
  },
1132
- "name": "ComponentID",
1133
- "componentId": {
1134
- "scope": "teambit.component",
1135
- "name": "component-id",
1136
- "version": "1.2.0"
1137
- }
1134
+ "name": "ComponentID"
1138
1135
  }
1139
1136
  }
1140
1137
  ]
@@ -1147,7 +1144,7 @@
1147
1144
  "__schema": "FunctionLikeSchema",
1148
1145
  "location": {
1149
1146
  "filePath": "remove.main.runtime.ts",
1150
- "line": 337,
1147
+ "line": 342,
1151
1148
  "character": 3
1152
1149
  },
1153
1150
  "signature": "(method) RemoveMain.addRemovedDependenciesIssues(components: Component[]): Promise<void>",
@@ -1157,7 +1154,7 @@
1157
1154
  "__schema": "ParameterSchema",
1158
1155
  "location": {
1159
1156
  "filePath": "remove.main.runtime.ts",
1160
- "line": 337,
1157
+ "line": 342,
1161
1158
  "character": 38
1162
1159
  },
1163
1160
  "name": "components",
@@ -1165,21 +1162,17 @@
1165
1162
  "__schema": "TypeArraySchema",
1166
1163
  "location": {
1167
1164
  "filePath": "remove.main.runtime.ts",
1168
- "line": 337,
1165
+ "line": 342,
1169
1166
  "character": 50
1170
1167
  },
1171
1168
  "type": {
1172
1169
  "__schema": "TypeRefSchema",
1173
1170
  "location": {
1174
1171
  "filePath": "remove.main.runtime.ts",
1175
- "line": 337,
1172
+ "line": 342,
1176
1173
  "character": 50
1177
1174
  },
1178
- "name": "Component",
1179
- "componentId": {
1180
- "scope": "teambit.component",
1181
- "name": "component"
1182
- }
1175
+ "name": "Component"
1183
1176
  }
1184
1177
  },
1185
1178
  "isOptional": false,
@@ -1190,7 +1183,7 @@
1190
1183
  "__schema": "InferenceTypeSchema",
1191
1184
  "location": {
1192
1185
  "filePath": "remove.main.runtime.ts",
1193
- "line": 337,
1186
+ "line": 342,
1194
1187
  "character": 3
1195
1188
  },
1196
1189
  "type": "Promise<void>"
@@ -1203,7 +1196,7 @@
1203
1196
  "__schema": "VariableLikeSchema",
1204
1197
  "location": {
1205
1198
  "filePath": "remove.main.runtime.ts",
1206
- "line": 406,
1199
+ "line": 422,
1207
1200
  "character": 3
1208
1201
  },
1209
1202
  "signature": "(property) RemoveMain.slots: never[]",
@@ -1212,7 +1205,7 @@
1212
1205
  "__schema": "InferenceTypeSchema",
1213
1206
  "location": {
1214
1207
  "filePath": "remove.main.runtime.ts",
1215
- "line": 406,
1208
+ "line": 422,
1216
1209
  "character": 3
1217
1210
  },
1218
1211
  "type": "never[]"
@@ -1224,7 +1217,7 @@
1224
1217
  "__schema": "VariableLikeSchema",
1225
1218
  "location": {
1226
1219
  "filePath": "remove.main.runtime.ts",
1227
- "line": 407,
1220
+ "line": 423,
1228
1221
  "character": 3
1229
1222
  },
1230
1223
  "signature": "(property) RemoveMain.dependencies: Aspect[]",
@@ -1233,7 +1226,7 @@
1233
1226
  "__schema": "InferenceTypeSchema",
1234
1227
  "location": {
1235
1228
  "filePath": "remove.main.runtime.ts",
1236
- "line": 407,
1229
+ "line": 423,
1237
1230
  "character": 3
1238
1231
  },
1239
1232
  "type": "Aspect[]"
@@ -1245,7 +1238,7 @@
1245
1238
  "__schema": "VariableLikeSchema",
1246
1239
  "location": {
1247
1240
  "filePath": "remove.main.runtime.ts",
1248
- "line": 418,
1241
+ "line": 434,
1249
1242
  "character": 3
1250
1243
  },
1251
1244
  "signature": "(property) RemoveMain.runtime: RuntimeDefinition",
@@ -1254,7 +1247,7 @@
1254
1247
  "__schema": "InferenceTypeSchema",
1255
1248
  "location": {
1256
1249
  "filePath": "remove.main.runtime.ts",
1257
- "line": 418,
1250
+ "line": 434,
1258
1251
  "character": 3
1259
1252
  },
1260
1253
  "type": "RuntimeDefinition"
@@ -1266,7 +1259,7 @@
1266
1259
  "__schema": "FunctionLikeSchema",
1267
1260
  "location": {
1268
1261
  "filePath": "remove.main.runtime.ts",
1269
- "line": 420,
1262
+ "line": 436,
1270
1263
  "character": 3
1271
1264
  },
1272
1265
  "signature": "(method) RemoveMain.provider([workspace, scope, cli, loggerMain, componentAspect, importerMain, depResolver, issues, lister,]: [\n Workspace,\n ScopeMain,\n CLIMain,\n LoggerMain,\n ComponentMain,\n ImporterMain,\n DependencyResolverMain,\n IssuesMain,\n ListerMain\n]): Promise<RemoveMain>",
@@ -1276,7 +1269,7 @@
1276
1269
  "__schema": "ParameterSchema",
1277
1270
  "location": {
1278
1271
  "filePath": "remove.main.runtime.ts",
1279
- "line": 420,
1272
+ "line": 436,
1280
1273
  "character": 25
1281
1274
  },
1282
1275
  "name": "[ workspace, scope, cli, loggerMain, componentAspect, importerMain, depResolver, issues, lister ]",
@@ -1284,7 +1277,7 @@
1284
1277
  "__schema": "TupleTypeSchema",
1285
1278
  "location": {
1286
1279
  "filePath": "remove.main.runtime.ts",
1287
- "line": 430,
1280
+ "line": 446,
1288
1281
  "character": 6
1289
1282
  },
1290
1283
  "elements": [
@@ -1292,118 +1285,82 @@
1292
1285
  "__schema": "TypeRefSchema",
1293
1286
  "location": {
1294
1287
  "filePath": "remove.main.runtime.ts",
1295
- "line": 431,
1288
+ "line": 447,
1296
1289
  "character": 5
1297
1290
  },
1298
- "name": "Workspace",
1299
- "componentId": {
1300
- "scope": "teambit.workspace",
1301
- "name": "workspace"
1302
- }
1291
+ "name": "Workspace"
1303
1292
  },
1304
1293
  {
1305
1294
  "__schema": "TypeRefSchema",
1306
1295
  "location": {
1307
1296
  "filePath": "remove.main.runtime.ts",
1308
- "line": 432,
1297
+ "line": 448,
1309
1298
  "character": 5
1310
1299
  },
1311
- "name": "ScopeMain",
1312
- "componentId": {
1313
- "scope": "teambit.scope",
1314
- "name": "scope"
1315
- }
1300
+ "name": "ScopeMain"
1316
1301
  },
1317
1302
  {
1318
1303
  "__schema": "TypeRefSchema",
1319
1304
  "location": {
1320
1305
  "filePath": "remove.main.runtime.ts",
1321
- "line": 433,
1306
+ "line": 449,
1322
1307
  "character": 5
1323
1308
  },
1324
- "name": "CLIMain",
1325
- "componentId": {
1326
- "scope": "teambit.harmony",
1327
- "name": "cli"
1328
- }
1309
+ "name": "CLIMain"
1329
1310
  },
1330
1311
  {
1331
1312
  "__schema": "TypeRefSchema",
1332
1313
  "location": {
1333
1314
  "filePath": "remove.main.runtime.ts",
1334
- "line": 434,
1315
+ "line": 450,
1335
1316
  "character": 5
1336
1317
  },
1337
- "name": "LoggerMain",
1338
- "componentId": {
1339
- "scope": "teambit.harmony",
1340
- "name": "logger"
1341
- }
1318
+ "name": "LoggerMain"
1342
1319
  },
1343
1320
  {
1344
1321
  "__schema": "TypeRefSchema",
1345
1322
  "location": {
1346
1323
  "filePath": "remove.main.runtime.ts",
1347
- "line": 435,
1324
+ "line": 451,
1348
1325
  "character": 5
1349
1326
  },
1350
- "name": "ComponentMain",
1351
- "componentId": {
1352
- "scope": "teambit.component",
1353
- "name": "component"
1354
- }
1327
+ "name": "ComponentMain"
1355
1328
  },
1356
1329
  {
1357
1330
  "__schema": "TypeRefSchema",
1358
1331
  "location": {
1359
1332
  "filePath": "remove.main.runtime.ts",
1360
- "line": 436,
1333
+ "line": 452,
1361
1334
  "character": 5
1362
1335
  },
1363
- "name": "ImporterMain",
1364
- "componentId": {
1365
- "scope": "teambit.scope",
1366
- "name": "importer"
1367
- }
1336
+ "name": "ImporterMain"
1368
1337
  },
1369
1338
  {
1370
1339
  "__schema": "TypeRefSchema",
1371
1340
  "location": {
1372
1341
  "filePath": "remove.main.runtime.ts",
1373
- "line": 437,
1342
+ "line": 453,
1374
1343
  "character": 5
1375
1344
  },
1376
- "name": "DependencyResolverMain",
1377
- "componentId": {
1378
- "scope": "teambit.dependencies",
1379
- "name": "dependency-resolver"
1380
- }
1345
+ "name": "DependencyResolverMain"
1381
1346
  },
1382
1347
  {
1383
1348
  "__schema": "TypeRefSchema",
1384
1349
  "location": {
1385
1350
  "filePath": "remove.main.runtime.ts",
1386
- "line": 438,
1351
+ "line": 454,
1387
1352
  "character": 5
1388
1353
  },
1389
- "name": "IssuesMain",
1390
- "componentId": {
1391
- "scope": "teambit.component",
1392
- "name": "issues"
1393
- }
1354
+ "name": "IssuesMain"
1394
1355
  },
1395
1356
  {
1396
1357
  "__schema": "TypeRefSchema",
1397
1358
  "location": {
1398
1359
  "filePath": "remove.main.runtime.ts",
1399
- "line": 439,
1360
+ "line": 455,
1400
1361
  "character": 5
1401
1362
  },
1402
- "name": "ListerMain",
1403
- "componentId": {
1404
- "scope": "teambit.component",
1405
- "name": "lister"
1406
- }
1363
+ "name": "ListerMain"
1407
1364
  }
1408
1365
  ]
1409
1366
  },
@@ -1415,7 +1372,7 @@
1415
1372
  "__schema": "InferenceTypeSchema",
1416
1373
  "location": {
1417
1374
  "filePath": "remove.main.runtime.ts",
1418
- "line": 420,
1375
+ "line": 436,
1419
1376
  "character": 3
1420
1377
  },
1421
1378
  "type": "Promise<RemoveMain>"
@@ -1442,7 +1399,7 @@
1442
1399
  "__schema": "TypeSchema",
1443
1400
  "location": {
1444
1401
  "filePath": "remove.main.runtime.ts",
1445
- "line": 31,
1402
+ "line": 30,
1446
1403
  "character": 1
1447
1404
  },
1448
1405
  "signature": "type RemoveInfo = {\n removed: boolean;\n removeOnMain?: boolean | undefined;\n range?: string | undefined;\n}",
@@ -1451,7 +1408,7 @@
1451
1408
  "__schema": "TypeLiteralSchema",
1452
1409
  "location": {
1453
1410
  "filePath": "remove.main.runtime.ts",
1454
- "line": 31,
1411
+ "line": 30,
1455
1412
  "character": 26
1456
1413
  },
1457
1414
  "members": [
@@ -1459,7 +1416,7 @@
1459
1416
  "__schema": "VariableLikeSchema",
1460
1417
  "location": {
1461
1418
  "filePath": "remove.main.runtime.ts",
1462
- "line": 32,
1419
+ "line": 31,
1463
1420
  "character": 3
1464
1421
  },
1465
1422
  "signature": "(property) removed: boolean",
@@ -1468,7 +1425,7 @@
1468
1425
  "__schema": "KeywordTypeSchema",
1469
1426
  "location": {
1470
1427
  "filePath": "remove.main.runtime.ts",
1471
- "line": 32,
1428
+ "line": 31,
1472
1429
  "character": 12
1473
1430
  },
1474
1431
  "name": "boolean"
@@ -1479,14 +1436,14 @@
1479
1436
  "__schema": "VariableLikeSchema",
1480
1437
  "location": {
1481
1438
  "filePath": "remove.main.runtime.ts",
1482
- "line": 36,
1439
+ "line": 35,
1483
1440
  "character": 3
1484
1441
  },
1485
1442
  "doc": {
1486
1443
  "__schema": "DocSchema",
1487
1444
  "location": {
1488
1445
  "filePath": "remove.main.runtime.ts",
1489
- "line": 33,
1446
+ "line": 32,
1490
1447
  "character": 3
1491
1448
  },
1492
1449
  "raw": "/**\n * whether to remove the component from default lane once merged\n */",
@@ -1499,7 +1456,7 @@
1499
1456
  "__schema": "KeywordTypeSchema",
1500
1457
  "location": {
1501
1458
  "filePath": "remove.main.runtime.ts",
1502
- "line": 36,
1459
+ "line": 35,
1503
1460
  "character": 18
1504
1461
  },
1505
1462
  "name": "boolean"
@@ -1510,14 +1467,14 @@
1510
1467
  "__schema": "VariableLikeSchema",
1511
1468
  "location": {
1512
1469
  "filePath": "remove.main.runtime.ts",
1513
- "line": 40,
1470
+ "line": 39,
1514
1471
  "character": 3
1515
1472
  },
1516
1473
  "doc": {
1517
1474
  "__schema": "DocSchema",
1518
1475
  "location": {
1519
1476
  "filePath": "remove.main.runtime.ts",
1520
- "line": 37,
1477
+ "line": 36,
1521
1478
  "character": 3
1522
1479
  },
1523
1480
  "raw": "/**\n * Semver range to mark specific versions as deleted\n */",
@@ -1530,7 +1487,7 @@
1530
1487
  "__schema": "KeywordTypeSchema",
1531
1488
  "location": {
1532
1489
  "filePath": "remove.main.runtime.ts",
1533
- "line": 40,
1490
+ "line": 39,
1534
1491
  "character": 11
1535
1492
  },
1536
1493
  "name": "string"
@@ -1609,12 +1566,7 @@
1609
1566
  "line": 7,
1610
1567
  "character": 27
1611
1568
  },
1612
- "name": "ComponentIdList",
1613
- "componentId": {
1614
- "scope": "teambit.component",
1615
- "name": "component-id",
1616
- "version": "1.2.0"
1617
- }
1569
+ "name": "ComponentIdList"
1618
1570
  },
1619
1571
  "isOptional": true,
1620
1572
  "isSpread": false
@@ -1634,12 +1586,7 @@
1634
1586
  "line": 8,
1635
1587
  "character": 25
1636
1588
  },
1637
- "name": "ComponentIdList",
1638
- "componentId": {
1639
- "scope": "teambit.component",
1640
- "name": "component-id",
1641
- "version": "1.2.0"
1642
- }
1589
+ "name": "ComponentIdList"
1643
1590
  },
1644
1591
  "isOptional": true,
1645
1592
  "isSpread": false
@@ -1659,12 +1606,7 @@
1659
1606
  "line": 9,
1660
1607
  "character": 26
1661
1608
  },
1662
- "name": "ComponentIdList",
1663
- "componentId": {
1664
- "scope": "teambit.component",
1665
- "name": "component-id",
1666
- "version": "1.2.0"
1667
- }
1609
+ "name": "ComponentIdList"
1668
1610
  },
1669
1611
  "isOptional": true,
1670
1612
  "isSpread": false
@@ -1724,12 +1666,7 @@
1724
1666
  "line": 11,
1725
1667
  "character": 23
1726
1668
  },
1727
- "name": "ComponentIdList",
1728
- "componentId": {
1729
- "scope": "teambit.component",
1730
- "name": "component-id",
1731
- "version": "1.2.0"
1732
- }
1669
+ "name": "ComponentIdList"
1733
1670
  },
1734
1671
  "isOptional": true,
1735
1672
  "isSpread": false
@@ -1769,7 +1706,7 @@
1769
1706
  "_legacy": {
1770
1707
  "scope": "teambit.component",
1771
1708
  "name": "remove",
1772
- "version": "1.0.329"
1709
+ "version": "1.0.331"
1773
1710
  },
1774
1711
  "_scope": "teambit.component"
1775
1712
  }
@@ -1812,8 +1749,7 @@
1812
1749
  "line": 7,
1813
1750
  "character": 55
1814
1751
  },
1815
- "name": "Consumer",
1816
- "packageName": "@teambit/legacy/dist/consumer/consumer"
1752
+ "name": "Consumer"
1817
1753
  },
1818
1754
  "isOptional": false,
1819
1755
  "isSpread": false
@@ -1833,12 +1769,7 @@
1833
1769
  "line": 7,
1834
1770
  "character": 73
1835
1771
  },
1836
- "name": "ComponentIdList",
1837
- "componentId": {
1838
- "scope": "teambit.component",
1839
- "name": "component-id",
1840
- "version": "1.2.0"
1841
- }
1772
+ "name": "ComponentIdList"
1842
1773
  },
1843
1774
  "isOptional": false,
1844
1775
  "isSpread": false
@@ -2042,10 +1973,92 @@
2042
1973
  }
2043
1974
  },
2044
1975
  {
2045
- "__schema": "UnImplementedSchema",
1976
+ "__schema": "ExportSchema",
2046
1977
  "location": {
2047
1978
  "filePath": "index.ts",
2048
1979
  "line": 7,
1980
+ "character": 10
1981
+ },
1982
+ "name": "removeComponentsFromNodeModules",
1983
+ "exportNode": {
1984
+ "__schema": "FunctionLikeSchema",
1985
+ "location": {
1986
+ "filePath": "remove-components.ts",
1987
+ "line": 189,
1988
+ "character": 1
1989
+ },
1990
+ "signature": "function removeComponentsFromNodeModules(consumer: Consumer, components: ConsumerComponent[]): Promise<void[]>",
1991
+ "name": "removeComponentsFromNodeModules",
1992
+ "params": [
1993
+ {
1994
+ "__schema": "ParameterSchema",
1995
+ "location": {
1996
+ "filePath": "remove-components.ts",
1997
+ "line": 189,
1998
+ "character": 55
1999
+ },
2000
+ "name": "consumer",
2001
+ "type": {
2002
+ "__schema": "TypeRefSchema",
2003
+ "location": {
2004
+ "filePath": "remove-components.ts",
2005
+ "line": 189,
2006
+ "character": 65
2007
+ },
2008
+ "name": "Consumer"
2009
+ },
2010
+ "isOptional": false,
2011
+ "isSpread": false
2012
+ },
2013
+ {
2014
+ "__schema": "ParameterSchema",
2015
+ "location": {
2016
+ "filePath": "remove-components.ts",
2017
+ "line": 189,
2018
+ "character": 75
2019
+ },
2020
+ "name": "components",
2021
+ "type": {
2022
+ "__schema": "TypeArraySchema",
2023
+ "location": {
2024
+ "filePath": "remove-components.ts",
2025
+ "line": 189,
2026
+ "character": 87
2027
+ },
2028
+ "type": {
2029
+ "__schema": "TypeRefSchema",
2030
+ "location": {
2031
+ "filePath": "remove-components.ts",
2032
+ "line": 189,
2033
+ "character": 87
2034
+ },
2035
+ "name": "ConsumerComponent"
2036
+ }
2037
+ },
2038
+ "isOptional": false,
2039
+ "isSpread": false
2040
+ }
2041
+ ],
2042
+ "returnType": {
2043
+ "__schema": "InferenceTypeSchema",
2044
+ "location": {
2045
+ "filePath": "remove-components.ts",
2046
+ "line": 189,
2047
+ "character": 1
2048
+ },
2049
+ "type": "Promise<void[]>"
2050
+ },
2051
+ "modifiers": [
2052
+ "export",
2053
+ "async"
2054
+ ]
2055
+ }
2056
+ },
2057
+ {
2058
+ "__schema": "UnImplementedSchema",
2059
+ "location": {
2060
+ "filePath": "index.ts",
2061
+ "line": 8,
2049
2062
  "character": 16
2050
2063
  },
2051
2064
  "name": "RemoveAspect",
@@ -2055,7 +2068,7 @@
2055
2068
  "__schema": "ExportSchema",
2056
2069
  "location": {
2057
2070
  "filePath": "index.ts",
2058
- "line": 8,
2071
+ "line": 9,
2059
2072
  "character": 10
2060
2073
  },
2061
2074
  "name": "RemoveAspect",
@@ -2102,7 +2115,7 @@
2102
2115
  "__schema": "TypeSchema",
2103
2116
  "location": {
2104
2117
  "filePath": "remove.main.runtime.ts",
2105
- "line": 31,
2118
+ "line": 30,
2106
2119
  "character": 1
2107
2120
  },
2108
2121
  "signature": "type RemoveInfo = {\n removed: boolean;\n removeOnMain?: boolean | undefined;\n range?: string | undefined;\n}",
@@ -2111,7 +2124,7 @@
2111
2124
  "__schema": "TypeLiteralSchema",
2112
2125
  "location": {
2113
2126
  "filePath": "remove.main.runtime.ts",
2114
- "line": 31,
2127
+ "line": 30,
2115
2128
  "character": 26
2116
2129
  },
2117
2130
  "members": [
@@ -2119,7 +2132,7 @@
2119
2132
  "__schema": "VariableLikeSchema",
2120
2133
  "location": {
2121
2134
  "filePath": "remove.main.runtime.ts",
2122
- "line": 32,
2135
+ "line": 31,
2123
2136
  "character": 3
2124
2137
  },
2125
2138
  "signature": "(property) removed: boolean",
@@ -2128,7 +2141,7 @@
2128
2141
  "__schema": "KeywordTypeSchema",
2129
2142
  "location": {
2130
2143
  "filePath": "remove.main.runtime.ts",
2131
- "line": 32,
2144
+ "line": 31,
2132
2145
  "character": 12
2133
2146
  },
2134
2147
  "name": "boolean"
@@ -2139,14 +2152,14 @@
2139
2152
  "__schema": "VariableLikeSchema",
2140
2153
  "location": {
2141
2154
  "filePath": "remove.main.runtime.ts",
2142
- "line": 36,
2155
+ "line": 35,
2143
2156
  "character": 3
2144
2157
  },
2145
2158
  "doc": {
2146
2159
  "__schema": "DocSchema",
2147
2160
  "location": {
2148
2161
  "filePath": "remove.main.runtime.ts",
2149
- "line": 33,
2162
+ "line": 32,
2150
2163
  "character": 3
2151
2164
  },
2152
2165
  "raw": "/**\n * whether to remove the component from default lane once merged\n */",
@@ -2159,7 +2172,7 @@
2159
2172
  "__schema": "KeywordTypeSchema",
2160
2173
  "location": {
2161
2174
  "filePath": "remove.main.runtime.ts",
2162
- "line": 36,
2175
+ "line": 35,
2163
2176
  "character": 18
2164
2177
  },
2165
2178
  "name": "boolean"
@@ -2170,14 +2183,14 @@
2170
2183
  "__schema": "VariableLikeSchema",
2171
2184
  "location": {
2172
2185
  "filePath": "remove.main.runtime.ts",
2173
- "line": 40,
2186
+ "line": 39,
2174
2187
  "character": 3
2175
2188
  },
2176
2189
  "doc": {
2177
2190
  "__schema": "DocSchema",
2178
2191
  "location": {
2179
2192
  "filePath": "remove.main.runtime.ts",
2180
- "line": 37,
2193
+ "line": 36,
2181
2194
  "character": 3
2182
2195
  },
2183
2196
  "raw": "/**\n * Semver range to mark specific versions as deleted\n */",
@@ -2190,7 +2203,7 @@
2190
2203
  "__schema": "KeywordTypeSchema",
2191
2204
  "location": {
2192
2205
  "filePath": "remove.main.runtime.ts",
2193
- "line": 40,
2206
+ "line": 39,
2194
2207
  "character": 11
2195
2208
  },
2196
2209
  "name": "string"
@@ -2204,7 +2217,7 @@
2204
2217
  "__schema": "TypeSchema",
2205
2218
  "location": {
2206
2219
  "filePath": "remove.main.runtime.ts",
2207
- "line": 43,
2220
+ "line": 42,
2208
2221
  "character": 1
2209
2222
  },
2210
2223
  "signature": "type DeleteOpts = {\n updateMain?: boolean | undefined;\n range?: string | undefined;\n}",
@@ -2213,7 +2226,7 @@
2213
2226
  "__schema": "TypeLiteralSchema",
2214
2227
  "location": {
2215
2228
  "filePath": "remove.main.runtime.ts",
2216
- "line": 43,
2229
+ "line": 42,
2217
2230
  "character": 26
2218
2231
  },
2219
2232
  "members": [
@@ -2221,7 +2234,7 @@
2221
2234
  "__schema": "VariableLikeSchema",
2222
2235
  "location": {
2223
2236
  "filePath": "remove.main.runtime.ts",
2224
- "line": 43,
2237
+ "line": 42,
2225
2238
  "character": 28
2226
2239
  },
2227
2240
  "signature": "(property) updateMain?: boolean | undefined",
@@ -2230,7 +2243,7 @@
2230
2243
  "__schema": "KeywordTypeSchema",
2231
2244
  "location": {
2232
2245
  "filePath": "remove.main.runtime.ts",
2233
- "line": 43,
2246
+ "line": 42,
2234
2247
  "character": 41
2235
2248
  },
2236
2249
  "name": "boolean"
@@ -2241,7 +2254,7 @@
2241
2254
  "__schema": "VariableLikeSchema",
2242
2255
  "location": {
2243
2256
  "filePath": "remove.main.runtime.ts",
2244
- "line": 43,
2257
+ "line": 42,
2245
2258
  "character": 50
2246
2259
  },
2247
2260
  "signature": "(property) range?: string | undefined",
@@ -2250,7 +2263,7 @@
2250
2263
  "__schema": "KeywordTypeSchema",
2251
2264
  "location": {
2252
2265
  "filePath": "remove.main.runtime.ts",
2253
- "line": 43,
2266
+ "line": 42,
2254
2267
  "character": 58
2255
2268
  },
2256
2269
  "name": "string"
@@ -2264,7 +2277,7 @@
2264
2277
  "__schema": "ClassSchema",
2265
2278
  "location": {
2266
2279
  "filePath": "remove.main.runtime.ts",
2267
- "line": 45,
2280
+ "line": 44,
2268
2281
  "character": 1
2269
2282
  },
2270
2283
  "signature": "class RemoveMain",
@@ -2274,7 +2287,7 @@
2274
2287
  "__schema": "ConstructorSchema",
2275
2288
  "location": {
2276
2289
  "filePath": "remove.main.runtime.ts",
2277
- "line": 46,
2290
+ "line": 45,
2278
2291
  "character": 3
2279
2292
  },
2280
2293
  "signature": "constructor RemoveMain(workspace: Workspace, scope: ScopeMain, logger: Logger, importer: ImporterMain, depResolver: DependencyResolverMain, lister: ListerMain): RemoveMain",
@@ -2284,7 +2297,7 @@
2284
2297
  "__schema": "ParameterSchema",
2285
2298
  "location": {
2286
2299
  "filePath": "remove.main.runtime.ts",
2287
- "line": 47,
2300
+ "line": 46,
2288
2301
  "character": 5
2289
2302
  },
2290
2303
  "name": "workspace",
@@ -2292,14 +2305,10 @@
2292
2305
  "__schema": "TypeRefSchema",
2293
2306
  "location": {
2294
2307
  "filePath": "remove.main.runtime.ts",
2295
- "line": 47,
2308
+ "line": 46,
2296
2309
  "character": 24
2297
2310
  },
2298
- "name": "Workspace",
2299
- "componentId": {
2300
- "scope": "teambit.workspace",
2301
- "name": "workspace"
2302
- }
2311
+ "name": "Workspace"
2303
2312
  },
2304
2313
  "isOptional": false,
2305
2314
  "isSpread": false
@@ -2308,7 +2317,7 @@
2308
2317
  "__schema": "ParameterSchema",
2309
2318
  "location": {
2310
2319
  "filePath": "remove.main.runtime.ts",
2311
- "line": 48,
2320
+ "line": 47,
2312
2321
  "character": 5
2313
2322
  },
2314
2323
  "name": "scope",
@@ -2316,14 +2325,10 @@
2316
2325
  "__schema": "TypeRefSchema",
2317
2326
  "location": {
2318
2327
  "filePath": "remove.main.runtime.ts",
2319
- "line": 48,
2328
+ "line": 47,
2320
2329
  "character": 20
2321
2330
  },
2322
- "name": "ScopeMain",
2323
- "componentId": {
2324
- "scope": "teambit.scope",
2325
- "name": "scope"
2326
- }
2331
+ "name": "ScopeMain"
2327
2332
  },
2328
2333
  "isOptional": false,
2329
2334
  "isSpread": false
@@ -2332,7 +2337,7 @@
2332
2337
  "__schema": "ParameterSchema",
2333
2338
  "location": {
2334
2339
  "filePath": "remove.main.runtime.ts",
2335
- "line": 49,
2340
+ "line": 48,
2336
2341
  "character": 5
2337
2342
  },
2338
2343
  "name": "logger",
@@ -2340,14 +2345,10 @@
2340
2345
  "__schema": "TypeRefSchema",
2341
2346
  "location": {
2342
2347
  "filePath": "remove.main.runtime.ts",
2343
- "line": 49,
2348
+ "line": 48,
2344
2349
  "character": 20
2345
2350
  },
2346
- "name": "Logger",
2347
- "componentId": {
2348
- "scope": "teambit.harmony",
2349
- "name": "logger"
2350
- }
2351
+ "name": "Logger"
2351
2352
  },
2352
2353
  "isOptional": false,
2353
2354
  "isSpread": false
@@ -2356,7 +2357,7 @@
2356
2357
  "__schema": "ParameterSchema",
2357
2358
  "location": {
2358
2359
  "filePath": "remove.main.runtime.ts",
2359
- "line": 50,
2360
+ "line": 49,
2360
2361
  "character": 5
2361
2362
  },
2362
2363
  "name": "importer",
@@ -2364,14 +2365,10 @@
2364
2365
  "__schema": "TypeRefSchema",
2365
2366
  "location": {
2366
2367
  "filePath": "remove.main.runtime.ts",
2367
- "line": 50,
2368
+ "line": 49,
2368
2369
  "character": 23
2369
2370
  },
2370
- "name": "ImporterMain",
2371
- "componentId": {
2372
- "scope": "teambit.scope",
2373
- "name": "importer"
2374
- }
2371
+ "name": "ImporterMain"
2375
2372
  },
2376
2373
  "isOptional": false,
2377
2374
  "isSpread": false
@@ -2380,7 +2377,7 @@
2380
2377
  "__schema": "ParameterSchema",
2381
2378
  "location": {
2382
2379
  "filePath": "remove.main.runtime.ts",
2383
- "line": 51,
2380
+ "line": 50,
2384
2381
  "character": 5
2385
2382
  },
2386
2383
  "name": "depResolver",
@@ -2388,14 +2385,10 @@
2388
2385
  "__schema": "TypeRefSchema",
2389
2386
  "location": {
2390
2387
  "filePath": "remove.main.runtime.ts",
2391
- "line": 51,
2388
+ "line": 50,
2392
2389
  "character": 26
2393
2390
  },
2394
- "name": "DependencyResolverMain",
2395
- "componentId": {
2396
- "scope": "teambit.dependencies",
2397
- "name": "dependency-resolver"
2398
- }
2391
+ "name": "DependencyResolverMain"
2399
2392
  },
2400
2393
  "isOptional": false,
2401
2394
  "isSpread": false
@@ -2404,7 +2397,7 @@
2404
2397
  "__schema": "ParameterSchema",
2405
2398
  "location": {
2406
2399
  "filePath": "remove.main.runtime.ts",
2407
- "line": 52,
2400
+ "line": 51,
2408
2401
  "character": 5
2409
2402
  },
2410
2403
  "name": "lister",
@@ -2412,14 +2405,10 @@
2412
2405
  "__schema": "TypeRefSchema",
2413
2406
  "location": {
2414
2407
  "filePath": "remove.main.runtime.ts",
2415
- "line": 52,
2408
+ "line": 51,
2416
2409
  "character": 21
2417
2410
  },
2418
- "name": "ListerMain",
2419
- "componentId": {
2420
- "scope": "teambit.component",
2421
- "name": "lister"
2422
- }
2411
+ "name": "ListerMain"
2423
2412
  },
2424
2413
  "isOptional": false,
2425
2414
  "isSpread": false
@@ -2429,7 +2418,7 @@
2429
2418
  "__schema": "ThisTypeSchema",
2430
2419
  "location": {
2431
2420
  "filePath": "remove.main.runtime.ts",
2432
- "line": 45,
2421
+ "line": 44,
2433
2422
  "character": 1
2434
2423
  },
2435
2424
  "name": "RemoveMain"
@@ -2440,7 +2429,7 @@
2440
2429
  "__schema": "FunctionLikeSchema",
2441
2430
  "location": {
2442
2431
  "filePath": "remove.main.runtime.ts",
2443
- "line": 55,
2432
+ "line": 54,
2444
2433
  "character": 3
2445
2434
  },
2446
2435
  "signature": "(method) RemoveMain.remove({ componentsPattern, force, remote, track, deleteFiles, }: {\n componentsPattern: string;\n force?: boolean;\n remote?: boolean;\n track?: boolean;\n deleteFiles?: boolean;\n}): Promise<RemoveComponentsResult>",
@@ -2450,7 +2439,7 @@
2450
2439
  "__schema": "ParameterSchema",
2451
2440
  "location": {
2452
2441
  "filePath": "remove.main.runtime.ts",
2453
- "line": 55,
2442
+ "line": 54,
2454
2443
  "character": 16
2455
2444
  },
2456
2445
  "name": "{ componentsPattern, force = false, remote = false, track = false, deleteFiles = true }",
@@ -2458,7 +2447,7 @@
2458
2447
  "__schema": "TypeLiteralSchema",
2459
2448
  "location": {
2460
2449
  "filePath": "remove.main.runtime.ts",
2461
- "line": 61,
2450
+ "line": 60,
2462
2451
  "character": 6
2463
2452
  },
2464
2453
  "members": [
@@ -2466,7 +2455,7 @@
2466
2455
  "__schema": "VariableLikeSchema",
2467
2456
  "location": {
2468
2457
  "filePath": "remove.main.runtime.ts",
2469
- "line": 62,
2458
+ "line": 61,
2470
2459
  "character": 5
2471
2460
  },
2472
2461
  "signature": "(property) componentsPattern: string",
@@ -2475,7 +2464,7 @@
2475
2464
  "__schema": "KeywordTypeSchema",
2476
2465
  "location": {
2477
2466
  "filePath": "remove.main.runtime.ts",
2478
- "line": 62,
2467
+ "line": 61,
2479
2468
  "character": 24
2480
2469
  },
2481
2470
  "name": "string"
@@ -2486,7 +2475,7 @@
2486
2475
  "__schema": "VariableLikeSchema",
2487
2476
  "location": {
2488
2477
  "filePath": "remove.main.runtime.ts",
2489
- "line": 63,
2478
+ "line": 62,
2490
2479
  "character": 5
2491
2480
  },
2492
2481
  "signature": "(property) force?: boolean | undefined",
@@ -2495,7 +2484,7 @@
2495
2484
  "__schema": "KeywordTypeSchema",
2496
2485
  "location": {
2497
2486
  "filePath": "remove.main.runtime.ts",
2498
- "line": 63,
2487
+ "line": 62,
2499
2488
  "character": 13
2500
2489
  },
2501
2490
  "name": "boolean"
@@ -2506,7 +2495,7 @@
2506
2495
  "__schema": "VariableLikeSchema",
2507
2496
  "location": {
2508
2497
  "filePath": "remove.main.runtime.ts",
2509
- "line": 64,
2498
+ "line": 63,
2510
2499
  "character": 5
2511
2500
  },
2512
2501
  "signature": "(property) remote?: boolean | undefined",
@@ -2515,7 +2504,7 @@
2515
2504
  "__schema": "KeywordTypeSchema",
2516
2505
  "location": {
2517
2506
  "filePath": "remove.main.runtime.ts",
2518
- "line": 64,
2507
+ "line": 63,
2519
2508
  "character": 14
2520
2509
  },
2521
2510
  "name": "boolean"
@@ -2526,7 +2515,7 @@
2526
2515
  "__schema": "VariableLikeSchema",
2527
2516
  "location": {
2528
2517
  "filePath": "remove.main.runtime.ts",
2529
- "line": 65,
2518
+ "line": 64,
2530
2519
  "character": 5
2531
2520
  },
2532
2521
  "signature": "(property) track?: boolean | undefined",
@@ -2535,7 +2524,7 @@
2535
2524
  "__schema": "KeywordTypeSchema",
2536
2525
  "location": {
2537
2526
  "filePath": "remove.main.runtime.ts",
2538
- "line": 65,
2527
+ "line": 64,
2539
2528
  "character": 13
2540
2529
  },
2541
2530
  "name": "boolean"
@@ -2546,7 +2535,7 @@
2546
2535
  "__schema": "VariableLikeSchema",
2547
2536
  "location": {
2548
2537
  "filePath": "remove.main.runtime.ts",
2549
- "line": 66,
2538
+ "line": 65,
2550
2539
  "character": 5
2551
2540
  },
2552
2541
  "signature": "(property) deleteFiles?: boolean | undefined",
@@ -2555,7 +2544,7 @@
2555
2544
  "__schema": "KeywordTypeSchema",
2556
2545
  "location": {
2557
2546
  "filePath": "remove.main.runtime.ts",
2558
- "line": 66,
2547
+ "line": 65,
2559
2548
  "character": 19
2560
2549
  },
2561
2550
  "name": "boolean"
@@ -2570,7 +2559,7 @@
2570
2559
  "__schema": "VariableLikeSchema",
2571
2560
  "location": {
2572
2561
  "filePath": "remove.main.runtime.ts",
2573
- "line": 62,
2562
+ "line": 61,
2574
2563
  "character": 5
2575
2564
  },
2576
2565
  "signature": "(property) componentsPattern: string",
@@ -2579,7 +2568,7 @@
2579
2568
  "__schema": "KeywordTypeSchema",
2580
2569
  "location": {
2581
2570
  "filePath": "remove.main.runtime.ts",
2582
- "line": 62,
2571
+ "line": 61,
2583
2572
  "character": 24
2584
2573
  },
2585
2574
  "name": "string"
@@ -2590,7 +2579,7 @@
2590
2579
  "__schema": "VariableLikeSchema",
2591
2580
  "location": {
2592
2581
  "filePath": "remove.main.runtime.ts",
2593
- "line": 63,
2582
+ "line": 62,
2594
2583
  "character": 5
2595
2584
  },
2596
2585
  "signature": "(property) force?: boolean | undefined",
@@ -2599,7 +2588,7 @@
2599
2588
  "__schema": "KeywordTypeSchema",
2600
2589
  "location": {
2601
2590
  "filePath": "remove.main.runtime.ts",
2602
- "line": 63,
2591
+ "line": 62,
2603
2592
  "character": 13
2604
2593
  },
2605
2594
  "name": "boolean"
@@ -2610,7 +2599,7 @@
2610
2599
  "__schema": "VariableLikeSchema",
2611
2600
  "location": {
2612
2601
  "filePath": "remove.main.runtime.ts",
2613
- "line": 64,
2602
+ "line": 63,
2614
2603
  "character": 5
2615
2604
  },
2616
2605
  "signature": "(property) remote?: boolean | undefined",
@@ -2619,7 +2608,7 @@
2619
2608
  "__schema": "KeywordTypeSchema",
2620
2609
  "location": {
2621
2610
  "filePath": "remove.main.runtime.ts",
2622
- "line": 64,
2611
+ "line": 63,
2623
2612
  "character": 14
2624
2613
  },
2625
2614
  "name": "boolean"
@@ -2630,7 +2619,7 @@
2630
2619
  "__schema": "VariableLikeSchema",
2631
2620
  "location": {
2632
2621
  "filePath": "remove.main.runtime.ts",
2633
- "line": 65,
2622
+ "line": 64,
2634
2623
  "character": 5
2635
2624
  },
2636
2625
  "signature": "(property) track?: boolean | undefined",
@@ -2639,7 +2628,7 @@
2639
2628
  "__schema": "KeywordTypeSchema",
2640
2629
  "location": {
2641
2630
  "filePath": "remove.main.runtime.ts",
2642
- "line": 65,
2631
+ "line": 64,
2643
2632
  "character": 13
2644
2633
  },
2645
2634
  "name": "boolean"
@@ -2650,7 +2639,7 @@
2650
2639
  "__schema": "VariableLikeSchema",
2651
2640
  "location": {
2652
2641
  "filePath": "remove.main.runtime.ts",
2653
- "line": 66,
2642
+ "line": 65,
2654
2643
  "character": 5
2655
2644
  },
2656
2645
  "signature": "(property) deleteFiles?: boolean | undefined",
@@ -2659,7 +2648,7 @@
2659
2648
  "__schema": "KeywordTypeSchema",
2660
2649
  "location": {
2661
2650
  "filePath": "remove.main.runtime.ts",
2662
- "line": 66,
2651
+ "line": 65,
2663
2652
  "character": 19
2664
2653
  },
2665
2654
  "name": "boolean"
@@ -2674,7 +2663,7 @@
2674
2663
  "__schema": "TypeRefSchema",
2675
2664
  "location": {
2676
2665
  "filePath": "remove.main.runtime.ts",
2677
- "line": 67,
2666
+ "line": 66,
2678
2667
  "character": 7
2679
2668
  },
2680
2669
  "name": "Promise",
@@ -2683,11 +2672,10 @@
2683
2672
  "__schema": "TypeRefSchema",
2684
2673
  "location": {
2685
2674
  "filePath": "remove.main.runtime.ts",
2686
- "line": 67,
2675
+ "line": 66,
2687
2676
  "character": 15
2688
2677
  },
2689
- "name": "RemoveComponentsResult",
2690
- "internalFilePath": "remove-components.ts"
2678
+ "name": "RemoveComponentsResult"
2691
2679
  }
2692
2680
  ]
2693
2681
  },
@@ -2699,14 +2687,14 @@
2699
2687
  "__schema": "FunctionLikeSchema",
2700
2688
  "location": {
2701
2689
  "filePath": "remove.main.runtime.ts",
2702
- "line": 89,
2690
+ "line": 88,
2703
2691
  "character": 3
2704
2692
  },
2705
2693
  "doc": {
2706
2694
  "__schema": "DocSchema",
2707
2695
  "location": {
2708
2696
  "filePath": "remove.main.runtime.ts",
2709
- "line": 86,
2697
+ "line": 85,
2710
2698
  "character": 3
2711
2699
  },
2712
2700
  "raw": "/**\n * remove components from the workspace.\n */",
@@ -2720,7 +2708,7 @@
2720
2708
  "__schema": "ParameterSchema",
2721
2709
  "location": {
2722
2710
  "filePath": "remove.main.runtime.ts",
2723
- "line": 90,
2711
+ "line": 89,
2724
2712
  "character": 5
2725
2713
  },
2726
2714
  "name": "ids",
@@ -2728,22 +2716,17 @@
2728
2716
  "__schema": "TypeArraySchema",
2729
2717
  "location": {
2730
2718
  "filePath": "remove.main.runtime.ts",
2731
- "line": 90,
2719
+ "line": 89,
2732
2720
  "character": 10
2733
2721
  },
2734
2722
  "type": {
2735
2723
  "__schema": "TypeRefSchema",
2736
2724
  "location": {
2737
2725
  "filePath": "remove.main.runtime.ts",
2738
- "line": 90,
2726
+ "line": 89,
2739
2727
  "character": 10
2740
2728
  },
2741
- "name": "ComponentID",
2742
- "componentId": {
2743
- "scope": "teambit.component",
2744
- "name": "component-id",
2745
- "version": "1.2.0"
2746
- }
2729
+ "name": "ComponentID"
2747
2730
  }
2748
2731
  },
2749
2732
  "isOptional": false,
@@ -2753,7 +2736,7 @@
2753
2736
  "__schema": "ParameterSchema",
2754
2737
  "location": {
2755
2738
  "filePath": "remove.main.runtime.ts",
2756
- "line": 91,
2739
+ "line": 90,
2757
2740
  "character": 5
2758
2741
  },
2759
2742
  "name": "{ force = false, reasonForRemoval }",
@@ -2761,7 +2744,7 @@
2761
2744
  "__schema": "TypeLiteralSchema",
2762
2745
  "location": {
2763
2746
  "filePath": "remove.main.runtime.ts",
2764
- "line": 91,
2747
+ "line": 90,
2765
2748
  "character": 42
2766
2749
  },
2767
2750
  "members": [
@@ -2769,7 +2752,7 @@
2769
2752
  "__schema": "VariableLikeSchema",
2770
2753
  "location": {
2771
2754
  "filePath": "remove.main.runtime.ts",
2772
- "line": 91,
2755
+ "line": 90,
2773
2756
  "character": 44
2774
2757
  },
2775
2758
  "signature": "(property) force?: boolean | undefined",
@@ -2778,7 +2761,7 @@
2778
2761
  "__schema": "KeywordTypeSchema",
2779
2762
  "location": {
2780
2763
  "filePath": "remove.main.runtime.ts",
2781
- "line": 91,
2764
+ "line": 90,
2782
2765
  "character": 52
2783
2766
  },
2784
2767
  "name": "boolean"
@@ -2789,7 +2772,7 @@
2789
2772
  "__schema": "VariableLikeSchema",
2790
2773
  "location": {
2791
2774
  "filePath": "remove.main.runtime.ts",
2792
- "line": 91,
2775
+ "line": 90,
2793
2776
  "character": 61
2794
2777
  },
2795
2778
  "signature": "(property) reasonForRemoval?: string | undefined",
@@ -2798,7 +2781,7 @@
2798
2781
  "__schema": "KeywordTypeSchema",
2799
2782
  "location": {
2800
2783
  "filePath": "remove.main.runtime.ts",
2801
- "line": 91,
2784
+ "line": 90,
2802
2785
  "character": 80
2803
2786
  },
2804
2787
  "name": "string"
@@ -2814,7 +2797,7 @@
2814
2797
  "__schema": "VariableLikeSchema",
2815
2798
  "location": {
2816
2799
  "filePath": "remove.main.runtime.ts",
2817
- "line": 91,
2800
+ "line": 90,
2818
2801
  "character": 44
2819
2802
  },
2820
2803
  "signature": "(property) force?: boolean | undefined",
@@ -2823,7 +2806,7 @@
2823
2806
  "__schema": "KeywordTypeSchema",
2824
2807
  "location": {
2825
2808
  "filePath": "remove.main.runtime.ts",
2826
- "line": 91,
2809
+ "line": 90,
2827
2810
  "character": 52
2828
2811
  },
2829
2812
  "name": "boolean"
@@ -2834,7 +2817,7 @@
2834
2817
  "__schema": "VariableLikeSchema",
2835
2818
  "location": {
2836
2819
  "filePath": "remove.main.runtime.ts",
2837
- "line": 91,
2820
+ "line": 90,
2838
2821
  "character": 61
2839
2822
  },
2840
2823
  "signature": "(property) reasonForRemoval?: string | undefined",
@@ -2843,7 +2826,7 @@
2843
2826
  "__schema": "KeywordTypeSchema",
2844
2827
  "location": {
2845
2828
  "filePath": "remove.main.runtime.ts",
2846
- "line": 91,
2829
+ "line": 90,
2847
2830
  "character": 80
2848
2831
  },
2849
2832
  "name": "string"
@@ -2858,7 +2841,7 @@
2858
2841
  "__schema": "InferenceTypeSchema",
2859
2842
  "location": {
2860
2843
  "filePath": "remove.main.runtime.ts",
2861
- "line": 89,
2844
+ "line": 88,
2862
2845
  "character": 3
2863
2846
  },
2864
2847
  "type": "Promise<RemoveComponentsResult>"
@@ -2871,7 +2854,7 @@
2871
2854
  "__schema": "FunctionLikeSchema",
2872
2855
  "location": {
2873
2856
  "filePath": "remove.main.runtime.ts",
2874
- "line": 132,
2857
+ "line": 131,
2875
2858
  "character": 3
2876
2859
  },
2877
2860
  "signature": "(method) RemoveMain.deleteComps(componentsPattern: string, opts?: DeleteOpts): Promise<Component[]>",
@@ -2881,7 +2864,7 @@
2881
2864
  "__schema": "ParameterSchema",
2882
2865
  "location": {
2883
2866
  "filePath": "remove.main.runtime.ts",
2884
- "line": 132,
2867
+ "line": 131,
2885
2868
  "character": 21
2886
2869
  },
2887
2870
  "name": "componentsPattern",
@@ -2889,7 +2872,7 @@
2889
2872
  "__schema": "KeywordTypeSchema",
2890
2873
  "location": {
2891
2874
  "filePath": "remove.main.runtime.ts",
2892
- "line": 132,
2875
+ "line": 131,
2893
2876
  "character": 40
2894
2877
  },
2895
2878
  "name": "string"
@@ -2901,7 +2884,7 @@
2901
2884
  "__schema": "ParameterSchema",
2902
2885
  "location": {
2903
2886
  "filePath": "remove.main.runtime.ts",
2904
- "line": 132,
2887
+ "line": 131,
2905
2888
  "character": 48
2906
2889
  },
2907
2890
  "name": "opts",
@@ -2909,11 +2892,10 @@
2909
2892
  "__schema": "TypeRefSchema",
2910
2893
  "location": {
2911
2894
  "filePath": "remove.main.runtime.ts",
2912
- "line": 132,
2895
+ "line": 131,
2913
2896
  "character": 54
2914
2897
  },
2915
- "name": "DeleteOpts",
2916
- "internalFilePath": "remove.main.runtime.ts"
2898
+ "name": "DeleteOpts"
2917
2899
  },
2918
2900
  "isOptional": true,
2919
2901
  "defaultValue": "{}",
@@ -2924,7 +2906,7 @@
2924
2906
  "__schema": "TypeRefSchema",
2925
2907
  "location": {
2926
2908
  "filePath": "remove.main.runtime.ts",
2927
- "line": 132,
2909
+ "line": 131,
2928
2910
  "character": 72
2929
2911
  },
2930
2912
  "name": "Promise",
@@ -2933,21 +2915,17 @@
2933
2915
  "__schema": "TypeArraySchema",
2934
2916
  "location": {
2935
2917
  "filePath": "remove.main.runtime.ts",
2936
- "line": 132,
2918
+ "line": 131,
2937
2919
  "character": 80
2938
2920
  },
2939
2921
  "type": {
2940
2922
  "__schema": "TypeRefSchema",
2941
2923
  "location": {
2942
2924
  "filePath": "remove.main.runtime.ts",
2943
- "line": 132,
2925
+ "line": 131,
2944
2926
  "character": 80
2945
2927
  },
2946
- "name": "Component",
2947
- "componentId": {
2948
- "scope": "teambit.component",
2949
- "name": "component"
2950
- }
2928
+ "name": "Component"
2951
2929
  }
2952
2930
  }
2953
2931
  ]
@@ -2960,14 +2938,14 @@
2960
2938
  "__schema": "FunctionLikeSchema",
2961
2939
  "location": {
2962
2940
  "filePath": "remove.main.runtime.ts",
2963
- "line": 180,
2941
+ "line": 179,
2964
2942
  "character": 3
2965
2943
  },
2966
2944
  "doc": {
2967
2945
  "__schema": "DocSchema",
2968
2946
  "location": {
2969
2947
  "filePath": "remove.main.runtime.ts",
2970
- "line": 168,
2948
+ "line": 167,
2971
2949
  "character": 3
2972
2950
  },
2973
2951
  "raw": "/**\n * recover a soft-removed component.\n * there are 4 different scenarios.\n * 1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n * 1.a. the component still exists in the local scope. no need to import. write it from there.\n * 1.b. the component doesn't exist in the local scope. import it.\n * 2. soft-removed and then snapped. It's not in .bitmap now.\n * 3. soft-removed, snapped, exported. it's not in .bitmap now.\n * 4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n * 5. workspace is empty. the soft-removed component is on the remote.\n * returns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from.\n */",
@@ -2981,7 +2959,7 @@
2981
2959
  "__schema": "ParameterSchema",
2982
2960
  "location": {
2983
2961
  "filePath": "remove.main.runtime.ts",
2984
- "line": 180,
2962
+ "line": 179,
2985
2963
  "character": 17
2986
2964
  },
2987
2965
  "name": "compIdStr",
@@ -2989,7 +2967,7 @@
2989
2967
  "__schema": "KeywordTypeSchema",
2990
2968
  "location": {
2991
2969
  "filePath": "remove.main.runtime.ts",
2992
- "line": 180,
2970
+ "line": 179,
2993
2971
  "character": 28
2994
2972
  },
2995
2973
  "name": "string"
@@ -3001,7 +2979,7 @@
3001
2979
  "__schema": "ParameterSchema",
3002
2980
  "location": {
3003
2981
  "filePath": "remove.main.runtime.ts",
3004
- "line": 180,
2982
+ "line": 179,
3005
2983
  "character": 36
3006
2984
  },
3007
2985
  "name": "options",
@@ -3009,11 +2987,10 @@
3009
2987
  "__schema": "TypeRefSchema",
3010
2988
  "location": {
3011
2989
  "filePath": "remove.main.runtime.ts",
3012
- "line": 180,
2990
+ "line": 179,
3013
2991
  "character": 45
3014
2992
  },
3015
- "name": "RecoverOptions",
3016
- "internalFilePath": "recover-cmd.ts"
2993
+ "name": "RecoverOptions"
3017
2994
  },
3018
2995
  "isOptional": false,
3019
2996
  "isSpread": false
@@ -3023,7 +3000,7 @@
3023
3000
  "__schema": "TypeRefSchema",
3024
3001
  "location": {
3025
3002
  "filePath": "remove.main.runtime.ts",
3026
- "line": 180,
3003
+ "line": 179,
3027
3004
  "character": 62
3028
3005
  },
3029
3006
  "name": "Promise",
@@ -3032,7 +3009,7 @@
3032
3009
  "__schema": "KeywordTypeSchema",
3033
3010
  "location": {
3034
3011
  "filePath": "remove.main.runtime.ts",
3035
- "line": 180,
3012
+ "line": 179,
3036
3013
  "character": 70
3037
3014
  },
3038
3015
  "name": "boolean"
@@ -3047,7 +3024,7 @@
3047
3024
  "__schema": "FunctionLikeSchema",
3048
3025
  "location": {
3049
3026
  "filePath": "remove.main.runtime.ts",
3050
- "line": 266,
3027
+ "line": 265,
3051
3028
  "character": 3
3052
3029
  },
3053
3030
  "signature": "(method) RemoveMain.getRemoveInfo(component: Component): Promise<RemoveInfo>",
@@ -3057,7 +3034,7 @@
3057
3034
  "__schema": "ParameterSchema",
3058
3035
  "location": {
3059
3036
  "filePath": "remove.main.runtime.ts",
3060
- "line": 266,
3037
+ "line": 265,
3061
3038
  "character": 23
3062
3039
  },
3063
3040
  "name": "component",
@@ -3065,14 +3042,10 @@
3065
3042
  "__schema": "TypeRefSchema",
3066
3043
  "location": {
3067
3044
  "filePath": "remove.main.runtime.ts",
3068
- "line": 266,
3045
+ "line": 265,
3069
3046
  "character": 34
3070
3047
  },
3071
- "name": "Component",
3072
- "componentId": {
3073
- "scope": "teambit.component",
3074
- "name": "component"
3075
- }
3048
+ "name": "Component"
3076
3049
  },
3077
3050
  "isOptional": false,
3078
3051
  "isSpread": false
@@ -3082,7 +3055,7 @@
3082
3055
  "__schema": "TypeRefSchema",
3083
3056
  "location": {
3084
3057
  "filePath": "remove.main.runtime.ts",
3085
- "line": 266,
3058
+ "line": 265,
3086
3059
  "character": 46
3087
3060
  },
3088
3061
  "name": "Promise",
@@ -3091,7 +3064,7 @@
3091
3064
  "__schema": "TypeRefSchema",
3092
3065
  "location": {
3093
3066
  "filePath": "remove.main.runtime.ts",
3094
- "line": 266,
3067
+ "line": 265,
3095
3068
  "character": 54
3096
3069
  },
3097
3070
  "name": "RemoveInfo"
@@ -3106,14 +3079,14 @@
3106
3079
  "__schema": "FunctionLikeSchema",
3107
3080
  "location": {
3108
3081
  "filePath": "remove.main.runtime.ts",
3109
- "line": 301,
3082
+ "line": 300,
3110
3083
  "character": 3
3111
3084
  },
3112
3085
  "doc": {
3113
3086
  "__schema": "DocSchema",
3114
3087
  "location": {
3115
3088
  "filePath": "remove.main.runtime.ts",
3116
- "line": 298,
3089
+ "line": 297,
3117
3090
  "character": 3
3118
3091
  },
3119
3092
  "raw": "/**\n * @deprecated use `isDeleted` instead.\n */",
@@ -3123,7 +3096,7 @@
3123
3096
  "__schema": "TagSchema",
3124
3097
  "location": {
3125
3098
  "filePath": "remove.main.runtime.ts",
3126
- "line": 299,
3099
+ "line": 298,
3127
3100
  "character": 6
3128
3101
  },
3129
3102
  "tagName": "deprecated",
@@ -3138,7 +3111,7 @@
3138
3111
  "__schema": "ParameterSchema",
3139
3112
  "location": {
3140
3113
  "filePath": "remove.main.runtime.ts",
3141
- "line": 301,
3114
+ "line": 300,
3142
3115
  "character": 19
3143
3116
  },
3144
3117
  "name": "component",
@@ -3146,14 +3119,10 @@
3146
3119
  "__schema": "TypeRefSchema",
3147
3120
  "location": {
3148
3121
  "filePath": "remove.main.runtime.ts",
3149
- "line": 301,
3122
+ "line": 300,
3150
3123
  "character": 30
3151
3124
  },
3152
- "name": "Component",
3153
- "componentId": {
3154
- "scope": "teambit.component",
3155
- "name": "component"
3156
- }
3125
+ "name": "Component"
3157
3126
  },
3158
3127
  "isOptional": false,
3159
3128
  "isSpread": false
@@ -3163,7 +3132,7 @@
3163
3132
  "__schema": "TypeRefSchema",
3164
3133
  "location": {
3165
3134
  "filePath": "remove.main.runtime.ts",
3166
- "line": 301,
3135
+ "line": 300,
3167
3136
  "character": 42
3168
3137
  },
3169
3138
  "name": "Promise",
@@ -3172,7 +3141,7 @@
3172
3141
  "__schema": "KeywordTypeSchema",
3173
3142
  "location": {
3174
3143
  "filePath": "remove.main.runtime.ts",
3175
- "line": 301,
3144
+ "line": 300,
3176
3145
  "character": 50
3177
3146
  },
3178
3147
  "name": "boolean"
@@ -3187,14 +3156,14 @@
3187
3156
  "__schema": "FunctionLikeSchema",
3188
3157
  "location": {
3189
3158
  "filePath": "remove.main.runtime.ts",
3190
- "line": 308,
3159
+ "line": 307,
3191
3160
  "character": 3
3192
3161
  },
3193
3162
  "doc": {
3194
3163
  "__schema": "DocSchema",
3195
3164
  "location": {
3196
3165
  "filePath": "remove.main.runtime.ts",
3197
- "line": 305,
3166
+ "line": 304,
3198
3167
  "character": 3
3199
3168
  },
3200
3169
  "raw": "/**\n * whether a component is marked as deleted.\n */",
@@ -3208,7 +3177,7 @@
3208
3177
  "__schema": "ParameterSchema",
3209
3178
  "location": {
3210
3179
  "filePath": "remove.main.runtime.ts",
3211
- "line": 308,
3180
+ "line": 307,
3212
3181
  "character": 19
3213
3182
  },
3214
3183
  "name": "component",
@@ -3216,14 +3185,10 @@
3216
3185
  "__schema": "TypeRefSchema",
3217
3186
  "location": {
3218
3187
  "filePath": "remove.main.runtime.ts",
3219
- "line": 308,
3188
+ "line": 307,
3220
3189
  "character": 30
3221
3190
  },
3222
- "name": "Component",
3223
- "componentId": {
3224
- "scope": "teambit.component",
3225
- "name": "component"
3226
- }
3191
+ "name": "Component"
3227
3192
  },
3228
3193
  "isOptional": false,
3229
3194
  "isSpread": false
@@ -3233,7 +3198,7 @@
3233
3198
  "__schema": "TypeRefSchema",
3234
3199
  "location": {
3235
3200
  "filePath": "remove.main.runtime.ts",
3236
- "line": 308,
3201
+ "line": 307,
3237
3202
  "character": 42
3238
3203
  },
3239
3204
  "name": "Promise",
@@ -3242,7 +3207,7 @@
3242
3207
  "__schema": "KeywordTypeSchema",
3243
3208
  "location": {
3244
3209
  "filePath": "remove.main.runtime.ts",
3245
- "line": 308,
3210
+ "line": 307,
3246
3211
  "character": 50
3247
3212
  },
3248
3213
  "name": "boolean"
@@ -3257,14 +3222,14 @@
3257
3222
  "__schema": "FunctionLikeSchema",
3258
3223
  "location": {
3259
3224
  "filePath": "remove.main.runtime.ts",
3260
- "line": 316,
3225
+ "line": 315,
3261
3226
  "character": 3
3262
3227
  },
3263
3228
  "doc": {
3264
3229
  "__schema": "DocSchema",
3265
3230
  "location": {
3266
3231
  "filePath": "remove.main.runtime.ts",
3267
- "line": 313,
3232
+ "line": 312,
3268
3233
  "character": 3
3269
3234
  },
3270
3235
  "raw": "/**\n * performant version of isRemoved() in case the component object is not available and loading it is expensive.\n */",
@@ -3278,7 +3243,7 @@
3278
3243
  "__schema": "ParameterSchema",
3279
3244
  "location": {
3280
3245
  "filePath": "remove.main.runtime.ts",
3281
- "line": 316,
3246
+ "line": 315,
3282
3247
  "character": 46
3283
3248
  },
3284
3249
  "name": "componentId",
@@ -3286,15 +3251,10 @@
3286
3251
  "__schema": "TypeRefSchema",
3287
3252
  "location": {
3288
3253
  "filePath": "remove.main.runtime.ts",
3289
- "line": 316,
3254
+ "line": 315,
3290
3255
  "character": 59
3291
3256
  },
3292
- "name": "ComponentID",
3293
- "componentId": {
3294
- "scope": "teambit.component",
3295
- "name": "component-id",
3296
- "version": "1.2.0"
3297
- }
3257
+ "name": "ComponentID"
3298
3258
  },
3299
3259
  "isOptional": false,
3300
3260
  "isSpread": false
@@ -3304,7 +3264,7 @@
3304
3264
  "__schema": "TypeRefSchema",
3305
3265
  "location": {
3306
3266
  "filePath": "remove.main.runtime.ts",
3307
- "line": 316,
3267
+ "line": 315,
3308
3268
  "character": 73
3309
3269
  },
3310
3270
  "name": "Promise",
@@ -3313,7 +3273,7 @@
3313
3273
  "__schema": "KeywordTypeSchema",
3314
3274
  "location": {
3315
3275
  "filePath": "remove.main.runtime.ts",
3316
- "line": 316,
3276
+ "line": 315,
3317
3277
  "character": 81
3318
3278
  },
3319
3279
  "name": "boolean"
@@ -3328,14 +3288,69 @@
3328
3288
  "__schema": "FunctionLikeSchema",
3329
3289
  "location": {
3330
3290
  "filePath": "remove.main.runtime.ts",
3331
- "line": 333,
3291
+ "line": 329,
3292
+ "character": 3
3293
+ },
3294
+ "signature": "(method) RemoveMain.isEnvByIdWithoutLoadingComponent(componentId: ComponentID): Promise<boolean>",
3295
+ "name": "isEnvByIdWithoutLoadingComponent",
3296
+ "params": [
3297
+ {
3298
+ "__schema": "ParameterSchema",
3299
+ "location": {
3300
+ "filePath": "remove.main.runtime.ts",
3301
+ "line": 329,
3302
+ "character": 42
3303
+ },
3304
+ "name": "componentId",
3305
+ "type": {
3306
+ "__schema": "TypeRefSchema",
3307
+ "location": {
3308
+ "filePath": "remove.main.runtime.ts",
3309
+ "line": 329,
3310
+ "character": 55
3311
+ },
3312
+ "name": "ComponentID"
3313
+ },
3314
+ "isOptional": false,
3315
+ "isSpread": false
3316
+ }
3317
+ ],
3318
+ "returnType": {
3319
+ "__schema": "TypeRefSchema",
3320
+ "location": {
3321
+ "filePath": "remove.main.runtime.ts",
3322
+ "line": 329,
3323
+ "character": 69
3324
+ },
3325
+ "name": "Promise",
3326
+ "typeArgs": [
3327
+ {
3328
+ "__schema": "KeywordTypeSchema",
3329
+ "location": {
3330
+ "filePath": "remove.main.runtime.ts",
3331
+ "line": 329,
3332
+ "character": 77
3333
+ },
3334
+ "name": "boolean"
3335
+ }
3336
+ ]
3337
+ },
3338
+ "modifiers": [
3339
+ "async"
3340
+ ]
3341
+ },
3342
+ {
3343
+ "__schema": "FunctionLikeSchema",
3344
+ "location": {
3345
+ "filePath": "remove.main.runtime.ts",
3346
+ "line": 338,
3332
3347
  "character": 3
3333
3348
  },
3334
3349
  "doc": {
3335
3350
  "__schema": "DocSchema",
3336
3351
  "location": {
3337
3352
  "filePath": "remove.main.runtime.ts",
3338
- "line": 330,
3353
+ "line": 335,
3339
3354
  "character": 3
3340
3355
  },
3341
3356
  "raw": "/**\n * get components that were soft-removed and tagged/snapped/merged but not exported yet.\n */",
@@ -3349,7 +3364,7 @@
3349
3364
  "__schema": "TypeRefSchema",
3350
3365
  "location": {
3351
3366
  "filePath": "remove.main.runtime.ts",
3352
- "line": 333,
3367
+ "line": 338,
3353
3368
  "character": 29
3354
3369
  },
3355
3370
  "name": "Promise",
@@ -3358,22 +3373,17 @@
3358
3373
  "__schema": "TypeArraySchema",
3359
3374
  "location": {
3360
3375
  "filePath": "remove.main.runtime.ts",
3361
- "line": 333,
3376
+ "line": 338,
3362
3377
  "character": 37
3363
3378
  },
3364
3379
  "type": {
3365
3380
  "__schema": "TypeRefSchema",
3366
3381
  "location": {
3367
3382
  "filePath": "remove.main.runtime.ts",
3368
- "line": 333,
3383
+ "line": 338,
3369
3384
  "character": 37
3370
3385
  },
3371
- "name": "ComponentID",
3372
- "componentId": {
3373
- "scope": "teambit.component",
3374
- "name": "component-id",
3375
- "version": "1.2.0"
3376
- }
3386
+ "name": "ComponentID"
3377
3387
  }
3378
3388
  }
3379
3389
  ]
@@ -3386,7 +3396,7 @@
3386
3396
  "__schema": "FunctionLikeSchema",
3387
3397
  "location": {
3388
3398
  "filePath": "remove.main.runtime.ts",
3389
- "line": 337,
3399
+ "line": 342,
3390
3400
  "character": 3
3391
3401
  },
3392
3402
  "signature": "(method) RemoveMain.addRemovedDependenciesIssues(components: Component[]): Promise<void>",
@@ -3396,7 +3406,7 @@
3396
3406
  "__schema": "ParameterSchema",
3397
3407
  "location": {
3398
3408
  "filePath": "remove.main.runtime.ts",
3399
- "line": 337,
3409
+ "line": 342,
3400
3410
  "character": 38
3401
3411
  },
3402
3412
  "name": "components",
@@ -3404,21 +3414,17 @@
3404
3414
  "__schema": "TypeArraySchema",
3405
3415
  "location": {
3406
3416
  "filePath": "remove.main.runtime.ts",
3407
- "line": 337,
3417
+ "line": 342,
3408
3418
  "character": 50
3409
3419
  },
3410
3420
  "type": {
3411
3421
  "__schema": "TypeRefSchema",
3412
3422
  "location": {
3413
3423
  "filePath": "remove.main.runtime.ts",
3414
- "line": 337,
3424
+ "line": 342,
3415
3425
  "character": 50
3416
3426
  },
3417
- "name": "Component",
3418
- "componentId": {
3419
- "scope": "teambit.component",
3420
- "name": "component"
3421
- }
3427
+ "name": "Component"
3422
3428
  }
3423
3429
  },
3424
3430
  "isOptional": false,
@@ -3429,7 +3435,7 @@
3429
3435
  "__schema": "InferenceTypeSchema",
3430
3436
  "location": {
3431
3437
  "filePath": "remove.main.runtime.ts",
3432
- "line": 337,
3438
+ "line": 342,
3433
3439
  "character": 3
3434
3440
  },
3435
3441
  "type": "Promise<void>"
@@ -3442,7 +3448,7 @@
3442
3448
  "__schema": "VariableLikeSchema",
3443
3449
  "location": {
3444
3450
  "filePath": "remove.main.runtime.ts",
3445
- "line": 406,
3451
+ "line": 422,
3446
3452
  "character": 3
3447
3453
  },
3448
3454
  "signature": "(property) RemoveMain.slots: never[]",
@@ -3451,7 +3457,7 @@
3451
3457
  "__schema": "InferenceTypeSchema",
3452
3458
  "location": {
3453
3459
  "filePath": "remove.main.runtime.ts",
3454
- "line": 406,
3460
+ "line": 422,
3455
3461
  "character": 3
3456
3462
  },
3457
3463
  "type": "never[]"
@@ -3463,7 +3469,7 @@
3463
3469
  "__schema": "VariableLikeSchema",
3464
3470
  "location": {
3465
3471
  "filePath": "remove.main.runtime.ts",
3466
- "line": 407,
3472
+ "line": 423,
3467
3473
  "character": 3
3468
3474
  },
3469
3475
  "signature": "(property) RemoveMain.dependencies: Aspect[]",
@@ -3472,7 +3478,7 @@
3472
3478
  "__schema": "InferenceTypeSchema",
3473
3479
  "location": {
3474
3480
  "filePath": "remove.main.runtime.ts",
3475
- "line": 407,
3481
+ "line": 423,
3476
3482
  "character": 3
3477
3483
  },
3478
3484
  "type": "Aspect[]"
@@ -3484,7 +3490,7 @@
3484
3490
  "__schema": "VariableLikeSchema",
3485
3491
  "location": {
3486
3492
  "filePath": "remove.main.runtime.ts",
3487
- "line": 418,
3493
+ "line": 434,
3488
3494
  "character": 3
3489
3495
  },
3490
3496
  "signature": "(property) RemoveMain.runtime: RuntimeDefinition",
@@ -3493,7 +3499,7 @@
3493
3499
  "__schema": "InferenceTypeSchema",
3494
3500
  "location": {
3495
3501
  "filePath": "remove.main.runtime.ts",
3496
- "line": 418,
3502
+ "line": 434,
3497
3503
  "character": 3
3498
3504
  },
3499
3505
  "type": "RuntimeDefinition"
@@ -3505,7 +3511,7 @@
3505
3511
  "__schema": "FunctionLikeSchema",
3506
3512
  "location": {
3507
3513
  "filePath": "remove.main.runtime.ts",
3508
- "line": 420,
3514
+ "line": 436,
3509
3515
  "character": 3
3510
3516
  },
3511
3517
  "signature": "(method) RemoveMain.provider([workspace, scope, cli, loggerMain, componentAspect, importerMain, depResolver, issues, lister,]: [\n Workspace,\n ScopeMain,\n CLIMain,\n LoggerMain,\n ComponentMain,\n ImporterMain,\n DependencyResolverMain,\n IssuesMain,\n ListerMain\n]): Promise<RemoveMain>",
@@ -3515,7 +3521,7 @@
3515
3521
  "__schema": "ParameterSchema",
3516
3522
  "location": {
3517
3523
  "filePath": "remove.main.runtime.ts",
3518
- "line": 420,
3524
+ "line": 436,
3519
3525
  "character": 25
3520
3526
  },
3521
3527
  "name": "[ workspace, scope, cli, loggerMain, componentAspect, importerMain, depResolver, issues, lister ]",
@@ -3523,7 +3529,7 @@
3523
3529
  "__schema": "TupleTypeSchema",
3524
3530
  "location": {
3525
3531
  "filePath": "remove.main.runtime.ts",
3526
- "line": 430,
3532
+ "line": 446,
3527
3533
  "character": 6
3528
3534
  },
3529
3535
  "elements": [
@@ -3531,118 +3537,82 @@
3531
3537
  "__schema": "TypeRefSchema",
3532
3538
  "location": {
3533
3539
  "filePath": "remove.main.runtime.ts",
3534
- "line": 431,
3540
+ "line": 447,
3535
3541
  "character": 5
3536
3542
  },
3537
- "name": "Workspace",
3538
- "componentId": {
3539
- "scope": "teambit.workspace",
3540
- "name": "workspace"
3541
- }
3543
+ "name": "Workspace"
3542
3544
  },
3543
3545
  {
3544
3546
  "__schema": "TypeRefSchema",
3545
3547
  "location": {
3546
3548
  "filePath": "remove.main.runtime.ts",
3547
- "line": 432,
3549
+ "line": 448,
3548
3550
  "character": 5
3549
3551
  },
3550
- "name": "ScopeMain",
3551
- "componentId": {
3552
- "scope": "teambit.scope",
3553
- "name": "scope"
3554
- }
3552
+ "name": "ScopeMain"
3555
3553
  },
3556
3554
  {
3557
3555
  "__schema": "TypeRefSchema",
3558
3556
  "location": {
3559
3557
  "filePath": "remove.main.runtime.ts",
3560
- "line": 433,
3558
+ "line": 449,
3561
3559
  "character": 5
3562
3560
  },
3563
- "name": "CLIMain",
3564
- "componentId": {
3565
- "scope": "teambit.harmony",
3566
- "name": "cli"
3567
- }
3561
+ "name": "CLIMain"
3568
3562
  },
3569
3563
  {
3570
3564
  "__schema": "TypeRefSchema",
3571
3565
  "location": {
3572
3566
  "filePath": "remove.main.runtime.ts",
3573
- "line": 434,
3567
+ "line": 450,
3574
3568
  "character": 5
3575
3569
  },
3576
- "name": "LoggerMain",
3577
- "componentId": {
3578
- "scope": "teambit.harmony",
3579
- "name": "logger"
3580
- }
3570
+ "name": "LoggerMain"
3581
3571
  },
3582
3572
  {
3583
3573
  "__schema": "TypeRefSchema",
3584
3574
  "location": {
3585
3575
  "filePath": "remove.main.runtime.ts",
3586
- "line": 435,
3576
+ "line": 451,
3587
3577
  "character": 5
3588
3578
  },
3589
- "name": "ComponentMain",
3590
- "componentId": {
3591
- "scope": "teambit.component",
3592
- "name": "component"
3593
- }
3579
+ "name": "ComponentMain"
3594
3580
  },
3595
3581
  {
3596
3582
  "__schema": "TypeRefSchema",
3597
3583
  "location": {
3598
3584
  "filePath": "remove.main.runtime.ts",
3599
- "line": 436,
3585
+ "line": 452,
3600
3586
  "character": 5
3601
3587
  },
3602
- "name": "ImporterMain",
3603
- "componentId": {
3604
- "scope": "teambit.scope",
3605
- "name": "importer"
3606
- }
3588
+ "name": "ImporterMain"
3607
3589
  },
3608
3590
  {
3609
3591
  "__schema": "TypeRefSchema",
3610
3592
  "location": {
3611
3593
  "filePath": "remove.main.runtime.ts",
3612
- "line": 437,
3594
+ "line": 453,
3613
3595
  "character": 5
3614
3596
  },
3615
- "name": "DependencyResolverMain",
3616
- "componentId": {
3617
- "scope": "teambit.dependencies",
3618
- "name": "dependency-resolver"
3619
- }
3597
+ "name": "DependencyResolverMain"
3620
3598
  },
3621
3599
  {
3622
3600
  "__schema": "TypeRefSchema",
3623
3601
  "location": {
3624
3602
  "filePath": "remove.main.runtime.ts",
3625
- "line": 438,
3603
+ "line": 454,
3626
3604
  "character": 5
3627
3605
  },
3628
- "name": "IssuesMain",
3629
- "componentId": {
3630
- "scope": "teambit.component",
3631
- "name": "issues"
3632
- }
3606
+ "name": "IssuesMain"
3633
3607
  },
3634
3608
  {
3635
3609
  "__schema": "TypeRefSchema",
3636
3610
  "location": {
3637
3611
  "filePath": "remove.main.runtime.ts",
3638
- "line": 439,
3612
+ "line": 455,
3639
3613
  "character": 5
3640
3614
  },
3641
- "name": "ListerMain",
3642
- "componentId": {
3643
- "scope": "teambit.component",
3644
- "name": "lister"
3645
- }
3615
+ "name": "ListerMain"
3646
3616
  }
3647
3617
  ]
3648
3618
  },
@@ -3654,7 +3624,7 @@
3654
3624
  "__schema": "InferenceTypeSchema",
3655
3625
  "location": {
3656
3626
  "filePath": "remove.main.runtime.ts",
3657
- "line": 420,
3627
+ "line": 436,
3658
3628
  "character": 3
3659
3629
  },
3660
3630
  "type": "Promise<RemoveMain>"
@@ -3672,7 +3642,7 @@
3672
3642
  "__schema": "UnImplementedSchema",
3673
3643
  "location": {
3674
3644
  "filePath": "remove.main.runtime.ts",
3675
- "line": 456,
3645
+ "line": 472,
3676
3646
  "character": 16
3677
3647
  },
3678
3648
  "name": "RemoveMain",
@@ -3684,7 +3654,7 @@
3684
3654
  "__schema": "ModuleSchema",
3685
3655
  "location": {
3686
3656
  "filePath": "remove.main.runtime.ts",
3687
- "line": 29,
3657
+ "line": 28,
3688
3658
  "character": 1
3689
3659
  },
3690
3660
  "exports": [
@@ -3692,7 +3662,7 @@
3692
3662
  "__schema": "VariableLikeSchema",
3693
3663
  "location": {
3694
3664
  "filePath": "remove.main.runtime.ts",
3695
- "line": 29,
3665
+ "line": 28,
3696
3666
  "character": 7
3697
3667
  },
3698
3668
  "signature": "const BEFORE_REMOVE: \"removing components\"",
@@ -3701,7 +3671,7 @@
3701
3671
  "__schema": "InferenceTypeSchema",
3702
3672
  "location": {
3703
3673
  "filePath": "remove.main.runtime.ts",
3704
- "line": 29,
3674
+ "line": 28,
3705
3675
  "character": 7
3706
3676
  },
3707
3677
  "type": "\"removing components\""
@@ -3716,7 +3686,7 @@
3716
3686
  "__schema": "UnImplementedSchema",
3717
3687
  "location": {
3718
3688
  "filePath": "remove.main.runtime.ts",
3719
- "line": 454,
3689
+ "line": 470,
3720
3690
  "character": 1
3721
3691
  },
3722
3692
  "name": "RemoveAspect.addRuntime(RemoveMain);",
@@ -3792,12 +3762,7 @@
3792
3762
  "line": 7,
3793
3763
  "character": 27
3794
3764
  },
3795
- "name": "ComponentIdList",
3796
- "componentId": {
3797
- "scope": "teambit.component",
3798
- "name": "component-id",
3799
- "version": "1.2.0"
3800
- }
3765
+ "name": "ComponentIdList"
3801
3766
  },
3802
3767
  "isOptional": true,
3803
3768
  "isSpread": false
@@ -3817,12 +3782,7 @@
3817
3782
  "line": 8,
3818
3783
  "character": 25
3819
3784
  },
3820
- "name": "ComponentIdList",
3821
- "componentId": {
3822
- "scope": "teambit.component",
3823
- "name": "component-id",
3824
- "version": "1.2.0"
3825
- }
3785
+ "name": "ComponentIdList"
3826
3786
  },
3827
3787
  "isOptional": true,
3828
3788
  "isSpread": false
@@ -3842,12 +3802,7 @@
3842
3802
  "line": 9,
3843
3803
  "character": 26
3844
3804
  },
3845
- "name": "ComponentIdList",
3846
- "componentId": {
3847
- "scope": "teambit.component",
3848
- "name": "component-id",
3849
- "version": "1.2.0"
3850
- }
3805
+ "name": "ComponentIdList"
3851
3806
  },
3852
3807
  "isOptional": true,
3853
3808
  "isSpread": false
@@ -3907,12 +3862,7 @@
3907
3862
  "line": 11,
3908
3863
  "character": 23
3909
3864
  },
3910
- "name": "ComponentIdList",
3911
- "componentId": {
3912
- "scope": "teambit.component",
3913
- "name": "component-id",
3914
- "version": "1.2.0"
3915
- }
3865
+ "name": "ComponentIdList"
3916
3866
  },
3917
3867
  "isOptional": true,
3918
3868
  "isSpread": false
@@ -3952,7 +3902,7 @@
3952
3902
  "_legacy": {
3953
3903
  "scope": "teambit.component",
3954
3904
  "name": "remove",
3955
- "version": "1.0.329"
3905
+ "version": "1.0.331"
3956
3906
  },
3957
3907
  "_scope": "teambit.component"
3958
3908
  }
@@ -3997,8 +3947,7 @@
3997
3947
  "line": 7,
3998
3948
  "character": 55
3999
3949
  },
4000
- "name": "Consumer",
4001
- "packageName": "@teambit/legacy/dist/consumer/consumer"
3950
+ "name": "Consumer"
4002
3951
  },
4003
3952
  "isOptional": false,
4004
3953
  "isSpread": false
@@ -4018,12 +3967,7 @@
4018
3967
  "line": 7,
4019
3968
  "character": 73
4020
3969
  },
4021
- "name": "ComponentIdList",
4022
- "componentId": {
4023
- "scope": "teambit.component",
4024
- "name": "component-id",
4025
- "version": "1.2.0"
4026
- }
3970
+ "name": "ComponentIdList"
4027
3971
  },
4028
3972
  "isOptional": false,
4029
3973
  "isSpread": false
@@ -4046,6 +3990,969 @@
4046
3990
  ],
4047
3991
  "internals": []
4048
3992
  },
3993
+ {
3994
+ "__schema": "ModuleSchema",
3995
+ "location": {
3996
+ "filePath": "remove-components.ts",
3997
+ "line": 1,
3998
+ "character": 1
3999
+ },
4000
+ "exports": [
4001
+ {
4002
+ "__schema": "TypeSchema",
4003
+ "location": {
4004
+ "filePath": "remove-components.ts",
4005
+ "line": 24,
4006
+ "character": 1
4007
+ },
4008
+ "signature": "type RemoveComponentsResult = {\n localResult: RemovedLocalObjects;\n remoteResult: RemovedObjects[];\n}",
4009
+ "name": "RemoveComponentsResult",
4010
+ "type": {
4011
+ "__schema": "TypeLiteralSchema",
4012
+ "location": {
4013
+ "filePath": "remove-components.ts",
4014
+ "line": 24,
4015
+ "character": 38
4016
+ },
4017
+ "members": [
4018
+ {
4019
+ "__schema": "VariableLikeSchema",
4020
+ "location": {
4021
+ "filePath": "remove-components.ts",
4022
+ "line": 24,
4023
+ "character": 40
4024
+ },
4025
+ "signature": "(property) localResult: RemovedLocalObjects",
4026
+ "name": "localResult",
4027
+ "type": {
4028
+ "__schema": "TypeRefSchema",
4029
+ "location": {
4030
+ "filePath": "remove-components.ts",
4031
+ "line": 24,
4032
+ "character": 40
4033
+ },
4034
+ "name": "RemovedLocalObjects"
4035
+ },
4036
+ "isOptional": false
4037
+ },
4038
+ {
4039
+ "__schema": "VariableLikeSchema",
4040
+ "location": {
4041
+ "filePath": "remove-components.ts",
4042
+ "line": 24,
4043
+ "character": 74
4044
+ },
4045
+ "signature": "(property) remoteResult: RemovedObjects[]",
4046
+ "name": "remoteResult",
4047
+ "type": {
4048
+ "__schema": "TypeArraySchema",
4049
+ "location": {
4050
+ "filePath": "remove-components.ts",
4051
+ "line": 24,
4052
+ "character": 88
4053
+ },
4054
+ "type": {
4055
+ "__schema": "TypeRefSchema",
4056
+ "location": {
4057
+ "filePath": "remove-components.ts",
4058
+ "line": 24,
4059
+ "character": 88
4060
+ },
4061
+ "name": "RemovedObjects"
4062
+ }
4063
+ },
4064
+ "isOptional": false
4065
+ }
4066
+ ]
4067
+ }
4068
+ },
4069
+ {
4070
+ "__schema": "FunctionLikeSchema",
4071
+ "location": {
4072
+ "filePath": "remove-components.ts",
4073
+ "line": 35,
4074
+ "character": 1
4075
+ },
4076
+ "doc": {
4077
+ "__schema": "DocSchema",
4078
+ "location": {
4079
+ "filePath": "remove-components.ts",
4080
+ "line": 26,
4081
+ "character": 1
4082
+ },
4083
+ "raw": "/**\n * Remove components local and remote\n * splits array of ids into local and remote and removes according to flags\n * @param {string[]} ids - list of remote component ids to delete\n * @param {boolean} force - delete component that are used by other components.\n * @param {boolean} remote - delete component from a remote scope\n * @param {boolean} track - keep tracking local staged components in bitmap.\n * @param {boolean} deleteFiles - delete local added files from fs.\n */",
4084
+ "comment": "Remove components local and remote\nsplits array of ids into local and remote and removes according to flags",
4085
+ "tags": [
4086
+ {
4087
+ "__schema": "PropertyLikeTagSchema",
4088
+ "location": {
4089
+ "filePath": "remove-components.ts",
4090
+ "line": 29,
4091
+ "character": 4
4092
+ },
4093
+ "name": "ids",
4094
+ "tagName": "parameter",
4095
+ "comment": "- list of remote component ids to delete",
4096
+ "type": {
4097
+ "__schema": "TypeArraySchema",
4098
+ "location": {
4099
+ "filePath": "remove-components.ts",
4100
+ "line": 29,
4101
+ "character": 12
4102
+ },
4103
+ "type": {
4104
+ "__schema": "KeywordTypeSchema",
4105
+ "location": {
4106
+ "filePath": "remove-components.ts",
4107
+ "line": 29,
4108
+ "character": 12
4109
+ },
4110
+ "name": "string"
4111
+ }
4112
+ }
4113
+ },
4114
+ {
4115
+ "__schema": "PropertyLikeTagSchema",
4116
+ "location": {
4117
+ "filePath": "remove-components.ts",
4118
+ "line": 30,
4119
+ "character": 4
4120
+ },
4121
+ "name": "force",
4122
+ "tagName": "parameter",
4123
+ "comment": "- delete component that are used by other components.",
4124
+ "type": {
4125
+ "__schema": "KeywordTypeSchema",
4126
+ "location": {
4127
+ "filePath": "remove-components.ts",
4128
+ "line": 30,
4129
+ "character": 12
4130
+ },
4131
+ "name": "boolean"
4132
+ }
4133
+ },
4134
+ {
4135
+ "__schema": "PropertyLikeTagSchema",
4136
+ "location": {
4137
+ "filePath": "remove-components.ts",
4138
+ "line": 31,
4139
+ "character": 4
4140
+ },
4141
+ "name": "remote",
4142
+ "tagName": "parameter",
4143
+ "comment": "- delete component from a remote scope",
4144
+ "type": {
4145
+ "__schema": "KeywordTypeSchema",
4146
+ "location": {
4147
+ "filePath": "remove-components.ts",
4148
+ "line": 31,
4149
+ "character": 12
4150
+ },
4151
+ "name": "boolean"
4152
+ }
4153
+ },
4154
+ {
4155
+ "__schema": "PropertyLikeTagSchema",
4156
+ "location": {
4157
+ "filePath": "remove-components.ts",
4158
+ "line": 32,
4159
+ "character": 4
4160
+ },
4161
+ "name": "track",
4162
+ "tagName": "parameter",
4163
+ "comment": "- keep tracking local staged components in bitmap.",
4164
+ "type": {
4165
+ "__schema": "KeywordTypeSchema",
4166
+ "location": {
4167
+ "filePath": "remove-components.ts",
4168
+ "line": 32,
4169
+ "character": 12
4170
+ },
4171
+ "name": "boolean"
4172
+ }
4173
+ },
4174
+ {
4175
+ "__schema": "PropertyLikeTagSchema",
4176
+ "location": {
4177
+ "filePath": "remove-components.ts",
4178
+ "line": 33,
4179
+ "character": 4
4180
+ },
4181
+ "name": "deleteFiles",
4182
+ "tagName": "parameter",
4183
+ "comment": "- delete local added files from fs.",
4184
+ "type": {
4185
+ "__schema": "KeywordTypeSchema",
4186
+ "location": {
4187
+ "filePath": "remove-components.ts",
4188
+ "line": 33,
4189
+ "character": 12
4190
+ },
4191
+ "name": "boolean"
4192
+ }
4193
+ }
4194
+ ]
4195
+ },
4196
+ "signature": "function removeComponents({ workspace, ids, force, remote, track, deleteFiles, }: {\n workspace?: Workspace;\n ids: ComponentIdList;\n force: boolean;\n remote: boolean;\n track: boolean;\n deleteFiles: boolean;\n}): Promise<RemoveComponentsResult>",
4197
+ "name": "removeComponents",
4198
+ "params": [
4199
+ {
4200
+ "__schema": "ParameterSchema",
4201
+ "location": {
4202
+ "filePath": "remove-components.ts",
4203
+ "line": 35,
4204
+ "character": 40
4205
+ },
4206
+ "name": "{ workspace, ids, force, remote, track, deleteFiles }",
4207
+ "type": {
4208
+ "__schema": "TypeLiteralSchema",
4209
+ "location": {
4210
+ "filePath": "remove-components.ts",
4211
+ "line": 42,
4212
+ "character": 4
4213
+ },
4214
+ "members": [
4215
+ {
4216
+ "__schema": "VariableLikeSchema",
4217
+ "location": {
4218
+ "filePath": "remove-components.ts",
4219
+ "line": 43,
4220
+ "character": 3
4221
+ },
4222
+ "signature": "(property) workspace?: Workspace | undefined",
4223
+ "name": "workspace",
4224
+ "type": {
4225
+ "__schema": "TypeRefSchema",
4226
+ "location": {
4227
+ "filePath": "remove-components.ts",
4228
+ "line": 43,
4229
+ "character": 15
4230
+ },
4231
+ "name": "Workspace"
4232
+ },
4233
+ "isOptional": true
4234
+ },
4235
+ {
4236
+ "__schema": "VariableLikeSchema",
4237
+ "location": {
4238
+ "filePath": "remove-components.ts",
4239
+ "line": 44,
4240
+ "character": 3
4241
+ },
4242
+ "signature": "(property) ids: ComponentIdList",
4243
+ "name": "ids",
4244
+ "type": {
4245
+ "__schema": "TypeRefSchema",
4246
+ "location": {
4247
+ "filePath": "remove-components.ts",
4248
+ "line": 44,
4249
+ "character": 3
4250
+ },
4251
+ "name": "ComponentIdList",
4252
+ "componentId": {
4253
+ "scope": "teambit.component",
4254
+ "name": "component-id",
4255
+ "version": "1.2.0"
4256
+ }
4257
+ },
4258
+ "isOptional": false
4259
+ },
4260
+ {
4261
+ "__schema": "VariableLikeSchema",
4262
+ "location": {
4263
+ "filePath": "remove-components.ts",
4264
+ "line": 45,
4265
+ "character": 3
4266
+ },
4267
+ "signature": "(property) force: boolean",
4268
+ "name": "force",
4269
+ "type": {
4270
+ "__schema": "KeywordTypeSchema",
4271
+ "location": {
4272
+ "filePath": "remove-components.ts",
4273
+ "line": 45,
4274
+ "character": 10
4275
+ },
4276
+ "name": "boolean"
4277
+ },
4278
+ "isOptional": false
4279
+ },
4280
+ {
4281
+ "__schema": "VariableLikeSchema",
4282
+ "location": {
4283
+ "filePath": "remove-components.ts",
4284
+ "line": 46,
4285
+ "character": 3
4286
+ },
4287
+ "signature": "(property) remote: boolean",
4288
+ "name": "remote",
4289
+ "type": {
4290
+ "__schema": "KeywordTypeSchema",
4291
+ "location": {
4292
+ "filePath": "remove-components.ts",
4293
+ "line": 46,
4294
+ "character": 11
4295
+ },
4296
+ "name": "boolean"
4297
+ },
4298
+ "isOptional": false
4299
+ },
4300
+ {
4301
+ "__schema": "VariableLikeSchema",
4302
+ "location": {
4303
+ "filePath": "remove-components.ts",
4304
+ "line": 47,
4305
+ "character": 3
4306
+ },
4307
+ "signature": "(property) track: boolean",
4308
+ "name": "track",
4309
+ "type": {
4310
+ "__schema": "KeywordTypeSchema",
4311
+ "location": {
4312
+ "filePath": "remove-components.ts",
4313
+ "line": 47,
4314
+ "character": 10
4315
+ },
4316
+ "name": "boolean"
4317
+ },
4318
+ "isOptional": false
4319
+ },
4320
+ {
4321
+ "__schema": "VariableLikeSchema",
4322
+ "location": {
4323
+ "filePath": "remove-components.ts",
4324
+ "line": 48,
4325
+ "character": 3
4326
+ },
4327
+ "signature": "(property) deleteFiles: boolean",
4328
+ "name": "deleteFiles",
4329
+ "type": {
4330
+ "__schema": "KeywordTypeSchema",
4331
+ "location": {
4332
+ "filePath": "remove-components.ts",
4333
+ "line": 48,
4334
+ "character": 16
4335
+ },
4336
+ "name": "boolean"
4337
+ },
4338
+ "isOptional": false
4339
+ }
4340
+ ]
4341
+ },
4342
+ "isOptional": false,
4343
+ "objectBindingNodes": [
4344
+ {
4345
+ "__schema": "VariableLikeSchema",
4346
+ "location": {
4347
+ "filePath": "remove-components.ts",
4348
+ "line": 43,
4349
+ "character": 3
4350
+ },
4351
+ "signature": "(property) workspace?: Workspace | undefined",
4352
+ "name": "workspace",
4353
+ "type": {
4354
+ "__schema": "TypeRefSchema",
4355
+ "location": {
4356
+ "filePath": "remove-components.ts",
4357
+ "line": 43,
4358
+ "character": 15
4359
+ },
4360
+ "name": "Workspace"
4361
+ },
4362
+ "isOptional": true
4363
+ },
4364
+ {
4365
+ "__schema": "VariableLikeSchema",
4366
+ "location": {
4367
+ "filePath": "remove-components.ts",
4368
+ "line": 44,
4369
+ "character": 3
4370
+ },
4371
+ "signature": "(property) ids: ComponentIdList",
4372
+ "name": "ids",
4373
+ "type": {
4374
+ "__schema": "TypeRefSchema",
4375
+ "location": {
4376
+ "filePath": "remove-components.ts",
4377
+ "line": 44,
4378
+ "character": 3
4379
+ },
4380
+ "name": "ComponentIdList",
4381
+ "componentId": {
4382
+ "scope": "teambit.component",
4383
+ "name": "component-id",
4384
+ "version": "1.2.0"
4385
+ }
4386
+ },
4387
+ "isOptional": false
4388
+ },
4389
+ {
4390
+ "__schema": "VariableLikeSchema",
4391
+ "location": {
4392
+ "filePath": "remove-components.ts",
4393
+ "line": 45,
4394
+ "character": 3
4395
+ },
4396
+ "signature": "(property) force: boolean",
4397
+ "name": "force",
4398
+ "type": {
4399
+ "__schema": "KeywordTypeSchema",
4400
+ "location": {
4401
+ "filePath": "remove-components.ts",
4402
+ "line": 45,
4403
+ "character": 10
4404
+ },
4405
+ "name": "boolean"
4406
+ },
4407
+ "isOptional": false
4408
+ },
4409
+ {
4410
+ "__schema": "VariableLikeSchema",
4411
+ "location": {
4412
+ "filePath": "remove-components.ts",
4413
+ "line": 46,
4414
+ "character": 3
4415
+ },
4416
+ "signature": "(property) remote: boolean",
4417
+ "name": "remote",
4418
+ "type": {
4419
+ "__schema": "KeywordTypeSchema",
4420
+ "location": {
4421
+ "filePath": "remove-components.ts",
4422
+ "line": 46,
4423
+ "character": 11
4424
+ },
4425
+ "name": "boolean"
4426
+ },
4427
+ "isOptional": false
4428
+ },
4429
+ {
4430
+ "__schema": "VariableLikeSchema",
4431
+ "location": {
4432
+ "filePath": "remove-components.ts",
4433
+ "line": 47,
4434
+ "character": 3
4435
+ },
4436
+ "signature": "(property) track: boolean",
4437
+ "name": "track",
4438
+ "type": {
4439
+ "__schema": "KeywordTypeSchema",
4440
+ "location": {
4441
+ "filePath": "remove-components.ts",
4442
+ "line": 47,
4443
+ "character": 10
4444
+ },
4445
+ "name": "boolean"
4446
+ },
4447
+ "isOptional": false
4448
+ },
4449
+ {
4450
+ "__schema": "VariableLikeSchema",
4451
+ "location": {
4452
+ "filePath": "remove-components.ts",
4453
+ "line": 48,
4454
+ "character": 3
4455
+ },
4456
+ "signature": "(property) deleteFiles: boolean",
4457
+ "name": "deleteFiles",
4458
+ "type": {
4459
+ "__schema": "KeywordTypeSchema",
4460
+ "location": {
4461
+ "filePath": "remove-components.ts",
4462
+ "line": 48,
4463
+ "character": 16
4464
+ },
4465
+ "name": "boolean"
4466
+ },
4467
+ "isOptional": false
4468
+ }
4469
+ ],
4470
+ "isSpread": false
4471
+ }
4472
+ ],
4473
+ "returnType": {
4474
+ "__schema": "TypeRefSchema",
4475
+ "location": {
4476
+ "filePath": "remove-components.ts",
4477
+ "line": 49,
4478
+ "character": 5
4479
+ },
4480
+ "name": "Promise",
4481
+ "typeArgs": [
4482
+ {
4483
+ "__schema": "TypeRefSchema",
4484
+ "location": {
4485
+ "filePath": "remove-components.ts",
4486
+ "line": 49,
4487
+ "character": 13
4488
+ },
4489
+ "name": "RemoveComponentsResult"
4490
+ }
4491
+ ]
4492
+ },
4493
+ "modifiers": [
4494
+ "export",
4495
+ "async"
4496
+ ]
4497
+ },
4498
+ {
4499
+ "__schema": "FunctionLikeSchema",
4500
+ "location": {
4501
+ "filePath": "remove-components.ts",
4502
+ "line": 189,
4503
+ "character": 1
4504
+ },
4505
+ "signature": "function removeComponentsFromNodeModules(consumer: Consumer, components: ConsumerComponent[]): Promise<void[]>",
4506
+ "name": "removeComponentsFromNodeModules",
4507
+ "params": [
4508
+ {
4509
+ "__schema": "ParameterSchema",
4510
+ "location": {
4511
+ "filePath": "remove-components.ts",
4512
+ "line": 189,
4513
+ "character": 55
4514
+ },
4515
+ "name": "consumer",
4516
+ "type": {
4517
+ "__schema": "TypeRefSchema",
4518
+ "location": {
4519
+ "filePath": "remove-components.ts",
4520
+ "line": 189,
4521
+ "character": 65
4522
+ },
4523
+ "name": "Consumer"
4524
+ },
4525
+ "isOptional": false,
4526
+ "isSpread": false
4527
+ },
4528
+ {
4529
+ "__schema": "ParameterSchema",
4530
+ "location": {
4531
+ "filePath": "remove-components.ts",
4532
+ "line": 189,
4533
+ "character": 75
4534
+ },
4535
+ "name": "components",
4536
+ "type": {
4537
+ "__schema": "TypeArraySchema",
4538
+ "location": {
4539
+ "filePath": "remove-components.ts",
4540
+ "line": 189,
4541
+ "character": 87
4542
+ },
4543
+ "type": {
4544
+ "__schema": "TypeRefSchema",
4545
+ "location": {
4546
+ "filePath": "remove-components.ts",
4547
+ "line": 189,
4548
+ "character": 87
4549
+ },
4550
+ "name": "ConsumerComponent"
4551
+ }
4552
+ },
4553
+ "isOptional": false,
4554
+ "isSpread": false
4555
+ }
4556
+ ],
4557
+ "returnType": {
4558
+ "__schema": "InferenceTypeSchema",
4559
+ "location": {
4560
+ "filePath": "remove-components.ts",
4561
+ "line": 189,
4562
+ "character": 1
4563
+ },
4564
+ "type": "Promise<void[]>"
4565
+ },
4566
+ "modifiers": [
4567
+ "export",
4568
+ "async"
4569
+ ]
4570
+ }
4571
+ ],
4572
+ "internals": [
4573
+ {
4574
+ "__schema": "FunctionLikeSchema",
4575
+ "location": {
4576
+ "filePath": "remove-components.ts",
4577
+ "line": 77,
4578
+ "character": 1
4579
+ },
4580
+ "doc": {
4581
+ "__schema": "DocSchema",
4582
+ "location": {
4583
+ "filePath": "remove-components.ts",
4584
+ "line": 71,
4585
+ "character": 1
4586
+ },
4587
+ "raw": "/**\n * Remove remote component from the remote\n * this method groups remote components by remote name and deletes remote components together\n * @param {ComponentIdList} bitIds - list of remote component ids to delete\n * @param {boolean} force - delete component that are used by other components.\n */",
4588
+ "comment": "Remove remote component from the remote\nthis method groups remote components by remote name and deletes remote components together",
4589
+ "tags": [
4590
+ {
4591
+ "__schema": "PropertyLikeTagSchema",
4592
+ "location": {
4593
+ "filePath": "remove-components.ts",
4594
+ "line": 74,
4595
+ "character": 4
4596
+ },
4597
+ "name": "bitIds",
4598
+ "tagName": "parameter",
4599
+ "comment": "- list of remote component ids to delete",
4600
+ "type": {
4601
+ "__schema": "TypeRefSchema",
4602
+ "location": {
4603
+ "filePath": "remove-components.ts",
4604
+ "line": 74,
4605
+ "character": 12
4606
+ },
4607
+ "name": "ComponentIdList"
4608
+ }
4609
+ },
4610
+ {
4611
+ "__schema": "PropertyLikeTagSchema",
4612
+ "location": {
4613
+ "filePath": "remove-components.ts",
4614
+ "line": 75,
4615
+ "character": 4
4616
+ },
4617
+ "name": "force",
4618
+ "tagName": "parameter",
4619
+ "comment": "- delete component that are used by other components.",
4620
+ "type": {
4621
+ "__schema": "KeywordTypeSchema",
4622
+ "location": {
4623
+ "filePath": "remove-components.ts",
4624
+ "line": 75,
4625
+ "character": 12
4626
+ },
4627
+ "name": "boolean"
4628
+ }
4629
+ }
4630
+ ]
4631
+ },
4632
+ "signature": "function removeRemote(workspace: Workspace | undefined, bitIds: ComponentIdList, force: boolean): Promise<RemovedObjects[]>",
4633
+ "name": "removeRemote",
4634
+ "params": [
4635
+ {
4636
+ "__schema": "ParameterSchema",
4637
+ "location": {
4638
+ "filePath": "remove-components.ts",
4639
+ "line": 78,
4640
+ "character": 3
4641
+ },
4642
+ "name": "workspace",
4643
+ "type": {
4644
+ "__schema": "TypeUnionSchema",
4645
+ "location": {
4646
+ "filePath": "remove-components.ts",
4647
+ "line": 78,
4648
+ "character": 14
4649
+ },
4650
+ "types": [
4651
+ {
4652
+ "__schema": "TypeRefSchema",
4653
+ "location": {
4654
+ "filePath": "remove-components.ts",
4655
+ "line": 78,
4656
+ "character": 14
4657
+ },
4658
+ "name": "Workspace"
4659
+ },
4660
+ {
4661
+ "__schema": "KeywordTypeSchema",
4662
+ "location": {
4663
+ "filePath": "remove-components.ts",
4664
+ "line": 78,
4665
+ "character": 26
4666
+ },
4667
+ "name": "undefined"
4668
+ }
4669
+ ]
4670
+ },
4671
+ "isOptional": false,
4672
+ "isSpread": false
4673
+ },
4674
+ {
4675
+ "__schema": "ParameterSchema",
4676
+ "location": {
4677
+ "filePath": "remove-components.ts",
4678
+ "line": 79,
4679
+ "character": 3
4680
+ },
4681
+ "name": "bitIds",
4682
+ "type": {
4683
+ "__schema": "TypeRefSchema",
4684
+ "location": {
4685
+ "filePath": "remove-components.ts",
4686
+ "line": 79,
4687
+ "character": 11
4688
+ },
4689
+ "name": "ComponentIdList"
4690
+ },
4691
+ "isOptional": false,
4692
+ "isSpread": false
4693
+ },
4694
+ {
4695
+ "__schema": "ParameterSchema",
4696
+ "location": {
4697
+ "filePath": "remove-components.ts",
4698
+ "line": 80,
4699
+ "character": 3
4700
+ },
4701
+ "name": "force",
4702
+ "type": {
4703
+ "__schema": "KeywordTypeSchema",
4704
+ "location": {
4705
+ "filePath": "remove-components.ts",
4706
+ "line": 80,
4707
+ "character": 10
4708
+ },
4709
+ "name": "boolean"
4710
+ },
4711
+ "isOptional": false,
4712
+ "isSpread": false
4713
+ }
4714
+ ],
4715
+ "returnType": {
4716
+ "__schema": "TypeRefSchema",
4717
+ "location": {
4718
+ "filePath": "remove-components.ts",
4719
+ "line": 81,
4720
+ "character": 4
4721
+ },
4722
+ "name": "Promise",
4723
+ "typeArgs": [
4724
+ {
4725
+ "__schema": "TypeArraySchema",
4726
+ "location": {
4727
+ "filePath": "remove-components.ts",
4728
+ "line": 81,
4729
+ "character": 12
4730
+ },
4731
+ "type": {
4732
+ "__schema": "TypeRefSchema",
4733
+ "location": {
4734
+ "filePath": "remove-components.ts",
4735
+ "line": 81,
4736
+ "character": 12
4737
+ },
4738
+ "name": "RemovedObjects"
4739
+ }
4740
+ }
4741
+ ]
4742
+ },
4743
+ "modifiers": [
4744
+ "async"
4745
+ ]
4746
+ },
4747
+ {
4748
+ "__schema": "FunctionLikeSchema",
4749
+ "location": {
4750
+ "filePath": "remove-components.ts",
4751
+ "line": 109,
4752
+ "character": 1
4753
+ },
4754
+ "doc": {
4755
+ "__schema": "DocSchema",
4756
+ "location": {
4757
+ "filePath": "remove-components.ts",
4758
+ "line": 103,
4759
+ "character": 1
4760
+ },
4761
+ "raw": "/**\n * removeLocal - remove local (imported, new staged components) from modules and bitmap according to flags\n * @param {ComponentIdList} bitIds - list of component ids to delete\n * @param {boolean} force - delete component that are used by other components.\n * @param {boolean} deleteFiles - delete component that are used by other components.\n */",
4762
+ "comment": "removeLocal - remove local (imported, new staged components) from modules and bitmap according to flags",
4763
+ "tags": [
4764
+ {
4765
+ "__schema": "PropertyLikeTagSchema",
4766
+ "location": {
4767
+ "filePath": "remove-components.ts",
4768
+ "line": 105,
4769
+ "character": 4
4770
+ },
4771
+ "name": "bitIds",
4772
+ "tagName": "parameter",
4773
+ "comment": "- list of component ids to delete",
4774
+ "type": {
4775
+ "__schema": "TypeRefSchema",
4776
+ "location": {
4777
+ "filePath": "remove-components.ts",
4778
+ "line": 105,
4779
+ "character": 12
4780
+ },
4781
+ "name": "ComponentIdList"
4782
+ }
4783
+ },
4784
+ {
4785
+ "__schema": "PropertyLikeTagSchema",
4786
+ "location": {
4787
+ "filePath": "remove-components.ts",
4788
+ "line": 106,
4789
+ "character": 4
4790
+ },
4791
+ "name": "force",
4792
+ "tagName": "parameter",
4793
+ "comment": "- delete component that are used by other components.",
4794
+ "type": {
4795
+ "__schema": "KeywordTypeSchema",
4796
+ "location": {
4797
+ "filePath": "remove-components.ts",
4798
+ "line": 106,
4799
+ "character": 12
4800
+ },
4801
+ "name": "boolean"
4802
+ }
4803
+ },
4804
+ {
4805
+ "__schema": "PropertyLikeTagSchema",
4806
+ "location": {
4807
+ "filePath": "remove-components.ts",
4808
+ "line": 107,
4809
+ "character": 4
4810
+ },
4811
+ "name": "deleteFiles",
4812
+ "tagName": "parameter",
4813
+ "comment": "- delete component that are used by other components.",
4814
+ "type": {
4815
+ "__schema": "KeywordTypeSchema",
4816
+ "location": {
4817
+ "filePath": "remove-components.ts",
4818
+ "line": 107,
4819
+ "character": 12
4820
+ },
4821
+ "name": "boolean"
4822
+ }
4823
+ }
4824
+ ]
4825
+ },
4826
+ "signature": "function removeLocal(workspace: Workspace, bitIds: ComponentIdList, force: boolean, track: boolean, deleteFiles: boolean): Promise<RemovedLocalObjects>",
4827
+ "name": "removeLocal",
4828
+ "params": [
4829
+ {
4830
+ "__schema": "ParameterSchema",
4831
+ "location": {
4832
+ "filePath": "remove-components.ts",
4833
+ "line": 110,
4834
+ "character": 3
4835
+ },
4836
+ "name": "workspace",
4837
+ "type": {
4838
+ "__schema": "TypeRefSchema",
4839
+ "location": {
4840
+ "filePath": "remove-components.ts",
4841
+ "line": 110,
4842
+ "character": 14
4843
+ },
4844
+ "name": "Workspace"
4845
+ },
4846
+ "isOptional": false,
4847
+ "isSpread": false
4848
+ },
4849
+ {
4850
+ "__schema": "ParameterSchema",
4851
+ "location": {
4852
+ "filePath": "remove-components.ts",
4853
+ "line": 111,
4854
+ "character": 3
4855
+ },
4856
+ "name": "bitIds",
4857
+ "type": {
4858
+ "__schema": "TypeRefSchema",
4859
+ "location": {
4860
+ "filePath": "remove-components.ts",
4861
+ "line": 111,
4862
+ "character": 11
4863
+ },
4864
+ "name": "ComponentIdList"
4865
+ },
4866
+ "isOptional": false,
4867
+ "isSpread": false
4868
+ },
4869
+ {
4870
+ "__schema": "ParameterSchema",
4871
+ "location": {
4872
+ "filePath": "remove-components.ts",
4873
+ "line": 112,
4874
+ "character": 3
4875
+ },
4876
+ "name": "force",
4877
+ "type": {
4878
+ "__schema": "KeywordTypeSchema",
4879
+ "location": {
4880
+ "filePath": "remove-components.ts",
4881
+ "line": 112,
4882
+ "character": 10
4883
+ },
4884
+ "name": "boolean"
4885
+ },
4886
+ "isOptional": false,
4887
+ "isSpread": false
4888
+ },
4889
+ {
4890
+ "__schema": "ParameterSchema",
4891
+ "location": {
4892
+ "filePath": "remove-components.ts",
4893
+ "line": 113,
4894
+ "character": 3
4895
+ },
4896
+ "name": "track",
4897
+ "type": {
4898
+ "__schema": "KeywordTypeSchema",
4899
+ "location": {
4900
+ "filePath": "remove-components.ts",
4901
+ "line": 113,
4902
+ "character": 10
4903
+ },
4904
+ "name": "boolean"
4905
+ },
4906
+ "isOptional": false,
4907
+ "isSpread": false
4908
+ },
4909
+ {
4910
+ "__schema": "ParameterSchema",
4911
+ "location": {
4912
+ "filePath": "remove-components.ts",
4913
+ "line": 114,
4914
+ "character": 3
4915
+ },
4916
+ "name": "deleteFiles",
4917
+ "type": {
4918
+ "__schema": "KeywordTypeSchema",
4919
+ "location": {
4920
+ "filePath": "remove-components.ts",
4921
+ "line": 114,
4922
+ "character": 16
4923
+ },
4924
+ "name": "boolean"
4925
+ },
4926
+ "isOptional": false,
4927
+ "isSpread": false
4928
+ }
4929
+ ],
4930
+ "returnType": {
4931
+ "__schema": "TypeRefSchema",
4932
+ "location": {
4933
+ "filePath": "remove-components.ts",
4934
+ "line": 115,
4935
+ "character": 4
4936
+ },
4937
+ "name": "Promise",
4938
+ "typeArgs": [
4939
+ {
4940
+ "__schema": "TypeRefSchema",
4941
+ "location": {
4942
+ "filePath": "remove-components.ts",
4943
+ "line": 115,
4944
+ "character": 12
4945
+ },
4946
+ "name": "RemovedLocalObjects"
4947
+ }
4948
+ ]
4949
+ },
4950
+ "modifiers": [
4951
+ "async"
4952
+ ]
4953
+ }
4954
+ ]
4955
+ },
4049
4956
  {
4050
4957
  "__schema": "ModuleSchema",
4051
4958
  "location": {
@@ -4087,7 +4994,7 @@
4087
4994
  "componentId": {
4088
4995
  "scope": "teambit.component",
4089
4996
  "name": "remove",
4090
- "version": "1.0.329"
4997
+ "version": "1.0.331"
4091
4998
  },
4092
4999
  "taggedModuleExports": []
4093
5000
  }