@teambit/mover 1.0.226 → 1.0.228

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.226" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/mover@1.0.228" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -48,11 +48,7 @@
48
48
  "line": 17,
49
49
  "character": 34
50
50
  },
51
- "name": "Workspace",
52
- "componentId": {
53
- "scope": "teambit.workspace",
54
- "name": "workspace"
55
- }
51
+ "name": "Workspace"
56
52
  },
57
53
  "isOptional": false,
58
54
  "isSpread": false
@@ -111,8 +107,7 @@
111
107
  "line": 19,
112
108
  "character": 41
113
109
  },
114
- "name": "PathOsBasedRelative",
115
- "packageName": "@teambit/legacy/dist/utils/path"
110
+ "name": "PathOsBasedRelative"
116
111
  },
117
112
  "isOptional": false
118
113
  },
@@ -132,8 +127,7 @@
132
127
  "line": 19,
133
128
  "character": 66
134
129
  },
135
- "name": "PathOsBasedRelative",
136
- "packageName": "@teambit/legacy/dist/utils/path"
130
+ "name": "PathOsBasedRelative"
137
131
  },
138
132
  "isOptional": false
139
133
  }
@@ -157,8 +151,7 @@
157
151
  "line": 19,
158
152
  "character": 41
159
153
  },
160
- "name": "PathOsBasedRelative",
161
- "packageName": "@teambit/legacy/dist/utils/path"
154
+ "name": "PathOsBasedRelative"
162
155
  },
163
156
  "isOptional": false
164
157
  },
@@ -178,8 +171,7 @@
178
171
  "line": 19,
179
172
  "character": 66
180
173
  },
181
- "name": "PathOsBasedRelative",
182
- "packageName": "@teambit/legacy/dist/utils/path"
174
+ "name": "PathOsBasedRelative"
183
175
  },
184
176
  "isOptional": false
185
177
  }
@@ -210,8 +202,7 @@
210
202
  "line": 19,
211
203
  "character": 98
212
204
  },
213
- "name": "PathChangeResult",
214
- "packageName": "@teambit/legacy/dist/consumer/bit-map/bit-map"
205
+ "name": "PathChangeResult"
215
206
  }
216
207
  }
217
208
  ]
@@ -245,8 +236,7 @@
245
236
  "line": 52,
246
237
  "character": 36
247
238
  },
248
- "name": "Component",
249
- "packageName": "@teambit/legacy/dist/consumer/component/consumer-component"
239
+ "name": "Component"
250
240
  },
251
241
  "isOptional": false,
252
242
  "isSpread": false
@@ -266,8 +256,7 @@
266
256
  "line": 52,
267
257
  "character": 56
268
258
  },
269
- "name": "PathOsBasedAbsolute",
270
- "packageName": "@teambit/legacy/dist/utils/path"
259
+ "name": "PathOsBasedAbsolute"
271
260
  },
272
261
  "isOptional": false,
273
262
  "isSpread": false
@@ -287,8 +276,7 @@
287
276
  "line": 52,
288
277
  "character": 86
289
278
  },
290
- "name": "PathOsBasedAbsolute",
291
- "packageName": "@teambit/legacy/dist/utils/path"
279
+ "name": "PathOsBasedAbsolute"
292
280
  },
293
281
  "isOptional": false,
294
282
  "isSpread": false
@@ -401,11 +389,7 @@
401
389
  "line": 77,
402
390
  "character": 44
403
391
  },
404
- "name": "CLIMain",
405
- "componentId": {
406
- "scope": "teambit.harmony",
407
- "name": "cli"
408
- }
392
+ "name": "CLIMain"
409
393
  },
410
394
  {
411
395
  "__schema": "TypeRefSchema",
@@ -414,11 +398,7 @@
414
398
  "line": 77,
415
399
  "character": 53
416
400
  },
417
- "name": "Workspace",
418
- "componentId": {
419
- "scope": "teambit.workspace",
420
- "name": "workspace"
421
- }
401
+ "name": "Workspace"
422
402
  }
423
403
  ]
424
404
  },
@@ -527,11 +507,7 @@
527
507
  "line": 17,
528
508
  "character": 34
529
509
  },
530
- "name": "Workspace",
531
- "componentId": {
532
- "scope": "teambit.workspace",
533
- "name": "workspace"
534
- }
510
+ "name": "Workspace"
535
511
  },
536
512
  "isOptional": false,
537
513
  "isSpread": false
@@ -590,8 +566,7 @@
590
566
  "line": 19,
591
567
  "character": 41
592
568
  },
593
- "name": "PathOsBasedRelative",
594
- "packageName": "@teambit/legacy/dist/utils/path"
569
+ "name": "PathOsBasedRelative"
595
570
  },
596
571
  "isOptional": false
597
572
  },
@@ -611,8 +586,7 @@
611
586
  "line": 19,
612
587
  "character": 66
613
588
  },
614
- "name": "PathOsBasedRelative",
615
- "packageName": "@teambit/legacy/dist/utils/path"
589
+ "name": "PathOsBasedRelative"
616
590
  },
617
591
  "isOptional": false
618
592
  }
@@ -636,8 +610,7 @@
636
610
  "line": 19,
637
611
  "character": 41
638
612
  },
639
- "name": "PathOsBasedRelative",
640
- "packageName": "@teambit/legacy/dist/utils/path"
613
+ "name": "PathOsBasedRelative"
641
614
  },
642
615
  "isOptional": false
643
616
  },
@@ -657,8 +630,7 @@
657
630
  "line": 19,
658
631
  "character": 66
659
632
  },
660
- "name": "PathOsBasedRelative",
661
- "packageName": "@teambit/legacy/dist/utils/path"
633
+ "name": "PathOsBasedRelative"
662
634
  },
663
635
  "isOptional": false
664
636
  }
@@ -689,8 +661,7 @@
689
661
  "line": 19,
690
662
  "character": 98
691
663
  },
692
- "name": "PathChangeResult",
693
- "packageName": "@teambit/legacy/dist/consumer/bit-map/bit-map"
664
+ "name": "PathChangeResult"
694
665
  }
695
666
  }
696
667
  ]
@@ -724,8 +695,7 @@
724
695
  "line": 52,
725
696
  "character": 36
726
697
  },
727
- "name": "Component",
728
- "packageName": "@teambit/legacy/dist/consumer/component/consumer-component"
698
+ "name": "Component"
729
699
  },
730
700
  "isOptional": false,
731
701
  "isSpread": false
@@ -745,8 +715,7 @@
745
715
  "line": 52,
746
716
  "character": 56
747
717
  },
748
- "name": "PathOsBasedAbsolute",
749
- "packageName": "@teambit/legacy/dist/utils/path"
718
+ "name": "PathOsBasedAbsolute"
750
719
  },
751
720
  "isOptional": false,
752
721
  "isSpread": false
@@ -766,8 +735,7 @@
766
735
  "line": 52,
767
736
  "character": 86
768
737
  },
769
- "name": "PathOsBasedAbsolute",
770
- "packageName": "@teambit/legacy/dist/utils/path"
738
+ "name": "PathOsBasedAbsolute"
771
739
  },
772
740
  "isOptional": false,
773
741
  "isSpread": false
@@ -880,11 +848,7 @@
880
848
  "line": 77,
881
849
  "character": 44
882
850
  },
883
- "name": "CLIMain",
884
- "componentId": {
885
- "scope": "teambit.harmony",
886
- "name": "cli"
887
- }
851
+ "name": "CLIMain"
888
852
  },
889
853
  {
890
854
  "__schema": "TypeRefSchema",
@@ -893,11 +857,7 @@
893
857
  "line": 77,
894
858
  "character": 53
895
859
  },
896
- "name": "Workspace",
897
- "componentId": {
898
- "scope": "teambit.workspace",
899
- "name": "workspace"
900
- }
860
+ "name": "Workspace"
901
861
  }
902
862
  ]
903
863
  },
@@ -958,8 +918,7 @@
958
918
  "line": 88,
959
919
  "character": 31
960
920
  },
961
- "name": "PathOsBasedAbsolute",
962
- "packageName": "@teambit/legacy/dist/utils/path"
921
+ "name": "PathOsBasedAbsolute"
963
922
  },
964
923
  "isOptional": false,
965
924
  "isSpread": false
@@ -979,8 +938,7 @@
979
938
  "line": 88,
980
939
  "character": 58
981
940
  },
982
- "name": "PathOsBasedAbsolute",
983
- "packageName": "@teambit/legacy/dist/utils/path"
941
+ "name": "PathOsBasedAbsolute"
984
942
  },
985
943
  "isOptional": false,
986
944
  "isSpread": false
@@ -1094,7 +1052,7 @@
1094
1052
  "componentId": {
1095
1053
  "scope": "teambit.component",
1096
1054
  "name": "mover",
1097
- "version": "1.0.226"
1055
+ "version": "1.0.228"
1098
1056
  },
1099
1057
  "taggedModuleExports": []
1100
1058
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/mover",
3
- "version": "1.0.226",
3
+ "version": "1.0.228",
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.226"
9
+ "version": "1.0.228"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -14,16 +14,16 @@
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.859",
17
+ "@teambit/cli": "0.0.861",
18
18
  "@teambit/workspace.modules.node-modules-linker": "0.0.167",
19
- "@teambit/workspace": "1.0.226"
19
+ "@teambit/workspace": "1.0.228"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/fs-extra": "9.0.7",
23
23
  "@types/lodash": "4.14.165",
24
24
  "@types/mocha": "9.1.0",
25
25
  "chai": "4.3.0",
26
- "@teambit/harmony.envs.core-aspect-env": "0.0.27"
26
+ "@teambit/harmony.envs.core-aspect-env": "0.0.30"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@teambit/legacy": "1.0.624"
package/tsconfig.json CHANGED
@@ -20,7 +20,8 @@
20
20
  "emitDeclarationOnly": true,
21
21
  "strict": true,
22
22
  "strictPropertyInitialization": false,
23
- "noImplicitAny": false
23
+ "noImplicitAny": false,
24
+ "composite": true
24
25
  },
25
26
  "exclude": [
26
27
  "artifacts",
@@ -35,5 +36,13 @@
35
36
  "include": [
36
37
  "**/*",
37
38
  "**/*.json"
39
+ ],
40
+ "references": [
41
+ {
42
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_cli@0.0.861"
43
+ },
44
+ {
45
+ "path": "/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.workspace_workspace@1.0.228"
46
+ }
38
47
  ]
39
48
  }
package/dist/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- import { MoverAspect } from './mover.aspect';
2
- export type { MoverMain } from './mover.main.runtime';
3
- export default MoverAspect;
4
- export { MoverAspect };
@@ -1,19 +0,0 @@
1
- import { Command } from '@teambit/cli';
2
- import { MoverMain } from './mover.main.runtime';
3
- export declare class MoveCmd implements Command {
4
- private mover;
5
- name: string;
6
- description: string;
7
- extendedDescription: string;
8
- helpUrl: string;
9
- arguments: {
10
- name: string;
11
- description: string;
12
- }[];
13
- group: string;
14
- alias: string;
15
- loader: boolean;
16
- options: never[];
17
- constructor(mover: MoverMain);
18
- report([from, to]: [string, string]): Promise<string>;
19
- }
@@ -1,2 +0,0 @@
1
- import { Aspect } from '@teambit/harmony';
2
- export declare const MoverAspect: Aspect;
@@ -1,20 +0,0 @@
1
- import { CLIMain } from '@teambit/cli';
2
- import { Workspace } from '@teambit/workspace';
3
- import { PathOsBasedAbsolute, PathOsBasedRelative } from '@teambit/legacy/dist/utils/path';
4
- import { PathChangeResult } from '@teambit/legacy/dist/consumer/bit-map/bit-map';
5
- import Component from '@teambit/legacy/dist/consumer/component/consumer-component';
6
- export declare class MoverMain {
7
- private workspace;
8
- constructor(workspace: Workspace);
9
- movePaths({ from, to }: {
10
- from: PathOsBasedRelative;
11
- to: PathOsBasedRelative;
12
- }): Promise<PathChangeResult[]>;
13
- moveExistingComponent(component: Component, oldPath: PathOsBasedAbsolute, newPath: PathOsBasedAbsolute): void;
14
- static slots: never[];
15
- static dependencies: import("@teambit/harmony").Aspect[];
16
- static runtime: import("@teambit/harmony").RuntimeDefinition;
17
- static provider([cli, workspace]: [CLIMain, Workspace]): Promise<MoverMain>;
18
- }
19
- export default MoverMain;
20
- export declare function moveSync(src: PathOsBasedAbsolute, dest: PathOsBasedAbsolute, options?: Record<string, any>): void;