@teambit/harmony.content.cli-reference 2.0.43 → 2.0.45
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 +25 -0
- package/cli-reference.mdx +24 -10
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +25 -0
- package/dist/cli-reference.mdx.js +72 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1698808655660.js → preview-1698895126768.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -655,6 +655,21 @@
|
|
|
655
655
|
"group": "general",
|
|
656
656
|
"private": false
|
|
657
657
|
},
|
|
658
|
+
{
|
|
659
|
+
"name": "version",
|
|
660
|
+
"alias": "",
|
|
661
|
+
"options": [
|
|
662
|
+
[
|
|
663
|
+
"j",
|
|
664
|
+
"json",
|
|
665
|
+
"return the version in json format"
|
|
666
|
+
]
|
|
667
|
+
],
|
|
668
|
+
"description": "shows bit version",
|
|
669
|
+
"extendedDescription": "",
|
|
670
|
+
"group": "general",
|
|
671
|
+
"private": false
|
|
672
|
+
},
|
|
658
673
|
{
|
|
659
674
|
"name": "globals",
|
|
660
675
|
"alias": "",
|
|
@@ -4190,6 +4205,11 @@
|
|
|
4190
4205
|
"",
|
|
4191
4206
|
"strict",
|
|
4192
4207
|
"in case issues found, exit with code 1"
|
|
4208
|
+
],
|
|
4209
|
+
[
|
|
4210
|
+
"c",
|
|
4211
|
+
"ignore-circular-dependencies",
|
|
4212
|
+
"do not check for circular dependencies to get the results quicker"
|
|
4193
4213
|
]
|
|
4194
4214
|
],
|
|
4195
4215
|
"description": "present the current status of components in the workspace, including indication of detected issues",
|
|
@@ -4206,6 +4226,11 @@
|
|
|
4206
4226
|
"show-issues",
|
|
4207
4227
|
"show component issues (slows down the command)"
|
|
4208
4228
|
],
|
|
4229
|
+
[
|
|
4230
|
+
"c",
|
|
4231
|
+
"ignore-circular-dependencies",
|
|
4232
|
+
"do not check for circular dependencies to get the results quicker (relevant when --show-issues flag is used)"
|
|
4233
|
+
],
|
|
4209
4234
|
[
|
|
4210
4235
|
"j",
|
|
4211
4236
|
"json",
|
package/cli-reference.mdx
CHANGED
|
@@ -1370,10 +1370,11 @@ this command only checks source code changes, it doesn't check for config/aspect
|
|
|
1370
1370
|
| ------------------- | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
1371
1371
|
| `component-pattern` | component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button" wrap the pattern with quotes |
|
|
1372
1372
|
|
|
1373
|
-
| **Option**
|
|
1374
|
-
|
|
|
1375
|
-
| `--show-issues`
|
|
1376
|
-
| `--
|
|
1373
|
+
| **Option** | **Option alias** | **Description** |
|
|
1374
|
+
| -------------------------------- | :--------------: | ------------------------------------------------------------------------------------------------------------ |
|
|
1375
|
+
| `--show-issues` | | show component issues (slows down the command) |
|
|
1376
|
+
| `--ignore-circular-dependencies` | `-c` | do not check for circular dependencies to get the results quicker (relevant when --show-issues flag is used) |
|
|
1377
|
+
| `--json` | `-j` | json format |
|
|
1377
1378
|
|
|
1378
1379
|
---
|
|
1379
1380
|
|
|
@@ -1809,12 +1810,13 @@ as a result of this change
|
|
|
1809
1810
|
|
|
1810
1811
|
`bit status`
|
|
1811
1812
|
|
|
1812
|
-
| **Option**
|
|
1813
|
-
|
|
|
1814
|
-
| `--json`
|
|
1815
|
-
| `--verbose`
|
|
1816
|
-
| `--lanes`
|
|
1817
|
-
| `--strict`
|
|
1813
|
+
| **Option** | **Option alias** | **Description** |
|
|
1814
|
+
| -------------------------------- | :--------------: | --------------------------------------------------------------------------------------- |
|
|
1815
|
+
| `--json` | `-j` | return a json version of the component |
|
|
1816
|
+
| `--verbose` | | show extra data: full snap hashes for staged components, and divergence point for lanes |
|
|
1817
|
+
| `--lanes` | `-l` | when on a lane, show updates from main and updates from forked lanes |
|
|
1818
|
+
| `--strict` | | in case issues found, exit with code 1 |
|
|
1819
|
+
| `--ignore-circular-dependencies` | `-c` | do not check for circular dependencies to get the results quicker |
|
|
1818
1820
|
|
|
1819
1821
|
---
|
|
1820
1822
|
|
|
@@ -1966,6 +1968,18 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
|
|
|
1966
1968
|
|
|
1967
1969
|
---
|
|
1968
1970
|
|
|
1971
|
+
## version
|
|
1972
|
+
|
|
1973
|
+
**Description**: shows bit version
|
|
1974
|
+
|
|
1975
|
+
`bit version`
|
|
1976
|
+
|
|
1977
|
+
| **Option** | **Option alias** | **Description** |
|
|
1978
|
+
| ---------- | :--------------: | --------------------------------- |
|
|
1979
|
+
| `--json` | `-j` | return the version in json format |
|
|
1980
|
+
|
|
1981
|
+
---
|
|
1982
|
+
|
|
1969
1983
|
## watch
|
|
1970
1984
|
|
|
1971
1985
|
**Description**: automatically recompile modified components (on save)
|
package/dist/cli-reference.json
CHANGED
|
@@ -655,6 +655,21 @@
|
|
|
655
655
|
"group": "general",
|
|
656
656
|
"private": false
|
|
657
657
|
},
|
|
658
|
+
{
|
|
659
|
+
"name": "version",
|
|
660
|
+
"alias": "",
|
|
661
|
+
"options": [
|
|
662
|
+
[
|
|
663
|
+
"j",
|
|
664
|
+
"json",
|
|
665
|
+
"return the version in json format"
|
|
666
|
+
]
|
|
667
|
+
],
|
|
668
|
+
"description": "shows bit version",
|
|
669
|
+
"extendedDescription": "",
|
|
670
|
+
"group": "general",
|
|
671
|
+
"private": false
|
|
672
|
+
},
|
|
658
673
|
{
|
|
659
674
|
"name": "globals",
|
|
660
675
|
"alias": "",
|
|
@@ -4190,6 +4205,11 @@
|
|
|
4190
4205
|
"",
|
|
4191
4206
|
"strict",
|
|
4192
4207
|
"in case issues found, exit with code 1"
|
|
4208
|
+
],
|
|
4209
|
+
[
|
|
4210
|
+
"c",
|
|
4211
|
+
"ignore-circular-dependencies",
|
|
4212
|
+
"do not check for circular dependencies to get the results quicker"
|
|
4193
4213
|
]
|
|
4194
4214
|
],
|
|
4195
4215
|
"description": "present the current status of components in the workspace, including indication of detected issues",
|
|
@@ -4206,6 +4226,11 @@
|
|
|
4206
4226
|
"show-issues",
|
|
4207
4227
|
"show component issues (slows down the command)"
|
|
4208
4228
|
],
|
|
4229
|
+
[
|
|
4230
|
+
"c",
|
|
4231
|
+
"ignore-circular-dependencies",
|
|
4232
|
+
"do not check for circular dependencies to get the results quicker (relevant when --show-issues flag is used)"
|
|
4233
|
+
],
|
|
4209
4234
|
[
|
|
4210
4235
|
"j",
|
|
4211
4236
|
"json",
|
|
@@ -7036,6 +7036,21 @@ function MDXContent(_ref) {
|
|
|
7036
7036
|
"align": null
|
|
7037
7037
|
}, (0, _react2.mdx)("inlineCode", {
|
|
7038
7038
|
parentName: "td"
|
|
7039
|
+
}, "--ignore-circular-dependencies")), (0, _react2.mdx)("td", {
|
|
7040
|
+
parentName: "tr",
|
|
7041
|
+
"align": "center"
|
|
7042
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
7043
|
+
parentName: "td"
|
|
7044
|
+
}, "-c")), (0, _react2.mdx)("td", {
|
|
7045
|
+
parentName: "tr",
|
|
7046
|
+
"align": null
|
|
7047
|
+
}, "do not check for circular dependencies to get the results quicker (relevant when --show-issues flag is used)")), (0, _react2.mdx)("tr", {
|
|
7048
|
+
parentName: "tbody"
|
|
7049
|
+
}, (0, _react2.mdx)("td", {
|
|
7050
|
+
parentName: "tr",
|
|
7051
|
+
"align": null
|
|
7052
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
7053
|
+
parentName: "td"
|
|
7039
7054
|
}, "--json")), (0, _react2.mdx)("td", {
|
|
7040
7055
|
parentName: "tr",
|
|
7041
7056
|
"align": "center"
|
|
@@ -9153,7 +9168,22 @@ function MDXContent(_ref) {
|
|
|
9153
9168
|
}), (0, _react2.mdx)("td", {
|
|
9154
9169
|
parentName: "tr",
|
|
9155
9170
|
"align": null
|
|
9156
|
-
}, "in case issues found, exit with code 1"))
|
|
9171
|
+
}, "in case issues found, exit with code 1")), (0, _react2.mdx)("tr", {
|
|
9172
|
+
parentName: "tbody"
|
|
9173
|
+
}, (0, _react2.mdx)("td", {
|
|
9174
|
+
parentName: "tr",
|
|
9175
|
+
"align": null
|
|
9176
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
9177
|
+
parentName: "td"
|
|
9178
|
+
}, "--ignore-circular-dependencies")), (0, _react2.mdx)("td", {
|
|
9179
|
+
parentName: "tr",
|
|
9180
|
+
"align": "center"
|
|
9181
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
9182
|
+
parentName: "td"
|
|
9183
|
+
}, "-c")), (0, _react2.mdx)("td", {
|
|
9184
|
+
parentName: "tr",
|
|
9185
|
+
"align": null
|
|
9186
|
+
}, "do not check for circular dependencies to get the results quicker")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "system"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
9157
9187
|
parentName: "p"
|
|
9158
9188
|
}, "Description"), ": system operations"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
9159
9189
|
parentName: "p"
|
|
@@ -10015,7 +10045,47 @@ function MDXContent(_ref) {
|
|
|
10015
10045
|
}, "component-id")), (0, _react2.mdx)("td", {
|
|
10016
10046
|
parentName: "tr",
|
|
10017
10047
|
"align": "center"
|
|
10018
|
-
}, "the component ID of the aspect")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
10048
|
+
}, "the component ID of the aspect")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "version"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10049
|
+
parentName: "p"
|
|
10050
|
+
}, "Description"), ": shows bit version"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
10051
|
+
parentName: "p"
|
|
10052
|
+
}, "bit version")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
10053
|
+
parentName: "table"
|
|
10054
|
+
}, (0, _react2.mdx)("tr", {
|
|
10055
|
+
parentName: "thead"
|
|
10056
|
+
}, (0, _react2.mdx)("th", {
|
|
10057
|
+
parentName: "tr",
|
|
10058
|
+
"align": null
|
|
10059
|
+
}, (0, _react2.mdx)("strong", {
|
|
10060
|
+
parentName: "th"
|
|
10061
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
10062
|
+
parentName: "tr",
|
|
10063
|
+
"align": "center"
|
|
10064
|
+
}, (0, _react2.mdx)("strong", {
|
|
10065
|
+
parentName: "th"
|
|
10066
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
10067
|
+
parentName: "tr",
|
|
10068
|
+
"align": null
|
|
10069
|
+
}, (0, _react2.mdx)("strong", {
|
|
10070
|
+
parentName: "th"
|
|
10071
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
10072
|
+
parentName: "table"
|
|
10073
|
+
}, (0, _react2.mdx)("tr", {
|
|
10074
|
+
parentName: "tbody"
|
|
10075
|
+
}, (0, _react2.mdx)("td", {
|
|
10076
|
+
parentName: "tr",
|
|
10077
|
+
"align": null
|
|
10078
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
10079
|
+
parentName: "td"
|
|
10080
|
+
}, "--json")), (0, _react2.mdx)("td", {
|
|
10081
|
+
parentName: "tr",
|
|
10082
|
+
"align": "center"
|
|
10083
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
10084
|
+
parentName: "td"
|
|
10085
|
+
}, "-j")), (0, _react2.mdx)("td", {
|
|
10086
|
+
parentName: "tr",
|
|
10087
|
+
"align": null
|
|
10088
|
+
}, "return the version in json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "watch"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10019
10089
|
parentName: "p"
|
|
10020
10090
|
}, "Description"), ": automatically recompile modified components (on save)", (0, _react2.mdx)("br", {
|
|
10021
10091
|
parentName: "p"
|