@teambit/remove 1.0.309 → 1.0.311

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/remove@1.0.309" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/remove@1.0.311" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -447,7 +447,8 @@
447
447
  "character": 3
448
448
  },
449
449
  "raw": "/**\n * remove components from the workspace.\n */",
450
- "comment": "remove components from the workspace."
450
+ "comment": "remove components from the workspace.",
451
+ "tags": []
451
452
  },
452
453
  "signature": "(method) RemoveMain.removeLocallyByIds(ids: ComponentID[], { force, reasonForRemoval }?: {\n force?: boolean;\n reasonForRemoval?: string;\n}): Promise<RemoveComponentsResult>",
453
454
  "name": "removeLocallyByIds",
@@ -707,7 +708,8 @@
707
708
  "character": 3
708
709
  },
709
710
  "raw": "/**\n * recover a soft-removed component.\n * there are 4 different scenarios.\n * 1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n * 1.a. the component still exists in the local scope. no need to import. write it from there.\n * 1.b. the component doesn't exist in the local scope. import it.\n * 2. soft-removed and then snapped. It's not in .bitmap now.\n * 3. soft-removed, snapped, exported. it's not in .bitmap now.\n * 4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n * 5. workspace is empty. the soft-removed component is on the remote.\n * returns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from.\n */",
710
- "comment": "recover a soft-removed component.\nthere are 4 different scenarios.\n1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n1.a. the component still exists in the local scope. no need to import. write it from there.\n1.b. the component doesn't exist in the local scope. import it.\n2. soft-removed and then snapped. It's not in .bitmap now.\n3. soft-removed, snapped, exported. it's not in .bitmap now.\n4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n5. workspace is empty. the soft-removed component is on the remote.\nreturns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from."
711
+ "comment": "recover a soft-removed component.\nthere are 4 different scenarios.\n1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n1.a. the component still exists in the local scope. no need to import. write it from there.\n1.b. the component doesn't exist in the local scope. import it.\n2. soft-removed and then snapped. It's not in .bitmap now.\n3. soft-removed, snapped, exported. it's not in .bitmap now.\n4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n5. workspace is empty. the soft-removed component is on the remote.\nreturns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from.",
712
+ "tags": []
711
713
  },
712
714
  "signature": "(method) RemoveMain.recover(compIdStr: string, options: RecoverOptions): Promise<boolean>",
713
715
  "name": "recover",
@@ -852,6 +854,7 @@
852
854
  "character": 3
853
855
  },
854
856
  "raw": "/**\n * @deprecated use `isDeleted` instead.\n */",
857
+ "comment": "",
855
858
  "tags": [
856
859
  {
857
860
  "__schema": "TagSchema",
@@ -932,7 +935,8 @@
932
935
  "character": 3
933
936
  },
934
937
  "raw": "/**\n * whether a component is marked as deleted.\n */",
935
- "comment": "whether a component is marked as deleted."
938
+ "comment": "whether a component is marked as deleted.",
939
+ "tags": []
936
940
  },
937
941
  "signature": "(method) RemoveMain.isDeleted(component: Component): Promise<boolean>",
938
942
  "name": "isDeleted",
@@ -1001,7 +1005,8 @@
1001
1005
  "character": 3
1002
1006
  },
1003
1007
  "raw": "/**\n * performant version of isRemoved() in case the component object is not available and loading it is expensive.\n */",
1004
- "comment": "performant version of isRemoved() in case the component object is not available and loading it is expensive."
1008
+ "comment": "performant version of isRemoved() in case the component object is not available and loading it is expensive.",
1009
+ "tags": []
1005
1010
  },
1006
1011
  "signature": "(method) RemoveMain.isRemovedByIdWithoutLoadingComponent(componentId: ComponentID): Promise<boolean>",
1007
1012
  "name": "isRemovedByIdWithoutLoadingComponent",
@@ -1071,7 +1076,8 @@
1071
1076
  "character": 3
1072
1077
  },
1073
1078
  "raw": "/**\n * get components that were soft-removed and tagged/snapped/merged but not exported yet.\n */",
1074
- "comment": "get components that were soft-removed and tagged/snapped/merged but not exported yet."
1079
+ "comment": "get components that were soft-removed and tagged/snapped/merged but not exported yet.",
1080
+ "tags": []
1075
1081
  },
1076
1082
  "signature": "(method) RemoveMain.getRemovedStaged(): Promise<ComponentID[]>",
1077
1083
  "name": "getRemovedStaged",
@@ -1447,7 +1453,8 @@
1447
1453
  "character": 3
1448
1454
  },
1449
1455
  "raw": "/**\n * whether to remove the component from default lane once merged\n */",
1450
- "comment": "whether to remove the component from default lane once merged"
1456
+ "comment": "whether to remove the component from default lane once merged",
1457
+ "tags": []
1451
1458
  },
1452
1459
  "signature": "(property) removeOnMain?: boolean | undefined",
1453
1460
  "name": "removeOnMain",
@@ -1477,7 +1484,8 @@
1477
1484
  "character": 3
1478
1485
  },
1479
1486
  "raw": "/**\n * Semver range to mark specific versions as deleted\n */",
1480
- "comment": "Semver range to mark specific versions as deleted"
1487
+ "comment": "Semver range to mark specific versions as deleted",
1488
+ "tags": []
1481
1489
  },
1482
1490
  "signature": "(property) range?: string | undefined",
1483
1491
  "name": "range",
@@ -1724,7 +1732,7 @@
1724
1732
  "_legacy": {
1725
1733
  "scope": "teambit.component",
1726
1734
  "name": "remove",
1727
- "version": "1.0.309"
1735
+ "version": "1.0.311"
1728
1736
  },
1729
1737
  "_scope": "teambit.component"
1730
1738
  }
@@ -2025,7 +2033,8 @@
2025
2033
  "character": 3
2026
2034
  },
2027
2035
  "raw": "/**\n * whether to remove the component from default lane once merged\n */",
2028
- "comment": "whether to remove the component from default lane once merged"
2036
+ "comment": "whether to remove the component from default lane once merged",
2037
+ "tags": []
2029
2038
  },
2030
2039
  "signature": "(property) removeOnMain?: boolean | undefined",
2031
2040
  "name": "removeOnMain",
@@ -2055,7 +2064,8 @@
2055
2064
  "character": 3
2056
2065
  },
2057
2066
  "raw": "/**\n * Semver range to mark specific versions as deleted\n */",
2058
- "comment": "Semver range to mark specific versions as deleted"
2067
+ "comment": "Semver range to mark specific versions as deleted",
2068
+ "tags": []
2059
2069
  },
2060
2070
  "signature": "(property) range?: string | undefined",
2061
2071
  "name": "range",
@@ -2559,7 +2569,8 @@
2559
2569
  "character": 3
2560
2570
  },
2561
2571
  "raw": "/**\n * remove components from the workspace.\n */",
2562
- "comment": "remove components from the workspace."
2572
+ "comment": "remove components from the workspace.",
2573
+ "tags": []
2563
2574
  },
2564
2575
  "signature": "(method) RemoveMain.removeLocallyByIds(ids: ComponentID[], { force, reasonForRemoval }?: {\n force?: boolean;\n reasonForRemoval?: string;\n}): Promise<RemoveComponentsResult>",
2565
2576
  "name": "removeLocallyByIds",
@@ -2819,7 +2830,8 @@
2819
2830
  "character": 3
2820
2831
  },
2821
2832
  "raw": "/**\n * recover a soft-removed component.\n * there are 4 different scenarios.\n * 1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n * 1.a. the component still exists in the local scope. no need to import. write it from there.\n * 1.b. the component doesn't exist in the local scope. import it.\n * 2. soft-removed and then snapped. It's not in .bitmap now.\n * 3. soft-removed, snapped, exported. it's not in .bitmap now.\n * 4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n * 5. workspace is empty. the soft-removed component is on the remote.\n * returns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from.\n */",
2822
- "comment": "recover a soft-removed component.\nthere are 4 different scenarios.\n1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n1.a. the component still exists in the local scope. no need to import. write it from there.\n1.b. the component doesn't exist in the local scope. import it.\n2. soft-removed and then snapped. It's not in .bitmap now.\n3. soft-removed, snapped, exported. it's not in .bitmap now.\n4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n5. workspace is empty. the soft-removed component is on the remote.\nreturns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from."
2833
+ "comment": "recover a soft-removed component.\nthere are 4 different scenarios.\n1. a component was just soft-removed, it wasn't snapped yet. so it's now in .bitmap with the \"removed\" aspect entry.\n1.a. the component still exists in the local scope. no need to import. write it from there.\n1.b. the component doesn't exist in the local scope. import it.\n2. soft-removed and then snapped. It's not in .bitmap now.\n3. soft-removed, snapped, exported. it's not in .bitmap now.\n4. a soft-removed components was imported, so it's now in .bitmap without the \"removed\" aspect entry.\n5. workspace is empty. the soft-removed component is on the remote.\nreturns `true` if it was recovered. `false` if the component wasn't soft-removed, so nothing to recover from.",
2834
+ "tags": []
2823
2835
  },
2824
2836
  "signature": "(method) RemoveMain.recover(compIdStr: string, options: RecoverOptions): Promise<boolean>",
2825
2837
  "name": "recover",
@@ -2964,6 +2976,7 @@
2964
2976
  "character": 3
2965
2977
  },
2966
2978
  "raw": "/**\n * @deprecated use `isDeleted` instead.\n */",
2979
+ "comment": "",
2967
2980
  "tags": [
2968
2981
  {
2969
2982
  "__schema": "TagSchema",
@@ -3044,7 +3057,8 @@
3044
3057
  "character": 3
3045
3058
  },
3046
3059
  "raw": "/**\n * whether a component is marked as deleted.\n */",
3047
- "comment": "whether a component is marked as deleted."
3060
+ "comment": "whether a component is marked as deleted.",
3061
+ "tags": []
3048
3062
  },
3049
3063
  "signature": "(method) RemoveMain.isDeleted(component: Component): Promise<boolean>",
3050
3064
  "name": "isDeleted",
@@ -3113,7 +3127,8 @@
3113
3127
  "character": 3
3114
3128
  },
3115
3129
  "raw": "/**\n * performant version of isRemoved() in case the component object is not available and loading it is expensive.\n */",
3116
- "comment": "performant version of isRemoved() in case the component object is not available and loading it is expensive."
3130
+ "comment": "performant version of isRemoved() in case the component object is not available and loading it is expensive.",
3131
+ "tags": []
3117
3132
  },
3118
3133
  "signature": "(method) RemoveMain.isRemovedByIdWithoutLoadingComponent(componentId: ComponentID): Promise<boolean>",
3119
3134
  "name": "isRemovedByIdWithoutLoadingComponent",
@@ -3183,7 +3198,8 @@
3183
3198
  "character": 3
3184
3199
  },
3185
3200
  "raw": "/**\n * get components that were soft-removed and tagged/snapped/merged but not exported yet.\n */",
3186
- "comment": "get components that were soft-removed and tagged/snapped/merged but not exported yet."
3201
+ "comment": "get components that were soft-removed and tagged/snapped/merged but not exported yet.",
3202
+ "tags": []
3187
3203
  },
3188
3204
  "signature": "(method) RemoveMain.getRemovedStaged(): Promise<ComponentID[]>",
3189
3205
  "name": "getRemovedStaged",
@@ -3782,7 +3798,7 @@
3782
3798
  "_legacy": {
3783
3799
  "scope": "teambit.component",
3784
3800
  "name": "remove",
3785
- "version": "1.0.309"
3801
+ "version": "1.0.311"
3786
3802
  },
3787
3803
  "_scope": "teambit.component"
3788
3804
  }
@@ -3835,7 +3851,7 @@
3835
3851
  "componentId": {
3836
3852
  "scope": "teambit.component",
3837
3853
  "name": "remove",
3838
- "version": "1.0.309"
3854
+ "version": "1.0.311"
3839
3855
  },
3840
3856
  "taggedModuleExports": []
3841
3857
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/remove",
3
- "version": "1.0.309",
3
+ "version": "1.0.311",
4
4
  "homepage": "https://bit.cloud/teambit/component/remove",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "remove",
9
- "version": "1.0.309"
9
+ "version": "1.0.311"
10
10
  },
11
11
  "dependencies": {
12
12
  "chalk": "2.4.2",
@@ -19,15 +19,15 @@
19
19
  "@teambit/bit-error": "0.0.404",
20
20
  "@teambit/component-id": "1.2.0",
21
21
  "@teambit/harmony": "0.4.6",
22
- "@teambit/cli": "0.0.886",
23
- "@teambit/workspace": "1.0.309",
24
- "@teambit/component": "1.0.309",
22
+ "@teambit/cli": "0.0.888",
23
+ "@teambit/workspace": "1.0.311",
24
+ "@teambit/component": "1.0.311",
25
25
  "@teambit/component-issues": "0.0.149",
26
- "@teambit/dependency-resolver": "1.0.309",
27
- "@teambit/importer": "1.0.309",
28
- "@teambit/issues": "1.0.309",
29
- "@teambit/logger": "0.0.979",
30
- "@teambit/scope": "1.0.309"
26
+ "@teambit/dependency-resolver": "1.0.311",
27
+ "@teambit/importer": "1.0.311",
28
+ "@teambit/issues": "1.0.311",
29
+ "@teambit/logger": "0.0.981",
30
+ "@teambit/scope": "1.0.311"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/lodash": "4.14.165",