@teambit/refactoring 1.0.207 → 1.0.209

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.
@@ -17,7 +17,7 @@
17
17
  "__schema": "ClassSchema",
18
18
  "location": {
19
19
  "filePath": "refactoring.main.runtime.ts",
20
- "line": 31,
20
+ "line": 29,
21
21
  "character": 1
22
22
  },
23
23
  "signature": "class RefactoringMain",
@@ -27,26 +27,26 @@
27
27
  "__schema": "ConstructorSchema",
28
28
  "location": {
29
29
  "filePath": "refactoring.main.runtime.ts",
30
- "line": 32,
30
+ "line": 30,
31
31
  "character": 3
32
32
  },
33
- "signature": "constructor RefactoringMain(componentMain: ComponentMain, pkg: PkgMain, envs: EnvsMain, prettierMain: PrettierMain): RefactoringMain",
33
+ "signature": "constructor RefactoringMain(componentMain: ComponentMain, pkg: PkgMain, envs: EnvsMain): RefactoringMain",
34
34
  "name": "constructor",
35
35
  "params": [
36
36
  {
37
37
  "__schema": "ParameterSchema",
38
38
  "location": {
39
39
  "filePath": "refactoring.main.runtime.ts",
40
- "line": 33,
41
- "character": 5
40
+ "line": 30,
41
+ "character": 15
42
42
  },
43
43
  "name": "componentMain",
44
44
  "type": {
45
45
  "__schema": "TypeRefSchema",
46
46
  "location": {
47
47
  "filePath": "refactoring.main.runtime.ts",
48
- "line": 33,
49
- "character": 28
48
+ "line": 30,
49
+ "character": 38
50
50
  },
51
51
  "name": "ComponentMain",
52
52
  "componentId": {
@@ -61,16 +61,16 @@
61
61
  "__schema": "ParameterSchema",
62
62
  "location": {
63
63
  "filePath": "refactoring.main.runtime.ts",
64
- "line": 34,
65
- "character": 5
64
+ "line": 30,
65
+ "character": 53
66
66
  },
67
67
  "name": "pkg",
68
68
  "type": {
69
69
  "__schema": "TypeRefSchema",
70
70
  "location": {
71
71
  "filePath": "refactoring.main.runtime.ts",
72
- "line": 34,
73
- "character": 18
72
+ "line": 30,
73
+ "character": 66
74
74
  },
75
75
  "name": "PkgMain",
76
76
  "componentId": {
@@ -85,16 +85,16 @@
85
85
  "__schema": "ParameterSchema",
86
86
  "location": {
87
87
  "filePath": "refactoring.main.runtime.ts",
88
- "line": 35,
89
- "character": 5
88
+ "line": 30,
89
+ "character": 75
90
90
  },
91
91
  "name": "envs",
92
92
  "type": {
93
93
  "__schema": "TypeRefSchema",
94
94
  "location": {
95
95
  "filePath": "refactoring.main.runtime.ts",
96
- "line": 35,
97
- "character": 19
96
+ "line": 30,
97
+ "character": 89
98
98
  },
99
99
  "name": "EnvsMain",
100
100
  "componentId": {
@@ -104,37 +104,13 @@
104
104
  },
105
105
  "isOptional": false,
106
106
  "isSpread": false
107
- },
108
- {
109
- "__schema": "ParameterSchema",
110
- "location": {
111
- "filePath": "refactoring.main.runtime.ts",
112
- "line": 36,
113
- "character": 5
114
- },
115
- "name": "prettierMain",
116
- "type": {
117
- "__schema": "TypeRefSchema",
118
- "location": {
119
- "filePath": "refactoring.main.runtime.ts",
120
- "line": 36,
121
- "character": 27
122
- },
123
- "name": "PrettierMain",
124
- "componentId": {
125
- "scope": "teambit.defender",
126
- "name": "prettier"
127
- }
128
- },
129
- "isOptional": false,
130
- "isSpread": false
131
107
  }
132
108
  ],
133
109
  "returnType": {
134
110
  "__schema": "ThisTypeSchema",
135
111
  "location": {
136
112
  "filePath": "refactoring.main.runtime.ts",
137
- "line": 31,
113
+ "line": 29,
138
114
  "character": 1
139
115
  },
140
116
  "name": "RefactoringMain"
@@ -145,14 +121,14 @@
145
121
  "__schema": "FunctionLikeSchema",
146
122
  "location": {
147
123
  "filePath": "refactoring.main.runtime.ts",
148
- "line": 44,
124
+ "line": 37,
149
125
  "character": 3
150
126
  },
151
127
  "doc": {
152
128
  "__schema": "DocSchema",
153
129
  "location": {
154
130
  "filePath": "refactoring.main.runtime.ts",
155
- "line": 39,
131
+ "line": 32,
156
132
  "character": 3
157
133
  },
158
134
  "raw": "/**\n * refactor the dependency name of a component.\n * oldId and newId can be either a component-id or a package-name.\n * this method changes the source code of the component, but doesn't write to the filesystem.\n */",
@@ -165,7 +141,7 @@
165
141
  "__schema": "ParameterSchema",
166
142
  "location": {
167
143
  "filePath": "refactoring.main.runtime.ts",
168
- "line": 45,
144
+ "line": 38,
169
145
  "character": 5
170
146
  },
171
147
  "name": "components",
@@ -173,14 +149,14 @@
173
149
  "__schema": "TypeArraySchema",
174
150
  "location": {
175
151
  "filePath": "refactoring.main.runtime.ts",
176
- "line": 45,
152
+ "line": 38,
177
153
  "character": 17
178
154
  },
179
155
  "type": {
180
156
  "__schema": "TypeRefSchema",
181
157
  "location": {
182
158
  "filePath": "refactoring.main.runtime.ts",
183
- "line": 45,
159
+ "line": 38,
184
160
  "character": 17
185
161
  },
186
162
  "name": "Component",
@@ -197,7 +173,7 @@
197
173
  "__schema": "ParameterSchema",
198
174
  "location": {
199
175
  "filePath": "refactoring.main.runtime.ts",
200
- "line": 46,
176
+ "line": 39,
201
177
  "character": 5
202
178
  },
203
179
  "name": "oldId",
@@ -205,7 +181,7 @@
205
181
  "__schema": "TypeUnionSchema",
206
182
  "location": {
207
183
  "filePath": "refactoring.main.runtime.ts",
208
- "line": 46,
184
+ "line": 39,
209
185
  "character": 12
210
186
  },
211
187
  "types": [
@@ -213,7 +189,7 @@
213
189
  "__schema": "TypeRefSchema",
214
190
  "location": {
215
191
  "filePath": "refactoring.main.runtime.ts",
216
- "line": 46,
192
+ "line": 39,
217
193
  "character": 12
218
194
  },
219
195
  "name": "ComponentID",
@@ -226,7 +202,7 @@
226
202
  "__schema": "KeywordTypeSchema",
227
203
  "location": {
228
204
  "filePath": "refactoring.main.runtime.ts",
229
- "line": 46,
205
+ "line": 39,
230
206
  "character": 26
231
207
  },
232
208
  "name": "string"
@@ -240,7 +216,7 @@
240
216
  "__schema": "ParameterSchema",
241
217
  "location": {
242
218
  "filePath": "refactoring.main.runtime.ts",
243
- "line": 47,
219
+ "line": 40,
244
220
  "character": 5
245
221
  },
246
222
  "name": "newId",
@@ -248,7 +224,7 @@
248
224
  "__schema": "TypeUnionSchema",
249
225
  "location": {
250
226
  "filePath": "refactoring.main.runtime.ts",
251
- "line": 47,
227
+ "line": 40,
252
228
  "character": 12
253
229
  },
254
230
  "types": [
@@ -256,7 +232,7 @@
256
232
  "__schema": "TypeRefSchema",
257
233
  "location": {
258
234
  "filePath": "refactoring.main.runtime.ts",
259
- "line": 47,
235
+ "line": 40,
260
236
  "character": 12
261
237
  },
262
238
  "name": "ComponentID",
@@ -269,7 +245,7 @@
269
245
  "__schema": "KeywordTypeSchema",
270
246
  "location": {
271
247
  "filePath": "refactoring.main.runtime.ts",
272
- "line": 47,
248
+ "line": 40,
273
249
  "character": 26
274
250
  },
275
251
  "name": "string"
@@ -284,7 +260,7 @@
284
260
  "__schema": "TypeRefSchema",
285
261
  "location": {
286
262
  "filePath": "refactoring.main.runtime.ts",
287
- "line": 48,
263
+ "line": 41,
288
264
  "character": 6
289
265
  },
290
266
  "name": "Promise",
@@ -293,7 +269,7 @@
293
269
  "__schema": "TypeLiteralSchema",
294
270
  "location": {
295
271
  "filePath": "refactoring.main.runtime.ts",
296
- "line": 48,
272
+ "line": 41,
297
273
  "character": 14
298
274
  },
299
275
  "members": [
@@ -301,7 +277,7 @@
301
277
  "__schema": "VariableLikeSchema",
302
278
  "location": {
303
279
  "filePath": "refactoring.main.runtime.ts",
304
- "line": 48,
280
+ "line": 41,
305
281
  "character": 16
306
282
  },
307
283
  "signature": "(property) oldPackageName: string",
@@ -310,7 +286,7 @@
310
286
  "__schema": "KeywordTypeSchema",
311
287
  "location": {
312
288
  "filePath": "refactoring.main.runtime.ts",
313
- "line": 48,
289
+ "line": 41,
314
290
  "character": 32
315
291
  },
316
292
  "name": "string"
@@ -321,7 +297,7 @@
321
297
  "__schema": "VariableLikeSchema",
322
298
  "location": {
323
299
  "filePath": "refactoring.main.runtime.ts",
324
- "line": 48,
300
+ "line": 41,
325
301
  "character": 40
326
302
  },
327
303
  "signature": "(property) newPackageName: string",
@@ -330,7 +306,7 @@
330
306
  "__schema": "KeywordTypeSchema",
331
307
  "location": {
332
308
  "filePath": "refactoring.main.runtime.ts",
333
- "line": 48,
309
+ "line": 41,
334
310
  "character": 56
335
311
  },
336
312
  "name": "string"
@@ -341,7 +317,7 @@
341
317
  "__schema": "VariableLikeSchema",
342
318
  "location": {
343
319
  "filePath": "refactoring.main.runtime.ts",
344
- "line": 48,
320
+ "line": 41,
345
321
  "character": 64
346
322
  },
347
323
  "signature": "(property) changedComponents: Component[]",
@@ -350,14 +326,14 @@
350
326
  "__schema": "TypeArraySchema",
351
327
  "location": {
352
328
  "filePath": "refactoring.main.runtime.ts",
353
- "line": 48,
329
+ "line": 41,
354
330
  "character": 83
355
331
  },
356
332
  "type": {
357
333
  "__schema": "TypeRefSchema",
358
334
  "location": {
359
335
  "filePath": "refactoring.main.runtime.ts",
360
- "line": 48,
336
+ "line": 41,
361
337
  "character": 83
362
338
  },
363
339
  "name": "Component",
@@ -381,14 +357,14 @@
381
357
  "__schema": "FunctionLikeSchema",
382
358
  "location": {
383
359
  "filePath": "refactoring.main.runtime.ts",
384
- "line": 67,
360
+ "line": 60,
385
361
  "character": 3
386
362
  },
387
363
  "doc": {
388
364
  "__schema": "DocSchema",
389
365
  "location": {
390
366
  "filePath": "refactoring.main.runtime.ts",
391
- "line": 63,
367
+ "line": 56,
392
368
  "character": 3
393
369
  },
394
370
  "raw": "/**\n * replaces the old-name inside the source code of the given component with the new name.\n * helpful when renaming/forking an aspect/env where the component-name is used as the class-name and variable-name.\n */",
@@ -401,7 +377,7 @@
401
377
  "__schema": "ParameterSchema",
402
378
  "location": {
403
379
  "filePath": "refactoring.main.runtime.ts",
404
- "line": 68,
380
+ "line": 61,
405
381
  "character": 5
406
382
  },
407
383
  "name": "component",
@@ -409,7 +385,7 @@
409
385
  "__schema": "TypeRefSchema",
410
386
  "location": {
411
387
  "filePath": "refactoring.main.runtime.ts",
412
- "line": 68,
388
+ "line": 61,
413
389
  "character": 16
414
390
  },
415
391
  "name": "Component",
@@ -425,7 +401,7 @@
425
401
  "__schema": "ParameterSchema",
426
402
  "location": {
427
403
  "filePath": "refactoring.main.runtime.ts",
428
- "line": 69,
404
+ "line": 62,
429
405
  "character": 5
430
406
  },
431
407
  "name": "sourceId",
@@ -433,7 +409,7 @@
433
409
  "__schema": "TypeRefSchema",
434
410
  "location": {
435
411
  "filePath": "refactoring.main.runtime.ts",
436
- "line": 69,
412
+ "line": 62,
437
413
  "character": 15
438
414
  },
439
415
  "name": "ComponentID",
@@ -449,7 +425,7 @@
449
425
  "__schema": "ParameterSchema",
450
426
  "location": {
451
427
  "filePath": "refactoring.main.runtime.ts",
452
- "line": 70,
428
+ "line": 63,
453
429
  "character": 5
454
430
  },
455
431
  "name": "targetId",
@@ -457,7 +433,7 @@
457
433
  "__schema": "TypeRefSchema",
458
434
  "location": {
459
435
  "filePath": "refactoring.main.runtime.ts",
460
- "line": 70,
436
+ "line": 63,
461
437
  "character": 15
462
438
  },
463
439
  "name": "ComponentID",
@@ -473,7 +449,7 @@
473
449
  "__schema": "ParameterSchema",
474
450
  "location": {
475
451
  "filePath": "refactoring.main.runtime.ts",
476
- "line": 71,
452
+ "line": 64,
477
453
  "character": 5
478
454
  },
479
455
  "name": "options",
@@ -481,7 +457,7 @@
481
457
  "__schema": "TypeLiteralSchema",
482
458
  "location": {
483
459
  "filePath": "refactoring.main.runtime.ts",
484
- "line": 71,
460
+ "line": 64,
485
461
  "character": 15
486
462
  },
487
463
  "members": [
@@ -489,7 +465,7 @@
489
465
  "__schema": "VariableLikeSchema",
490
466
  "location": {
491
467
  "filePath": "refactoring.main.runtime.ts",
492
- "line": 71,
468
+ "line": 64,
493
469
  "character": 17
494
470
  },
495
471
  "signature": "(property) ast?: boolean | undefined",
@@ -498,7 +474,7 @@
498
474
  "__schema": "KeywordTypeSchema",
499
475
  "location": {
500
476
  "filePath": "refactoring.main.runtime.ts",
501
- "line": 71,
477
+ "line": 64,
502
478
  "character": 23
503
479
  },
504
480
  "name": "boolean"
@@ -515,7 +491,7 @@
515
491
  "__schema": "InferenceTypeSchema",
516
492
  "location": {
517
493
  "filePath": "refactoring.main.runtime.ts",
518
- "line": 67,
494
+ "line": 60,
519
495
  "character": 3
520
496
  },
521
497
  "type": "Promise<void>"
@@ -528,7 +504,7 @@
528
504
  "__schema": "FunctionLikeSchema",
529
505
  "location": {
530
506
  "filePath": "refactoring.main.runtime.ts",
531
- "line": 83,
507
+ "line": 76,
532
508
  "character": 3
533
509
  },
534
510
  "signature": "(method) RefactoringMain.getStringReplacementsForVariablesAndClasses(sourceId: ComponentID, targetId: ComponentID): MultipleStringsReplacement",
@@ -538,7 +514,7 @@
538
514
  "__schema": "ParameterSchema",
539
515
  "location": {
540
516
  "filePath": "refactoring.main.runtime.ts",
541
- "line": 84,
517
+ "line": 77,
542
518
  "character": 5
543
519
  },
544
520
  "name": "sourceId",
@@ -546,7 +522,7 @@
546
522
  "__schema": "TypeRefSchema",
547
523
  "location": {
548
524
  "filePath": "refactoring.main.runtime.ts",
549
- "line": 84,
525
+ "line": 77,
550
526
  "character": 15
551
527
  },
552
528
  "name": "ComponentID",
@@ -562,7 +538,7 @@
562
538
  "__schema": "ParameterSchema",
563
539
  "location": {
564
540
  "filePath": "refactoring.main.runtime.ts",
565
- "line": 85,
541
+ "line": 78,
566
542
  "character": 5
567
543
  },
568
544
  "name": "targetId",
@@ -570,7 +546,7 @@
570
546
  "__schema": "TypeRefSchema",
571
547
  "location": {
572
548
  "filePath": "refactoring.main.runtime.ts",
573
- "line": 85,
549
+ "line": 78,
574
550
  "character": 15
575
551
  },
576
552
  "name": "ComponentID",
@@ -587,7 +563,7 @@
587
563
  "__schema": "TypeRefSchema",
588
564
  "location": {
589
565
  "filePath": "refactoring.main.runtime.ts",
590
- "line": 83,
566
+ "line": 76,
591
567
  "character": 3
592
568
  },
593
569
  "name": "MultipleStringsReplacement"
@@ -598,7 +574,7 @@
598
574
  "__schema": "FunctionLikeSchema",
599
575
  "location": {
600
576
  "filePath": "refactoring.main.runtime.ts",
601
- "line": 103,
577
+ "line": 96,
602
578
  "character": 3
603
579
  },
604
580
  "signature": "(method) RefactoringMain.refactorVariableAndClassesUsingAST(component: Component, sourceId: ComponentID, targetId: ComponentID): Promise<void>",
@@ -608,7 +584,7 @@
608
584
  "__schema": "ParameterSchema",
609
585
  "location": {
610
586
  "filePath": "refactoring.main.runtime.ts",
611
- "line": 103,
587
+ "line": 96,
612
588
  "character": 44
613
589
  },
614
590
  "name": "component",
@@ -616,7 +592,7 @@
616
592
  "__schema": "TypeRefSchema",
617
593
  "location": {
618
594
  "filePath": "refactoring.main.runtime.ts",
619
- "line": 103,
595
+ "line": 96,
620
596
  "character": 55
621
597
  },
622
598
  "name": "Component",
@@ -632,7 +608,7 @@
632
608
  "__schema": "ParameterSchema",
633
609
  "location": {
634
610
  "filePath": "refactoring.main.runtime.ts",
635
- "line": 103,
611
+ "line": 96,
636
612
  "character": 66
637
613
  },
638
614
  "name": "sourceId",
@@ -640,7 +616,7 @@
640
616
  "__schema": "TypeRefSchema",
641
617
  "location": {
642
618
  "filePath": "refactoring.main.runtime.ts",
643
- "line": 103,
619
+ "line": 96,
644
620
  "character": 76
645
621
  },
646
622
  "name": "ComponentID",
@@ -656,7 +632,7 @@
656
632
  "__schema": "ParameterSchema",
657
633
  "location": {
658
634
  "filePath": "refactoring.main.runtime.ts",
659
- "line": 103,
635
+ "line": 96,
660
636
  "character": 89
661
637
  },
662
638
  "name": "targetId",
@@ -664,7 +640,7 @@
664
640
  "__schema": "TypeRefSchema",
665
641
  "location": {
666
642
  "filePath": "refactoring.main.runtime.ts",
667
- "line": 103,
643
+ "line": 96,
668
644
  "character": 99
669
645
  },
670
646
  "name": "ComponentID",
@@ -681,7 +657,7 @@
681
657
  "__schema": "InferenceTypeSchema",
682
658
  "location": {
683
659
  "filePath": "refactoring.main.runtime.ts",
684
- "line": 103,
660
+ "line": 96,
685
661
  "character": 3
686
662
  },
687
663
  "type": "Promise<void>"
@@ -694,7 +670,7 @@
694
670
  "__schema": "FunctionLikeSchema",
695
671
  "location": {
696
672
  "filePath": "refactoring.main.runtime.ts",
697
- "line": 157,
673
+ "line": 150,
698
674
  "character": 3
699
675
  },
700
676
  "signature": "(method) RefactoringMain.refactorFilenames(component: Component, sourceId: ComponentID, targetId: ComponentID): void",
@@ -704,7 +680,7 @@
704
680
  "__schema": "ParameterSchema",
705
681
  "location": {
706
682
  "filePath": "refactoring.main.runtime.ts",
707
- "line": 157,
683
+ "line": 150,
708
684
  "character": 21
709
685
  },
710
686
  "name": "component",
@@ -712,7 +688,7 @@
712
688
  "__schema": "TypeRefSchema",
713
689
  "location": {
714
690
  "filePath": "refactoring.main.runtime.ts",
715
- "line": 157,
691
+ "line": 150,
716
692
  "character": 32
717
693
  },
718
694
  "name": "Component",
@@ -728,7 +704,7 @@
728
704
  "__schema": "ParameterSchema",
729
705
  "location": {
730
706
  "filePath": "refactoring.main.runtime.ts",
731
- "line": 157,
707
+ "line": 150,
732
708
  "character": 43
733
709
  },
734
710
  "name": "sourceId",
@@ -736,7 +712,7 @@
736
712
  "__schema": "TypeRefSchema",
737
713
  "location": {
738
714
  "filePath": "refactoring.main.runtime.ts",
739
- "line": 157,
715
+ "line": 150,
740
716
  "character": 53
741
717
  },
742
718
  "name": "ComponentID",
@@ -752,7 +728,7 @@
752
728
  "__schema": "ParameterSchema",
753
729
  "location": {
754
730
  "filePath": "refactoring.main.runtime.ts",
755
- "line": 157,
731
+ "line": 150,
756
732
  "character": 66
757
733
  },
758
734
  "name": "targetId",
@@ -760,7 +736,7 @@
760
736
  "__schema": "TypeRefSchema",
761
737
  "location": {
762
738
  "filePath": "refactoring.main.runtime.ts",
763
- "line": 157,
739
+ "line": 150,
764
740
  "character": 76
765
741
  },
766
742
  "name": "ComponentID",
@@ -777,7 +753,7 @@
777
753
  "__schema": "InferenceTypeSchema",
778
754
  "location": {
779
755
  "filePath": "refactoring.main.runtime.ts",
780
- "line": 157,
756
+ "line": 150,
781
757
  "character": 3
782
758
  },
783
759
  "type": "void"
@@ -788,14 +764,14 @@
788
764
  "__schema": "FunctionLikeSchema",
789
765
  "location": {
790
766
  "filePath": "refactoring.main.runtime.ts",
791
- "line": 169,
767
+ "line": 162,
792
768
  "character": 3
793
769
  },
794
770
  "doc": {
795
771
  "__schema": "DocSchema",
796
772
  "location": {
797
773
  "filePath": "refactoring.main.runtime.ts",
798
- "line": 165,
774
+ "line": 158,
799
775
  "character": 3
800
776
  },
801
777
  "raw": "/**\n * rename multiple packages dependencies.\n * this method changes the source code of the component, but doesn't write to the filesystem.\n */",
@@ -808,7 +784,7 @@
808
784
  "__schema": "ParameterSchema",
809
785
  "location": {
810
786
  "filePath": "refactoring.main.runtime.ts",
811
- "line": 170,
787
+ "line": 163,
812
788
  "character": 5
813
789
  },
814
790
  "name": "components",
@@ -816,14 +792,14 @@
816
792
  "__schema": "TypeArraySchema",
817
793
  "location": {
818
794
  "filePath": "refactoring.main.runtime.ts",
819
- "line": 170,
795
+ "line": 163,
820
796
  "character": 17
821
797
  },
822
798
  "type": {
823
799
  "__schema": "TypeRefSchema",
824
800
  "location": {
825
801
  "filePath": "refactoring.main.runtime.ts",
826
- "line": 170,
802
+ "line": 163,
827
803
  "character": 17
828
804
  },
829
805
  "name": "Component",
@@ -840,7 +816,7 @@
840
816
  "__schema": "ParameterSchema",
841
817
  "location": {
842
818
  "filePath": "refactoring.main.runtime.ts",
843
- "line": 171,
819
+ "line": 164,
844
820
  "character": 5
845
821
  },
846
822
  "name": "stringsToReplace",
@@ -848,7 +824,7 @@
848
824
  "__schema": "TypeRefSchema",
849
825
  "location": {
850
826
  "filePath": "refactoring.main.runtime.ts",
851
- "line": 171,
827
+ "line": 164,
852
828
  "character": 23
853
829
  },
854
830
  "name": "MultipleStringsReplacement"
@@ -861,7 +837,7 @@
861
837
  "__schema": "ParameterSchema",
862
838
  "location": {
863
839
  "filePath": "refactoring.main.runtime.ts",
864
- "line": 172,
840
+ "line": 165,
865
841
  "character": 5
866
842
  },
867
843
  "name": "transformers",
@@ -869,14 +845,14 @@
869
845
  "__schema": "TypeArraySchema",
870
846
  "location": {
871
847
  "filePath": "refactoring.main.runtime.ts",
872
- "line": 172,
848
+ "line": 165,
873
849
  "character": 20
874
850
  },
875
851
  "type": {
876
852
  "__schema": "TypeRefSchema",
877
853
  "location": {
878
854
  "filePath": "refactoring.main.runtime.ts",
879
- "line": 172,
855
+ "line": 165,
880
856
  "character": 20
881
857
  },
882
858
  "name": "SourceFileTransformer",
@@ -893,7 +869,7 @@
893
869
  "__schema": "ParameterSchema",
894
870
  "location": {
895
871
  "filePath": "refactoring.main.runtime.ts",
896
- "line": 173,
872
+ "line": 166,
897
873
  "character": 5
898
874
  },
899
875
  "name": "shouldAvoidPackageNames",
@@ -901,7 +877,7 @@
901
877
  "__schema": "InferenceTypeSchema",
902
878
  "location": {
903
879
  "filePath": "refactoring.main.runtime.ts",
904
- "line": 173,
880
+ "line": 166,
905
881
  "character": 5
906
882
  },
907
883
  "type": "boolean"
@@ -915,7 +891,7 @@
915
891
  "__schema": "TypeRefSchema",
916
892
  "location": {
917
893
  "filePath": "refactoring.main.runtime.ts",
918
- "line": 174,
894
+ "line": 167,
919
895
  "character": 6
920
896
  },
921
897
  "name": "Promise",
@@ -924,7 +900,7 @@
924
900
  "__schema": "TypeLiteralSchema",
925
901
  "location": {
926
902
  "filePath": "refactoring.main.runtime.ts",
927
- "line": 174,
903
+ "line": 167,
928
904
  "character": 14
929
905
  },
930
906
  "members": [
@@ -932,7 +908,7 @@
932
908
  "__schema": "VariableLikeSchema",
933
909
  "location": {
934
910
  "filePath": "refactoring.main.runtime.ts",
935
- "line": 175,
911
+ "line": 168,
936
912
  "character": 5
937
913
  },
938
914
  "signature": "(property) changedComponents: Component[]",
@@ -941,14 +917,14 @@
941
917
  "__schema": "TypeArraySchema",
942
918
  "location": {
943
919
  "filePath": "refactoring.main.runtime.ts",
944
- "line": 175,
920
+ "line": 168,
945
921
  "character": 24
946
922
  },
947
923
  "type": {
948
924
  "__schema": "TypeRefSchema",
949
925
  "location": {
950
926
  "filePath": "refactoring.main.runtime.ts",
951
- "line": 175,
927
+ "line": 168,
952
928
  "character": 24
953
929
  },
954
930
  "name": "Component",
@@ -972,7 +948,7 @@
972
948
  "__schema": "VariableLikeSchema",
973
949
  "location": {
974
950
  "filePath": "refactoring.main.runtime.ts",
975
- "line": 334,
951
+ "line": 313,
976
952
  "character": 3
977
953
  },
978
954
  "signature": "(property) RefactoringMain.slots: never[]",
@@ -981,7 +957,7 @@
981
957
  "__schema": "InferenceTypeSchema",
982
958
  "location": {
983
959
  "filePath": "refactoring.main.runtime.ts",
984
- "line": 334,
960
+ "line": 313,
985
961
  "character": 3
986
962
  },
987
963
  "type": "never[]"
@@ -993,7 +969,7 @@
993
969
  "__schema": "VariableLikeSchema",
994
970
  "location": {
995
971
  "filePath": "refactoring.main.runtime.ts",
996
- "line": 335,
972
+ "line": 314,
997
973
  "character": 3
998
974
  },
999
975
  "signature": "(property) RefactoringMain.dependencies: Aspect[]",
@@ -1002,19 +978,19 @@
1002
978
  "__schema": "InferenceTypeSchema",
1003
979
  "location": {
1004
980
  "filePath": "refactoring.main.runtime.ts",
1005
- "line": 335,
981
+ "line": 314,
1006
982
  "character": 3
1007
983
  },
1008
984
  "type": "Aspect[]"
1009
985
  },
1010
986
  "isOptional": true,
1011
- "defaultValue": "[ComponentAspect, PkgAspect, CLIAspect, EnvsAspect, PrettierAspect]"
987
+ "defaultValue": "[ComponentAspect, PkgAspect, CLIAspect, EnvsAspect]"
1012
988
  },
1013
989
  {
1014
990
  "__schema": "VariableLikeSchema",
1015
991
  "location": {
1016
992
  "filePath": "refactoring.main.runtime.ts",
1017
- "line": 336,
993
+ "line": 315,
1018
994
  "character": 3
1019
995
  },
1020
996
  "signature": "(property) RefactoringMain.runtime: RuntimeDefinition",
@@ -1023,7 +999,7 @@
1023
999
  "__schema": "InferenceTypeSchema",
1024
1000
  "location": {
1025
1001
  "filePath": "refactoring.main.runtime.ts",
1026
- "line": 336,
1002
+ "line": 315,
1027
1003
  "character": 3
1028
1004
  },
1029
1005
  "type": "RuntimeDefinition"
@@ -1035,34 +1011,34 @@
1035
1011
  "__schema": "FunctionLikeSchema",
1036
1012
  "location": {
1037
1013
  "filePath": "refactoring.main.runtime.ts",
1038
- "line": 337,
1014
+ "line": 316,
1039
1015
  "character": 3
1040
1016
  },
1041
- "signature": "(method) RefactoringMain.provider([componentMain, pkg, cli, envMain, prettierMain]: [\n ComponentMain,\n PkgMain,\n CLIMain,\n EnvsMain,\n PrettierMain\n]): Promise<RefactoringMain>",
1017
+ "signature": "(method) RefactoringMain.provider([componentMain, pkg, cli, envMain]: [ComponentMain, PkgMain, CLIMain, EnvsMain]): Promise<RefactoringMain>",
1042
1018
  "name": "provider",
1043
1019
  "params": [
1044
1020
  {
1045
1021
  "__schema": "ParameterSchema",
1046
1022
  "location": {
1047
1023
  "filePath": "refactoring.main.runtime.ts",
1048
- "line": 337,
1024
+ "line": 316,
1049
1025
  "character": 25
1050
1026
  },
1051
- "name": "[ componentMain, pkg, cli, envMain, prettierMain ]",
1027
+ "name": "[ componentMain, pkg, cli, envMain ]",
1052
1028
  "type": {
1053
1029
  "__schema": "TupleTypeSchema",
1054
1030
  "location": {
1055
1031
  "filePath": "refactoring.main.runtime.ts",
1056
- "line": 337,
1057
- "character": 75
1032
+ "line": 316,
1033
+ "character": 61
1058
1034
  },
1059
1035
  "elements": [
1060
1036
  {
1061
1037
  "__schema": "TypeRefSchema",
1062
1038
  "location": {
1063
1039
  "filePath": "refactoring.main.runtime.ts",
1064
- "line": 338,
1065
- "character": 5
1040
+ "line": 316,
1041
+ "character": 62
1066
1042
  },
1067
1043
  "name": "ComponentMain",
1068
1044
  "componentId": {
@@ -1074,8 +1050,8 @@
1074
1050
  "__schema": "TypeRefSchema",
1075
1051
  "location": {
1076
1052
  "filePath": "refactoring.main.runtime.ts",
1077
- "line": 339,
1078
- "character": 5
1053
+ "line": 316,
1054
+ "character": 77
1079
1055
  },
1080
1056
  "name": "PkgMain",
1081
1057
  "componentId": {
@@ -1087,8 +1063,8 @@
1087
1063
  "__schema": "TypeRefSchema",
1088
1064
  "location": {
1089
1065
  "filePath": "refactoring.main.runtime.ts",
1090
- "line": 340,
1091
- "character": 5
1066
+ "line": 316,
1067
+ "character": 86
1092
1068
  },
1093
1069
  "name": "CLIMain",
1094
1070
  "componentId": {
@@ -1100,27 +1076,14 @@
1100
1076
  "__schema": "TypeRefSchema",
1101
1077
  "location": {
1102
1078
  "filePath": "refactoring.main.runtime.ts",
1103
- "line": 341,
1104
- "character": 5
1079
+ "line": 316,
1080
+ "character": 95
1105
1081
  },
1106
1082
  "name": "EnvsMain",
1107
1083
  "componentId": {
1108
1084
  "scope": "teambit.envs",
1109
1085
  "name": "envs"
1110
1086
  }
1111
- },
1112
- {
1113
- "__schema": "TypeRefSchema",
1114
- "location": {
1115
- "filePath": "refactoring.main.runtime.ts",
1116
- "line": 342,
1117
- "character": 5
1118
- },
1119
- "name": "PrettierMain",
1120
- "componentId": {
1121
- "scope": "teambit.defender",
1122
- "name": "prettier"
1123
- }
1124
1087
  }
1125
1088
  ]
1126
1089
  },
@@ -1132,7 +1095,7 @@
1132
1095
  "__schema": "InferenceTypeSchema",
1133
1096
  "location": {
1134
1097
  "filePath": "refactoring.main.runtime.ts",
1135
- "line": 337,
1098
+ "line": 316,
1136
1099
  "character": 3
1137
1100
  },
1138
1101
  "type": "Promise<RefactoringMain>"
@@ -1150,7 +1113,7 @@
1150
1113
  "__schema": "TypeSchema",
1151
1114
  "location": {
1152
1115
  "filePath": "refactoring.main.runtime.ts",
1153
- "line": 29,
1116
+ "line": 27,
1154
1117
  "character": 1
1155
1118
  },
1156
1119
  "signature": "type MultipleStringsReplacement = {\n oldStr: string;\n newStr: string;\n}[]",
@@ -1159,7 +1122,7 @@
1159
1122
  "__schema": "TypeRefSchema",
1160
1123
  "location": {
1161
1124
  "filePath": "refactoring.main.runtime.ts",
1162
- "line": 29,
1125
+ "line": 27,
1163
1126
  "character": 42
1164
1127
  },
1165
1128
  "name": "Array",
@@ -1168,7 +1131,7 @@
1168
1131
  "__schema": "TypeLiteralSchema",
1169
1132
  "location": {
1170
1133
  "filePath": "refactoring.main.runtime.ts",
1171
- "line": 29,
1134
+ "line": 27,
1172
1135
  "character": 48
1173
1136
  },
1174
1137
  "members": [
@@ -1176,7 +1139,7 @@
1176
1139
  "__schema": "VariableLikeSchema",
1177
1140
  "location": {
1178
1141
  "filePath": "refactoring.main.runtime.ts",
1179
- "line": 29,
1142
+ "line": 27,
1180
1143
  "character": 50
1181
1144
  },
1182
1145
  "signature": "(property) oldStr: string",
@@ -1185,7 +1148,7 @@
1185
1148
  "__schema": "KeywordTypeSchema",
1186
1149
  "location": {
1187
1150
  "filePath": "refactoring.main.runtime.ts",
1188
- "line": 29,
1151
+ "line": 27,
1189
1152
  "character": 58
1190
1153
  },
1191
1154
  "name": "string"
@@ -1196,7 +1159,7 @@
1196
1159
  "__schema": "VariableLikeSchema",
1197
1160
  "location": {
1198
1161
  "filePath": "refactoring.main.runtime.ts",
1199
- "line": 29,
1162
+ "line": 27,
1200
1163
  "character": 66
1201
1164
  },
1202
1165
  "signature": "(property) newStr: string",
@@ -1205,7 +1168,7 @@
1205
1168
  "__schema": "KeywordTypeSchema",
1206
1169
  "location": {
1207
1170
  "filePath": "refactoring.main.runtime.ts",
1208
- "line": 29,
1171
+ "line": 27,
1209
1172
  "character": 74
1210
1173
  },
1211
1174
  "name": "string"
@@ -1269,7 +1232,7 @@
1269
1232
  "__schema": "TypeSchema",
1270
1233
  "location": {
1271
1234
  "filePath": "refactoring.main.runtime.ts",
1272
- "line": 29,
1235
+ "line": 27,
1273
1236
  "character": 1
1274
1237
  },
1275
1238
  "signature": "type MultipleStringsReplacement = {\n oldStr: string;\n newStr: string;\n}[]",
@@ -1278,7 +1241,7 @@
1278
1241
  "__schema": "TypeRefSchema",
1279
1242
  "location": {
1280
1243
  "filePath": "refactoring.main.runtime.ts",
1281
- "line": 29,
1244
+ "line": 27,
1282
1245
  "character": 42
1283
1246
  },
1284
1247
  "name": "Array",
@@ -1287,7 +1250,7 @@
1287
1250
  "__schema": "TypeLiteralSchema",
1288
1251
  "location": {
1289
1252
  "filePath": "refactoring.main.runtime.ts",
1290
- "line": 29,
1253
+ "line": 27,
1291
1254
  "character": 48
1292
1255
  },
1293
1256
  "members": [
@@ -1295,7 +1258,7 @@
1295
1258
  "__schema": "VariableLikeSchema",
1296
1259
  "location": {
1297
1260
  "filePath": "refactoring.main.runtime.ts",
1298
- "line": 29,
1261
+ "line": 27,
1299
1262
  "character": 50
1300
1263
  },
1301
1264
  "signature": "(property) oldStr: string",
@@ -1304,7 +1267,7 @@
1304
1267
  "__schema": "KeywordTypeSchema",
1305
1268
  "location": {
1306
1269
  "filePath": "refactoring.main.runtime.ts",
1307
- "line": 29,
1270
+ "line": 27,
1308
1271
  "character": 58
1309
1272
  },
1310
1273
  "name": "string"
@@ -1315,7 +1278,7 @@
1315
1278
  "__schema": "VariableLikeSchema",
1316
1279
  "location": {
1317
1280
  "filePath": "refactoring.main.runtime.ts",
1318
- "line": 29,
1281
+ "line": 27,
1319
1282
  "character": 66
1320
1283
  },
1321
1284
  "signature": "(property) newStr: string",
@@ -1324,7 +1287,7 @@
1324
1287
  "__schema": "KeywordTypeSchema",
1325
1288
  "location": {
1326
1289
  "filePath": "refactoring.main.runtime.ts",
1327
- "line": 29,
1290
+ "line": 27,
1328
1291
  "character": 74
1329
1292
  },
1330
1293
  "name": "string"
@@ -1340,7 +1303,7 @@
1340
1303
  "__schema": "ClassSchema",
1341
1304
  "location": {
1342
1305
  "filePath": "refactoring.main.runtime.ts",
1343
- "line": 31,
1306
+ "line": 29,
1344
1307
  "character": 1
1345
1308
  },
1346
1309
  "signature": "class RefactoringMain",
@@ -1350,26 +1313,26 @@
1350
1313
  "__schema": "ConstructorSchema",
1351
1314
  "location": {
1352
1315
  "filePath": "refactoring.main.runtime.ts",
1353
- "line": 32,
1316
+ "line": 30,
1354
1317
  "character": 3
1355
1318
  },
1356
- "signature": "constructor RefactoringMain(componentMain: ComponentMain, pkg: PkgMain, envs: EnvsMain, prettierMain: PrettierMain): RefactoringMain",
1319
+ "signature": "constructor RefactoringMain(componentMain: ComponentMain, pkg: PkgMain, envs: EnvsMain): RefactoringMain",
1357
1320
  "name": "constructor",
1358
1321
  "params": [
1359
1322
  {
1360
1323
  "__schema": "ParameterSchema",
1361
1324
  "location": {
1362
1325
  "filePath": "refactoring.main.runtime.ts",
1363
- "line": 33,
1364
- "character": 5
1326
+ "line": 30,
1327
+ "character": 15
1365
1328
  },
1366
1329
  "name": "componentMain",
1367
1330
  "type": {
1368
1331
  "__schema": "TypeRefSchema",
1369
1332
  "location": {
1370
1333
  "filePath": "refactoring.main.runtime.ts",
1371
- "line": 33,
1372
- "character": 28
1334
+ "line": 30,
1335
+ "character": 38
1373
1336
  },
1374
1337
  "name": "ComponentMain",
1375
1338
  "componentId": {
@@ -1384,16 +1347,16 @@
1384
1347
  "__schema": "ParameterSchema",
1385
1348
  "location": {
1386
1349
  "filePath": "refactoring.main.runtime.ts",
1387
- "line": 34,
1388
- "character": 5
1350
+ "line": 30,
1351
+ "character": 53
1389
1352
  },
1390
1353
  "name": "pkg",
1391
1354
  "type": {
1392
1355
  "__schema": "TypeRefSchema",
1393
1356
  "location": {
1394
1357
  "filePath": "refactoring.main.runtime.ts",
1395
- "line": 34,
1396
- "character": 18
1358
+ "line": 30,
1359
+ "character": 66
1397
1360
  },
1398
1361
  "name": "PkgMain",
1399
1362
  "componentId": {
@@ -1408,16 +1371,16 @@
1408
1371
  "__schema": "ParameterSchema",
1409
1372
  "location": {
1410
1373
  "filePath": "refactoring.main.runtime.ts",
1411
- "line": 35,
1412
- "character": 5
1374
+ "line": 30,
1375
+ "character": 75
1413
1376
  },
1414
1377
  "name": "envs",
1415
1378
  "type": {
1416
1379
  "__schema": "TypeRefSchema",
1417
1380
  "location": {
1418
1381
  "filePath": "refactoring.main.runtime.ts",
1419
- "line": 35,
1420
- "character": 19
1382
+ "line": 30,
1383
+ "character": 89
1421
1384
  },
1422
1385
  "name": "EnvsMain",
1423
1386
  "componentId": {
@@ -1427,37 +1390,13 @@
1427
1390
  },
1428
1391
  "isOptional": false,
1429
1392
  "isSpread": false
1430
- },
1431
- {
1432
- "__schema": "ParameterSchema",
1433
- "location": {
1434
- "filePath": "refactoring.main.runtime.ts",
1435
- "line": 36,
1436
- "character": 5
1437
- },
1438
- "name": "prettierMain",
1439
- "type": {
1440
- "__schema": "TypeRefSchema",
1441
- "location": {
1442
- "filePath": "refactoring.main.runtime.ts",
1443
- "line": 36,
1444
- "character": 27
1445
- },
1446
- "name": "PrettierMain",
1447
- "componentId": {
1448
- "scope": "teambit.defender",
1449
- "name": "prettier"
1450
- }
1451
- },
1452
- "isOptional": false,
1453
- "isSpread": false
1454
1393
  }
1455
1394
  ],
1456
1395
  "returnType": {
1457
1396
  "__schema": "ThisTypeSchema",
1458
1397
  "location": {
1459
1398
  "filePath": "refactoring.main.runtime.ts",
1460
- "line": 31,
1399
+ "line": 29,
1461
1400
  "character": 1
1462
1401
  },
1463
1402
  "name": "RefactoringMain"
@@ -1468,14 +1407,14 @@
1468
1407
  "__schema": "FunctionLikeSchema",
1469
1408
  "location": {
1470
1409
  "filePath": "refactoring.main.runtime.ts",
1471
- "line": 44,
1410
+ "line": 37,
1472
1411
  "character": 3
1473
1412
  },
1474
1413
  "doc": {
1475
1414
  "__schema": "DocSchema",
1476
1415
  "location": {
1477
1416
  "filePath": "refactoring.main.runtime.ts",
1478
- "line": 39,
1417
+ "line": 32,
1479
1418
  "character": 3
1480
1419
  },
1481
1420
  "raw": "/**\n * refactor the dependency name of a component.\n * oldId and newId can be either a component-id or a package-name.\n * this method changes the source code of the component, but doesn't write to the filesystem.\n */",
@@ -1488,7 +1427,7 @@
1488
1427
  "__schema": "ParameterSchema",
1489
1428
  "location": {
1490
1429
  "filePath": "refactoring.main.runtime.ts",
1491
- "line": 45,
1430
+ "line": 38,
1492
1431
  "character": 5
1493
1432
  },
1494
1433
  "name": "components",
@@ -1496,14 +1435,14 @@
1496
1435
  "__schema": "TypeArraySchema",
1497
1436
  "location": {
1498
1437
  "filePath": "refactoring.main.runtime.ts",
1499
- "line": 45,
1438
+ "line": 38,
1500
1439
  "character": 17
1501
1440
  },
1502
1441
  "type": {
1503
1442
  "__schema": "TypeRefSchema",
1504
1443
  "location": {
1505
1444
  "filePath": "refactoring.main.runtime.ts",
1506
- "line": 45,
1445
+ "line": 38,
1507
1446
  "character": 17
1508
1447
  },
1509
1448
  "name": "Component",
@@ -1520,7 +1459,7 @@
1520
1459
  "__schema": "ParameterSchema",
1521
1460
  "location": {
1522
1461
  "filePath": "refactoring.main.runtime.ts",
1523
- "line": 46,
1462
+ "line": 39,
1524
1463
  "character": 5
1525
1464
  },
1526
1465
  "name": "oldId",
@@ -1528,7 +1467,7 @@
1528
1467
  "__schema": "TypeUnionSchema",
1529
1468
  "location": {
1530
1469
  "filePath": "refactoring.main.runtime.ts",
1531
- "line": 46,
1470
+ "line": 39,
1532
1471
  "character": 12
1533
1472
  },
1534
1473
  "types": [
@@ -1536,7 +1475,7 @@
1536
1475
  "__schema": "TypeRefSchema",
1537
1476
  "location": {
1538
1477
  "filePath": "refactoring.main.runtime.ts",
1539
- "line": 46,
1478
+ "line": 39,
1540
1479
  "character": 12
1541
1480
  },
1542
1481
  "name": "ComponentID",
@@ -1549,7 +1488,7 @@
1549
1488
  "__schema": "KeywordTypeSchema",
1550
1489
  "location": {
1551
1490
  "filePath": "refactoring.main.runtime.ts",
1552
- "line": 46,
1491
+ "line": 39,
1553
1492
  "character": 26
1554
1493
  },
1555
1494
  "name": "string"
@@ -1563,7 +1502,7 @@
1563
1502
  "__schema": "ParameterSchema",
1564
1503
  "location": {
1565
1504
  "filePath": "refactoring.main.runtime.ts",
1566
- "line": 47,
1505
+ "line": 40,
1567
1506
  "character": 5
1568
1507
  },
1569
1508
  "name": "newId",
@@ -1571,7 +1510,7 @@
1571
1510
  "__schema": "TypeUnionSchema",
1572
1511
  "location": {
1573
1512
  "filePath": "refactoring.main.runtime.ts",
1574
- "line": 47,
1513
+ "line": 40,
1575
1514
  "character": 12
1576
1515
  },
1577
1516
  "types": [
@@ -1579,7 +1518,7 @@
1579
1518
  "__schema": "TypeRefSchema",
1580
1519
  "location": {
1581
1520
  "filePath": "refactoring.main.runtime.ts",
1582
- "line": 47,
1521
+ "line": 40,
1583
1522
  "character": 12
1584
1523
  },
1585
1524
  "name": "ComponentID",
@@ -1592,7 +1531,7 @@
1592
1531
  "__schema": "KeywordTypeSchema",
1593
1532
  "location": {
1594
1533
  "filePath": "refactoring.main.runtime.ts",
1595
- "line": 47,
1534
+ "line": 40,
1596
1535
  "character": 26
1597
1536
  },
1598
1537
  "name": "string"
@@ -1607,7 +1546,7 @@
1607
1546
  "__schema": "TypeRefSchema",
1608
1547
  "location": {
1609
1548
  "filePath": "refactoring.main.runtime.ts",
1610
- "line": 48,
1549
+ "line": 41,
1611
1550
  "character": 6
1612
1551
  },
1613
1552
  "name": "Promise",
@@ -1616,7 +1555,7 @@
1616
1555
  "__schema": "TypeLiteralSchema",
1617
1556
  "location": {
1618
1557
  "filePath": "refactoring.main.runtime.ts",
1619
- "line": 48,
1558
+ "line": 41,
1620
1559
  "character": 14
1621
1560
  },
1622
1561
  "members": [
@@ -1624,7 +1563,7 @@
1624
1563
  "__schema": "VariableLikeSchema",
1625
1564
  "location": {
1626
1565
  "filePath": "refactoring.main.runtime.ts",
1627
- "line": 48,
1566
+ "line": 41,
1628
1567
  "character": 16
1629
1568
  },
1630
1569
  "signature": "(property) oldPackageName: string",
@@ -1633,7 +1572,7 @@
1633
1572
  "__schema": "KeywordTypeSchema",
1634
1573
  "location": {
1635
1574
  "filePath": "refactoring.main.runtime.ts",
1636
- "line": 48,
1575
+ "line": 41,
1637
1576
  "character": 32
1638
1577
  },
1639
1578
  "name": "string"
@@ -1644,7 +1583,7 @@
1644
1583
  "__schema": "VariableLikeSchema",
1645
1584
  "location": {
1646
1585
  "filePath": "refactoring.main.runtime.ts",
1647
- "line": 48,
1586
+ "line": 41,
1648
1587
  "character": 40
1649
1588
  },
1650
1589
  "signature": "(property) newPackageName: string",
@@ -1653,7 +1592,7 @@
1653
1592
  "__schema": "KeywordTypeSchema",
1654
1593
  "location": {
1655
1594
  "filePath": "refactoring.main.runtime.ts",
1656
- "line": 48,
1595
+ "line": 41,
1657
1596
  "character": 56
1658
1597
  },
1659
1598
  "name": "string"
@@ -1664,7 +1603,7 @@
1664
1603
  "__schema": "VariableLikeSchema",
1665
1604
  "location": {
1666
1605
  "filePath": "refactoring.main.runtime.ts",
1667
- "line": 48,
1606
+ "line": 41,
1668
1607
  "character": 64
1669
1608
  },
1670
1609
  "signature": "(property) changedComponents: Component[]",
@@ -1673,14 +1612,14 @@
1673
1612
  "__schema": "TypeArraySchema",
1674
1613
  "location": {
1675
1614
  "filePath": "refactoring.main.runtime.ts",
1676
- "line": 48,
1615
+ "line": 41,
1677
1616
  "character": 83
1678
1617
  },
1679
1618
  "type": {
1680
1619
  "__schema": "TypeRefSchema",
1681
1620
  "location": {
1682
1621
  "filePath": "refactoring.main.runtime.ts",
1683
- "line": 48,
1622
+ "line": 41,
1684
1623
  "character": 83
1685
1624
  },
1686
1625
  "name": "Component",
@@ -1704,14 +1643,14 @@
1704
1643
  "__schema": "FunctionLikeSchema",
1705
1644
  "location": {
1706
1645
  "filePath": "refactoring.main.runtime.ts",
1707
- "line": 67,
1646
+ "line": 60,
1708
1647
  "character": 3
1709
1648
  },
1710
1649
  "doc": {
1711
1650
  "__schema": "DocSchema",
1712
1651
  "location": {
1713
1652
  "filePath": "refactoring.main.runtime.ts",
1714
- "line": 63,
1653
+ "line": 56,
1715
1654
  "character": 3
1716
1655
  },
1717
1656
  "raw": "/**\n * replaces the old-name inside the source code of the given component with the new name.\n * helpful when renaming/forking an aspect/env where the component-name is used as the class-name and variable-name.\n */",
@@ -1724,7 +1663,7 @@
1724
1663
  "__schema": "ParameterSchema",
1725
1664
  "location": {
1726
1665
  "filePath": "refactoring.main.runtime.ts",
1727
- "line": 68,
1666
+ "line": 61,
1728
1667
  "character": 5
1729
1668
  },
1730
1669
  "name": "component",
@@ -1732,7 +1671,7 @@
1732
1671
  "__schema": "TypeRefSchema",
1733
1672
  "location": {
1734
1673
  "filePath": "refactoring.main.runtime.ts",
1735
- "line": 68,
1674
+ "line": 61,
1736
1675
  "character": 16
1737
1676
  },
1738
1677
  "name": "Component",
@@ -1748,7 +1687,7 @@
1748
1687
  "__schema": "ParameterSchema",
1749
1688
  "location": {
1750
1689
  "filePath": "refactoring.main.runtime.ts",
1751
- "line": 69,
1690
+ "line": 62,
1752
1691
  "character": 5
1753
1692
  },
1754
1693
  "name": "sourceId",
@@ -1756,7 +1695,7 @@
1756
1695
  "__schema": "TypeRefSchema",
1757
1696
  "location": {
1758
1697
  "filePath": "refactoring.main.runtime.ts",
1759
- "line": 69,
1698
+ "line": 62,
1760
1699
  "character": 15
1761
1700
  },
1762
1701
  "name": "ComponentID",
@@ -1772,7 +1711,7 @@
1772
1711
  "__schema": "ParameterSchema",
1773
1712
  "location": {
1774
1713
  "filePath": "refactoring.main.runtime.ts",
1775
- "line": 70,
1714
+ "line": 63,
1776
1715
  "character": 5
1777
1716
  },
1778
1717
  "name": "targetId",
@@ -1780,7 +1719,7 @@
1780
1719
  "__schema": "TypeRefSchema",
1781
1720
  "location": {
1782
1721
  "filePath": "refactoring.main.runtime.ts",
1783
- "line": 70,
1722
+ "line": 63,
1784
1723
  "character": 15
1785
1724
  },
1786
1725
  "name": "ComponentID",
@@ -1796,7 +1735,7 @@
1796
1735
  "__schema": "ParameterSchema",
1797
1736
  "location": {
1798
1737
  "filePath": "refactoring.main.runtime.ts",
1799
- "line": 71,
1738
+ "line": 64,
1800
1739
  "character": 5
1801
1740
  },
1802
1741
  "name": "options",
@@ -1804,7 +1743,7 @@
1804
1743
  "__schema": "TypeLiteralSchema",
1805
1744
  "location": {
1806
1745
  "filePath": "refactoring.main.runtime.ts",
1807
- "line": 71,
1746
+ "line": 64,
1808
1747
  "character": 15
1809
1748
  },
1810
1749
  "members": [
@@ -1812,7 +1751,7 @@
1812
1751
  "__schema": "VariableLikeSchema",
1813
1752
  "location": {
1814
1753
  "filePath": "refactoring.main.runtime.ts",
1815
- "line": 71,
1754
+ "line": 64,
1816
1755
  "character": 17
1817
1756
  },
1818
1757
  "signature": "(property) ast?: boolean | undefined",
@@ -1821,7 +1760,7 @@
1821
1760
  "__schema": "KeywordTypeSchema",
1822
1761
  "location": {
1823
1762
  "filePath": "refactoring.main.runtime.ts",
1824
- "line": 71,
1763
+ "line": 64,
1825
1764
  "character": 23
1826
1765
  },
1827
1766
  "name": "boolean"
@@ -1838,7 +1777,7 @@
1838
1777
  "__schema": "InferenceTypeSchema",
1839
1778
  "location": {
1840
1779
  "filePath": "refactoring.main.runtime.ts",
1841
- "line": 67,
1780
+ "line": 60,
1842
1781
  "character": 3
1843
1782
  },
1844
1783
  "type": "Promise<void>"
@@ -1851,7 +1790,7 @@
1851
1790
  "__schema": "FunctionLikeSchema",
1852
1791
  "location": {
1853
1792
  "filePath": "refactoring.main.runtime.ts",
1854
- "line": 83,
1793
+ "line": 76,
1855
1794
  "character": 3
1856
1795
  },
1857
1796
  "signature": "(method) RefactoringMain.getStringReplacementsForVariablesAndClasses(sourceId: ComponentID, targetId: ComponentID): MultipleStringsReplacement",
@@ -1861,7 +1800,7 @@
1861
1800
  "__schema": "ParameterSchema",
1862
1801
  "location": {
1863
1802
  "filePath": "refactoring.main.runtime.ts",
1864
- "line": 84,
1803
+ "line": 77,
1865
1804
  "character": 5
1866
1805
  },
1867
1806
  "name": "sourceId",
@@ -1869,7 +1808,7 @@
1869
1808
  "__schema": "TypeRefSchema",
1870
1809
  "location": {
1871
1810
  "filePath": "refactoring.main.runtime.ts",
1872
- "line": 84,
1811
+ "line": 77,
1873
1812
  "character": 15
1874
1813
  },
1875
1814
  "name": "ComponentID",
@@ -1885,7 +1824,7 @@
1885
1824
  "__schema": "ParameterSchema",
1886
1825
  "location": {
1887
1826
  "filePath": "refactoring.main.runtime.ts",
1888
- "line": 85,
1827
+ "line": 78,
1889
1828
  "character": 5
1890
1829
  },
1891
1830
  "name": "targetId",
@@ -1893,7 +1832,7 @@
1893
1832
  "__schema": "TypeRefSchema",
1894
1833
  "location": {
1895
1834
  "filePath": "refactoring.main.runtime.ts",
1896
- "line": 85,
1835
+ "line": 78,
1897
1836
  "character": 15
1898
1837
  },
1899
1838
  "name": "ComponentID",
@@ -1910,7 +1849,7 @@
1910
1849
  "__schema": "TypeRefSchema",
1911
1850
  "location": {
1912
1851
  "filePath": "refactoring.main.runtime.ts",
1913
- "line": 83,
1852
+ "line": 76,
1914
1853
  "character": 3
1915
1854
  },
1916
1855
  "name": "MultipleStringsReplacement"
@@ -1921,7 +1860,7 @@
1921
1860
  "__schema": "FunctionLikeSchema",
1922
1861
  "location": {
1923
1862
  "filePath": "refactoring.main.runtime.ts",
1924
- "line": 103,
1863
+ "line": 96,
1925
1864
  "character": 3
1926
1865
  },
1927
1866
  "signature": "(method) RefactoringMain.refactorVariableAndClassesUsingAST(component: Component, sourceId: ComponentID, targetId: ComponentID): Promise<void>",
@@ -1931,7 +1870,7 @@
1931
1870
  "__schema": "ParameterSchema",
1932
1871
  "location": {
1933
1872
  "filePath": "refactoring.main.runtime.ts",
1934
- "line": 103,
1873
+ "line": 96,
1935
1874
  "character": 44
1936
1875
  },
1937
1876
  "name": "component",
@@ -1939,7 +1878,7 @@
1939
1878
  "__schema": "TypeRefSchema",
1940
1879
  "location": {
1941
1880
  "filePath": "refactoring.main.runtime.ts",
1942
- "line": 103,
1881
+ "line": 96,
1943
1882
  "character": 55
1944
1883
  },
1945
1884
  "name": "Component",
@@ -1955,7 +1894,7 @@
1955
1894
  "__schema": "ParameterSchema",
1956
1895
  "location": {
1957
1896
  "filePath": "refactoring.main.runtime.ts",
1958
- "line": 103,
1897
+ "line": 96,
1959
1898
  "character": 66
1960
1899
  },
1961
1900
  "name": "sourceId",
@@ -1963,7 +1902,7 @@
1963
1902
  "__schema": "TypeRefSchema",
1964
1903
  "location": {
1965
1904
  "filePath": "refactoring.main.runtime.ts",
1966
- "line": 103,
1905
+ "line": 96,
1967
1906
  "character": 76
1968
1907
  },
1969
1908
  "name": "ComponentID",
@@ -1979,7 +1918,7 @@
1979
1918
  "__schema": "ParameterSchema",
1980
1919
  "location": {
1981
1920
  "filePath": "refactoring.main.runtime.ts",
1982
- "line": 103,
1921
+ "line": 96,
1983
1922
  "character": 89
1984
1923
  },
1985
1924
  "name": "targetId",
@@ -1987,7 +1926,7 @@
1987
1926
  "__schema": "TypeRefSchema",
1988
1927
  "location": {
1989
1928
  "filePath": "refactoring.main.runtime.ts",
1990
- "line": 103,
1929
+ "line": 96,
1991
1930
  "character": 99
1992
1931
  },
1993
1932
  "name": "ComponentID",
@@ -2004,7 +1943,7 @@
2004
1943
  "__schema": "InferenceTypeSchema",
2005
1944
  "location": {
2006
1945
  "filePath": "refactoring.main.runtime.ts",
2007
- "line": 103,
1946
+ "line": 96,
2008
1947
  "character": 3
2009
1948
  },
2010
1949
  "type": "Promise<void>"
@@ -2017,7 +1956,7 @@
2017
1956
  "__schema": "FunctionLikeSchema",
2018
1957
  "location": {
2019
1958
  "filePath": "refactoring.main.runtime.ts",
2020
- "line": 157,
1959
+ "line": 150,
2021
1960
  "character": 3
2022
1961
  },
2023
1962
  "signature": "(method) RefactoringMain.refactorFilenames(component: Component, sourceId: ComponentID, targetId: ComponentID): void",
@@ -2027,7 +1966,7 @@
2027
1966
  "__schema": "ParameterSchema",
2028
1967
  "location": {
2029
1968
  "filePath": "refactoring.main.runtime.ts",
2030
- "line": 157,
1969
+ "line": 150,
2031
1970
  "character": 21
2032
1971
  },
2033
1972
  "name": "component",
@@ -2035,7 +1974,7 @@
2035
1974
  "__schema": "TypeRefSchema",
2036
1975
  "location": {
2037
1976
  "filePath": "refactoring.main.runtime.ts",
2038
- "line": 157,
1977
+ "line": 150,
2039
1978
  "character": 32
2040
1979
  },
2041
1980
  "name": "Component",
@@ -2051,7 +1990,7 @@
2051
1990
  "__schema": "ParameterSchema",
2052
1991
  "location": {
2053
1992
  "filePath": "refactoring.main.runtime.ts",
2054
- "line": 157,
1993
+ "line": 150,
2055
1994
  "character": 43
2056
1995
  },
2057
1996
  "name": "sourceId",
@@ -2059,7 +1998,7 @@
2059
1998
  "__schema": "TypeRefSchema",
2060
1999
  "location": {
2061
2000
  "filePath": "refactoring.main.runtime.ts",
2062
- "line": 157,
2001
+ "line": 150,
2063
2002
  "character": 53
2064
2003
  },
2065
2004
  "name": "ComponentID",
@@ -2075,7 +2014,7 @@
2075
2014
  "__schema": "ParameterSchema",
2076
2015
  "location": {
2077
2016
  "filePath": "refactoring.main.runtime.ts",
2078
- "line": 157,
2017
+ "line": 150,
2079
2018
  "character": 66
2080
2019
  },
2081
2020
  "name": "targetId",
@@ -2083,7 +2022,7 @@
2083
2022
  "__schema": "TypeRefSchema",
2084
2023
  "location": {
2085
2024
  "filePath": "refactoring.main.runtime.ts",
2086
- "line": 157,
2025
+ "line": 150,
2087
2026
  "character": 76
2088
2027
  },
2089
2028
  "name": "ComponentID",
@@ -2100,7 +2039,7 @@
2100
2039
  "__schema": "InferenceTypeSchema",
2101
2040
  "location": {
2102
2041
  "filePath": "refactoring.main.runtime.ts",
2103
- "line": 157,
2042
+ "line": 150,
2104
2043
  "character": 3
2105
2044
  },
2106
2045
  "type": "void"
@@ -2111,14 +2050,14 @@
2111
2050
  "__schema": "FunctionLikeSchema",
2112
2051
  "location": {
2113
2052
  "filePath": "refactoring.main.runtime.ts",
2114
- "line": 169,
2053
+ "line": 162,
2115
2054
  "character": 3
2116
2055
  },
2117
2056
  "doc": {
2118
2057
  "__schema": "DocSchema",
2119
2058
  "location": {
2120
2059
  "filePath": "refactoring.main.runtime.ts",
2121
- "line": 165,
2060
+ "line": 158,
2122
2061
  "character": 3
2123
2062
  },
2124
2063
  "raw": "/**\n * rename multiple packages dependencies.\n * this method changes the source code of the component, but doesn't write to the filesystem.\n */",
@@ -2131,7 +2070,7 @@
2131
2070
  "__schema": "ParameterSchema",
2132
2071
  "location": {
2133
2072
  "filePath": "refactoring.main.runtime.ts",
2134
- "line": 170,
2073
+ "line": 163,
2135
2074
  "character": 5
2136
2075
  },
2137
2076
  "name": "components",
@@ -2139,14 +2078,14 @@
2139
2078
  "__schema": "TypeArraySchema",
2140
2079
  "location": {
2141
2080
  "filePath": "refactoring.main.runtime.ts",
2142
- "line": 170,
2081
+ "line": 163,
2143
2082
  "character": 17
2144
2083
  },
2145
2084
  "type": {
2146
2085
  "__schema": "TypeRefSchema",
2147
2086
  "location": {
2148
2087
  "filePath": "refactoring.main.runtime.ts",
2149
- "line": 170,
2088
+ "line": 163,
2150
2089
  "character": 17
2151
2090
  },
2152
2091
  "name": "Component",
@@ -2163,7 +2102,7 @@
2163
2102
  "__schema": "ParameterSchema",
2164
2103
  "location": {
2165
2104
  "filePath": "refactoring.main.runtime.ts",
2166
- "line": 171,
2105
+ "line": 164,
2167
2106
  "character": 5
2168
2107
  },
2169
2108
  "name": "stringsToReplace",
@@ -2171,7 +2110,7 @@
2171
2110
  "__schema": "TypeRefSchema",
2172
2111
  "location": {
2173
2112
  "filePath": "refactoring.main.runtime.ts",
2174
- "line": 171,
2113
+ "line": 164,
2175
2114
  "character": 23
2176
2115
  },
2177
2116
  "name": "MultipleStringsReplacement"
@@ -2184,7 +2123,7 @@
2184
2123
  "__schema": "ParameterSchema",
2185
2124
  "location": {
2186
2125
  "filePath": "refactoring.main.runtime.ts",
2187
- "line": 172,
2126
+ "line": 165,
2188
2127
  "character": 5
2189
2128
  },
2190
2129
  "name": "transformers",
@@ -2192,14 +2131,14 @@
2192
2131
  "__schema": "TypeArraySchema",
2193
2132
  "location": {
2194
2133
  "filePath": "refactoring.main.runtime.ts",
2195
- "line": 172,
2134
+ "line": 165,
2196
2135
  "character": 20
2197
2136
  },
2198
2137
  "type": {
2199
2138
  "__schema": "TypeRefSchema",
2200
2139
  "location": {
2201
2140
  "filePath": "refactoring.main.runtime.ts",
2202
- "line": 172,
2141
+ "line": 165,
2203
2142
  "character": 20
2204
2143
  },
2205
2144
  "name": "SourceFileTransformer",
@@ -2216,7 +2155,7 @@
2216
2155
  "__schema": "ParameterSchema",
2217
2156
  "location": {
2218
2157
  "filePath": "refactoring.main.runtime.ts",
2219
- "line": 173,
2158
+ "line": 166,
2220
2159
  "character": 5
2221
2160
  },
2222
2161
  "name": "shouldAvoidPackageNames",
@@ -2224,7 +2163,7 @@
2224
2163
  "__schema": "InferenceTypeSchema",
2225
2164
  "location": {
2226
2165
  "filePath": "refactoring.main.runtime.ts",
2227
- "line": 173,
2166
+ "line": 166,
2228
2167
  "character": 5
2229
2168
  },
2230
2169
  "type": "boolean"
@@ -2238,7 +2177,7 @@
2238
2177
  "__schema": "TypeRefSchema",
2239
2178
  "location": {
2240
2179
  "filePath": "refactoring.main.runtime.ts",
2241
- "line": 174,
2180
+ "line": 167,
2242
2181
  "character": 6
2243
2182
  },
2244
2183
  "name": "Promise",
@@ -2247,7 +2186,7 @@
2247
2186
  "__schema": "TypeLiteralSchema",
2248
2187
  "location": {
2249
2188
  "filePath": "refactoring.main.runtime.ts",
2250
- "line": 174,
2189
+ "line": 167,
2251
2190
  "character": 14
2252
2191
  },
2253
2192
  "members": [
@@ -2255,7 +2194,7 @@
2255
2194
  "__schema": "VariableLikeSchema",
2256
2195
  "location": {
2257
2196
  "filePath": "refactoring.main.runtime.ts",
2258
- "line": 175,
2197
+ "line": 168,
2259
2198
  "character": 5
2260
2199
  },
2261
2200
  "signature": "(property) changedComponents: Component[]",
@@ -2264,14 +2203,14 @@
2264
2203
  "__schema": "TypeArraySchema",
2265
2204
  "location": {
2266
2205
  "filePath": "refactoring.main.runtime.ts",
2267
- "line": 175,
2206
+ "line": 168,
2268
2207
  "character": 24
2269
2208
  },
2270
2209
  "type": {
2271
2210
  "__schema": "TypeRefSchema",
2272
2211
  "location": {
2273
2212
  "filePath": "refactoring.main.runtime.ts",
2274
- "line": 175,
2213
+ "line": 168,
2275
2214
  "character": 24
2276
2215
  },
2277
2216
  "name": "Component",
@@ -2295,7 +2234,7 @@
2295
2234
  "__schema": "VariableLikeSchema",
2296
2235
  "location": {
2297
2236
  "filePath": "refactoring.main.runtime.ts",
2298
- "line": 334,
2237
+ "line": 313,
2299
2238
  "character": 3
2300
2239
  },
2301
2240
  "signature": "(property) RefactoringMain.slots: never[]",
@@ -2304,7 +2243,7 @@
2304
2243
  "__schema": "InferenceTypeSchema",
2305
2244
  "location": {
2306
2245
  "filePath": "refactoring.main.runtime.ts",
2307
- "line": 334,
2246
+ "line": 313,
2308
2247
  "character": 3
2309
2248
  },
2310
2249
  "type": "never[]"
@@ -2316,7 +2255,7 @@
2316
2255
  "__schema": "VariableLikeSchema",
2317
2256
  "location": {
2318
2257
  "filePath": "refactoring.main.runtime.ts",
2319
- "line": 335,
2258
+ "line": 314,
2320
2259
  "character": 3
2321
2260
  },
2322
2261
  "signature": "(property) RefactoringMain.dependencies: Aspect[]",
@@ -2325,19 +2264,19 @@
2325
2264
  "__schema": "InferenceTypeSchema",
2326
2265
  "location": {
2327
2266
  "filePath": "refactoring.main.runtime.ts",
2328
- "line": 335,
2267
+ "line": 314,
2329
2268
  "character": 3
2330
2269
  },
2331
2270
  "type": "Aspect[]"
2332
2271
  },
2333
2272
  "isOptional": true,
2334
- "defaultValue": "[ComponentAspect, PkgAspect, CLIAspect, EnvsAspect, PrettierAspect]"
2273
+ "defaultValue": "[ComponentAspect, PkgAspect, CLIAspect, EnvsAspect]"
2335
2274
  },
2336
2275
  {
2337
2276
  "__schema": "VariableLikeSchema",
2338
2277
  "location": {
2339
2278
  "filePath": "refactoring.main.runtime.ts",
2340
- "line": 336,
2279
+ "line": 315,
2341
2280
  "character": 3
2342
2281
  },
2343
2282
  "signature": "(property) RefactoringMain.runtime: RuntimeDefinition",
@@ -2346,7 +2285,7 @@
2346
2285
  "__schema": "InferenceTypeSchema",
2347
2286
  "location": {
2348
2287
  "filePath": "refactoring.main.runtime.ts",
2349
- "line": 336,
2288
+ "line": 315,
2350
2289
  "character": 3
2351
2290
  },
2352
2291
  "type": "RuntimeDefinition"
@@ -2358,34 +2297,34 @@
2358
2297
  "__schema": "FunctionLikeSchema",
2359
2298
  "location": {
2360
2299
  "filePath": "refactoring.main.runtime.ts",
2361
- "line": 337,
2300
+ "line": 316,
2362
2301
  "character": 3
2363
2302
  },
2364
- "signature": "(method) RefactoringMain.provider([componentMain, pkg, cli, envMain, prettierMain]: [\n ComponentMain,\n PkgMain,\n CLIMain,\n EnvsMain,\n PrettierMain\n]): Promise<RefactoringMain>",
2303
+ "signature": "(method) RefactoringMain.provider([componentMain, pkg, cli, envMain]: [ComponentMain, PkgMain, CLIMain, EnvsMain]): Promise<RefactoringMain>",
2365
2304
  "name": "provider",
2366
2305
  "params": [
2367
2306
  {
2368
2307
  "__schema": "ParameterSchema",
2369
2308
  "location": {
2370
2309
  "filePath": "refactoring.main.runtime.ts",
2371
- "line": 337,
2310
+ "line": 316,
2372
2311
  "character": 25
2373
2312
  },
2374
- "name": "[ componentMain, pkg, cli, envMain, prettierMain ]",
2313
+ "name": "[ componentMain, pkg, cli, envMain ]",
2375
2314
  "type": {
2376
2315
  "__schema": "TupleTypeSchema",
2377
2316
  "location": {
2378
2317
  "filePath": "refactoring.main.runtime.ts",
2379
- "line": 337,
2380
- "character": 75
2318
+ "line": 316,
2319
+ "character": 61
2381
2320
  },
2382
2321
  "elements": [
2383
2322
  {
2384
2323
  "__schema": "TypeRefSchema",
2385
2324
  "location": {
2386
2325
  "filePath": "refactoring.main.runtime.ts",
2387
- "line": 338,
2388
- "character": 5
2326
+ "line": 316,
2327
+ "character": 62
2389
2328
  },
2390
2329
  "name": "ComponentMain",
2391
2330
  "componentId": {
@@ -2397,8 +2336,8 @@
2397
2336
  "__schema": "TypeRefSchema",
2398
2337
  "location": {
2399
2338
  "filePath": "refactoring.main.runtime.ts",
2400
- "line": 339,
2401
- "character": 5
2339
+ "line": 316,
2340
+ "character": 77
2402
2341
  },
2403
2342
  "name": "PkgMain",
2404
2343
  "componentId": {
@@ -2410,8 +2349,8 @@
2410
2349
  "__schema": "TypeRefSchema",
2411
2350
  "location": {
2412
2351
  "filePath": "refactoring.main.runtime.ts",
2413
- "line": 340,
2414
- "character": 5
2352
+ "line": 316,
2353
+ "character": 86
2415
2354
  },
2416
2355
  "name": "CLIMain",
2417
2356
  "componentId": {
@@ -2423,27 +2362,14 @@
2423
2362
  "__schema": "TypeRefSchema",
2424
2363
  "location": {
2425
2364
  "filePath": "refactoring.main.runtime.ts",
2426
- "line": 341,
2427
- "character": 5
2365
+ "line": 316,
2366
+ "character": 95
2428
2367
  },
2429
2368
  "name": "EnvsMain",
2430
2369
  "componentId": {
2431
2370
  "scope": "teambit.envs",
2432
2371
  "name": "envs"
2433
2372
  }
2434
- },
2435
- {
2436
- "__schema": "TypeRefSchema",
2437
- "location": {
2438
- "filePath": "refactoring.main.runtime.ts",
2439
- "line": 342,
2440
- "character": 5
2441
- },
2442
- "name": "PrettierMain",
2443
- "componentId": {
2444
- "scope": "teambit.defender",
2445
- "name": "prettier"
2446
- }
2447
2373
  }
2448
2374
  ]
2449
2375
  },
@@ -2455,7 +2381,7 @@
2455
2381
  "__schema": "InferenceTypeSchema",
2456
2382
  "location": {
2457
2383
  "filePath": "refactoring.main.runtime.ts",
2458
- "line": 337,
2384
+ "line": 316,
2459
2385
  "character": 3
2460
2386
  },
2461
2387
  "type": "Promise<RefactoringMain>"
@@ -2475,7 +2401,7 @@
2475
2401
  "__schema": "UnImplementedSchema",
2476
2402
  "location": {
2477
2403
  "filePath": "refactoring.main.runtime.ts",
2478
- "line": 353,
2404
+ "line": 326,
2479
2405
  "character": 1
2480
2406
  },
2481
2407
  "name": "RefactoringAspect.addRuntime(RefactoringMain);",
@@ -2524,7 +2450,7 @@
2524
2450
  "componentId": {
2525
2451
  "scope": "teambit.component",
2526
2452
  "name": "refactoring",
2527
- "version": "1.0.207"
2453
+ "version": "1.0.209"
2528
2454
  },
2529
2455
  "taggedModuleExports": []
2530
2456
  }