@teambit/harmony.content.cli-reference 1.95.82 → 1.95.84

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.
@@ -2138,7 +2138,7 @@
2138
2138
  ]
2139
2139
  },
2140
2140
  {
2141
- "name": "_tag <component-id...>",
2141
+ "name": "_tag <data>",
2142
2142
  "alias": "",
2143
2143
  "options": [
2144
2144
  [
@@ -2215,15 +2215,10 @@
2215
2215
  "I",
2216
2216
  "ignore-newest-version",
2217
2217
  "ignore existing of newer versions (default = false)"
2218
- ],
2219
- [
2220
- "b",
2221
- "build",
2222
- "EXPERIMENTAL. not needed for now. run the pipeline build and complete the tag"
2223
2218
  ]
2224
2219
  ],
2225
2220
  "description": "create an immutable and exportable component snapshot, tagged with a release version.",
2226
- "extendedDescription": "you can specify a version per id using \"@\" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major",
2221
+ "extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the tag.\nthe input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies: string[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n versionToTag?: string; // specific version (e.g. '1.0.0') or semver (e.g. 'minor', 'patch')\n prereleaseId?: string; // applicable when versionToTag is a pre-release. (e.g. \"dev\", for 1.0.0-dev.1)\n message?: string; // tag-message.\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"dependencies\":[\"ci.remote/comp1@0.0.2\"]}]'\n",
2227
2222
  "group": "development",
2228
2223
  "private": true,
2229
2224
  "remoteOp": true
@@ -2980,7 +2975,7 @@
2980
2975
  [
2981
2976
  "",
2982
2977
  "verbose",
2983
- "show full snap hashes"
2978
+ "show extra data: full snap hashes for staged, divergence point for lanes and updates-from-main for forked lanes"
2984
2979
  ],
2985
2980
  [
2986
2981
  "",
package/cli-reference.mdx CHANGED
@@ -1158,11 +1158,11 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
1158
1158
 
1159
1159
  `bit status`
1160
1160
 
1161
- | **Option** | **Option alias** | **Description** |
1162
- | ----------- | :--------------: | -------------------------------------- |
1163
- | `--json` | `-j` | return a json version of the component |
1164
- | `--verbose` | | show full snap hashes |
1165
- | `--strict` | | in case issues found, exit with code 1 |
1161
+ | **Option** | **Option alias** | **Description** |
1162
+ | ----------- | :--------------: | --------------------------------------------------------------------------------------------------------------- |
1163
+ | `--json` | `-j` | return a json version of the component |
1164
+ | `--verbose` | | show extra data: full snap hashes for staged, divergence point for lanes and updates-from-main for forked lanes |
1165
+ | `--strict` | | in case issues found, exit with code 1 |
1166
1166
 
1167
1167
  ---
1168
1168
 
@@ -2138,7 +2138,7 @@
2138
2138
  ]
2139
2139
  },
2140
2140
  {
2141
- "name": "_tag <component-id...>",
2141
+ "name": "_tag <data>",
2142
2142
  "alias": "",
2143
2143
  "options": [
2144
2144
  [
@@ -2215,15 +2215,10 @@
2215
2215
  "I",
2216
2216
  "ignore-newest-version",
2217
2217
  "ignore existing of newer versions (default = false)"
2218
- ],
2219
- [
2220
- "b",
2221
- "build",
2222
- "EXPERIMENTAL. not needed for now. run the pipeline build and complete the tag"
2223
2218
  ]
2224
2219
  ],
2225
2220
  "description": "create an immutable and exportable component snapshot, tagged with a release version.",
2226
- "extendedDescription": "you can specify a version per id using \"@\" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major",
2221
+ "extendedDescription": "this command should be running from a new bare scope, it first imports the components it needs and then processes the tag.\nthe input data is a stringified JSON of an array of the following object.\n{\n componentId: string; // ids always have scope, so it's safe to parse them from string\n dependencies: string[]; // e.g. [teambit/compiler@1.0.0, teambit/tester@1.0.0]\n versionToTag?: string; // specific version (e.g. '1.0.0') or semver (e.g. 'minor', 'patch')\n prereleaseId?: string; // applicable when versionToTag is a pre-release. (e.g. \"dev\", for 1.0.0-dev.1)\n message?: string; // tag-message.\n}\nan example of the final data: '[{\"componentId\":\"ci.remote2/comp-b\",\"dependencies\":[\"ci.remote/comp1@0.0.2\"]}]'\n",
2227
2222
  "group": "development",
2228
2223
  "private": true,
2229
2224
  "remoteOp": true
@@ -2980,7 +2975,7 @@
2980
2975
  [
2981
2976
  "",
2982
2977
  "verbose",
2983
- "show full snap hashes"
2978
+ "show extra data: full snap hashes for staged, divergence point for lanes and updates-from-main for forked lanes"
2984
2979
  ],
2985
2980
  [
2986
2981
  "",
@@ -4,31 +4,21 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = MDXContent;
7
-
8
7
  var _react = _interopRequireDefault(require("react"));
9
-
10
8
  var _react2 = require("@mdx-js/react");
11
-
12
9
  var _excluded = ["components"];
13
-
14
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
-
16
11
  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); }
17
-
18
12
  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
-
20
13
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
21
-
22
14
  /* @jsxRuntime classic */
23
-
24
15
  /* @jsx mdx */
16
+
25
17
  var layoutProps = {};
26
18
  var MDXLayout = "wrapper";
27
-
28
19
  function MDXContent(_ref) {
29
20
  var components = _ref.components,
30
- props = _objectWithoutProperties(_ref, _excluded);
31
-
21
+ props = _objectWithoutProperties(_ref, _excluded);
32
22
  return (0, _react2.mdx)(MDXLayout, _extends({}, layoutProps, props, {
33
23
  components: components,
34
24
  mdxType: "MDXLayout"
@@ -5155,7 +5145,7 @@ function MDXContent(_ref) {
5155
5145
  }), (0, _react2.mdx)("td", {
5156
5146
  parentName: "tr",
5157
5147
  "align": null
5158
- }, "show full snap hashes")), (0, _react2.mdx)("tr", {
5148
+ }, "show extra data: full snap hashes for staged, divergence point for lanes and updates-from-main for forked lanes")), (0, _react2.mdx)("tr", {
5159
5149
  parentName: "tbody"
5160
5150
  }, (0, _react2.mdx)("td", {
5161
5151
  parentName: "tr",
@@ -5969,7 +5959,6 @@ function MDXContent(_ref) {
5969
5959
  "align": null
5970
5960
  }, "json format")))), (0, _react2.mdx)("hr", null));
5971
5961
  }
5972
-
5973
5962
  ;
5974
5963
  MDXContent.isMDXComponent = true;
5975
5964