@teambit/harmony.content.cli-reference 1.95.133 → 1.95.135
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 +23 -2
- package/cli-reference.mdx +17 -1
- package/dist/cli-reference.json +23 -2
- package/dist/cli-reference.mdx.js +79 -3
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1679974224627.js → preview-1680751703602.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.135.tgz +0 -0
- package/package.json +3 -3
- package/package-tar/teambit-harmony.content.cli-reference-1.95.133.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -1036,9 +1036,15 @@
|
|
|
1036
1036
|
"private": false
|
|
1037
1037
|
},
|
|
1038
1038
|
{
|
|
1039
|
-
"name": "capsule
|
|
1039
|
+
"name": "capsule",
|
|
1040
1040
|
"alias": "",
|
|
1041
|
-
"options": [
|
|
1041
|
+
"options": [
|
|
1042
|
+
[
|
|
1043
|
+
"j",
|
|
1044
|
+
"json",
|
|
1045
|
+
"json format"
|
|
1046
|
+
]
|
|
1047
|
+
],
|
|
1042
1048
|
"description": "manage capsules",
|
|
1043
1049
|
"extendedDescription": "a capsule is a directory containing the component code, isolated from the workspace.\nnormally, capsules are created during the build process, the component files are copied and the packages are installed\nvia the configured package-manager. the purpose is to compile/test them in isolation to make sure they will work for\nother users after publishing/exporting them.",
|
|
1044
1050
|
"group": "capsules",
|
|
@@ -2068,6 +2074,21 @@
|
|
|
2068
2074
|
}
|
|
2069
2075
|
]
|
|
2070
2076
|
},
|
|
2077
|
+
{
|
|
2078
|
+
"name": "recover <component-name>",
|
|
2079
|
+
"alias": "",
|
|
2080
|
+
"options": [
|
|
2081
|
+
[
|
|
2082
|
+
"x",
|
|
2083
|
+
"skip-dependency-installation",
|
|
2084
|
+
"do not install packages in case of importing components"
|
|
2085
|
+
]
|
|
2086
|
+
],
|
|
2087
|
+
"description": "EXPERIMENTAL. recover soft-removed component(s) from the workspace, or a remote scope",
|
|
2088
|
+
"extendedDescription": "",
|
|
2089
|
+
"group": "collaborate",
|
|
2090
|
+
"private": false
|
|
2091
|
+
},
|
|
2071
2092
|
{
|
|
2072
2093
|
"name": "resume-export <export-id> <remotes...>",
|
|
2073
2094
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -164,7 +164,7 @@ normally, capsules are created during the build process, the component files are
|
|
|
164
164
|
via the configured package-manager. the purpose is to compile/test them in isolation to make sure they will work for
|
|
165
165
|
other users after publishing/exporting them.
|
|
166
166
|
|
|
167
|
-
`bit capsule
|
|
167
|
+
`bit capsule`
|
|
168
168
|
|
|
169
169
|
### capsule list
|
|
170
170
|
|
|
@@ -205,6 +205,10 @@ with no args, only workspace's capsules are deleted
|
|
|
205
205
|
| `--scope-aspects` | | delete scope-aspects capsules |
|
|
206
206
|
| `--all` | `-a` | delete all capsules for all workspaces and scopes |
|
|
207
207
|
|
|
208
|
+
| **Option** | **Option alias** | **Description** |
|
|
209
|
+
| ---------- | :--------------: | --------------- |
|
|
210
|
+
| `--json` | `-j` | json format |
|
|
211
|
+
|
|
208
212
|
---
|
|
209
213
|
|
|
210
214
|
## check-types
|
|
@@ -1086,6 +1090,18 @@ the matching algorithm is done by multimatch (@see https://github.com/sindresorh
|
|
|
1086
1090
|
|
|
1087
1091
|
---
|
|
1088
1092
|
|
|
1093
|
+
## recover
|
|
1094
|
+
|
|
1095
|
+
**Description**: EXPERIMENTAL. recover soft-removed component(s) from the workspace, or a remote scope
|
|
1096
|
+
|
|
1097
|
+
`bit recover <component-name>`
|
|
1098
|
+
|
|
1099
|
+
| **Option** | **Option alias** | **Description** |
|
|
1100
|
+
| -------------------------------- | :--------------: | ------------------------------------------------------- |
|
|
1101
|
+
| `--skip-dependency-installation` | `-x` | do not install packages in case of importing components |
|
|
1102
|
+
|
|
1103
|
+
---
|
|
1104
|
+
|
|
1089
1105
|
## refactor
|
|
1090
1106
|
|
|
1091
1107
|
**Description**: EXPERIMENTAL. source code refactoring / codemod
|
package/dist/cli-reference.json
CHANGED
|
@@ -1036,9 +1036,15 @@
|
|
|
1036
1036
|
"private": false
|
|
1037
1037
|
},
|
|
1038
1038
|
{
|
|
1039
|
-
"name": "capsule
|
|
1039
|
+
"name": "capsule",
|
|
1040
1040
|
"alias": "",
|
|
1041
|
-
"options": [
|
|
1041
|
+
"options": [
|
|
1042
|
+
[
|
|
1043
|
+
"j",
|
|
1044
|
+
"json",
|
|
1045
|
+
"json format"
|
|
1046
|
+
]
|
|
1047
|
+
],
|
|
1042
1048
|
"description": "manage capsules",
|
|
1043
1049
|
"extendedDescription": "a capsule is a directory containing the component code, isolated from the workspace.\nnormally, capsules are created during the build process, the component files are copied and the packages are installed\nvia the configured package-manager. the purpose is to compile/test them in isolation to make sure they will work for\nother users after publishing/exporting them.",
|
|
1044
1050
|
"group": "capsules",
|
|
@@ -2068,6 +2074,21 @@
|
|
|
2068
2074
|
}
|
|
2069
2075
|
]
|
|
2070
2076
|
},
|
|
2077
|
+
{
|
|
2078
|
+
"name": "recover <component-name>",
|
|
2079
|
+
"alias": "",
|
|
2080
|
+
"options": [
|
|
2081
|
+
[
|
|
2082
|
+
"x",
|
|
2083
|
+
"skip-dependency-installation",
|
|
2084
|
+
"do not install packages in case of importing components"
|
|
2085
|
+
]
|
|
2086
|
+
],
|
|
2087
|
+
"description": "EXPERIMENTAL. recover soft-removed component(s) from the workspace, or a remote scope",
|
|
2088
|
+
"extendedDescription": "",
|
|
2089
|
+
"group": "collaborate",
|
|
2090
|
+
"private": false
|
|
2091
|
+
},
|
|
2071
2092
|
{
|
|
2072
2093
|
"name": "resume-export <export-id> <remotes...>",
|
|
2073
2094
|
"alias": "",
|
|
@@ -672,7 +672,7 @@ function MDXContent(_ref) {
|
|
|
672
672
|
parentName: "p"
|
|
673
673
|
}), "\n", "other users after publishing/exporting them."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
674
674
|
parentName: "p"
|
|
675
|
-
}, "bit capsule
|
|
675
|
+
}, "bit capsule")), (0, _react2.mdx)("h3", null, "capsule list"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
676
676
|
parentName: "p"
|
|
677
677
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
678
678
|
parentName: "p"
|
|
@@ -918,7 +918,43 @@ function MDXContent(_ref) {
|
|
|
918
918
|
}, "-a")), (0, _react2.mdx)("td", {
|
|
919
919
|
parentName: "tr",
|
|
920
920
|
"align": null
|
|
921
|
-
}, "delete all capsules for all workspaces and scopes")))), (0, _react2.mdx)("
|
|
921
|
+
}, "delete all capsules for all workspaces and scopes")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
922
|
+
parentName: "table"
|
|
923
|
+
}, (0, _react2.mdx)("tr", {
|
|
924
|
+
parentName: "thead"
|
|
925
|
+
}, (0, _react2.mdx)("th", {
|
|
926
|
+
parentName: "tr",
|
|
927
|
+
"align": null
|
|
928
|
+
}, (0, _react2.mdx)("strong", {
|
|
929
|
+
parentName: "th"
|
|
930
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
931
|
+
parentName: "tr",
|
|
932
|
+
"align": "center"
|
|
933
|
+
}, (0, _react2.mdx)("strong", {
|
|
934
|
+
parentName: "th"
|
|
935
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
936
|
+
parentName: "tr",
|
|
937
|
+
"align": null
|
|
938
|
+
}, (0, _react2.mdx)("strong", {
|
|
939
|
+
parentName: "th"
|
|
940
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
941
|
+
parentName: "table"
|
|
942
|
+
}, (0, _react2.mdx)("tr", {
|
|
943
|
+
parentName: "tbody"
|
|
944
|
+
}, (0, _react2.mdx)("td", {
|
|
945
|
+
parentName: "tr",
|
|
946
|
+
"align": null
|
|
947
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
948
|
+
parentName: "td"
|
|
949
|
+
}, "--json")), (0, _react2.mdx)("td", {
|
|
950
|
+
parentName: "tr",
|
|
951
|
+
"align": "center"
|
|
952
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
953
|
+
parentName: "td"
|
|
954
|
+
}, "-j")), (0, _react2.mdx)("td", {
|
|
955
|
+
parentName: "tr",
|
|
956
|
+
"align": null
|
|
957
|
+
}, "json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "check-types"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
922
958
|
parentName: "p"
|
|
923
959
|
}, "Description"), ": check typescript types"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
924
960
|
parentName: "p"
|
|
@@ -5107,7 +5143,47 @@ function MDXContent(_ref) {
|
|
|
5107
5143
|
}, "-j")), (0, _react2.mdx)("td", {
|
|
5108
5144
|
parentName: "tr",
|
|
5109
5145
|
"align": null
|
|
5110
|
-
}, "return the output as JSON")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
5146
|
+
}, "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", {
|
|
5147
|
+
parentName: "p"
|
|
5148
|
+
}, "Description"), ": EXPERIMENTAL. recover soft-removed component(s) from the workspace, or a remote scope"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5149
|
+
parentName: "p"
|
|
5150
|
+
}, "bit recover <component-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5151
|
+
parentName: "table"
|
|
5152
|
+
}, (0, _react2.mdx)("tr", {
|
|
5153
|
+
parentName: "thead"
|
|
5154
|
+
}, (0, _react2.mdx)("th", {
|
|
5155
|
+
parentName: "tr",
|
|
5156
|
+
"align": null
|
|
5157
|
+
}, (0, _react2.mdx)("strong", {
|
|
5158
|
+
parentName: "th"
|
|
5159
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
5160
|
+
parentName: "tr",
|
|
5161
|
+
"align": "center"
|
|
5162
|
+
}, (0, _react2.mdx)("strong", {
|
|
5163
|
+
parentName: "th"
|
|
5164
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
5165
|
+
parentName: "tr",
|
|
5166
|
+
"align": null
|
|
5167
|
+
}, (0, _react2.mdx)("strong", {
|
|
5168
|
+
parentName: "th"
|
|
5169
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
5170
|
+
parentName: "table"
|
|
5171
|
+
}, (0, _react2.mdx)("tr", {
|
|
5172
|
+
parentName: "tbody"
|
|
5173
|
+
}, (0, _react2.mdx)("td", {
|
|
5174
|
+
parentName: "tr",
|
|
5175
|
+
"align": null
|
|
5176
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5177
|
+
parentName: "td"
|
|
5178
|
+
}, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
|
|
5179
|
+
parentName: "tr",
|
|
5180
|
+
"align": "center"
|
|
5181
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5182
|
+
parentName: "td"
|
|
5183
|
+
}, "-x")), (0, _react2.mdx)("td", {
|
|
5184
|
+
parentName: "tr",
|
|
5185
|
+
"align": null
|
|
5186
|
+
}, "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", {
|
|
5111
5187
|
parentName: "p"
|
|
5112
5188
|
}, "Description"), ": EXPERIMENTAL. source code refactoring / codemod"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5113
5189
|
parentName: "p"
|