@teambit/harmony.content.cli-reference 1.95.44 → 1.95.47

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>",
@@ -2005,7 +2010,7 @@
2005
2010
  ]
2006
2011
  ],
2007
2012
  "description": "create an immutable and exportable component snapshot, tagged with a release version.",
2008
- "extendedDescription": "if no patterns are provided, it will tag all new and modified components.\nif patterns are entered, you can specify a version per pattern using \"@\" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major\nhttps://bit.dev/components/tags",
2013
+ "extendedDescription": "if no patterns are provided, it will tag all new and modified components.\nif patterns are entered, you can specify a version per pattern using \"@\" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major",
2009
2014
  "group": "development",
2010
2015
  "private": false,
2011
2016
  "remoteOp": true,
@@ -2983,7 +2988,13 @@
2983
2988
  {
2984
2989
  "name": "diff [values...]",
2985
2990
  "alias": "",
2986
- "options": [],
2991
+ "options": [
2992
+ [
2993
+ "",
2994
+ "pattern <component-pattern>",
2995
+ "EXPERIMENTAL. show lane-diff for the specified component-pattern only"
2996
+ ]
2997
+ ],
2987
2998
  "description": "show diff between lanes",
2988
2999
  "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
3000
  "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 |
@@ -1125,8 +1126,7 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
1125
1126
  **Workspace only**: yes
1126
1127
  **Description**: create an immutable and exportable component snapshot, tagged with a release version.
1127
1128
  if no patterns are provided, it will tag all new and modified components.
1128
- if patterns are entered, you can specify a version per pattern using "@" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major
1129
- https://bit.dev/components/tags
1129
+ if patterns are entered, you can specify a version per pattern using "@" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major
1130
1130
 
1131
1131
  `bit tag [component-patterns...]`
1132
1132
 
@@ -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>",
@@ -2005,7 +2010,7 @@
2005
2010
  ]
2006
2011
  ],
2007
2012
  "description": "create an immutable and exportable component snapshot, tagged with a release version.",
2008
- "extendedDescription": "if no patterns are provided, it will tag all new and modified components.\nif patterns are entered, you can specify a version per pattern using \"@\" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major\nhttps://bit.dev/components/tags",
2013
+ "extendedDescription": "if no patterns are provided, it will tag all new and modified components.\nif patterns are entered, you can specify a version per pattern using \"@\" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major",
2009
2014
  "group": "development",
2010
2015
  "private": false,
2011
2016
  "remoteOp": true,
@@ -2983,7 +2988,13 @@
2983
2988
  {
2984
2989
  "name": "diff [values...]",
2985
2990
  "alias": "",
2986
- "options": [],
2991
+ "options": [
2992
+ [
2993
+ "",
2994
+ "pattern <component-pattern>",
2995
+ "EXPERIMENTAL. show lane-diff for the specified component-pattern only"
2996
+ ]
2997
+ ],
2987
2998
  "description": "show diff between lanes",
2988
2999
  "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
3000
  "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"
@@ -4923,12 +4936,7 @@ function MDXContent(_ref) {
4923
4936
  }), "\n", "if patterns are entered, you can specify a version per pattern using \"@\" sign, e.g. bit tag ", (0, _react2.mdx)("a", {
4924
4937
  parentName: "p",
4925
4938
  "href": "mailto:foo@1.0.0"
4926
- }, "foo@1.0.0"), " bar@minor baz@major", (0, _react2.mdx)("br", {
4927
- parentName: "p"
4928
- }), "\n", (0, _react2.mdx)("a", {
4929
- parentName: "p",
4930
- "href": "https://bit.dev/components/tags"
4931
- }, "https://bit.dev/components/tags")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
4939
+ }, "foo@1.0.0"), " bar@minor baz@major"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
4932
4940
  parentName: "p"
4933
4941
  }, "bit tag [component-patterns...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
4934
4942
  parentName: "table"