@teambit/harmony.content.cli-reference 2.0.268 → 2.0.270
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 +16 -6
- package/cli-reference.mdx +2 -1
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +16 -6
- package/dist/cli-reference.mdx.js +18 -3
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1714706485042.js → preview-1714879310184.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -3665,9 +3665,9 @@
|
|
|
3665
3665
|
"alias": "",
|
|
3666
3666
|
"options": [
|
|
3667
3667
|
[
|
|
3668
|
-
"
|
|
3669
|
-
"
|
|
3670
|
-
"
|
|
3668
|
+
"h",
|
|
3669
|
+
"head",
|
|
3670
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
3671
3671
|
],
|
|
3672
3672
|
[
|
|
3673
3673
|
"",
|
|
@@ -3694,6 +3694,11 @@
|
|
|
3694
3694
|
"pattern <component-pattern>",
|
|
3695
3695
|
"switch only the lane components matching the specified component-pattern. only works when the workspace is empty\n\ncomponent 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."
|
|
3696
3696
|
],
|
|
3697
|
+
[
|
|
3698
|
+
"n",
|
|
3699
|
+
"alias <string>",
|
|
3700
|
+
"relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote"
|
|
3701
|
+
],
|
|
3697
3702
|
[
|
|
3698
3703
|
"j",
|
|
3699
3704
|
"json",
|
|
@@ -4144,9 +4149,9 @@
|
|
|
4144
4149
|
"alias": "",
|
|
4145
4150
|
"options": [
|
|
4146
4151
|
[
|
|
4147
|
-
"
|
|
4148
|
-
"
|
|
4149
|
-
"
|
|
4152
|
+
"h",
|
|
4153
|
+
"head",
|
|
4154
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
4150
4155
|
],
|
|
4151
4156
|
[
|
|
4152
4157
|
"",
|
|
@@ -4173,6 +4178,11 @@
|
|
|
4173
4178
|
"pattern <component-pattern>",
|
|
4174
4179
|
"switch only the lane components matching the specified component-pattern. only works when the workspace is empty\n\ncomponent 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."
|
|
4175
4180
|
],
|
|
4181
|
+
[
|
|
4182
|
+
"n",
|
|
4183
|
+
"alias <string>",
|
|
4184
|
+
"relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote"
|
|
4185
|
+
],
|
|
4176
4186
|
[
|
|
4177
4187
|
"j",
|
|
4178
4188
|
"json",
|
package/cli-reference.mdx
CHANGED
|
@@ -1026,12 +1026,13 @@ when no package is specified, all workspace dependencies are installed and all w
|
|
|
1026
1026
|
|
|
1027
1027
|
| **Option** | **Option alias** | **Description** |
|
|
1028
1028
|
| --------------------------------------- | :--------------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1029
|
-
| `--
|
|
1029
|
+
| `--head` | `-h` | switch to the head of the lane/main (fetches the latest changes from the remote) |
|
|
1030
1030
|
| `--auto-merge-resolve <merge-strategy>` | | merge local changes with the checked out version. strategy should be "theirs", "ours" or "manual" |
|
|
1031
1031
|
| `--get-all` | `-a` | DEPRECATED. this is currently the default behavior |
|
|
1032
1032
|
| `--workspace-only` | | checkout only the components in the workspace to the selected lane |
|
|
1033
1033
|
| `--skip-dependency-installation` | `-x` | do not install dependencies of the imported components |
|
|
1034
1034
|
| `--pattern <component-pattern>` | `-p` | switch only the lane components matching the specified component-pattern. only works when the workspace is empty 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. |
|
|
1035
|
+
| `--alias <string>` | `-n` | relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote |
|
|
1035
1036
|
| `--json` | `-j` | return the output as JSON |
|
|
1036
1037
|
|
|
1037
1038
|
### lane show
|
package/dist/cli-reference.json
CHANGED
|
@@ -3665,9 +3665,9 @@
|
|
|
3665
3665
|
"alias": "",
|
|
3666
3666
|
"options": [
|
|
3667
3667
|
[
|
|
3668
|
-
"
|
|
3669
|
-
"
|
|
3670
|
-
"
|
|
3668
|
+
"h",
|
|
3669
|
+
"head",
|
|
3670
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
3671
3671
|
],
|
|
3672
3672
|
[
|
|
3673
3673
|
"",
|
|
@@ -3694,6 +3694,11 @@
|
|
|
3694
3694
|
"pattern <component-pattern>",
|
|
3695
3695
|
"switch only the lane components matching the specified component-pattern. only works when the workspace is empty\n\ncomponent 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."
|
|
3696
3696
|
],
|
|
3697
|
+
[
|
|
3698
|
+
"n",
|
|
3699
|
+
"alias <string>",
|
|
3700
|
+
"relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote"
|
|
3701
|
+
],
|
|
3697
3702
|
[
|
|
3698
3703
|
"j",
|
|
3699
3704
|
"json",
|
|
@@ -4144,9 +4149,9 @@
|
|
|
4144
4149
|
"alias": "",
|
|
4145
4150
|
"options": [
|
|
4146
4151
|
[
|
|
4147
|
-
"
|
|
4148
|
-
"
|
|
4149
|
-
"
|
|
4152
|
+
"h",
|
|
4153
|
+
"head",
|
|
4154
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
4150
4155
|
],
|
|
4151
4156
|
[
|
|
4152
4157
|
"",
|
|
@@ -4173,6 +4178,11 @@
|
|
|
4173
4178
|
"pattern <component-pattern>",
|
|
4174
4179
|
"switch only the lane components matching the specified component-pattern. only works when the workspace is empty\n\ncomponent 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."
|
|
4175
4180
|
],
|
|
4181
|
+
[
|
|
4182
|
+
"n",
|
|
4183
|
+
"alias <string>",
|
|
4184
|
+
"relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote"
|
|
4185
|
+
],
|
|
4176
4186
|
[
|
|
4177
4187
|
"j",
|
|
4178
4188
|
"json",
|
|
@@ -5312,15 +5312,15 @@ function MDXContent(_ref) {
|
|
|
5312
5312
|
"align": null
|
|
5313
5313
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5314
5314
|
parentName: "td"
|
|
5315
|
-
}, "--
|
|
5315
|
+
}, "--head")), (0, _react2.mdx)("td", {
|
|
5316
5316
|
parentName: "tr",
|
|
5317
5317
|
"align": "center"
|
|
5318
5318
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5319
5319
|
parentName: "td"
|
|
5320
|
-
}, "-
|
|
5320
|
+
}, "-h")), (0, _react2.mdx)("td", {
|
|
5321
5321
|
parentName: "tr",
|
|
5322
5322
|
"align": null
|
|
5323
|
-
}, "
|
|
5323
|
+
}, "switch to the head of the lane/main (fetches the latest changes from the remote)")), (0, _react2.mdx)("tr", {
|
|
5324
5324
|
parentName: "tbody"
|
|
5325
5325
|
}, (0, _react2.mdx)("td", {
|
|
5326
5326
|
parentName: "tr",
|
|
@@ -5402,6 +5402,21 @@ function MDXContent(_ref) {
|
|
|
5402
5402
|
"align": null
|
|
5403
5403
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5404
5404
|
parentName: "td"
|
|
5405
|
+
}, "--alias <string>")), (0, _react2.mdx)("td", {
|
|
5406
|
+
parentName: "tr",
|
|
5407
|
+
"align": "center"
|
|
5408
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5409
|
+
parentName: "td"
|
|
5410
|
+
}, "-n")), (0, _react2.mdx)("td", {
|
|
5411
|
+
parentName: "tr",
|
|
5412
|
+
"align": null
|
|
5413
|
+
}, "relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote")), (0, _react2.mdx)("tr", {
|
|
5414
|
+
parentName: "tbody"
|
|
5415
|
+
}, (0, _react2.mdx)("td", {
|
|
5416
|
+
parentName: "tr",
|
|
5417
|
+
"align": null
|
|
5418
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5419
|
+
parentName: "td"
|
|
5405
5420
|
}, "--json")), (0, _react2.mdx)("td", {
|
|
5406
5421
|
parentName: "tr",
|
|
5407
5422
|
"align": "center"
|