@teambit/harmony.content.cli-reference 2.0.267 → 2.0.269
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 +31 -6
- package/cli-reference.mdx +14 -1
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +31 -6
- package/dist/cli-reference.mdx.js +49 -4
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1714620113654.js → preview-1714792898222.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1482,6 +1482,21 @@
|
|
|
1482
1482
|
}
|
|
1483
1483
|
]
|
|
1484
1484
|
},
|
|
1485
|
+
{
|
|
1486
|
+
"name": "unset-peer <component-id>",
|
|
1487
|
+
"alias": "",
|
|
1488
|
+
"options": [],
|
|
1489
|
+
"description": "unset a component as always peer",
|
|
1490
|
+
"extendedDescription": "",
|
|
1491
|
+
"group": "info",
|
|
1492
|
+
"private": false,
|
|
1493
|
+
"arguments": [
|
|
1494
|
+
{
|
|
1495
|
+
"name": "component-id",
|
|
1496
|
+
"description": "the component to unset as always peer"
|
|
1497
|
+
}
|
|
1498
|
+
]
|
|
1499
|
+
},
|
|
1485
1500
|
{
|
|
1486
1501
|
"name": "ws-config <sub-command>",
|
|
1487
1502
|
"alias": "workspace-config",
|
|
@@ -3650,9 +3665,9 @@
|
|
|
3650
3665
|
"alias": "",
|
|
3651
3666
|
"options": [
|
|
3652
3667
|
[
|
|
3653
|
-
"
|
|
3654
|
-
"
|
|
3655
|
-
"
|
|
3668
|
+
"h",
|
|
3669
|
+
"head",
|
|
3670
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
3656
3671
|
],
|
|
3657
3672
|
[
|
|
3658
3673
|
"",
|
|
@@ -3679,6 +3694,11 @@
|
|
|
3679
3694
|
"pattern <component-pattern>",
|
|
3680
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."
|
|
3681
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
|
+
],
|
|
3682
3702
|
[
|
|
3683
3703
|
"j",
|
|
3684
3704
|
"json",
|
|
@@ -4129,9 +4149,9 @@
|
|
|
4129
4149
|
"alias": "",
|
|
4130
4150
|
"options": [
|
|
4131
4151
|
[
|
|
4132
|
-
"
|
|
4133
|
-
"
|
|
4134
|
-
"
|
|
4152
|
+
"h",
|
|
4153
|
+
"head",
|
|
4154
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
4135
4155
|
],
|
|
4136
4156
|
[
|
|
4137
4157
|
"",
|
|
@@ -4158,6 +4178,11 @@
|
|
|
4158
4178
|
"pattern <component-pattern>",
|
|
4159
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."
|
|
4160
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
|
+
],
|
|
4161
4186
|
[
|
|
4162
4187
|
"j",
|
|
4163
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
|
|
@@ -2105,6 +2106,18 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
|
|
|
2105
2106
|
|
|
2106
2107
|
---
|
|
2107
2108
|
|
|
2109
|
+
## unset-peer
|
|
2110
|
+
|
|
2111
|
+
**Description**: unset a component as always peer
|
|
2112
|
+
|
|
2113
|
+
`bit unset-peer <component-id>`
|
|
2114
|
+
|
|
2115
|
+
| **Arg** | **Description** |
|
|
2116
|
+
| -------------- | :-----------------------------------: |
|
|
2117
|
+
| `component-id` | the component to unset as always peer |
|
|
2118
|
+
|
|
2119
|
+
---
|
|
2120
|
+
|
|
2108
2121
|
## unuse
|
|
2109
2122
|
|
|
2110
2123
|
**Description**: unset aspects in the workspace config (opposite of "use" command)
|
package/dist/cli-reference.json
CHANGED
|
@@ -1482,6 +1482,21 @@
|
|
|
1482
1482
|
}
|
|
1483
1483
|
]
|
|
1484
1484
|
},
|
|
1485
|
+
{
|
|
1486
|
+
"name": "unset-peer <component-id>",
|
|
1487
|
+
"alias": "",
|
|
1488
|
+
"options": [],
|
|
1489
|
+
"description": "unset a component as always peer",
|
|
1490
|
+
"extendedDescription": "",
|
|
1491
|
+
"group": "info",
|
|
1492
|
+
"private": false,
|
|
1493
|
+
"arguments": [
|
|
1494
|
+
{
|
|
1495
|
+
"name": "component-id",
|
|
1496
|
+
"description": "the component to unset as always peer"
|
|
1497
|
+
}
|
|
1498
|
+
]
|
|
1499
|
+
},
|
|
1485
1500
|
{
|
|
1486
1501
|
"name": "ws-config <sub-command>",
|
|
1487
1502
|
"alias": "workspace-config",
|
|
@@ -3650,9 +3665,9 @@
|
|
|
3650
3665
|
"alias": "",
|
|
3651
3666
|
"options": [
|
|
3652
3667
|
[
|
|
3653
|
-
"
|
|
3654
|
-
"
|
|
3655
|
-
"
|
|
3668
|
+
"h",
|
|
3669
|
+
"head",
|
|
3670
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
3656
3671
|
],
|
|
3657
3672
|
[
|
|
3658
3673
|
"",
|
|
@@ -3679,6 +3694,11 @@
|
|
|
3679
3694
|
"pattern <component-pattern>",
|
|
3680
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."
|
|
3681
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
|
+
],
|
|
3682
3702
|
[
|
|
3683
3703
|
"j",
|
|
3684
3704
|
"json",
|
|
@@ -4129,9 +4149,9 @@
|
|
|
4129
4149
|
"alias": "",
|
|
4130
4150
|
"options": [
|
|
4131
4151
|
[
|
|
4132
|
-
"
|
|
4133
|
-
"
|
|
4134
|
-
"
|
|
4152
|
+
"h",
|
|
4153
|
+
"head",
|
|
4154
|
+
"switch to the head of the lane/main (fetches the latest changes from the remote)"
|
|
4135
4155
|
],
|
|
4136
4156
|
[
|
|
4137
4157
|
"",
|
|
@@ -4158,6 +4178,11 @@
|
|
|
4158
4178
|
"pattern <component-pattern>",
|
|
4159
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."
|
|
4160
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
|
+
],
|
|
4161
4186
|
[
|
|
4162
4187
|
"j",
|
|
4163
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"
|
|
@@ -10967,7 +10982,37 @@ function MDXContent(_ref) {
|
|
|
10967
10982
|
parentName: "p"
|
|
10968
10983
|
}, "Description"), ": uninstall dependencies"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
10969
10984
|
parentName: "p"
|
|
10970
|
-
}, "bit uninstall [packages...]")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
10985
|
+
}, "bit uninstall [packages...]")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "unset-peer"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10986
|
+
parentName: "p"
|
|
10987
|
+
}, "Description"), ": unset a component as always peer"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
10988
|
+
parentName: "p"
|
|
10989
|
+
}, "bit unset-peer <component-id>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
10990
|
+
parentName: "table"
|
|
10991
|
+
}, (0, _react2.mdx)("tr", {
|
|
10992
|
+
parentName: "thead"
|
|
10993
|
+
}, (0, _react2.mdx)("th", {
|
|
10994
|
+
parentName: "tr",
|
|
10995
|
+
"align": null
|
|
10996
|
+
}, (0, _react2.mdx)("strong", {
|
|
10997
|
+
parentName: "th"
|
|
10998
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
10999
|
+
parentName: "tr",
|
|
11000
|
+
"align": "center"
|
|
11001
|
+
}, (0, _react2.mdx)("strong", {
|
|
11002
|
+
parentName: "th"
|
|
11003
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
11004
|
+
parentName: "table"
|
|
11005
|
+
}, (0, _react2.mdx)("tr", {
|
|
11006
|
+
parentName: "tbody"
|
|
11007
|
+
}, (0, _react2.mdx)("td", {
|
|
11008
|
+
parentName: "tr",
|
|
11009
|
+
"align": null
|
|
11010
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
11011
|
+
parentName: "td"
|
|
11012
|
+
}, "component-id")), (0, _react2.mdx)("td", {
|
|
11013
|
+
parentName: "tr",
|
|
11014
|
+
"align": "center"
|
|
11015
|
+
}, "the component to unset as always peer")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "unuse"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10971
11016
|
parentName: "p"
|
|
10972
11017
|
}, "Description"), ": unset aspects in the workspace config (opposite of \"use\" command)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
10973
11018
|
parentName: "p"
|