@teambit/harmony.content.cli-reference 2.0.266 → 2.0.268
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 -40
- package/cli-reference.mdx +24 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +31 -40
- package/dist/cli-reference.mdx.js +61 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1714533890836.js → preview-1714706485042.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1141,6 +1141,22 @@
|
|
|
1141
1141
|
}
|
|
1142
1142
|
]
|
|
1143
1143
|
},
|
|
1144
|
+
{
|
|
1145
|
+
"name": "unuse <component-id>",
|
|
1146
|
+
"alias": "",
|
|
1147
|
+
"options": [],
|
|
1148
|
+
"description": "unset aspects in the workspace config (opposite of \"use\" command)",
|
|
1149
|
+
"extendedDescription": "",
|
|
1150
|
+
"group": "collaborate",
|
|
1151
|
+
"private": false,
|
|
1152
|
+
"remoteOp": true,
|
|
1153
|
+
"arguments": [
|
|
1154
|
+
{
|
|
1155
|
+
"name": "component-id",
|
|
1156
|
+
"description": "the component ID of the aspect"
|
|
1157
|
+
}
|
|
1158
|
+
]
|
|
1159
|
+
},
|
|
1144
1160
|
{
|
|
1145
1161
|
"name": "pattern <pattern>",
|
|
1146
1162
|
"alias": "",
|
|
@@ -1466,6 +1482,21 @@
|
|
|
1466
1482
|
}
|
|
1467
1483
|
]
|
|
1468
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
|
+
},
|
|
1469
1500
|
{
|
|
1470
1501
|
"name": "ws-config <sub-command>",
|
|
1471
1502
|
"alias": "workspace-config",
|
|
@@ -4763,46 +4794,6 @@
|
|
|
4763
4794
|
}
|
|
4764
4795
|
]
|
|
4765
4796
|
},
|
|
4766
|
-
{
|
|
4767
|
-
"name": "write-tsconfig",
|
|
4768
|
-
"alias": "",
|
|
4769
|
-
"options": [
|
|
4770
|
-
[
|
|
4771
|
-
"c",
|
|
4772
|
-
"clean",
|
|
4773
|
-
"delete tsconfig files from the workspace. highly recommended to run it with \"--dry-run\" first"
|
|
4774
|
-
],
|
|
4775
|
-
[
|
|
4776
|
-
"s",
|
|
4777
|
-
"silent",
|
|
4778
|
-
"do not prompt for confirmation"
|
|
4779
|
-
],
|
|
4780
|
-
[
|
|
4781
|
-
"",
|
|
4782
|
-
"no-dedupe",
|
|
4783
|
-
"write tsconfig.json inside each one of the component's dir, avoid deduping"
|
|
4784
|
-
],
|
|
4785
|
-
[
|
|
4786
|
-
"",
|
|
4787
|
-
"dry-run",
|
|
4788
|
-
"show the paths that tsconfig will be written per env"
|
|
4789
|
-
],
|
|
4790
|
-
[
|
|
4791
|
-
"",
|
|
4792
|
-
"dry-run-with-tsconfig",
|
|
4793
|
-
"use with --json flag. show the tsconfig.json content and the paths it will be written per env"
|
|
4794
|
-
],
|
|
4795
|
-
[
|
|
4796
|
-
"j",
|
|
4797
|
-
"json",
|
|
4798
|
-
"json format"
|
|
4799
|
-
]
|
|
4800
|
-
],
|
|
4801
|
-
"description": "DEPRECATED. use bit ws-config write instead",
|
|
4802
|
-
"extendedDescription": "",
|
|
4803
|
-
"group": "development",
|
|
4804
|
-
"private": true
|
|
4805
|
-
},
|
|
4806
4797
|
{
|
|
4807
4798
|
"name": "update-dependencies <data>",
|
|
4808
4799
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -2105,6 +2105,30 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
|
|
|
2105
2105
|
|
|
2106
2106
|
---
|
|
2107
2107
|
|
|
2108
|
+
## unset-peer
|
|
2109
|
+
|
|
2110
|
+
**Description**: unset a component as always peer
|
|
2111
|
+
|
|
2112
|
+
`bit unset-peer <component-id>`
|
|
2113
|
+
|
|
2114
|
+
| **Arg** | **Description** |
|
|
2115
|
+
| -------------- | :-----------------------------------: |
|
|
2116
|
+
| `component-id` | the component to unset as always peer |
|
|
2117
|
+
|
|
2118
|
+
---
|
|
2119
|
+
|
|
2120
|
+
## unuse
|
|
2121
|
+
|
|
2122
|
+
**Description**: unset aspects in the workspace config (opposite of "use" command)
|
|
2123
|
+
|
|
2124
|
+
`bit unuse <component-id>`
|
|
2125
|
+
|
|
2126
|
+
| **Arg** | **Description** |
|
|
2127
|
+
| -------------- | :----------------------------: |
|
|
2128
|
+
| `component-id` | the component ID of the aspect |
|
|
2129
|
+
|
|
2130
|
+
---
|
|
2131
|
+
|
|
2108
2132
|
## update
|
|
2109
2133
|
|
|
2110
2134
|
**Alias**: `up`
|
package/dist/cli-reference.json
CHANGED
|
@@ -1141,6 +1141,22 @@
|
|
|
1141
1141
|
}
|
|
1142
1142
|
]
|
|
1143
1143
|
},
|
|
1144
|
+
{
|
|
1145
|
+
"name": "unuse <component-id>",
|
|
1146
|
+
"alias": "",
|
|
1147
|
+
"options": [],
|
|
1148
|
+
"description": "unset aspects in the workspace config (opposite of \"use\" command)",
|
|
1149
|
+
"extendedDescription": "",
|
|
1150
|
+
"group": "collaborate",
|
|
1151
|
+
"private": false,
|
|
1152
|
+
"remoteOp": true,
|
|
1153
|
+
"arguments": [
|
|
1154
|
+
{
|
|
1155
|
+
"name": "component-id",
|
|
1156
|
+
"description": "the component ID of the aspect"
|
|
1157
|
+
}
|
|
1158
|
+
]
|
|
1159
|
+
},
|
|
1144
1160
|
{
|
|
1145
1161
|
"name": "pattern <pattern>",
|
|
1146
1162
|
"alias": "",
|
|
@@ -1466,6 +1482,21 @@
|
|
|
1466
1482
|
}
|
|
1467
1483
|
]
|
|
1468
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
|
+
},
|
|
1469
1500
|
{
|
|
1470
1501
|
"name": "ws-config <sub-command>",
|
|
1471
1502
|
"alias": "workspace-config",
|
|
@@ -4763,46 +4794,6 @@
|
|
|
4763
4794
|
}
|
|
4764
4795
|
]
|
|
4765
4796
|
},
|
|
4766
|
-
{
|
|
4767
|
-
"name": "write-tsconfig",
|
|
4768
|
-
"alias": "",
|
|
4769
|
-
"options": [
|
|
4770
|
-
[
|
|
4771
|
-
"c",
|
|
4772
|
-
"clean",
|
|
4773
|
-
"delete tsconfig files from the workspace. highly recommended to run it with \"--dry-run\" first"
|
|
4774
|
-
],
|
|
4775
|
-
[
|
|
4776
|
-
"s",
|
|
4777
|
-
"silent",
|
|
4778
|
-
"do not prompt for confirmation"
|
|
4779
|
-
],
|
|
4780
|
-
[
|
|
4781
|
-
"",
|
|
4782
|
-
"no-dedupe",
|
|
4783
|
-
"write tsconfig.json inside each one of the component's dir, avoid deduping"
|
|
4784
|
-
],
|
|
4785
|
-
[
|
|
4786
|
-
"",
|
|
4787
|
-
"dry-run",
|
|
4788
|
-
"show the paths that tsconfig will be written per env"
|
|
4789
|
-
],
|
|
4790
|
-
[
|
|
4791
|
-
"",
|
|
4792
|
-
"dry-run-with-tsconfig",
|
|
4793
|
-
"use with --json flag. show the tsconfig.json content and the paths it will be written per env"
|
|
4794
|
-
],
|
|
4795
|
-
[
|
|
4796
|
-
"j",
|
|
4797
|
-
"json",
|
|
4798
|
-
"json format"
|
|
4799
|
-
]
|
|
4800
|
-
],
|
|
4801
|
-
"description": "DEPRECATED. use bit ws-config write instead",
|
|
4802
|
-
"extendedDescription": "",
|
|
4803
|
-
"group": "development",
|
|
4804
|
-
"private": true
|
|
4805
|
-
},
|
|
4806
4797
|
{
|
|
4807
4798
|
"name": "update-dependencies <data>",
|
|
4808
4799
|
"alias": "",
|
|
@@ -10967,7 +10967,67 @@ function MDXContent(_ref) {
|
|
|
10967
10967
|
parentName: "p"
|
|
10968
10968
|
}, "Description"), ": uninstall dependencies"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
10969
10969
|
parentName: "p"
|
|
10970
|
-
}, "bit uninstall [packages...]")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
10970
|
+
}, "bit uninstall [packages...]")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "unset-peer"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10971
|
+
parentName: "p"
|
|
10972
|
+
}, "Description"), ": unset a component as always peer"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
10973
|
+
parentName: "p"
|
|
10974
|
+
}, "bit unset-peer <component-id>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
10975
|
+
parentName: "table"
|
|
10976
|
+
}, (0, _react2.mdx)("tr", {
|
|
10977
|
+
parentName: "thead"
|
|
10978
|
+
}, (0, _react2.mdx)("th", {
|
|
10979
|
+
parentName: "tr",
|
|
10980
|
+
"align": null
|
|
10981
|
+
}, (0, _react2.mdx)("strong", {
|
|
10982
|
+
parentName: "th"
|
|
10983
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
10984
|
+
parentName: "tr",
|
|
10985
|
+
"align": "center"
|
|
10986
|
+
}, (0, _react2.mdx)("strong", {
|
|
10987
|
+
parentName: "th"
|
|
10988
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
10989
|
+
parentName: "table"
|
|
10990
|
+
}, (0, _react2.mdx)("tr", {
|
|
10991
|
+
parentName: "tbody"
|
|
10992
|
+
}, (0, _react2.mdx)("td", {
|
|
10993
|
+
parentName: "tr",
|
|
10994
|
+
"align": null
|
|
10995
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
10996
|
+
parentName: "td"
|
|
10997
|
+
}, "component-id")), (0, _react2.mdx)("td", {
|
|
10998
|
+
parentName: "tr",
|
|
10999
|
+
"align": "center"
|
|
11000
|
+
}, "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", {
|
|
11001
|
+
parentName: "p"
|
|
11002
|
+
}, "Description"), ": unset aspects in the workspace config (opposite of \"use\" command)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
11003
|
+
parentName: "p"
|
|
11004
|
+
}, "bit unuse <component-id>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
11005
|
+
parentName: "table"
|
|
11006
|
+
}, (0, _react2.mdx)("tr", {
|
|
11007
|
+
parentName: "thead"
|
|
11008
|
+
}, (0, _react2.mdx)("th", {
|
|
11009
|
+
parentName: "tr",
|
|
11010
|
+
"align": null
|
|
11011
|
+
}, (0, _react2.mdx)("strong", {
|
|
11012
|
+
parentName: "th"
|
|
11013
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
11014
|
+
parentName: "tr",
|
|
11015
|
+
"align": "center"
|
|
11016
|
+
}, (0, _react2.mdx)("strong", {
|
|
11017
|
+
parentName: "th"
|
|
11018
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
11019
|
+
parentName: "table"
|
|
11020
|
+
}, (0, _react2.mdx)("tr", {
|
|
11021
|
+
parentName: "tbody"
|
|
11022
|
+
}, (0, _react2.mdx)("td", {
|
|
11023
|
+
parentName: "tr",
|
|
11024
|
+
"align": null
|
|
11025
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
11026
|
+
parentName: "td"
|
|
11027
|
+
}, "component-id")), (0, _react2.mdx)("td", {
|
|
11028
|
+
parentName: "tr",
|
|
11029
|
+
"align": "center"
|
|
11030
|
+
}, "the component ID of the aspect")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "update"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10971
11031
|
parentName: "p"
|
|
10972
11032
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
10973
11033
|
parentName: "p"
|