@teambit/harmony.content.cli-reference 1.95.132 → 1.95.134
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.json +21 -1
- package/cli-reference.mdx +14 -1
- package/dist/cli-reference.json +21 -1
- package/dist/cli-reference.mdx.js +57 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1679887855248.js → preview-1680406095586.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.134.tgz +0 -0
- package/package.json +3 -3
- package/package-tar/teambit-harmony.content.cli-reference-1.95.132.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -2068,6 +2068,21 @@
|
|
|
2068
2068
|
}
|
|
2069
2069
|
]
|
|
2070
2070
|
},
|
|
2071
|
+
{
|
|
2072
|
+
"name": "recover <component-name>",
|
|
2073
|
+
"alias": "",
|
|
2074
|
+
"options": [
|
|
2075
|
+
[
|
|
2076
|
+
"x",
|
|
2077
|
+
"skip-dependency-installation",
|
|
2078
|
+
"do not install packages in case of importing components"
|
|
2079
|
+
]
|
|
2080
|
+
],
|
|
2081
|
+
"description": "EXPERIMENTAL. recover soft-removed component(s) from the workspace, or a remote scope",
|
|
2082
|
+
"extendedDescription": "",
|
|
2083
|
+
"group": "collaborate",
|
|
2084
|
+
"private": false
|
|
2085
|
+
},
|
|
2071
2086
|
{
|
|
2072
2087
|
"name": "resume-export <export-id> <remotes...>",
|
|
2073
2088
|
"alias": "",
|
|
@@ -2755,10 +2770,15 @@
|
|
|
2755
2770
|
"name": "create <lane-name>",
|
|
2756
2771
|
"alias": "",
|
|
2757
2772
|
"options": [
|
|
2773
|
+
[
|
|
2774
|
+
"s",
|
|
2775
|
+
"scope <scope-name>",
|
|
2776
|
+
"remote scope where this lane will be exported to, default to the defaultScope (can be changed later with \"bit lane change-scope\")"
|
|
2777
|
+
],
|
|
2758
2778
|
[
|
|
2759
2779
|
"",
|
|
2760
2780
|
"remote-scope <scope-name>",
|
|
2761
|
-
"
|
|
2781
|
+
"DEPRECATED. use --scope"
|
|
2762
2782
|
],
|
|
2763
2783
|
[
|
|
2764
2784
|
"",
|
package/cli-reference.mdx
CHANGED
|
@@ -801,7 +801,8 @@ a lane created from another lane has all the components of the original lane.
|
|
|
801
801
|
|
|
802
802
|
| **Option** | **Option alias** | **Description** |
|
|
803
803
|
| ----------------------------- | :--------------: | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
804
|
-
| `--
|
|
804
|
+
| `--scope <scope-name>` | `-s` | remote scope where this lane will be exported to, default to the defaultScope (can be changed later with "bit lane change-scope") |
|
|
805
|
+
| `--remote-scope <scope-name>` | | DEPRECATED. use --scope |
|
|
805
806
|
| `--alias <name>` | | a local alias to refer to this lane, defaults to the `<lane-name>` (can be added later with "bit lane alias") |
|
|
806
807
|
|
|
807
808
|
### lane remove
|
|
@@ -1085,6 +1086,18 @@ the matching algorithm is done by multimatch (@see https://github.com/sindresorh
|
|
|
1085
1086
|
|
|
1086
1087
|
---
|
|
1087
1088
|
|
|
1089
|
+
## recover
|
|
1090
|
+
|
|
1091
|
+
**Description**: EXPERIMENTAL. recover soft-removed component(s) from the workspace, or a remote scope
|
|
1092
|
+
|
|
1093
|
+
`bit recover <component-name>`
|
|
1094
|
+
|
|
1095
|
+
| **Option** | **Option alias** | **Description** |
|
|
1096
|
+
| -------------------------------- | :--------------: | ------------------------------------------------------- |
|
|
1097
|
+
| `--skip-dependency-installation` | `-x` | do not install packages in case of importing components |
|
|
1098
|
+
|
|
1099
|
+
---
|
|
1100
|
+
|
|
1088
1101
|
## refactor
|
|
1089
1102
|
|
|
1090
1103
|
**Description**: EXPERIMENTAL. source code refactoring / codemod
|
package/dist/cli-reference.json
CHANGED
|
@@ -2068,6 +2068,21 @@
|
|
|
2068
2068
|
}
|
|
2069
2069
|
]
|
|
2070
2070
|
},
|
|
2071
|
+
{
|
|
2072
|
+
"name": "recover <component-name>",
|
|
2073
|
+
"alias": "",
|
|
2074
|
+
"options": [
|
|
2075
|
+
[
|
|
2076
|
+
"x",
|
|
2077
|
+
"skip-dependency-installation",
|
|
2078
|
+
"do not install packages in case of importing components"
|
|
2079
|
+
]
|
|
2080
|
+
],
|
|
2081
|
+
"description": "EXPERIMENTAL. recover soft-removed component(s) from the workspace, or a remote scope",
|
|
2082
|
+
"extendedDescription": "",
|
|
2083
|
+
"group": "collaborate",
|
|
2084
|
+
"private": false
|
|
2085
|
+
},
|
|
2071
2086
|
{
|
|
2072
2087
|
"name": "resume-export <export-id> <remotes...>",
|
|
2073
2088
|
"alias": "",
|
|
@@ -2755,10 +2770,15 @@
|
|
|
2755
2770
|
"name": "create <lane-name>",
|
|
2756
2771
|
"alias": "",
|
|
2757
2772
|
"options": [
|
|
2773
|
+
[
|
|
2774
|
+
"s",
|
|
2775
|
+
"scope <scope-name>",
|
|
2776
|
+
"remote scope where this lane will be exported to, default to the defaultScope (can be changed later with \"bit lane change-scope\")"
|
|
2777
|
+
],
|
|
2758
2778
|
[
|
|
2759
2779
|
"",
|
|
2760
2780
|
"remote-scope <scope-name>",
|
|
2761
|
-
"
|
|
2781
|
+
"DEPRECATED. use --scope"
|
|
2762
2782
|
],
|
|
2763
2783
|
[
|
|
2764
2784
|
"",
|
|
@@ -3640,13 +3640,28 @@ function MDXContent(_ref) {
|
|
|
3640
3640
|
"align": null
|
|
3641
3641
|
}, (0, _react2.mdx)("inlineCode", {
|
|
3642
3642
|
parentName: "td"
|
|
3643
|
+
}, "--scope <scope-name>")), (0, _react2.mdx)("td", {
|
|
3644
|
+
parentName: "tr",
|
|
3645
|
+
"align": "center"
|
|
3646
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3647
|
+
parentName: "td"
|
|
3648
|
+
}, "-s")), (0, _react2.mdx)("td", {
|
|
3649
|
+
parentName: "tr",
|
|
3650
|
+
"align": null
|
|
3651
|
+
}, "remote scope where this lane will be exported to, default to the defaultScope (can be changed later with \"bit lane change-scope\")")), (0, _react2.mdx)("tr", {
|
|
3652
|
+
parentName: "tbody"
|
|
3653
|
+
}, (0, _react2.mdx)("td", {
|
|
3654
|
+
parentName: "tr",
|
|
3655
|
+
"align": null
|
|
3656
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3657
|
+
parentName: "td"
|
|
3643
3658
|
}, "--remote-scope <scope-name>")), (0, _react2.mdx)("td", {
|
|
3644
3659
|
parentName: "tr",
|
|
3645
3660
|
"align": "center"
|
|
3646
3661
|
}), (0, _react2.mdx)("td", {
|
|
3647
3662
|
parentName: "tr",
|
|
3648
3663
|
"align": null
|
|
3649
|
-
}, "
|
|
3664
|
+
}, "DEPRECATED. use --scope")), (0, _react2.mdx)("tr", {
|
|
3650
3665
|
parentName: "tbody"
|
|
3651
3666
|
}, (0, _react2.mdx)("td", {
|
|
3652
3667
|
parentName: "tr",
|
|
@@ -5092,7 +5107,47 @@ function MDXContent(_ref) {
|
|
|
5092
5107
|
}, "-j")), (0, _react2.mdx)("td", {
|
|
5093
5108
|
parentName: "tr",
|
|
5094
5109
|
"align": null
|
|
5095
|
-
}, "return the output as JSON")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
5110
|
+
}, "return the output as JSON")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "recover"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5111
|
+
parentName: "p"
|
|
5112
|
+
}, "Description"), ": EXPERIMENTAL. recover soft-removed component(s) from the workspace, or a remote scope"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5113
|
+
parentName: "p"
|
|
5114
|
+
}, "bit recover <component-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5115
|
+
parentName: "table"
|
|
5116
|
+
}, (0, _react2.mdx)("tr", {
|
|
5117
|
+
parentName: "thead"
|
|
5118
|
+
}, (0, _react2.mdx)("th", {
|
|
5119
|
+
parentName: "tr",
|
|
5120
|
+
"align": null
|
|
5121
|
+
}, (0, _react2.mdx)("strong", {
|
|
5122
|
+
parentName: "th"
|
|
5123
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
5124
|
+
parentName: "tr",
|
|
5125
|
+
"align": "center"
|
|
5126
|
+
}, (0, _react2.mdx)("strong", {
|
|
5127
|
+
parentName: "th"
|
|
5128
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
5129
|
+
parentName: "tr",
|
|
5130
|
+
"align": null
|
|
5131
|
+
}, (0, _react2.mdx)("strong", {
|
|
5132
|
+
parentName: "th"
|
|
5133
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
5134
|
+
parentName: "table"
|
|
5135
|
+
}, (0, _react2.mdx)("tr", {
|
|
5136
|
+
parentName: "tbody"
|
|
5137
|
+
}, (0, _react2.mdx)("td", {
|
|
5138
|
+
parentName: "tr",
|
|
5139
|
+
"align": null
|
|
5140
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5141
|
+
parentName: "td"
|
|
5142
|
+
}, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
|
|
5143
|
+
parentName: "tr",
|
|
5144
|
+
"align": "center"
|
|
5145
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5146
|
+
parentName: "td"
|
|
5147
|
+
}, "-x")), (0, _react2.mdx)("td", {
|
|
5148
|
+
parentName: "tr",
|
|
5149
|
+
"align": null
|
|
5150
|
+
}, "do not install packages in case of importing components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "refactor"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5096
5151
|
parentName: "p"
|
|
5097
5152
|
}, "Description"), ": EXPERIMENTAL. source code refactoring / codemod"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5098
5153
|
parentName: "p"
|