@teambit/harmony.content.cli-reference 2.0.256 → 2.0.257
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 +15 -0
- package/cli-reference.mdx +12 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +15 -0
- package/dist/cli-reference.mdx.js +41 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1713842366409.js → preview-1713916866359.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -3927,6 +3927,21 @@
|
|
|
3927
3927
|
"group": "ungrouped",
|
|
3928
3928
|
"private": false
|
|
3929
3929
|
},
|
|
3930
|
+
{
|
|
3931
|
+
"name": "eject <component-pattern>",
|
|
3932
|
+
"alias": "",
|
|
3933
|
+
"options": [],
|
|
3934
|
+
"description": "delete a component from the lane and install it as a package from main",
|
|
3935
|
+
"extendedDescription": "NOTE: unlike \"bit eject\" on main, this command doesn't only remove the component from the\nworkspace, but also mark it as deleted from the lane, so it won't be merged later on.",
|
|
3936
|
+
"group": "ungrouped",
|
|
3937
|
+
"private": false,
|
|
3938
|
+
"arguments": [
|
|
3939
|
+
{
|
|
3940
|
+
"name": "component-pattern",
|
|
3941
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
3942
|
+
}
|
|
3943
|
+
]
|
|
3944
|
+
},
|
|
3930
3945
|
{
|
|
3931
3946
|
"name": "merge <lane> [pattern]",
|
|
3932
3947
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -1185,6 +1185,18 @@ note, it does not save the remote lanes objects locally, only the refs
|
|
|
1185
1185
|
| ---------- | :--------------: | ---------------------- |
|
|
1186
1186
|
| `--all` | `-a` | fetch all remote lanes |
|
|
1187
1187
|
|
|
1188
|
+
### lane eject
|
|
1189
|
+
|
|
1190
|
+
**Usage**: `lane eject <component-pattern>`
|
|
1191
|
+
|
|
1192
|
+
**Description**: delete a component from the lane and install it as a package from main
|
|
1193
|
+
NOTE: unlike "bit eject" on main, this command doesn't only remove the component from the
|
|
1194
|
+
workspace, but also mark it as deleted from the lane, so it won't be merged later on.
|
|
1195
|
+
|
|
1196
|
+
| **Arg** | **Description** |
|
|
1197
|
+
| ------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
1198
|
+
| `component-pattern` | component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
|
|
1199
|
+
|
|
1188
1200
|
### lane merge
|
|
1189
1201
|
|
|
1190
1202
|
**Usage**: `lane merge <lane> [pattern]`
|
package/dist/cli-reference.json
CHANGED
|
@@ -3927,6 +3927,21 @@
|
|
|
3927
3927
|
"group": "ungrouped",
|
|
3928
3928
|
"private": false
|
|
3929
3929
|
},
|
|
3930
|
+
{
|
|
3931
|
+
"name": "eject <component-pattern>",
|
|
3932
|
+
"alias": "",
|
|
3933
|
+
"options": [],
|
|
3934
|
+
"description": "delete a component from the lane and install it as a package from main",
|
|
3935
|
+
"extendedDescription": "NOTE: unlike \"bit eject\" on main, this command doesn't only remove the component from the\nworkspace, but also mark it as deleted from the lane, so it won't be merged later on.",
|
|
3936
|
+
"group": "ungrouped",
|
|
3937
|
+
"private": false,
|
|
3938
|
+
"arguments": [
|
|
3939
|
+
{
|
|
3940
|
+
"name": "component-pattern",
|
|
3941
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
3942
|
+
}
|
|
3943
|
+
]
|
|
3944
|
+
},
|
|
3930
3945
|
{
|
|
3931
3946
|
"name": "merge <lane> [pattern]",
|
|
3932
3947
|
"alias": "",
|
|
@@ -6104,7 +6104,47 @@ function MDXContent(_ref) {
|
|
|
6104
6104
|
}, "-a")), (0, _react2.mdx)("td", {
|
|
6105
6105
|
parentName: "tr",
|
|
6106
6106
|
"align": null
|
|
6107
|
-
}, "fetch all remote lanes")))), (0, _react2.mdx)("h3", null, "lane
|
|
6107
|
+
}, "fetch all remote lanes")))), (0, _react2.mdx)("h3", null, "lane eject"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6108
|
+
parentName: "p"
|
|
6109
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
6110
|
+
parentName: "p"
|
|
6111
|
+
}, "lane eject <component-pattern>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6112
|
+
parentName: "p"
|
|
6113
|
+
}, "Description"), ": delete a component from the lane and install it as a package from main", (0, _react2.mdx)("br", {
|
|
6114
|
+
parentName: "p"
|
|
6115
|
+
}), "\n", "NOTE: unlike \"bit eject\" on main, this command doesn't only remove the component from the", (0, _react2.mdx)("br", {
|
|
6116
|
+
parentName: "p"
|
|
6117
|
+
}), "\n", "workspace, but also mark it as deleted from the lane, so it won't be merged later on."), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6118
|
+
parentName: "table"
|
|
6119
|
+
}, (0, _react2.mdx)("tr", {
|
|
6120
|
+
parentName: "thead"
|
|
6121
|
+
}, (0, _react2.mdx)("th", {
|
|
6122
|
+
parentName: "tr",
|
|
6123
|
+
"align": null
|
|
6124
|
+
}, (0, _react2.mdx)("strong", {
|
|
6125
|
+
parentName: "th"
|
|
6126
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
6127
|
+
parentName: "tr",
|
|
6128
|
+
"align": "center"
|
|
6129
|
+
}, (0, _react2.mdx)("strong", {
|
|
6130
|
+
parentName: "th"
|
|
6131
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
6132
|
+
parentName: "table"
|
|
6133
|
+
}, (0, _react2.mdx)("tr", {
|
|
6134
|
+
parentName: "tbody"
|
|
6135
|
+
}, (0, _react2.mdx)("td", {
|
|
6136
|
+
parentName: "tr",
|
|
6137
|
+
"align": null
|
|
6138
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
6139
|
+
parentName: "td"
|
|
6140
|
+
}, "component-pattern")), (0, _react2.mdx)("td", {
|
|
6141
|
+
parentName: "tr",
|
|
6142
|
+
"align": "center"
|
|
6143
|
+
}, "component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use ", (0, _react2.mdx)("inlineCode", {
|
|
6144
|
+
parentName: "td"
|
|
6145
|
+
}, "bit pattern --help"), " to understand patterns better and ", (0, _react2.mdx)("inlineCode", {
|
|
6146
|
+
parentName: "td"
|
|
6147
|
+
}, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("h3", null, "lane merge"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6108
6148
|
parentName: "p"
|
|
6109
6149
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
6110
6150
|
parentName: "p"
|