@teambit/harmony.content.cli-reference 1.95.45 → 1.95.48

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.
@@ -33,6 +33,11 @@
33
33
  "reset-hard",
34
34
  "delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-start using Bit from scratch"
35
35
  ],
36
+ [
37
+ "",
38
+ "reset-scope",
39
+ "removes local scope (.bit or .git/bit). snaps that were not exported will be lost. workspace left intact"
40
+ ],
36
41
  [
37
42
  "d",
38
43
  "default-directory <default-directory>",
@@ -1933,6 +1938,11 @@
1933
1938
  "snapped",
1934
1939
  "EXPERIMENTAL. tag components that their head is a snap (not a tag)"
1935
1940
  ],
1941
+ [
1942
+ "",
1943
+ "unmerged",
1944
+ "EXPERIMENTAL. complete a merge process by tagging the unmerged components"
1945
+ ],
1936
1946
  [
1937
1947
  "",
1938
1948
  "skip-tests",
@@ -2036,6 +2046,11 @@
2036
2046
  "unmodified",
2037
2047
  "include unmodified components (by default, only new and modified components are snapped)"
2038
2048
  ],
2049
+ [
2050
+ "",
2051
+ "unmerged",
2052
+ "EXPERIMENTAL. complete a merge process by snapping the unmerged components"
2053
+ ],
2039
2054
  [
2040
2055
  "",
2041
2056
  "build",
@@ -2852,7 +2867,7 @@
2852
2867
  ]
2853
2868
  },
2854
2869
  {
2855
- "name": "merge <lane>",
2870
+ "name": "merge <lane> [pattern]",
2856
2871
  "alias": "",
2857
2872
  "options": [
2858
2873
  [
@@ -2877,8 +2892,8 @@
2877
2892
  ],
2878
2893
  [
2879
2894
  "",
2880
- "existing",
2881
- "checkout only components in a lane that exist in the workspace"
2895
+ "workspace",
2896
+ "merge only components in a lane that exist in the workspace"
2882
2897
  ],
2883
2898
  [
2884
2899
  "",
@@ -2905,22 +2920,27 @@
2905
2920
  "squash",
2906
2921
  "EXPERIMENTAL. squash multiple snaps. keep the last one only"
2907
2922
  ],
2908
- [
2909
- "",
2910
- "pattern <component-pattern>",
2911
- "EXPERIMENTAL. partially merge the lane with the specified component-pattern"
2912
- ],
2913
2923
  [
2914
2924
  "",
2915
2925
  "include-deps",
2916
- "EXPERIMENTAL. relevant for \"--pattern\" and \"--existing\". merge also dependencies of the given components"
2926
+ "EXPERIMENTAL. relevant for \"--pattern\" and \"--workspace\". merge also dependencies of the given components"
2917
2927
  ]
2918
2928
  ],
2919
2929
  "description": "merge a local or a remote lane",
2920
2930
  "extendedDescription": "",
2921
2931
  "group": "ungrouped",
2922
2932
  "private": true,
2923
- "remoteOp": true
2933
+ "remoteOp": true,
2934
+ "arguments": [
2935
+ {
2936
+ "name": "lane",
2937
+ "description": "lane-name to merge to the current lane"
2938
+ },
2939
+ {
2940
+ "name": "pattern",
2941
+ "description": "EXPERIMENTAL. partially merge the lane with the specified component-pattern"
2942
+ }
2943
+ ]
2924
2944
  },
2925
2945
  {
2926
2946
  "name": "remove <lanes...>",
@@ -2983,7 +3003,13 @@
2983
3003
  {
2984
3004
  "name": "diff [values...]",
2985
3005
  "alias": "",
2986
- "options": [],
3006
+ "options": [
3007
+ [
3008
+ "",
3009
+ "pattern <component-pattern>",
3010
+ "EXPERIMENTAL. show lane-diff for the specified component-pattern only"
3011
+ ]
3012
+ ],
2987
3013
  "description": "show diff between lanes",
2988
3014
  "extendedDescription": "bit lane diff => diff between the current lane and default lane. (only inside workspace).\nbit lane diff to => diff between the current lane (or default-lane when in scope) and \"to\" lane.\nbit lane diff from to => diff between \"from\" lane and \"to\" lane.",
2989
3015
  "group": "ungrouped",
package/cli-reference.mdx CHANGED
@@ -645,6 +645,7 @@ https://bit.dev/docs/workspace/creating-workspaces#initialize-a-workspace-on-an-
645
645
  | `--reset` | `-r` | write missing or damaged Bit files |
646
646
  | `--reset-new` | | reset .bitmap file as if the components were newly added and remove all model data (objects) |
647
647
  | `--reset-hard` | | delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-start using Bit from scratch |
648
+ | `--reset-scope` | | removes local scope (.bit or .git/bit). snaps that were not exported will be lost. workspace left intact |
648
649
  | `--default-directory <default-directory>` | `-d` | set up default directory to import components into |
649
650
  | `--package-manager <package-manager>` | `-p` | set up package manager (npm or yarn) |
650
651
  | `--force` | `-f` | force workspace initialization without clearing local objects |
@@ -1142,6 +1143,7 @@ if patterns are entered, you can specify a version per pattern using "@" sign, e
1142
1143
  | `--major` | | syntactic sugar for "--increment major" |
1143
1144
  | `--pre-release [identifier]` | | syntactic sugar for "--increment prerelease" and `--prerelease-id <identifier>` |
1144
1145
  | `--snapped` | | EXPERIMENTAL. tag components that their head is a snap (not a tag) |
1146
+ | `--unmerged` | | EXPERIMENTAL. complete a merge process by tagging the unmerged components |
1145
1147
  | `--skip-tests` | | skip running component tests during tag process |
1146
1148
  | `--skip-auto-tag` | | skip auto tagging dependents |
1147
1149
  | `--soft` | | do not persist. only keep note of the changes to be made |
@@ -33,6 +33,11 @@
33
33
  "reset-hard",
34
34
  "delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-start using Bit from scratch"
35
35
  ],
36
+ [
37
+ "",
38
+ "reset-scope",
39
+ "removes local scope (.bit or .git/bit). snaps that were not exported will be lost. workspace left intact"
40
+ ],
36
41
  [
37
42
  "d",
38
43
  "default-directory <default-directory>",
@@ -1933,6 +1938,11 @@
1933
1938
  "snapped",
1934
1939
  "EXPERIMENTAL. tag components that their head is a snap (not a tag)"
1935
1940
  ],
1941
+ [
1942
+ "",
1943
+ "unmerged",
1944
+ "EXPERIMENTAL. complete a merge process by tagging the unmerged components"
1945
+ ],
1936
1946
  [
1937
1947
  "",
1938
1948
  "skip-tests",
@@ -2036,6 +2046,11 @@
2036
2046
  "unmodified",
2037
2047
  "include unmodified components (by default, only new and modified components are snapped)"
2038
2048
  ],
2049
+ [
2050
+ "",
2051
+ "unmerged",
2052
+ "EXPERIMENTAL. complete a merge process by snapping the unmerged components"
2053
+ ],
2039
2054
  [
2040
2055
  "",
2041
2056
  "build",
@@ -2852,7 +2867,7 @@
2852
2867
  ]
2853
2868
  },
2854
2869
  {
2855
- "name": "merge <lane>",
2870
+ "name": "merge <lane> [pattern]",
2856
2871
  "alias": "",
2857
2872
  "options": [
2858
2873
  [
@@ -2877,8 +2892,8 @@
2877
2892
  ],
2878
2893
  [
2879
2894
  "",
2880
- "existing",
2881
- "checkout only components in a lane that exist in the workspace"
2895
+ "workspace",
2896
+ "merge only components in a lane that exist in the workspace"
2882
2897
  ],
2883
2898
  [
2884
2899
  "",
@@ -2905,22 +2920,27 @@
2905
2920
  "squash",
2906
2921
  "EXPERIMENTAL. squash multiple snaps. keep the last one only"
2907
2922
  ],
2908
- [
2909
- "",
2910
- "pattern <component-pattern>",
2911
- "EXPERIMENTAL. partially merge the lane with the specified component-pattern"
2912
- ],
2913
2923
  [
2914
2924
  "",
2915
2925
  "include-deps",
2916
- "EXPERIMENTAL. relevant for \"--pattern\" and \"--existing\". merge also dependencies of the given components"
2926
+ "EXPERIMENTAL. relevant for \"--pattern\" and \"--workspace\". merge also dependencies of the given components"
2917
2927
  ]
2918
2928
  ],
2919
2929
  "description": "merge a local or a remote lane",
2920
2930
  "extendedDescription": "",
2921
2931
  "group": "ungrouped",
2922
2932
  "private": true,
2923
- "remoteOp": true
2933
+ "remoteOp": true,
2934
+ "arguments": [
2935
+ {
2936
+ "name": "lane",
2937
+ "description": "lane-name to merge to the current lane"
2938
+ },
2939
+ {
2940
+ "name": "pattern",
2941
+ "description": "EXPERIMENTAL. partially merge the lane with the specified component-pattern"
2942
+ }
2943
+ ]
2924
2944
  },
2925
2945
  {
2926
2946
  "name": "remove <lanes...>",
@@ -2983,7 +3003,13 @@
2983
3003
  {
2984
3004
  "name": "diff [values...]",
2985
3005
  "alias": "",
2986
- "options": [],
3006
+ "options": [
3007
+ [
3008
+ "",
3009
+ "pattern <component-pattern>",
3010
+ "EXPERIMENTAL. show lane-diff for the specified component-pattern only"
3011
+ ]
3012
+ ],
2987
3013
  "description": "show diff between lanes",
2988
3014
  "extendedDescription": "bit lane diff => diff between the current lane and default lane. (only inside workspace).\nbit lane diff to => diff between the current lane (or default-lane when in scope) and \"to\" lane.\nbit lane diff from to => diff between \"from\" lane and \"to\" lane.",
2989
3015
  "group": "ungrouped",
@@ -13,7 +13,7 @@ var _excluded = ["components"];
13
13
 
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
15
 
16
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
17
 
18
18
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
19
19
 
@@ -2779,6 +2779,19 @@ function MDXContent(_ref) {
2779
2779
  "align": null
2780
2780
  }, (0, _react2.mdx)("inlineCode", {
2781
2781
  parentName: "td"
2782
+ }, "--reset-scope")), (0, _react2.mdx)("td", {
2783
+ parentName: "tr",
2784
+ "align": "center"
2785
+ }), (0, _react2.mdx)("td", {
2786
+ parentName: "tr",
2787
+ "align": null
2788
+ }, "removes local scope (.bit or .git/bit). snaps that were not exported will be lost. workspace left intact")), (0, _react2.mdx)("tr", {
2789
+ parentName: "tbody"
2790
+ }, (0, _react2.mdx)("td", {
2791
+ parentName: "tr",
2792
+ "align": null
2793
+ }, (0, _react2.mdx)("inlineCode", {
2794
+ parentName: "td"
2782
2795
  }, "--default-directory <default-directory>")), (0, _react2.mdx)("td", {
2783
2796
  parentName: "tr",
2784
2797
  "align": "center"
@@ -5106,6 +5119,19 @@ function MDXContent(_ref) {
5106
5119
  "align": null
5107
5120
  }, (0, _react2.mdx)("inlineCode", {
5108
5121
  parentName: "td"
5122
+ }, "--unmerged")), (0, _react2.mdx)("td", {
5123
+ parentName: "tr",
5124
+ "align": "center"
5125
+ }), (0, _react2.mdx)("td", {
5126
+ parentName: "tr",
5127
+ "align": null
5128
+ }, "EXPERIMENTAL. complete a merge process by tagging the unmerged components")), (0, _react2.mdx)("tr", {
5129
+ parentName: "tbody"
5130
+ }, (0, _react2.mdx)("td", {
5131
+ parentName: "tr",
5132
+ "align": null
5133
+ }, (0, _react2.mdx)("inlineCode", {
5134
+ parentName: "td"
5109
5135
  }, "--skip-tests")), (0, _react2.mdx)("td", {
5110
5136
  parentName: "tr",
5111
5137
  "align": "center"