@teambit/harmony.content.cli-reference 1.95.171 → 1.95.173
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.
- package/cli-reference.docs.mdx +1 -1
- package/cli-reference.json +30 -0
- package/cli-reference.mdx +13 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +30 -0
- package/dist/cli-reference.mdx.js +56 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1689218262868.js → preview-1689304690678.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.173.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.171.tgz +0 -0
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -2687,6 +2687,36 @@
|
|
|
2687
2687
|
}
|
|
2688
2688
|
]
|
|
2689
2689
|
},
|
|
2690
|
+
{
|
|
2691
|
+
"name": "revert <component-pattern> <to>",
|
|
2692
|
+
"alias": "",
|
|
2693
|
+
"options": [
|
|
2694
|
+
[
|
|
2695
|
+
"v",
|
|
2696
|
+
"verbose",
|
|
2697
|
+
"showing verbose output for inspection"
|
|
2698
|
+
],
|
|
2699
|
+
[
|
|
2700
|
+
"x",
|
|
2701
|
+
"skip-dependency-installation",
|
|
2702
|
+
"do not install packages of the imported components"
|
|
2703
|
+
]
|
|
2704
|
+
],
|
|
2705
|
+
"description": "replace the current component files by the specified version, leave the version intact",
|
|
2706
|
+
"extendedDescription": "",
|
|
2707
|
+
"group": "development",
|
|
2708
|
+
"private": false,
|
|
2709
|
+
"arguments": [
|
|
2710
|
+
{
|
|
2711
|
+
"name": "component-pattern",
|
|
2712
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
"name": "to",
|
|
2716
|
+
"description": "permitted values: [main, specific-version]. 'main' - head version on main."
|
|
2717
|
+
}
|
|
2718
|
+
]
|
|
2719
|
+
},
|
|
2690
2720
|
{
|
|
2691
2721
|
"name": "stash [sub-command]",
|
|
2692
2722
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -1270,6 +1270,19 @@ https://bit.dev/docs/components/tags#undoing-a-tag
|
|
|
1270
1270
|
|
|
1271
1271
|
---
|
|
1272
1272
|
|
|
1273
|
+
## revert
|
|
1274
|
+
|
|
1275
|
+
**Description**: replace the current component files by the specified version, leave the version intact
|
|
1276
|
+
|
|
1277
|
+
`bit revert <component-pattern> <to>`
|
|
1278
|
+
|
|
1279
|
+
| **Option** | **Option alias** | **Description** |
|
|
1280
|
+
| -------------------------------- | :--------------: | -------------------------------------------------- |
|
|
1281
|
+
| `--verbose` | `-v` | showing verbose output for inspection |
|
|
1282
|
+
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
1283
|
+
|
|
1284
|
+
---
|
|
1285
|
+
|
|
1273
1286
|
## run
|
|
1274
1287
|
|
|
1275
1288
|
**Alias**: `c`
|
package/dist/cli-reference.json
CHANGED
|
@@ -2687,6 +2687,36 @@
|
|
|
2687
2687
|
}
|
|
2688
2688
|
]
|
|
2689
2689
|
},
|
|
2690
|
+
{
|
|
2691
|
+
"name": "revert <component-pattern> <to>",
|
|
2692
|
+
"alias": "",
|
|
2693
|
+
"options": [
|
|
2694
|
+
[
|
|
2695
|
+
"v",
|
|
2696
|
+
"verbose",
|
|
2697
|
+
"showing verbose output for inspection"
|
|
2698
|
+
],
|
|
2699
|
+
[
|
|
2700
|
+
"x",
|
|
2701
|
+
"skip-dependency-installation",
|
|
2702
|
+
"do not install packages of the imported components"
|
|
2703
|
+
]
|
|
2704
|
+
],
|
|
2705
|
+
"description": "replace the current component files by the specified version, leave the version intact",
|
|
2706
|
+
"extendedDescription": "",
|
|
2707
|
+
"group": "development",
|
|
2708
|
+
"private": false,
|
|
2709
|
+
"arguments": [
|
|
2710
|
+
{
|
|
2711
|
+
"name": "component-pattern",
|
|
2712
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2713
|
+
},
|
|
2714
|
+
{
|
|
2715
|
+
"name": "to",
|
|
2716
|
+
"description": "permitted values: [main, specific-version]. 'main' - head version on main."
|
|
2717
|
+
}
|
|
2718
|
+
]
|
|
2719
|
+
},
|
|
2690
2720
|
{
|
|
2691
2721
|
"name": "stash [sub-command]",
|
|
2692
2722
|
"alias": "",
|
|
@@ -5929,7 +5929,62 @@ function MDXContent(_ref) {
|
|
|
5929
5929
|
}, "-f")), (0, _react2.mdx)("td", {
|
|
5930
5930
|
parentName: "tr",
|
|
5931
5931
|
"align": null
|
|
5932
|
-
}, "revert the tag even if used as a dependency. WARNING: components that depend on this tag will corrupt")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
5932
|
+
}, "revert the tag even if used as a dependency. WARNING: components that depend on this tag will corrupt")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "revert"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5933
|
+
parentName: "p"
|
|
5934
|
+
}, "Description"), ": replace the current component files by the specified version, leave the version intact"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5935
|
+
parentName: "p"
|
|
5936
|
+
}, "bit revert <component-pattern> <to>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5937
|
+
parentName: "table"
|
|
5938
|
+
}, (0, _react2.mdx)("tr", {
|
|
5939
|
+
parentName: "thead"
|
|
5940
|
+
}, (0, _react2.mdx)("th", {
|
|
5941
|
+
parentName: "tr",
|
|
5942
|
+
"align": null
|
|
5943
|
+
}, (0, _react2.mdx)("strong", {
|
|
5944
|
+
parentName: "th"
|
|
5945
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
5946
|
+
parentName: "tr",
|
|
5947
|
+
"align": "center"
|
|
5948
|
+
}, (0, _react2.mdx)("strong", {
|
|
5949
|
+
parentName: "th"
|
|
5950
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
5951
|
+
parentName: "tr",
|
|
5952
|
+
"align": null
|
|
5953
|
+
}, (0, _react2.mdx)("strong", {
|
|
5954
|
+
parentName: "th"
|
|
5955
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
5956
|
+
parentName: "table"
|
|
5957
|
+
}, (0, _react2.mdx)("tr", {
|
|
5958
|
+
parentName: "tbody"
|
|
5959
|
+
}, (0, _react2.mdx)("td", {
|
|
5960
|
+
parentName: "tr",
|
|
5961
|
+
"align": null
|
|
5962
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5963
|
+
parentName: "td"
|
|
5964
|
+
}, "--verbose")), (0, _react2.mdx)("td", {
|
|
5965
|
+
parentName: "tr",
|
|
5966
|
+
"align": "center"
|
|
5967
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5968
|
+
parentName: "td"
|
|
5969
|
+
}, "-v")), (0, _react2.mdx)("td", {
|
|
5970
|
+
parentName: "tr",
|
|
5971
|
+
"align": null
|
|
5972
|
+
}, "showing verbose output for inspection")), (0, _react2.mdx)("tr", {
|
|
5973
|
+
parentName: "tbody"
|
|
5974
|
+
}, (0, _react2.mdx)("td", {
|
|
5975
|
+
parentName: "tr",
|
|
5976
|
+
"align": null
|
|
5977
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5978
|
+
parentName: "td"
|
|
5979
|
+
}, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
|
|
5980
|
+
parentName: "tr",
|
|
5981
|
+
"align": "center"
|
|
5982
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5983
|
+
parentName: "td"
|
|
5984
|
+
}, "-x")), (0, _react2.mdx)("td", {
|
|
5985
|
+
parentName: "tr",
|
|
5986
|
+
"align": null
|
|
5987
|
+
}, "do not install packages of the imported components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "run"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5933
5988
|
parentName: "p"
|
|
5934
5989
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5935
5990
|
parentName: "p"
|