@teambit/harmony.content.cli-reference 2.0.207 → 2.0.209
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 +17 -2
- package/cli-reference.mdx +13 -2
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +17 -2
- package/dist/cli-reference.mdx.js +51 -3
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1710818418063.js → preview-1710933261301.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -379,12 +379,12 @@
|
|
|
379
379
|
"archive the workspace including diagnosis info (by default exclude node-modules and include .bit)"
|
|
380
380
|
],
|
|
381
381
|
[
|
|
382
|
-
"",
|
|
382
|
+
"n",
|
|
383
383
|
"include-node-modules",
|
|
384
384
|
"relevant for --archive. include node_modules in the archive file"
|
|
385
385
|
],
|
|
386
386
|
[
|
|
387
|
-
"",
|
|
387
|
+
"e",
|
|
388
388
|
"exclude-local-scope",
|
|
389
389
|
"relevant for --archive. exclude .bit or .git/bit from the archive file"
|
|
390
390
|
]
|
|
@@ -3805,6 +3805,21 @@
|
|
|
3805
3805
|
}
|
|
3806
3806
|
]
|
|
3807
3807
|
},
|
|
3808
|
+
{
|
|
3809
|
+
"name": "fetch [lane-id]",
|
|
3810
|
+
"alias": "",
|
|
3811
|
+
"options": [
|
|
3812
|
+
[
|
|
3813
|
+
"a",
|
|
3814
|
+
"all",
|
|
3815
|
+
"fetch all remote lanes"
|
|
3816
|
+
]
|
|
3817
|
+
],
|
|
3818
|
+
"description": "fetch component objects from lanes. if no lane-id is provided, it fetches from the current lane",
|
|
3819
|
+
"extendedDescription": "note, it does not save the remote lanes objects locally, only the refs",
|
|
3820
|
+
"group": "ungrouped",
|
|
3821
|
+
"private": false
|
|
3822
|
+
},
|
|
3808
3823
|
{
|
|
3809
3824
|
"name": "merge <lane> [pattern]",
|
|
3810
3825
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -632,8 +632,8 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
632
632
|
| `--list` | | list all available diagnoses |
|
|
633
633
|
| `--save [filePath]` | `-s` | save diagnoses to a file |
|
|
634
634
|
| `--archive [filePath]` | `-a` | archive the workspace including diagnosis info (by default exclude node-modules and include .bit) |
|
|
635
|
-
| `--include-node-modules` |
|
|
636
|
-
| `--exclude-local-scope` |
|
|
635
|
+
| `--include-node-modules` | `-n` | relevant for --archive. include node_modules in the archive file |
|
|
636
|
+
| `--exclude-local-scope` | `-e` | relevant for --archive. exclude .bit or .git/bit from the archive file |
|
|
637
637
|
|
|
638
638
|
---
|
|
639
639
|
|
|
@@ -1168,6 +1168,17 @@ bit lane diff from to => diff between "from" lane and "to" lane.
|
|
|
1168
1168
|
| `--workspace-only` | | do not mark the components as removed from the lane. instead, remove them from the workspace only |
|
|
1169
1169
|
| `--update-main` | | EXPERIMENTAL. remove, i.e. delete, component/s on the main lane after merging this lane into main |
|
|
1170
1170
|
|
|
1171
|
+
### lane fetch
|
|
1172
|
+
|
|
1173
|
+
**Usage**: `lane fetch [lane-id]`
|
|
1174
|
+
|
|
1175
|
+
**Description**: fetch component objects from lanes. if no lane-id is provided, it fetches from the current lane
|
|
1176
|
+
note, it does not save the remote lanes objects locally, only the refs
|
|
1177
|
+
|
|
1178
|
+
| **Option** | **Option alias** | **Description** |
|
|
1179
|
+
| ---------- | :--------------: | ---------------------- |
|
|
1180
|
+
| `--all` | `-a` | fetch all remote lanes |
|
|
1181
|
+
|
|
1171
1182
|
### lane merge
|
|
1172
1183
|
|
|
1173
1184
|
**Usage**: `lane merge <lane> [pattern]`
|
package/dist/cli-reference.json
CHANGED
|
@@ -379,12 +379,12 @@
|
|
|
379
379
|
"archive the workspace including diagnosis info (by default exclude node-modules and include .bit)"
|
|
380
380
|
],
|
|
381
381
|
[
|
|
382
|
-
"",
|
|
382
|
+
"n",
|
|
383
383
|
"include-node-modules",
|
|
384
384
|
"relevant for --archive. include node_modules in the archive file"
|
|
385
385
|
],
|
|
386
386
|
[
|
|
387
|
-
"",
|
|
387
|
+
"e",
|
|
388
388
|
"exclude-local-scope",
|
|
389
389
|
"relevant for --archive. exclude .bit or .git/bit from the archive file"
|
|
390
390
|
]
|
|
@@ -3805,6 +3805,21 @@
|
|
|
3805
3805
|
}
|
|
3806
3806
|
]
|
|
3807
3807
|
},
|
|
3808
|
+
{
|
|
3809
|
+
"name": "fetch [lane-id]",
|
|
3810
|
+
"alias": "",
|
|
3811
|
+
"options": [
|
|
3812
|
+
[
|
|
3813
|
+
"a",
|
|
3814
|
+
"all",
|
|
3815
|
+
"fetch all remote lanes"
|
|
3816
|
+
]
|
|
3817
|
+
],
|
|
3818
|
+
"description": "fetch component objects from lanes. if no lane-id is provided, it fetches from the current lane",
|
|
3819
|
+
"extendedDescription": "note, it does not save the remote lanes objects locally, only the refs",
|
|
3820
|
+
"group": "ungrouped",
|
|
3821
|
+
"private": false
|
|
3822
|
+
},
|
|
3808
3823
|
{
|
|
3809
3824
|
"name": "merge <lane> [pattern]",
|
|
3810
3825
|
"alias": "",
|
|
@@ -3074,7 +3074,9 @@ function MDXContent(_ref) {
|
|
|
3074
3074
|
}, "--include-node-modules")), (0, _react2.mdx)("td", {
|
|
3075
3075
|
parentName: "tr",
|
|
3076
3076
|
"align": "center"
|
|
3077
|
-
}
|
|
3077
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3078
|
+
parentName: "td"
|
|
3079
|
+
}, "-n")), (0, _react2.mdx)("td", {
|
|
3078
3080
|
parentName: "tr",
|
|
3079
3081
|
"align": null
|
|
3080
3082
|
}, "relevant for --archive. include node_modules in the archive file")), (0, _react2.mdx)("tr", {
|
|
@@ -3087,7 +3089,9 @@ function MDXContent(_ref) {
|
|
|
3087
3089
|
}, "--exclude-local-scope")), (0, _react2.mdx)("td", {
|
|
3088
3090
|
parentName: "tr",
|
|
3089
3091
|
"align": "center"
|
|
3090
|
-
}
|
|
3092
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3093
|
+
parentName: "td"
|
|
3094
|
+
}, "-e")), (0, _react2.mdx)("td", {
|
|
3091
3095
|
parentName: "tr",
|
|
3092
3096
|
"align": null
|
|
3093
3097
|
}, "relevant for --archive. exclude .bit or .git/bit from the archive file")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "eject"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
@@ -6013,7 +6017,51 @@ function MDXContent(_ref) {
|
|
|
6013
6017
|
}), (0, _react2.mdx)("td", {
|
|
6014
6018
|
parentName: "tr",
|
|
6015
6019
|
"align": null
|
|
6016
|
-
}, "EXPERIMENTAL. remove, i.e. delete, component/s on the main lane after merging this lane into main")))), (0, _react2.mdx)("h3", null, "lane
|
|
6020
|
+
}, "EXPERIMENTAL. remove, i.e. delete, component/s on the main lane after merging this lane into main")))), (0, _react2.mdx)("h3", null, "lane fetch"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6021
|
+
parentName: "p"
|
|
6022
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
6023
|
+
parentName: "p"
|
|
6024
|
+
}, "lane fetch [lane-id]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6025
|
+
parentName: "p"
|
|
6026
|
+
}, "Description"), ": fetch component objects from lanes. if no lane-id is provided, it fetches from the current lane", (0, _react2.mdx)("br", {
|
|
6027
|
+
parentName: "p"
|
|
6028
|
+
}), "\n", "note, it does not save the remote lanes objects locally, only the refs"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6029
|
+
parentName: "table"
|
|
6030
|
+
}, (0, _react2.mdx)("tr", {
|
|
6031
|
+
parentName: "thead"
|
|
6032
|
+
}, (0, _react2.mdx)("th", {
|
|
6033
|
+
parentName: "tr",
|
|
6034
|
+
"align": null
|
|
6035
|
+
}, (0, _react2.mdx)("strong", {
|
|
6036
|
+
parentName: "th"
|
|
6037
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
6038
|
+
parentName: "tr",
|
|
6039
|
+
"align": "center"
|
|
6040
|
+
}, (0, _react2.mdx)("strong", {
|
|
6041
|
+
parentName: "th"
|
|
6042
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
6043
|
+
parentName: "tr",
|
|
6044
|
+
"align": null
|
|
6045
|
+
}, (0, _react2.mdx)("strong", {
|
|
6046
|
+
parentName: "th"
|
|
6047
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
6048
|
+
parentName: "table"
|
|
6049
|
+
}, (0, _react2.mdx)("tr", {
|
|
6050
|
+
parentName: "tbody"
|
|
6051
|
+
}, (0, _react2.mdx)("td", {
|
|
6052
|
+
parentName: "tr",
|
|
6053
|
+
"align": null
|
|
6054
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
6055
|
+
parentName: "td"
|
|
6056
|
+
}, "--all")), (0, _react2.mdx)("td", {
|
|
6057
|
+
parentName: "tr",
|
|
6058
|
+
"align": "center"
|
|
6059
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
6060
|
+
parentName: "td"
|
|
6061
|
+
}, "-a")), (0, _react2.mdx)("td", {
|
|
6062
|
+
parentName: "tr",
|
|
6063
|
+
"align": null
|
|
6064
|
+
}, "fetch all remote lanes")))), (0, _react2.mdx)("h3", null, "lane merge"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6017
6065
|
parentName: "p"
|
|
6018
6066
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
6019
6067
|
parentName: "p"
|