@teambit/merging 1.0.410 → 1.0.411

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/merging@1.0.410" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/merging@1.0.411" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -20,6 +20,7 @@
20
20
  "line": 4,
21
21
  "character": 3
22
22
  },
23
+ "signature": "function mergeReport({ components, failedComponents, removedComponents, version, mergeSnapResults, mergeSnapError, leftUnresolvedConflicts, verbose, configMergeResults, workspaceConfigUpdateResult, }: ApplyVersionResults & {\n configMergeResults?: ConfigMergeResult[];\n}): string",
23
24
  "name": "mergeReport",
24
25
  "exportNode": {
25
26
  "__schema": "FunctionLikeSchema",
@@ -250,6 +251,7 @@
250
251
  "line": 5,
251
252
  "character": 3
252
253
  },
254
+ "signature": "function applyVersionReport(components: ApplyVersionResult[], addName?: boolean, showVersion?: boolean): string",
253
255
  "name": "applyVersionReport",
254
256
  "exportNode": {
255
257
  "__schema": "FunctionLikeSchema",
@@ -364,6 +366,7 @@
364
366
  "line": 6,
365
367
  "character": 3
366
368
  },
369
+ "signature": "function conflictSummaryReport(components: ApplyVersionResult[]): {\n conflictedComponents: number;\n conflictedFiles: number;\n conflictStr: string;\n}",
367
370
  "name": "conflictSummaryReport",
368
371
  "exportNode": {
369
372
  "__schema": "FunctionLikeSchema",
@@ -486,6 +489,7 @@
486
489
  "line": 7,
487
490
  "character": 3
488
491
  },
492
+ "signature": "function installationErrorOutput(installationError?: Error): string",
489
493
  "name": "installationErrorOutput",
490
494
  "exportNode": {
491
495
  "__schema": "FunctionLikeSchema",
@@ -539,6 +543,7 @@
539
543
  "line": 8,
540
544
  "character": 3
541
545
  },
546
+ "signature": "function compilationErrorOutput(compilationError?: Error): string",
542
547
  "name": "compilationErrorOutput",
543
548
  "exportNode": {
544
549
  "__schema": "FunctionLikeSchema",
@@ -592,6 +597,7 @@
592
597
  "line": 9,
593
598
  "character": 3
594
599
  },
600
+ "signature": "function getRemovedOutput(removedComponents?: ComponentID[]): string",
595
601
  "name": "getRemovedOutput",
596
602
  "exportNode": {
597
603
  "__schema": "FunctionLikeSchema",
@@ -653,6 +659,7 @@
653
659
  "line": 10,
654
660
  "character": 3
655
661
  },
662
+ "signature": "function getAddedOutput(addedComponents?: ComponentID[]): string",
656
663
  "name": "getAddedOutput",
657
664
  "exportNode": {
658
665
  "__schema": "FunctionLikeSchema",
@@ -714,6 +721,7 @@
714
721
  "line": 11,
715
722
  "character": 3
716
723
  },
724
+ "signature": "function getWorkspaceConfigUpdateOutput(workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult): string",
717
725
  "name": "getWorkspaceConfigUpdateOutput",
718
726
  "exportNode": {
719
727
  "__schema": "FunctionLikeSchema",
@@ -767,6 +775,7 @@
767
775
  "line": 13,
768
776
  "character": 10
769
777
  },
778
+ "signature": "const compIsAlreadyMergedMsg: \"component is already merged\"",
770
779
  "name": "compIsAlreadyMergedMsg",
771
780
  "exportNode": {
772
781
  "__schema": "VariableLikeSchema",
@@ -797,6 +806,7 @@
797
806
  "line": 15,
798
807
  "character": 3
799
808
  },
809
+ "signature": "function threeWayMerge({ scope, otherComponent, otherLabel, currentComponent, currentLabel, baseComponent, }: {\n scope: Scope;\n otherComponent: Version;\n otherLabel: string;\n currentComponent: Component;\n currentLabel: string;\n baseComponent: Version;\n}): Promise<MergeResultsThreeWay>",
800
810
  "name": "threeWayMerge",
801
811
  "exportNode": {
802
812
  "__schema": "FunctionLikeSchema",
@@ -1124,6 +1134,7 @@
1124
1134
  "line": 16,
1125
1135
  "character": 3
1126
1136
  },
1137
+ "signature": "function getMergeStrategyInteractive(): Promise<MergeStrategy>",
1127
1138
  "name": "getMergeStrategyInteractive",
1128
1139
  "exportNode": {
1129
1140
  "__schema": "FunctionLikeSchema",
@@ -1168,6 +1179,7 @@
1168
1179
  "line": 17,
1169
1180
  "character": 3
1170
1181
  },
1182
+ "signature": "type MergeStrategy = \"theirs\" | \"ours\" | \"manual\"",
1171
1183
  "name": "MergeStrategy",
1172
1184
  "exportNode": {
1173
1185
  "__schema": "TypeSchema",
@@ -1214,6 +1226,7 @@
1214
1226
  "line": 18,
1215
1227
  "character": 3
1216
1228
  },
1229
+ "signature": "const FileStatus: {\n merged: string;\n manual: string;\n binaryConflict: string;\n updated: string;\n added: string;\n removed: string;\n overridden: string;\n unchanged: string;\n remainDeleted: string;\n deletedConflict: string;\n}",
1217
1230
  "name": "FileStatus",
1218
1231
  "exportNode": {
1219
1232
  "__schema": "VariableLikeSchema",
@@ -1244,6 +1257,7 @@
1244
1257
  "line": 19,
1245
1258
  "character": 3
1246
1259
  },
1260
+ "signature": "const MergeOptions: {\n ours: string;\n theirs: string;\n manual: string;\n}",
1247
1261
  "name": "MergeOptions",
1248
1262
  "exportNode": {
1249
1263
  "__schema": "VariableLikeSchema",
@@ -1274,6 +1288,7 @@
1274
1288
  "line": 20,
1275
1289
  "character": 3
1276
1290
  },
1291
+ "signature": "type MergeResultsThreeWay = {\n addFiles: Array<{\n filePath: PathLinux;\n fsFile: SourceFile;\n }>;\n removeFiles: Array<{\n filePath: PathLinux;\n }>;\n remainDeletedFiles: Array<{\n filePath: PathLinux;\n }>;\n deletedConflictFiles: Array<{\n filePath: PathLinux;\n fsFile?: SourceFile;\n }>;\n modifiedFiles: Array<{\n filePath: PathLinux;\n fsFile: SourceFile;\n baseFile?: SourceFileModel;\n otherFile: SourceFileModel;\n output: string | null | undefined;\n conflict: string | null | undefined;\n isBinaryConflict?: boolean;\n }>;\n unModifiedFiles: Array<{\n filePath: PathLinux;\n fsFile: SourceFile;\n }>;\n overrideFiles: Array<{\n filePath: PathLinux;\n fsFile: SourceFile;\n }>;\n updatedFiles: Array<{\n filePath: PathLinux;\n otherFile: SourceFileModel;\n content: Buffer;\n }>;\n hasConflicts: boolean;\n}",
1277
1292
  "name": "MergeResultsThreeWay",
1278
1293
  "exportNode": {
1279
1294
  "__schema": "TypeSchema",
@@ -1358,7 +1373,7 @@
1358
1373
  "componentId": {
1359
1374
  "scope": "teambit.component",
1360
1375
  "name": "sources",
1361
- "version": "0.0.29"
1376
+ "version": "0.0.30"
1362
1377
  }
1363
1378
  },
1364
1379
  "isOptional": false
@@ -1611,7 +1626,7 @@
1611
1626
  "componentId": {
1612
1627
  "scope": "teambit.component",
1613
1628
  "name": "sources",
1614
- "version": "0.0.29"
1629
+ "version": "0.0.30"
1615
1630
  }
1616
1631
  },
1617
1632
  "isOptional": false
@@ -1845,7 +1860,7 @@
1845
1860
  "componentId": {
1846
1861
  "scope": "teambit.component",
1847
1862
  "name": "sources",
1848
- "version": "0.0.29"
1863
+ "version": "0.0.30"
1849
1864
  }
1850
1865
  },
1851
1866
  "isOptional": false
@@ -1922,7 +1937,7 @@
1922
1937
  "componentId": {
1923
1938
  "scope": "teambit.component",
1924
1939
  "name": "sources",
1925
- "version": "0.0.29"
1940
+ "version": "0.0.30"
1926
1941
  }
1927
1942
  },
1928
1943
  "isOptional": false
@@ -2057,6 +2072,7 @@
2057
2072
  "line": 22,
2058
2073
  "character": 10
2059
2074
  },
2075
+ "signature": "type MergeFileResult = {\n filePath: PathLinux;\n output: string | null | undefined;\n conflict: string | null | undefined;\n isBinaryConflict?: boolean | undefined;\n}",
2060
2076
  "name": "MergeFileResult",
2061
2077
  "exportNode": {
2062
2078
  "__schema": "TypeSchema",
@@ -2222,6 +2238,7 @@
2222
2238
  "line": 22,
2223
2239
  "character": 27
2224
2240
  },
2241
+ "signature": "type MergeFileParams = {\n filePath: PathLinux;\n currentFile: {\n label: string;\n path: PathOsBased;\n };\n baseFile: {\n path: PathOsBased;\n };\n otherFile: {\n label: string;\n path: PathOsBased;\n };\n}",
2225
2242
  "name": "MergeFileParams",
2226
2243
  "exportNode": {
2227
2244
  "__schema": "TypeSchema",
@@ -2434,6 +2451,7 @@
2434
2451
  "line": 22,
2435
2452
  "character": 44
2436
2453
  },
2454
+ "signature": "function mergeFiles({ filePath, currentFile, baseFile, otherFile, }: MergeFileParams): Promise<MergeFileResult>",
2437
2455
  "name": "mergeFiles",
2438
2456
  "exportNode": {
2439
2457
  "__schema": "FunctionLikeSchema",
@@ -2556,6 +2574,7 @@
2556
2574
  "line": 24,
2557
2575
  "character": 3
2558
2576
  },
2577
+ "signature": "class MergingMain",
2559
2578
  "name": "MergingMain",
2560
2579
  "exportNode": {
2561
2580
  "__schema": "ClassSchema",
@@ -4194,6 +4213,7 @@
4194
4213
  "line": 25,
4195
4214
  "character": 3
4196
4215
  },
4216
+ "signature": "type ComponentMergeStatus = ComponentStatusBase & {\n mergeResults?: MergeResultsThreeWay | null | undefined;\n divergeData?: SnapsDistance | undefined;\n resolvedUnrelated?: ResolveUnrelatedData | undefined;\n configMergeResult?: ConfigMergeResult | undefined;\n}",
4197
4217
  "name": "ComponentMergeStatus",
4198
4218
  "exportNode": {
4199
4219
  "__schema": "TypeSchema",
@@ -4341,6 +4361,7 @@
4341
4361
  "line": 26,
4342
4362
  "character": 3
4343
4363
  },
4364
+ "signature": "type ApplyVersionResults = {\n components?: ApplyVersionResult[] | undefined;\n version?: string | undefined;\n failedComponents?: FailedComponents[] | undefined;\n removedComponents?: ComponentID[] | undefined;\n ... 11 more ...;\n workspaceConfigUpdateResult?: WorkspaceConfigUpdateResult | undefined;\n}",
4344
4365
  "name": "ApplyVersionResults",
4345
4366
  "exportNode": {
4346
4367
  "__schema": "TypeSchema",
@@ -4746,6 +4767,7 @@
4746
4767
  "line": 27,
4747
4768
  "character": 3
4748
4769
  },
4770
+ "signature": "type ApplyVersionResult = {\n id: ComponentID;\n filesStatus: FilesStatus;\n}",
4749
4771
  "name": "ApplyVersionResult",
4750
4772
  "exportNode": {
4751
4773
  "__schema": "TypeSchema",
@@ -4820,6 +4842,7 @@
4820
4842
  "line": 28,
4821
4843
  "character": 3
4822
4844
  },
4845
+ "signature": "type FilesStatus = {\n [fileName: string]: \"unchanged\" | \"manual\" | \"added\" | \"updated\" | \"removed\" | \"overridden\" | \"merged\" | \"binaryConflict\" | \"remainDeleted\" | \"deletedConflict\";\n}",
4823
4846
  "name": "FilesStatus",
4824
4847
  "exportNode": {
4825
4848
  "__schema": "TypeSchema",
@@ -4904,6 +4927,7 @@
4904
4927
  "line": 29,
4905
4928
  "character": 3
4906
4929
  },
4930
+ "signature": "type FailedComponents = {\n id: ComponentID;\n unchangedMessage: string;\n unchangedLegitimately?: boolean | undefined;\n}",
4907
4931
  "name": "FailedComponents",
4908
4932
  "exportNode": {
4909
4933
  "__schema": "TypeSchema",
@@ -5008,6 +5032,7 @@
5008
5032
  "line": 32,
5009
5033
  "character": 10
5010
5034
  },
5035
+ "signature": "const MergingAspect: Aspect",
5011
5036
  "name": "MergingAspect",
5012
5037
  "exportNode": {
5013
5038
  "__schema": "VariableLikeSchema",
@@ -5854,7 +5879,7 @@
5854
5879
  "_legacy": {
5855
5880
  "scope": "teambit.component",
5856
5881
  "name": "merging",
5857
- "version": "1.0.410"
5882
+ "version": "1.0.411"
5858
5883
  },
5859
5884
  "_scope": "teambit.component"
5860
5885
  }
@@ -6674,7 +6699,7 @@
6674
6699
  "componentId": {
6675
6700
  "scope": "teambit.component",
6676
6701
  "name": "sources",
6677
- "version": "0.0.29"
6702
+ "version": "0.0.30"
6678
6703
  }
6679
6704
  },
6680
6705
  "isOptional": false
@@ -6927,7 +6952,7 @@
6927
6952
  "componentId": {
6928
6953
  "scope": "teambit.component",
6929
6954
  "name": "sources",
6930
- "version": "0.0.29"
6955
+ "version": "0.0.30"
6931
6956
  }
6932
6957
  },
6933
6958
  "isOptional": false
@@ -7161,7 +7186,7 @@
7161
7186
  "componentId": {
7162
7187
  "scope": "teambit.component",
7163
7188
  "name": "sources",
7164
- "version": "0.0.29"
7189
+ "version": "0.0.30"
7165
7190
  }
7166
7191
  },
7167
7192
  "isOptional": false
@@ -7238,7 +7263,7 @@
7238
7263
  "componentId": {
7239
7264
  "scope": "teambit.component",
7240
7265
  "name": "sources",
7241
- "version": "0.0.29"
7266
+ "version": "0.0.30"
7242
7267
  }
7243
7268
  },
7244
7269
  "isOptional": false
@@ -11138,7 +11163,7 @@
11138
11163
  "componentId": {
11139
11164
  "scope": "teambit.component",
11140
11165
  "name": "merging",
11141
- "version": "1.0.410"
11166
+ "version": "1.0.411"
11142
11167
  },
11143
11168
  "taggedModuleExports": []
11144
11169
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/merging",
3
- "version": "1.0.410",
3
+ "version": "1.0.411",
4
4
  "homepage": "https://bit.cloud/teambit/component/merging",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "merging",
9
- "version": "1.0.410"
9
+ "version": "1.0.411"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -17,27 +17,27 @@
17
17
  "@teambit/component-id": "1.2.0",
18
18
  "@teambit/lane-id": "0.0.311",
19
19
  "@teambit/harmony": "0.4.6",
20
- "@teambit/cli": "0.0.987",
21
- "@teambit/config-merger": "0.0.277",
22
- "@teambit/global-config": "0.0.990",
20
+ "@teambit/cli": "0.0.988",
21
+ "@teambit/config-merger": "0.0.278",
22
+ "@teambit/global-config": "0.0.991",
23
23
  "@teambit/git.modules.git-executable": "0.0.1",
24
24
  "@teambit/legacy.utils": "0.0.5",
25
- "@teambit/importer": "1.0.410",
26
- "@teambit/logger": "0.0.1080",
27
- "@teambit/scope": "1.0.410",
28
- "@teambit/workspace": "1.0.410",
29
- "@teambit/checkout": "1.0.410",
30
- "@teambit/component-writer": "1.0.410",
31
- "@teambit/config": "0.0.1161",
32
- "@teambit/dependency-resolver": "1.0.410",
33
- "@teambit/install": "1.0.410",
34
- "@teambit/legacy.component-list": "0.0.30",
25
+ "@teambit/importer": "1.0.411",
26
+ "@teambit/logger": "0.0.1081",
27
+ "@teambit/scope": "1.0.411",
28
+ "@teambit/workspace": "1.0.411",
29
+ "@teambit/checkout": "1.0.411",
30
+ "@teambit/component-writer": "1.0.411",
31
+ "@teambit/config": "0.0.1162",
32
+ "@teambit/dependency-resolver": "1.0.411",
33
+ "@teambit/install": "1.0.411",
34
+ "@teambit/legacy.component-list": "0.0.31",
35
35
  "@teambit/pkg.modules.component-package-name": "0.0.4",
36
- "@teambit/remove": "1.0.410",
37
- "@teambit/snapping": "1.0.410",
36
+ "@teambit/remove": "1.0.411",
37
+ "@teambit/snapping": "1.0.411",
38
38
  "@teambit/toolbox.path.path": "0.0.4",
39
39
  "@teambit/legacy.cli.prompts": "0.0.2",
40
- "@teambit/component.sources": "0.0.29",
40
+ "@teambit/component.sources": "0.0.30",
41
41
  "@teambit/toolbox.crypto.sha1": "0.0.1",
42
42
  "@teambit/toolbox.string.eol": "0.0.1"
43
43
  },