@teambit/mover 1.0.511 → 1.0.513

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.component/mover@1.0.511" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/mover@1.0.513" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -0,0 +1,1078 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ExportSchema",
18
+ "location": {
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
+ },
23
+ "signature": "class MoverMain",
24
+ "name": "MoverMain",
25
+ "exportNode": {
26
+ "__schema": "ClassSchema",
27
+ "location": {
28
+ "filePath": "mover.main.runtime.ts",
29
+ "line": 15,
30
+ "character": 1
31
+ },
32
+ "signature": "class MoverMain",
33
+ "name": "MoverMain",
34
+ "members": [
35
+ {
36
+ "__schema": "ConstructorSchema",
37
+ "location": {
38
+ "filePath": "mover.main.runtime.ts",
39
+ "line": 16,
40
+ "character": 3
41
+ },
42
+ "signature": "constructor MoverMain(workspace: Workspace): MoverMain",
43
+ "name": "constructor",
44
+ "params": [
45
+ {
46
+ "__schema": "ParameterSchema",
47
+ "location": {
48
+ "filePath": "mover.main.runtime.ts",
49
+ "line": 16,
50
+ "character": 15
51
+ },
52
+ "name": "workspace",
53
+ "type": {
54
+ "__schema": "TypeRefSchema",
55
+ "location": {
56
+ "filePath": "mover.main.runtime.ts",
57
+ "line": 16,
58
+ "character": 34
59
+ },
60
+ "name": "Workspace"
61
+ },
62
+ "isOptional": false,
63
+ "isSpread": false
64
+ }
65
+ ],
66
+ "returnType": {
67
+ "__schema": "ThisTypeSchema",
68
+ "location": {
69
+ "filePath": "mover.main.runtime.ts",
70
+ "line": 15,
71
+ "character": 1
72
+ },
73
+ "name": "MoverMain"
74
+ },
75
+ "modifiers": []
76
+ },
77
+ {
78
+ "__schema": "FunctionLikeSchema",
79
+ "location": {
80
+ "filePath": "mover.main.runtime.ts",
81
+ "line": 18,
82
+ "character": 3
83
+ },
84
+ "signature": "(method) MoverMain.movePaths({ from, to }: {\n from: PathOsBasedRelative;\n to: PathOsBasedRelative;\n}): Promise<PathChangeResult[]>",
85
+ "name": "movePaths",
86
+ "params": [
87
+ {
88
+ "__schema": "ParameterSchema",
89
+ "location": {
90
+ "filePath": "mover.main.runtime.ts",
91
+ "line": 18,
92
+ "character": 19
93
+ },
94
+ "name": "{ from, to }",
95
+ "type": {
96
+ "__schema": "TypeLiteralSchema",
97
+ "location": {
98
+ "filePath": "mover.main.runtime.ts",
99
+ "line": 18,
100
+ "character": 33
101
+ },
102
+ "members": [
103
+ {
104
+ "__schema": "VariableLikeSchema",
105
+ "location": {
106
+ "filePath": "mover.main.runtime.ts",
107
+ "line": 18,
108
+ "character": 35
109
+ },
110
+ "signature": "(property) from: string",
111
+ "name": "from",
112
+ "type": {
113
+ "__schema": "TypeRefSchema",
114
+ "location": {
115
+ "filePath": "mover.main.runtime.ts",
116
+ "line": 18,
117
+ "character": 41
118
+ },
119
+ "name": "PathOsBasedRelative"
120
+ },
121
+ "isOptional": false
122
+ },
123
+ {
124
+ "__schema": "VariableLikeSchema",
125
+ "location": {
126
+ "filePath": "mover.main.runtime.ts",
127
+ "line": 18,
128
+ "character": 62
129
+ },
130
+ "signature": "(property) to: string",
131
+ "name": "to",
132
+ "type": {
133
+ "__schema": "TypeRefSchema",
134
+ "location": {
135
+ "filePath": "mover.main.runtime.ts",
136
+ "line": 18,
137
+ "character": 66
138
+ },
139
+ "name": "PathOsBasedRelative"
140
+ },
141
+ "isOptional": false
142
+ }
143
+ ]
144
+ },
145
+ "isOptional": false,
146
+ "objectBindingNodes": [
147
+ {
148
+ "__schema": "VariableLikeSchema",
149
+ "location": {
150
+ "filePath": "mover.main.runtime.ts",
151
+ "line": 18,
152
+ "character": 35
153
+ },
154
+ "signature": "(property) from: string",
155
+ "name": "from",
156
+ "type": {
157
+ "__schema": "TypeRefSchema",
158
+ "location": {
159
+ "filePath": "mover.main.runtime.ts",
160
+ "line": 18,
161
+ "character": 41
162
+ },
163
+ "name": "PathOsBasedRelative"
164
+ },
165
+ "isOptional": false
166
+ },
167
+ {
168
+ "__schema": "VariableLikeSchema",
169
+ "location": {
170
+ "filePath": "mover.main.runtime.ts",
171
+ "line": 18,
172
+ "character": 62
173
+ },
174
+ "signature": "(property) to: string",
175
+ "name": "to",
176
+ "type": {
177
+ "__schema": "TypeRefSchema",
178
+ "location": {
179
+ "filePath": "mover.main.runtime.ts",
180
+ "line": 18,
181
+ "character": 66
182
+ },
183
+ "name": "PathOsBasedRelative"
184
+ },
185
+ "isOptional": false
186
+ }
187
+ ],
188
+ "isSpread": false
189
+ }
190
+ ],
191
+ "returnType": {
192
+ "__schema": "TypeRefSchema",
193
+ "location": {
194
+ "filePath": "mover.main.runtime.ts",
195
+ "line": 18,
196
+ "character": 90
197
+ },
198
+ "name": "Promise",
199
+ "typeArgs": [
200
+ {
201
+ "__schema": "TypeArraySchema",
202
+ "location": {
203
+ "filePath": "mover.main.runtime.ts",
204
+ "line": 18,
205
+ "character": 98
206
+ },
207
+ "type": {
208
+ "__schema": "TypeRefSchema",
209
+ "location": {
210
+ "filePath": "mover.main.runtime.ts",
211
+ "line": 18,
212
+ "character": 98
213
+ },
214
+ "name": "PathChangeResult"
215
+ }
216
+ }
217
+ ]
218
+ },
219
+ "modifiers": [
220
+ "async"
221
+ ]
222
+ },
223
+ {
224
+ "__schema": "FunctionLikeSchema",
225
+ "location": {
226
+ "filePath": "mover.main.runtime.ts",
227
+ "line": 51,
228
+ "character": 3
229
+ },
230
+ "signature": "(method) MoverMain.moveExistingComponent(component: Component, oldPath: PathOsBasedAbsolute, newPath: PathOsBasedAbsolute): void",
231
+ "name": "moveExistingComponent",
232
+ "params": [
233
+ {
234
+ "__schema": "ParameterSchema",
235
+ "location": {
236
+ "filePath": "mover.main.runtime.ts",
237
+ "line": 51,
238
+ "character": 25
239
+ },
240
+ "name": "component",
241
+ "type": {
242
+ "__schema": "TypeRefSchema",
243
+ "location": {
244
+ "filePath": "mover.main.runtime.ts",
245
+ "line": 51,
246
+ "character": 36
247
+ },
248
+ "name": "Component"
249
+ },
250
+ "isOptional": false,
251
+ "isSpread": false
252
+ },
253
+ {
254
+ "__schema": "ParameterSchema",
255
+ "location": {
256
+ "filePath": "mover.main.runtime.ts",
257
+ "line": 51,
258
+ "character": 47
259
+ },
260
+ "name": "oldPath",
261
+ "type": {
262
+ "__schema": "TypeRefSchema",
263
+ "location": {
264
+ "filePath": "mover.main.runtime.ts",
265
+ "line": 51,
266
+ "character": 56
267
+ },
268
+ "name": "PathOsBasedAbsolute"
269
+ },
270
+ "isOptional": false,
271
+ "isSpread": false
272
+ },
273
+ {
274
+ "__schema": "ParameterSchema",
275
+ "location": {
276
+ "filePath": "mover.main.runtime.ts",
277
+ "line": 51,
278
+ "character": 77
279
+ },
280
+ "name": "newPath",
281
+ "type": {
282
+ "__schema": "TypeRefSchema",
283
+ "location": {
284
+ "filePath": "mover.main.runtime.ts",
285
+ "line": 51,
286
+ "character": 86
287
+ },
288
+ "name": "PathOsBasedAbsolute"
289
+ },
290
+ "isOptional": false,
291
+ "isSpread": false
292
+ }
293
+ ],
294
+ "returnType": {
295
+ "__schema": "InferenceTypeSchema",
296
+ "location": {
297
+ "filePath": "mover.main.runtime.ts",
298
+ "line": 51,
299
+ "character": 3
300
+ },
301
+ "type": "void"
302
+ },
303
+ "modifiers": []
304
+ },
305
+ {
306
+ "__schema": "VariableLikeSchema",
307
+ "location": {
308
+ "filePath": "mover.main.runtime.ts",
309
+ "line": 72,
310
+ "character": 3
311
+ },
312
+ "signature": "(property) MoverMain.slots: never[]",
313
+ "name": "slots",
314
+ "type": {
315
+ "__schema": "InferenceTypeSchema",
316
+ "location": {
317
+ "filePath": "mover.main.runtime.ts",
318
+ "line": 72,
319
+ "character": 3
320
+ },
321
+ "type": "never[]"
322
+ },
323
+ "isOptional": true,
324
+ "defaultValue": "[]"
325
+ },
326
+ {
327
+ "__schema": "VariableLikeSchema",
328
+ "location": {
329
+ "filePath": "mover.main.runtime.ts",
330
+ "line": 73,
331
+ "character": 3
332
+ },
333
+ "signature": "(property) MoverMain.dependencies: Aspect[]",
334
+ "name": "dependencies",
335
+ "type": {
336
+ "__schema": "InferenceTypeSchema",
337
+ "location": {
338
+ "filePath": "mover.main.runtime.ts",
339
+ "line": 73,
340
+ "character": 3
341
+ },
342
+ "type": "Aspect[]"
343
+ },
344
+ "isOptional": true,
345
+ "defaultValue": "[CLIAspect, WorkspaceAspect]"
346
+ },
347
+ {
348
+ "__schema": "VariableLikeSchema",
349
+ "location": {
350
+ "filePath": "mover.main.runtime.ts",
351
+ "line": 74,
352
+ "character": 3
353
+ },
354
+ "signature": "(property) MoverMain.runtime: RuntimeDefinition",
355
+ "name": "runtime",
356
+ "type": {
357
+ "__schema": "InferenceTypeSchema",
358
+ "location": {
359
+ "filePath": "mover.main.runtime.ts",
360
+ "line": 74,
361
+ "character": 3
362
+ },
363
+ "type": "RuntimeDefinition"
364
+ },
365
+ "isOptional": true,
366
+ "defaultValue": "MainRuntime"
367
+ },
368
+ {
369
+ "__schema": "FunctionLikeSchema",
370
+ "location": {
371
+ "filePath": "mover.main.runtime.ts",
372
+ "line": 76,
373
+ "character": 3
374
+ },
375
+ "signature": "(method) MoverMain.provider([cli, workspace]: [CLIMain, Workspace]): Promise<MoverMain>",
376
+ "name": "provider",
377
+ "params": [
378
+ {
379
+ "__schema": "ParameterSchema",
380
+ "location": {
381
+ "filePath": "mover.main.runtime.ts",
382
+ "line": 76,
383
+ "character": 25
384
+ },
385
+ "name": "[ cli, workspace ]",
386
+ "type": {
387
+ "__schema": "TupleTypeSchema",
388
+ "location": {
389
+ "filePath": "mover.main.runtime.ts",
390
+ "line": 76,
391
+ "character": 43
392
+ },
393
+ "elements": [
394
+ {
395
+ "__schema": "TypeRefSchema",
396
+ "location": {
397
+ "filePath": "mover.main.runtime.ts",
398
+ "line": 76,
399
+ "character": 44
400
+ },
401
+ "name": "CLIMain"
402
+ },
403
+ {
404
+ "__schema": "TypeRefSchema",
405
+ "location": {
406
+ "filePath": "mover.main.runtime.ts",
407
+ "line": 76,
408
+ "character": 53
409
+ },
410
+ "name": "Workspace"
411
+ }
412
+ ]
413
+ },
414
+ "isOptional": false,
415
+ "isSpread": false
416
+ }
417
+ ],
418
+ "returnType": {
419
+ "__schema": "InferenceTypeSchema",
420
+ "location": {
421
+ "filePath": "mover.main.runtime.ts",
422
+ "line": 76,
423
+ "character": 3
424
+ },
425
+ "type": "Promise<MoverMain>"
426
+ },
427
+ "modifiers": [
428
+ "static",
429
+ "async"
430
+ ]
431
+ }
432
+ ],
433
+ "extendsNodes": [],
434
+ "implementNodes": []
435
+ }
436
+ },
437
+ {
438
+ "__schema": "UnImplementedSchema",
439
+ "location": {
440
+ "filePath": "index.ts",
441
+ "line": 4,
442
+ "character": 16
443
+ },
444
+ "name": "MoverAspect",
445
+ "type": "Identifier"
446
+ },
447
+ {
448
+ "__schema": "ExportSchema",
449
+ "location": {
450
+ "filePath": "index.ts",
451
+ "line": 5,
452
+ "character": 10
453
+ },
454
+ "signature": "const MoverAspect: Aspect",
455
+ "name": "MoverAspect",
456
+ "exportNode": {
457
+ "__schema": "VariableLikeSchema",
458
+ "location": {
459
+ "filePath": "mover.aspect.ts",
460
+ "line": 3,
461
+ "character": 14
462
+ },
463
+ "signature": "const MoverAspect: Aspect",
464
+ "name": "MoverAspect",
465
+ "type": {
466
+ "__schema": "TypeRefSchema",
467
+ "location": {
468
+ "filePath": "mover.aspect.ts",
469
+ "line": 3,
470
+ "character": 14
471
+ },
472
+ "name": "Aspect",
473
+ "componentId": {
474
+ "scope": "teambit.harmony",
475
+ "name": "harmony",
476
+ "version": "0.4.6"
477
+ }
478
+ },
479
+ "isOptional": false,
480
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/mover',\n})"
481
+ }
482
+ }
483
+ ],
484
+ "internals": []
485
+ },
486
+ "internals": [
487
+ {
488
+ "__schema": "ModuleSchema",
489
+ "location": {
490
+ "filePath": "mover.main.runtime.ts",
491
+ "line": 1,
492
+ "character": 1
493
+ },
494
+ "exports": [
495
+ {
496
+ "__schema": "ClassSchema",
497
+ "location": {
498
+ "filePath": "mover.main.runtime.ts",
499
+ "line": 15,
500
+ "character": 1
501
+ },
502
+ "signature": "class MoverMain",
503
+ "name": "MoverMain",
504
+ "members": [
505
+ {
506
+ "__schema": "ConstructorSchema",
507
+ "location": {
508
+ "filePath": "mover.main.runtime.ts",
509
+ "line": 16,
510
+ "character": 3
511
+ },
512
+ "signature": "constructor MoverMain(workspace: Workspace): MoverMain",
513
+ "name": "constructor",
514
+ "params": [
515
+ {
516
+ "__schema": "ParameterSchema",
517
+ "location": {
518
+ "filePath": "mover.main.runtime.ts",
519
+ "line": 16,
520
+ "character": 15
521
+ },
522
+ "name": "workspace",
523
+ "type": {
524
+ "__schema": "TypeRefSchema",
525
+ "location": {
526
+ "filePath": "mover.main.runtime.ts",
527
+ "line": 16,
528
+ "character": 34
529
+ },
530
+ "name": "Workspace"
531
+ },
532
+ "isOptional": false,
533
+ "isSpread": false
534
+ }
535
+ ],
536
+ "returnType": {
537
+ "__schema": "ThisTypeSchema",
538
+ "location": {
539
+ "filePath": "mover.main.runtime.ts",
540
+ "line": 15,
541
+ "character": 1
542
+ },
543
+ "name": "MoverMain"
544
+ },
545
+ "modifiers": []
546
+ },
547
+ {
548
+ "__schema": "FunctionLikeSchema",
549
+ "location": {
550
+ "filePath": "mover.main.runtime.ts",
551
+ "line": 18,
552
+ "character": 3
553
+ },
554
+ "signature": "(method) MoverMain.movePaths({ from, to }: {\n from: PathOsBasedRelative;\n to: PathOsBasedRelative;\n}): Promise<PathChangeResult[]>",
555
+ "name": "movePaths",
556
+ "params": [
557
+ {
558
+ "__schema": "ParameterSchema",
559
+ "location": {
560
+ "filePath": "mover.main.runtime.ts",
561
+ "line": 18,
562
+ "character": 19
563
+ },
564
+ "name": "{ from, to }",
565
+ "type": {
566
+ "__schema": "TypeLiteralSchema",
567
+ "location": {
568
+ "filePath": "mover.main.runtime.ts",
569
+ "line": 18,
570
+ "character": 33
571
+ },
572
+ "members": [
573
+ {
574
+ "__schema": "VariableLikeSchema",
575
+ "location": {
576
+ "filePath": "mover.main.runtime.ts",
577
+ "line": 18,
578
+ "character": 35
579
+ },
580
+ "signature": "(property) from: string",
581
+ "name": "from",
582
+ "type": {
583
+ "__schema": "TypeRefSchema",
584
+ "location": {
585
+ "filePath": "mover.main.runtime.ts",
586
+ "line": 18,
587
+ "character": 41
588
+ },
589
+ "name": "PathOsBasedRelative"
590
+ },
591
+ "isOptional": false
592
+ },
593
+ {
594
+ "__schema": "VariableLikeSchema",
595
+ "location": {
596
+ "filePath": "mover.main.runtime.ts",
597
+ "line": 18,
598
+ "character": 62
599
+ },
600
+ "signature": "(property) to: string",
601
+ "name": "to",
602
+ "type": {
603
+ "__schema": "TypeRefSchema",
604
+ "location": {
605
+ "filePath": "mover.main.runtime.ts",
606
+ "line": 18,
607
+ "character": 66
608
+ },
609
+ "name": "PathOsBasedRelative"
610
+ },
611
+ "isOptional": false
612
+ }
613
+ ]
614
+ },
615
+ "isOptional": false,
616
+ "objectBindingNodes": [
617
+ {
618
+ "__schema": "VariableLikeSchema",
619
+ "location": {
620
+ "filePath": "mover.main.runtime.ts",
621
+ "line": 18,
622
+ "character": 35
623
+ },
624
+ "signature": "(property) from: string",
625
+ "name": "from",
626
+ "type": {
627
+ "__schema": "TypeRefSchema",
628
+ "location": {
629
+ "filePath": "mover.main.runtime.ts",
630
+ "line": 18,
631
+ "character": 41
632
+ },
633
+ "name": "PathOsBasedRelative"
634
+ },
635
+ "isOptional": false
636
+ },
637
+ {
638
+ "__schema": "VariableLikeSchema",
639
+ "location": {
640
+ "filePath": "mover.main.runtime.ts",
641
+ "line": 18,
642
+ "character": 62
643
+ },
644
+ "signature": "(property) to: string",
645
+ "name": "to",
646
+ "type": {
647
+ "__schema": "TypeRefSchema",
648
+ "location": {
649
+ "filePath": "mover.main.runtime.ts",
650
+ "line": 18,
651
+ "character": 66
652
+ },
653
+ "name": "PathOsBasedRelative"
654
+ },
655
+ "isOptional": false
656
+ }
657
+ ],
658
+ "isSpread": false
659
+ }
660
+ ],
661
+ "returnType": {
662
+ "__schema": "TypeRefSchema",
663
+ "location": {
664
+ "filePath": "mover.main.runtime.ts",
665
+ "line": 18,
666
+ "character": 90
667
+ },
668
+ "name": "Promise",
669
+ "typeArgs": [
670
+ {
671
+ "__schema": "TypeArraySchema",
672
+ "location": {
673
+ "filePath": "mover.main.runtime.ts",
674
+ "line": 18,
675
+ "character": 98
676
+ },
677
+ "type": {
678
+ "__schema": "TypeRefSchema",
679
+ "location": {
680
+ "filePath": "mover.main.runtime.ts",
681
+ "line": 18,
682
+ "character": 98
683
+ },
684
+ "name": "PathChangeResult"
685
+ }
686
+ }
687
+ ]
688
+ },
689
+ "modifiers": [
690
+ "async"
691
+ ]
692
+ },
693
+ {
694
+ "__schema": "FunctionLikeSchema",
695
+ "location": {
696
+ "filePath": "mover.main.runtime.ts",
697
+ "line": 51,
698
+ "character": 3
699
+ },
700
+ "signature": "(method) MoverMain.moveExistingComponent(component: Component, oldPath: PathOsBasedAbsolute, newPath: PathOsBasedAbsolute): void",
701
+ "name": "moveExistingComponent",
702
+ "params": [
703
+ {
704
+ "__schema": "ParameterSchema",
705
+ "location": {
706
+ "filePath": "mover.main.runtime.ts",
707
+ "line": 51,
708
+ "character": 25
709
+ },
710
+ "name": "component",
711
+ "type": {
712
+ "__schema": "TypeRefSchema",
713
+ "location": {
714
+ "filePath": "mover.main.runtime.ts",
715
+ "line": 51,
716
+ "character": 36
717
+ },
718
+ "name": "Component"
719
+ },
720
+ "isOptional": false,
721
+ "isSpread": false
722
+ },
723
+ {
724
+ "__schema": "ParameterSchema",
725
+ "location": {
726
+ "filePath": "mover.main.runtime.ts",
727
+ "line": 51,
728
+ "character": 47
729
+ },
730
+ "name": "oldPath",
731
+ "type": {
732
+ "__schema": "TypeRefSchema",
733
+ "location": {
734
+ "filePath": "mover.main.runtime.ts",
735
+ "line": 51,
736
+ "character": 56
737
+ },
738
+ "name": "PathOsBasedAbsolute"
739
+ },
740
+ "isOptional": false,
741
+ "isSpread": false
742
+ },
743
+ {
744
+ "__schema": "ParameterSchema",
745
+ "location": {
746
+ "filePath": "mover.main.runtime.ts",
747
+ "line": 51,
748
+ "character": 77
749
+ },
750
+ "name": "newPath",
751
+ "type": {
752
+ "__schema": "TypeRefSchema",
753
+ "location": {
754
+ "filePath": "mover.main.runtime.ts",
755
+ "line": 51,
756
+ "character": 86
757
+ },
758
+ "name": "PathOsBasedAbsolute"
759
+ },
760
+ "isOptional": false,
761
+ "isSpread": false
762
+ }
763
+ ],
764
+ "returnType": {
765
+ "__schema": "InferenceTypeSchema",
766
+ "location": {
767
+ "filePath": "mover.main.runtime.ts",
768
+ "line": 51,
769
+ "character": 3
770
+ },
771
+ "type": "void"
772
+ },
773
+ "modifiers": []
774
+ },
775
+ {
776
+ "__schema": "VariableLikeSchema",
777
+ "location": {
778
+ "filePath": "mover.main.runtime.ts",
779
+ "line": 72,
780
+ "character": 3
781
+ },
782
+ "signature": "(property) MoverMain.slots: never[]",
783
+ "name": "slots",
784
+ "type": {
785
+ "__schema": "InferenceTypeSchema",
786
+ "location": {
787
+ "filePath": "mover.main.runtime.ts",
788
+ "line": 72,
789
+ "character": 3
790
+ },
791
+ "type": "never[]"
792
+ },
793
+ "isOptional": true,
794
+ "defaultValue": "[]"
795
+ },
796
+ {
797
+ "__schema": "VariableLikeSchema",
798
+ "location": {
799
+ "filePath": "mover.main.runtime.ts",
800
+ "line": 73,
801
+ "character": 3
802
+ },
803
+ "signature": "(property) MoverMain.dependencies: Aspect[]",
804
+ "name": "dependencies",
805
+ "type": {
806
+ "__schema": "InferenceTypeSchema",
807
+ "location": {
808
+ "filePath": "mover.main.runtime.ts",
809
+ "line": 73,
810
+ "character": 3
811
+ },
812
+ "type": "Aspect[]"
813
+ },
814
+ "isOptional": true,
815
+ "defaultValue": "[CLIAspect, WorkspaceAspect]"
816
+ },
817
+ {
818
+ "__schema": "VariableLikeSchema",
819
+ "location": {
820
+ "filePath": "mover.main.runtime.ts",
821
+ "line": 74,
822
+ "character": 3
823
+ },
824
+ "signature": "(property) MoverMain.runtime: RuntimeDefinition",
825
+ "name": "runtime",
826
+ "type": {
827
+ "__schema": "InferenceTypeSchema",
828
+ "location": {
829
+ "filePath": "mover.main.runtime.ts",
830
+ "line": 74,
831
+ "character": 3
832
+ },
833
+ "type": "RuntimeDefinition"
834
+ },
835
+ "isOptional": true,
836
+ "defaultValue": "MainRuntime"
837
+ },
838
+ {
839
+ "__schema": "FunctionLikeSchema",
840
+ "location": {
841
+ "filePath": "mover.main.runtime.ts",
842
+ "line": 76,
843
+ "character": 3
844
+ },
845
+ "signature": "(method) MoverMain.provider([cli, workspace]: [CLIMain, Workspace]): Promise<MoverMain>",
846
+ "name": "provider",
847
+ "params": [
848
+ {
849
+ "__schema": "ParameterSchema",
850
+ "location": {
851
+ "filePath": "mover.main.runtime.ts",
852
+ "line": 76,
853
+ "character": 25
854
+ },
855
+ "name": "[ cli, workspace ]",
856
+ "type": {
857
+ "__schema": "TupleTypeSchema",
858
+ "location": {
859
+ "filePath": "mover.main.runtime.ts",
860
+ "line": 76,
861
+ "character": 43
862
+ },
863
+ "elements": [
864
+ {
865
+ "__schema": "TypeRefSchema",
866
+ "location": {
867
+ "filePath": "mover.main.runtime.ts",
868
+ "line": 76,
869
+ "character": 44
870
+ },
871
+ "name": "CLIMain"
872
+ },
873
+ {
874
+ "__schema": "TypeRefSchema",
875
+ "location": {
876
+ "filePath": "mover.main.runtime.ts",
877
+ "line": 76,
878
+ "character": 53
879
+ },
880
+ "name": "Workspace"
881
+ }
882
+ ]
883
+ },
884
+ "isOptional": false,
885
+ "isSpread": false
886
+ }
887
+ ],
888
+ "returnType": {
889
+ "__schema": "InferenceTypeSchema",
890
+ "location": {
891
+ "filePath": "mover.main.runtime.ts",
892
+ "line": 76,
893
+ "character": 3
894
+ },
895
+ "type": "Promise<MoverMain>"
896
+ },
897
+ "modifiers": [
898
+ "static",
899
+ "async"
900
+ ]
901
+ }
902
+ ],
903
+ "extendsNodes": [],
904
+ "implementNodes": []
905
+ },
906
+ {
907
+ "__schema": "UnImplementedSchema",
908
+ "location": {
909
+ "filePath": "mover.main.runtime.ts",
910
+ "line": 85,
911
+ "character": 16
912
+ },
913
+ "name": "MoverMain",
914
+ "type": "Identifier"
915
+ },
916
+ {
917
+ "__schema": "FunctionLikeSchema",
918
+ "location": {
919
+ "filePath": "mover.main.runtime.ts",
920
+ "line": 87,
921
+ "character": 1
922
+ },
923
+ "signature": "function moveSync(src: PathOsBasedAbsolute, dest: PathOsBasedAbsolute, options?: Record<string, any>): void",
924
+ "name": "moveSync",
925
+ "params": [
926
+ {
927
+ "__schema": "ParameterSchema",
928
+ "location": {
929
+ "filePath": "mover.main.runtime.ts",
930
+ "line": 87,
931
+ "character": 26
932
+ },
933
+ "name": "src",
934
+ "type": {
935
+ "__schema": "TypeRefSchema",
936
+ "location": {
937
+ "filePath": "mover.main.runtime.ts",
938
+ "line": 87,
939
+ "character": 31
940
+ },
941
+ "name": "PathOsBasedAbsolute"
942
+ },
943
+ "isOptional": false,
944
+ "isSpread": false
945
+ },
946
+ {
947
+ "__schema": "ParameterSchema",
948
+ "location": {
949
+ "filePath": "mover.main.runtime.ts",
950
+ "line": 87,
951
+ "character": 52
952
+ },
953
+ "name": "dest",
954
+ "type": {
955
+ "__schema": "TypeRefSchema",
956
+ "location": {
957
+ "filePath": "mover.main.runtime.ts",
958
+ "line": 87,
959
+ "character": 58
960
+ },
961
+ "name": "PathOsBasedAbsolute"
962
+ },
963
+ "isOptional": false,
964
+ "isSpread": false
965
+ },
966
+ {
967
+ "__schema": "ParameterSchema",
968
+ "location": {
969
+ "filePath": "mover.main.runtime.ts",
970
+ "line": 87,
971
+ "character": 79
972
+ },
973
+ "name": "options",
974
+ "type": {
975
+ "__schema": "TypeRefSchema",
976
+ "location": {
977
+ "filePath": "mover.main.runtime.ts",
978
+ "line": 87,
979
+ "character": 89
980
+ },
981
+ "name": "Record",
982
+ "typeArgs": [
983
+ {
984
+ "__schema": "KeywordTypeSchema",
985
+ "location": {
986
+ "filePath": "mover.main.runtime.ts",
987
+ "line": 87,
988
+ "character": 96
989
+ },
990
+ "name": "string"
991
+ },
992
+ {
993
+ "__schema": "KeywordTypeSchema",
994
+ "location": {
995
+ "filePath": "mover.main.runtime.ts",
996
+ "line": 87,
997
+ "character": 104
998
+ },
999
+ "name": "any"
1000
+ }
1001
+ ]
1002
+ },
1003
+ "isOptional": true,
1004
+ "isSpread": false
1005
+ }
1006
+ ],
1007
+ "returnType": {
1008
+ "__schema": "InferenceTypeSchema",
1009
+ "location": {
1010
+ "filePath": "mover.main.runtime.ts",
1011
+ "line": 87,
1012
+ "character": 1
1013
+ },
1014
+ "type": "void"
1015
+ },
1016
+ "modifiers": [
1017
+ "export"
1018
+ ]
1019
+ }
1020
+ ],
1021
+ "internals": [
1022
+ {
1023
+ "__schema": "UnImplementedSchema",
1024
+ "location": {
1025
+ "filePath": "mover.main.runtime.ts",
1026
+ "line": 83,
1027
+ "character": 1
1028
+ },
1029
+ "name": "MoverAspect.addRuntime(MoverMain);",
1030
+ "type": "ExpressionStatement"
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "__schema": "ModuleSchema",
1036
+ "location": {
1037
+ "filePath": "mover.aspect.ts",
1038
+ "line": 1,
1039
+ "character": 1
1040
+ },
1041
+ "exports": [
1042
+ {
1043
+ "__schema": "VariableLikeSchema",
1044
+ "location": {
1045
+ "filePath": "mover.aspect.ts",
1046
+ "line": 3,
1047
+ "character": 14
1048
+ },
1049
+ "signature": "const MoverAspect: Aspect",
1050
+ "name": "MoverAspect",
1051
+ "type": {
1052
+ "__schema": "TypeRefSchema",
1053
+ "location": {
1054
+ "filePath": "mover.aspect.ts",
1055
+ "line": 3,
1056
+ "character": 14
1057
+ },
1058
+ "name": "Aspect",
1059
+ "componentId": {
1060
+ "scope": "teambit.harmony",
1061
+ "name": "harmony",
1062
+ "version": "0.4.6"
1063
+ }
1064
+ },
1065
+ "isOptional": false,
1066
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/mover',\n})"
1067
+ }
1068
+ ],
1069
+ "internals": []
1070
+ }
1071
+ ],
1072
+ "componentId": {
1073
+ "scope": "teambit.component",
1074
+ "name": "mover",
1075
+ "version": "1.0.513"
1076
+ },
1077
+ "taggedModuleExports": []
1078
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/mover",
3
- "version": "1.0.511",
3
+ "version": "1.0.513",
4
4
  "homepage": "https://bit.cloud/teambit/component/mover",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "mover",
9
- "version": "1.0.511"
9
+ "version": "1.0.513"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -14,13 +14,13 @@
14
14
  "lodash": "4.17.21",
15
15
  "@teambit/harmony": "0.4.6",
16
16
  "@teambit/bit-error": "0.0.404",
17
- "@teambit/cli": "0.0.1088",
18
- "@teambit/legacy.bit-map": "0.0.75",
19
- "@teambit/component.sources": "0.0.70",
20
- "@teambit/legacy.consumer-component": "0.0.19",
17
+ "@teambit/cli": "0.0.1090",
18
+ "@teambit/legacy.bit-map": "0.0.76",
19
+ "@teambit/component.sources": "0.0.71",
20
+ "@teambit/legacy.consumer-component": "0.0.20",
21
21
  "@teambit/legacy.utils": "0.0.13",
22
- "@teambit/workspace.modules.node-modules-linker": "0.0.246",
23
- "@teambit/workspace": "1.0.511"
22
+ "@teambit/workspace.modules.node-modules-linker": "0.0.247",
23
+ "@teambit/workspace": "1.0.513"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/fs-extra": "9.0.7",