@teambit/checkout 1.0.410 → 1.0.412

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,8 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="3" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.component/checkout@1.0.410" tests="3" failures="0" errors="0" skipped="0">
3
+ <testsuite name="teambit.component/checkout@1.0.412" tests="3" failures="0" errors="0" skipped="0">
4
4
  <testcase classname="dist/checkout.spec.js" name="should bring the files back"/>
5
- <testcase classname="dist/checkout.spec.js" name="the workspace should get the component as a valid component" time="0.059"/>
5
+ <testcase classname="dist/checkout.spec.js" name="the workspace should get the component as a valid component" time="0.049"/>
6
6
  <testcase classname="dist/checkout.spec.js" name="should checkout according to the number of generations specified" time="0.002"/>
7
7
  </testsuite>
8
8
  </testsuites>
@@ -20,6 +20,7 @@
20
20
  "line": 3,
21
21
  "character": 15
22
22
  },
23
+ "signature": "class CheckoutMain",
23
24
  "name": "CheckoutMain",
24
25
  "exportNode": {
25
26
  "__schema": "ClassSchema",
@@ -551,6 +552,7 @@
551
552
  "line": 3,
552
553
  "character": 29
553
554
  },
555
+ "signature": "type CheckoutProps = {\n version?: string | undefined;\n ids?: ComponentID[] | undefined;\n head?: boolean | undefined;\n ancestor?: number | undefined;\n latest?: boolean | undefined;\n main?: boolean | undefined;\n ... 17 more ...;\n includeLocallyDeleted?: boolean | undefined;\n}",
554
556
  "name": "CheckoutProps",
555
557
  "exportNode": {
556
558
  "__schema": "TypeSchema",
@@ -1086,6 +1088,7 @@
1086
1088
  "line": 5,
1087
1089
  "character": 10
1088
1090
  },
1091
+ "signature": "const CheckoutAspect: Aspect",
1089
1092
  "name": "CheckoutAspect",
1090
1093
  "exportNode": {
1091
1094
  "__schema": "VariableLikeSchema",
@@ -1121,6 +1124,7 @@
1121
1124
  "line": 8,
1122
1125
  "character": 3
1123
1126
  },
1127
+ "signature": "function applyModifiedVersion(componentFiles: SourceFile[], mergeResults: MergeResultsThreeWay, mergeStrategy: MergeStrategy | null | undefined): {\n filesStatus: Record<string, any>;\n modifiedFiles: SourceFile[];\n}",
1124
1128
  "name": "applyModifiedVersion",
1125
1129
  "exportNode": {
1126
1130
  "__schema": "FunctionLikeSchema",
@@ -1330,6 +1334,7 @@
1330
1334
  "line": 9,
1331
1335
  "character": 3
1332
1336
  },
1337
+ "signature": "function applyVersion(consumer: Consumer, id: ComponentID, componentFromFS: ConsumerComponent | null | undefined, mergeResults: MergeResultsThreeWay | null | undefined, checkoutProps: CheckoutProps): Promise<ApplyVersionWithComps>",
1333
1338
  "name": "applyVersion",
1334
1339
  "exportNode": {
1335
1340
  "__schema": "FunctionLikeSchema",
@@ -1542,6 +1547,7 @@
1542
1547
  "line": 10,
1543
1548
  "character": 3
1544
1549
  },
1550
+ "signature": "function removeFilesIfNeeded(filesStatus: FilesStatus, consumer: Consumer, componentFromFS?: ConsumerComponent): Promise<void>",
1545
1551
  "name": "removeFilesIfNeeded",
1546
1552
  "exportNode": {
1547
1553
  "__schema": "FunctionLikeSchema",
@@ -1647,6 +1653,7 @@
1647
1653
  "line": 11,
1648
1654
  "character": 3
1649
1655
  },
1656
+ "signature": "function updateFileStatus(files: SourceFile[], filesStatus: FilesStatus, componentFromFS?: ConsumerComponent): void",
1650
1657
  "name": "updateFileStatus",
1651
1658
  "exportNode": {
1652
1659
  "__schema": "FunctionLikeSchema",
@@ -1748,6 +1755,7 @@
1748
1755
  "line": 12,
1749
1756
  "character": 3
1750
1757
  },
1758
+ "signature": "function throwForFailures(allComponentsStatus: ComponentStatusBase[]): void",
1751
1759
  "name": "throwForFailures",
1752
1760
  "exportNode": {
1753
1761
  "__schema": "FunctionLikeSchema",
@@ -1809,6 +1817,7 @@
1809
1817
  "line": 15,
1810
1818
  "character": 15
1811
1819
  },
1820
+ "signature": "type ComponentStatus = ComponentStatusBase & {\n mergeResults?: MergeResultsThreeWay | null | undefined;\n}",
1812
1821
  "name": "ComponentStatus",
1813
1822
  "exportNode": {
1814
1823
  "__schema": "TypeSchema",
@@ -1905,6 +1914,7 @@
1905
1914
  "line": 15,
1906
1915
  "character": 32
1907
1916
  },
1917
+ "signature": "type ComponentStatusBase = {\n currentComponent?: ConsumerComponent | undefined;\n componentFromModel?: Version | undefined;\n id: ComponentID;\n shouldBeRemoved?: boolean | undefined;\n unchangedMessage?: string | undefined;\n unchangedLegitimately?: boolean | undefined;\n}",
1908
1918
  "name": "ComponentStatusBase",
1909
1919
  "exportNode": {
1910
1920
  "__schema": "TypeSchema",
@@ -2059,6 +2069,7 @@
2059
2069
  "line": 15,
2060
2070
  "character": 53
2061
2071
  },
2072
+ "signature": "type ApplyVersionWithComps = {\n applyVersionResult: ApplyVersionResult;\n component?: ConsumerComponent | undefined;\n legacyCompToWrite?: ConsumerComponent | undefined;\n}",
2062
2073
  "name": "ApplyVersionWithComps",
2063
2074
  "exportNode": {
2064
2075
  "__schema": "TypeSchema",
@@ -2152,6 +2163,7 @@
2152
2163
  "line": 16,
2153
2164
  "character": 10
2154
2165
  },
2166
+ "signature": "function checkoutOutput(checkoutResults: ApplyVersionResults, checkoutProps: CheckoutProps, alternativeTitle?: string): string",
2155
2167
  "name": "checkoutOutput",
2156
2168
  "exportNode": {
2157
2169
  "__schema": "FunctionLikeSchema",
@@ -5183,7 +5195,7 @@
5183
5195
  "_legacy": {
5184
5196
  "scope": "teambit.component",
5185
5197
  "name": "checkout",
5186
- "version": "1.0.410"
5198
+ "version": "1.0.412"
5187
5199
  },
5188
5200
  "_scope": "teambit.component"
5189
5201
  }
@@ -5282,7 +5294,7 @@
5282
5294
  "componentId": {
5283
5295
  "scope": "teambit.component",
5284
5296
  "name": "checkout",
5285
- "version": "1.0.410"
5297
+ "version": "1.0.412"
5286
5298
  },
5287
5299
  "taggedModuleExports": []
5288
5300
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/checkout",
3
- "version": "1.0.410",
3
+ "version": "1.0.412",
4
4
  "homepage": "https://bit.cloud/teambit/component/checkout",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "checkout",
9
- "version": "1.0.410"
9
+ "version": "1.0.412"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -15,33 +15,33 @@
15
15
  "@teambit/bit-error": "0.0.404",
16
16
  "@teambit/component-id": "1.2.0",
17
17
  "@teambit/harmony": "0.4.6",
18
- "@teambit/cli": "0.0.987",
19
- "@teambit/merging": "1.0.410",
20
- "@teambit/component.sources": "0.0.29",
18
+ "@teambit/cli": "0.0.989",
19
+ "@teambit/merging": "1.0.412",
20
+ "@teambit/component.sources": "0.0.30",
21
21
  "@teambit/legacy.utils": "0.0.5",
22
- "@teambit/component-writer": "1.0.410",
23
- "@teambit/importer": "1.0.410",
24
- "@teambit/logger": "0.0.1080",
25
- "@teambit/remove": "1.0.410",
26
- "@teambit/workspace": "1.0.410"
22
+ "@teambit/component-writer": "1.0.412",
23
+ "@teambit/importer": "1.0.412",
24
+ "@teambit/logger": "0.0.1082",
25
+ "@teambit/remove": "1.0.412",
26
+ "@teambit/workspace": "1.0.412"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/lodash": "4.14.165",
30
- "@types/chai-fs": "2.0.2",
31
- "@types/chai": "4.2.15",
32
30
  "@types/fs-extra": "9.0.7",
33
31
  "chai-fs": "1.0.0",
34
32
  "chai": "4.3.0",
35
33
  "fs-extra": "10.0.0",
36
34
  "@types/mocha": "9.1.0",
37
- "@teambit/harmony.envs.core-aspect-env": "0.0.47",
38
- "@teambit/component.testing.mock-components": "0.0.235",
39
- "@teambit/harmony.testing.load-aspect": "0.0.230",
40
- "@teambit/lister": "1.0.410",
41
- "@teambit/snapping": "1.0.410",
35
+ "@teambit/harmony.envs.core-aspect-env": "0.0.59",
36
+ "@teambit/component.testing.mock-components": "0.0.236",
37
+ "@teambit/harmony.testing.load-aspect": "0.0.231",
38
+ "@teambit/lister": "1.0.412",
39
+ "@teambit/snapping": "1.0.412",
42
40
  "@teambit/workspace.testing.mock-workspace": "0.0.27"
43
41
  },
44
42
  "peerDependencies": {
43
+ "@types/chai-fs": "2.0.5",
44
+ "@types/chai": "4.3.19",
45
45
  "@teambit/legacy": "1.0.624"
46
46
  },
47
47
  "license": "Apache-2.0",