@teambit/harmony.content.cli-reference 1.95.78 → 1.95.79
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.json +71 -30
- package/cli-reference.mdx +18 -0
- package/dist/cli-reference.json +71 -30
- package/dist/cli-reference.mdx.js +115 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.79.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1664854758941.js → preview-1664941100086.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.78.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -599,36 +599,6 @@
|
|
|
599
599
|
"group": "general",
|
|
600
600
|
"private": false
|
|
601
601
|
},
|
|
602
|
-
{
|
|
603
|
-
"name": "graph [id]",
|
|
604
|
-
"alias": "",
|
|
605
|
-
"options": [
|
|
606
|
-
[
|
|
607
|
-
"i",
|
|
608
|
-
"image <image>",
|
|
609
|
-
"image path. use one of the following extensions: [gif, png, svg, pdf]"
|
|
610
|
-
],
|
|
611
|
-
[
|
|
612
|
-
"r",
|
|
613
|
-
"remote [remoteName]",
|
|
614
|
-
"remote name (name is optional, leave empty when id is specified)"
|
|
615
|
-
],
|
|
616
|
-
[
|
|
617
|
-
"",
|
|
618
|
-
"all-versions",
|
|
619
|
-
"enter all components versions into the graph, not only latest"
|
|
620
|
-
],
|
|
621
|
-
[
|
|
622
|
-
"",
|
|
623
|
-
"layout <name>",
|
|
624
|
-
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
625
|
-
]
|
|
626
|
-
],
|
|
627
|
-
"description": "EXPERIMENTAL. generate an image file with the dependencies graph",
|
|
628
|
-
"extendedDescription": "",
|
|
629
|
-
"group": "discover",
|
|
630
|
-
"private": false
|
|
631
|
-
},
|
|
632
602
|
{
|
|
633
603
|
"name": "run-action <action-name> <remote> <options>",
|
|
634
604
|
"alias": "",
|
|
@@ -903,6 +873,42 @@
|
|
|
903
873
|
"group": "development",
|
|
904
874
|
"private": false
|
|
905
875
|
},
|
|
876
|
+
{
|
|
877
|
+
"name": "graph [id]",
|
|
878
|
+
"alias": "",
|
|
879
|
+
"options": [
|
|
880
|
+
[
|
|
881
|
+
"i",
|
|
882
|
+
"image <image>",
|
|
883
|
+
"image path. use one of the following extensions: [gif, png, svg, pdf]"
|
|
884
|
+
],
|
|
885
|
+
[
|
|
886
|
+
"r",
|
|
887
|
+
"remote [remoteName]",
|
|
888
|
+
"remote name (name is optional, leave empty when id is specified)"
|
|
889
|
+
],
|
|
890
|
+
[
|
|
891
|
+
"",
|
|
892
|
+
"all-versions",
|
|
893
|
+
"enter all components versions into the graph, not only latest"
|
|
894
|
+
],
|
|
895
|
+
[
|
|
896
|
+
"",
|
|
897
|
+
"layout <name>",
|
|
898
|
+
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
899
|
+
],
|
|
900
|
+
[
|
|
901
|
+
"j",
|
|
902
|
+
"json",
|
|
903
|
+
"json format"
|
|
904
|
+
]
|
|
905
|
+
],
|
|
906
|
+
"description": "EXPERIMENTAL. generate an image file with the dependencies graph",
|
|
907
|
+
"extendedDescription": "",
|
|
908
|
+
"group": "discover",
|
|
909
|
+
"private": false,
|
|
910
|
+
"remoteOp": true
|
|
911
|
+
},
|
|
906
912
|
{
|
|
907
913
|
"name": "scope <sub-command>",
|
|
908
914
|
"alias": "",
|
|
@@ -3187,6 +3193,41 @@
|
|
|
3187
3193
|
}
|
|
3188
3194
|
]
|
|
3189
3195
|
},
|
|
3196
|
+
{
|
|
3197
|
+
"name": "write-tsconfig",
|
|
3198
|
+
"alias": "",
|
|
3199
|
+
"options": [
|
|
3200
|
+
[
|
|
3201
|
+
"c",
|
|
3202
|
+
"clean",
|
|
3203
|
+
"delete tsconfig files from the workspace. highly recommended to run it with \"--dry-run\" first"
|
|
3204
|
+
],
|
|
3205
|
+
[
|
|
3206
|
+
"s",
|
|
3207
|
+
"silent",
|
|
3208
|
+
"do not prompt for confirmation"
|
|
3209
|
+
],
|
|
3210
|
+
[
|
|
3211
|
+
"",
|
|
3212
|
+
"no-dedupe",
|
|
3213
|
+
"write tsconfig.json inside each one of the component's dir, avoid deduping"
|
|
3214
|
+
],
|
|
3215
|
+
[
|
|
3216
|
+
"",
|
|
3217
|
+
"dry-run",
|
|
3218
|
+
"show the paths that tsconfig will be written per env"
|
|
3219
|
+
],
|
|
3220
|
+
[
|
|
3221
|
+
"",
|
|
3222
|
+
"dry-run-with-tsconfig",
|
|
3223
|
+
"show the tsconfig.json content and the paths it will be written per env"
|
|
3224
|
+
]
|
|
3225
|
+
],
|
|
3226
|
+
"description": "EXPERIMENTAL. write tsconfig.json files in the component directories",
|
|
3227
|
+
"extendedDescription": "",
|
|
3228
|
+
"group": "development",
|
|
3229
|
+
"private": false
|
|
3230
|
+
},
|
|
3190
3231
|
{
|
|
3191
3232
|
"name": "aspect <sub-command>",
|
|
3192
3233
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -629,6 +629,7 @@ bit export => export all staged components to their current scope, if checked ou
|
|
|
629
629
|
| `--remote [remoteName]` | `-r` | remote name (name is optional, leave empty when id is specified) |
|
|
630
630
|
| `--all-versions` | | enter all components versions into the graph, not only latest |
|
|
631
631
|
| `--layout <name>` | | GraphVis layout. default to "dot". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi] |
|
|
632
|
+
| `--json` | `-j` | json format |
|
|
632
633
|
|
|
633
634
|
---
|
|
634
635
|
|
|
@@ -1308,3 +1309,20 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
|
|
|
1308
1309
|
| `--check-types [string]` | `-t` | EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project |
|
|
1309
1310
|
|
|
1310
1311
|
---
|
|
1312
|
+
|
|
1313
|
+
## write-tsconfig
|
|
1314
|
+
|
|
1315
|
+
**Workspace only**: yes
|
|
1316
|
+
**Description**: EXPERIMENTAL. write tsconfig.json files in the component directories
|
|
1317
|
+
|
|
1318
|
+
`bit write-tsconfig`
|
|
1319
|
+
|
|
1320
|
+
| **Option** | **Option alias** | **Description** |
|
|
1321
|
+
| ------------------------- | :--------------: | --------------------------------------------------------------------------------------------- |
|
|
1322
|
+
| `--clean` | `-c` | delete tsconfig files from the workspace. highly recommended to run it with "--dry-run" first |
|
|
1323
|
+
| `--silent` | `-s` | do not prompt for confirmation |
|
|
1324
|
+
| `--no-dedupe` | | write tsconfig.json inside each one of the component's dir, avoid deduping |
|
|
1325
|
+
| `--dry-run` | | show the paths that tsconfig will be written per env |
|
|
1326
|
+
| `--dry-run-with-tsconfig` | | show the tsconfig.json content and the paths it will be written per env |
|
|
1327
|
+
|
|
1328
|
+
---
|
package/dist/cli-reference.json
CHANGED
|
@@ -599,36 +599,6 @@
|
|
|
599
599
|
"group": "general",
|
|
600
600
|
"private": false
|
|
601
601
|
},
|
|
602
|
-
{
|
|
603
|
-
"name": "graph [id]",
|
|
604
|
-
"alias": "",
|
|
605
|
-
"options": [
|
|
606
|
-
[
|
|
607
|
-
"i",
|
|
608
|
-
"image <image>",
|
|
609
|
-
"image path. use one of the following extensions: [gif, png, svg, pdf]"
|
|
610
|
-
],
|
|
611
|
-
[
|
|
612
|
-
"r",
|
|
613
|
-
"remote [remoteName]",
|
|
614
|
-
"remote name (name is optional, leave empty when id is specified)"
|
|
615
|
-
],
|
|
616
|
-
[
|
|
617
|
-
"",
|
|
618
|
-
"all-versions",
|
|
619
|
-
"enter all components versions into the graph, not only latest"
|
|
620
|
-
],
|
|
621
|
-
[
|
|
622
|
-
"",
|
|
623
|
-
"layout <name>",
|
|
624
|
-
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
625
|
-
]
|
|
626
|
-
],
|
|
627
|
-
"description": "EXPERIMENTAL. generate an image file with the dependencies graph",
|
|
628
|
-
"extendedDescription": "",
|
|
629
|
-
"group": "discover",
|
|
630
|
-
"private": false
|
|
631
|
-
},
|
|
632
602
|
{
|
|
633
603
|
"name": "run-action <action-name> <remote> <options>",
|
|
634
604
|
"alias": "",
|
|
@@ -903,6 +873,42 @@
|
|
|
903
873
|
"group": "development",
|
|
904
874
|
"private": false
|
|
905
875
|
},
|
|
876
|
+
{
|
|
877
|
+
"name": "graph [id]",
|
|
878
|
+
"alias": "",
|
|
879
|
+
"options": [
|
|
880
|
+
[
|
|
881
|
+
"i",
|
|
882
|
+
"image <image>",
|
|
883
|
+
"image path. use one of the following extensions: [gif, png, svg, pdf]"
|
|
884
|
+
],
|
|
885
|
+
[
|
|
886
|
+
"r",
|
|
887
|
+
"remote [remoteName]",
|
|
888
|
+
"remote name (name is optional, leave empty when id is specified)"
|
|
889
|
+
],
|
|
890
|
+
[
|
|
891
|
+
"",
|
|
892
|
+
"all-versions",
|
|
893
|
+
"enter all components versions into the graph, not only latest"
|
|
894
|
+
],
|
|
895
|
+
[
|
|
896
|
+
"",
|
|
897
|
+
"layout <name>",
|
|
898
|
+
"GraphVis layout. default to \"dot\". options are [circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"
|
|
899
|
+
],
|
|
900
|
+
[
|
|
901
|
+
"j",
|
|
902
|
+
"json",
|
|
903
|
+
"json format"
|
|
904
|
+
]
|
|
905
|
+
],
|
|
906
|
+
"description": "EXPERIMENTAL. generate an image file with the dependencies graph",
|
|
907
|
+
"extendedDescription": "",
|
|
908
|
+
"group": "discover",
|
|
909
|
+
"private": false,
|
|
910
|
+
"remoteOp": true
|
|
911
|
+
},
|
|
906
912
|
{
|
|
907
913
|
"name": "scope <sub-command>",
|
|
908
914
|
"alias": "",
|
|
@@ -3187,6 +3193,41 @@
|
|
|
3187
3193
|
}
|
|
3188
3194
|
]
|
|
3189
3195
|
},
|
|
3196
|
+
{
|
|
3197
|
+
"name": "write-tsconfig",
|
|
3198
|
+
"alias": "",
|
|
3199
|
+
"options": [
|
|
3200
|
+
[
|
|
3201
|
+
"c",
|
|
3202
|
+
"clean",
|
|
3203
|
+
"delete tsconfig files from the workspace. highly recommended to run it with \"--dry-run\" first"
|
|
3204
|
+
],
|
|
3205
|
+
[
|
|
3206
|
+
"s",
|
|
3207
|
+
"silent",
|
|
3208
|
+
"do not prompt for confirmation"
|
|
3209
|
+
],
|
|
3210
|
+
[
|
|
3211
|
+
"",
|
|
3212
|
+
"no-dedupe",
|
|
3213
|
+
"write tsconfig.json inside each one of the component's dir, avoid deduping"
|
|
3214
|
+
],
|
|
3215
|
+
[
|
|
3216
|
+
"",
|
|
3217
|
+
"dry-run",
|
|
3218
|
+
"show the paths that tsconfig will be written per env"
|
|
3219
|
+
],
|
|
3220
|
+
[
|
|
3221
|
+
"",
|
|
3222
|
+
"dry-run-with-tsconfig",
|
|
3223
|
+
"show the tsconfig.json content and the paths it will be written per env"
|
|
3224
|
+
]
|
|
3225
|
+
],
|
|
3226
|
+
"description": "EXPERIMENTAL. write tsconfig.json files in the component directories",
|
|
3227
|
+
"extendedDescription": "",
|
|
3228
|
+
"group": "development",
|
|
3229
|
+
"private": false
|
|
3230
|
+
},
|
|
3190
3231
|
{
|
|
3191
3232
|
"name": "aspect <sub-command>",
|
|
3192
3233
|
"alias": "",
|
|
@@ -2569,7 +2569,22 @@ function MDXContent(_ref) {
|
|
|
2569
2569
|
}), (0, _react2.mdx)("td", {
|
|
2570
2570
|
parentName: "tr",
|
|
2571
2571
|
"align": null
|
|
2572
|
-
}, "GraphVis layout. default to \"dot\". options are ", "[circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]"))
|
|
2572
|
+
}, "GraphVis layout. default to \"dot\". options are ", "[circo, dot, fdp, neato, osage, patchwork, sfdp, twopi]")), (0, _react2.mdx)("tr", {
|
|
2573
|
+
parentName: "tbody"
|
|
2574
|
+
}, (0, _react2.mdx)("td", {
|
|
2575
|
+
parentName: "tr",
|
|
2576
|
+
"align": null
|
|
2577
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2578
|
+
parentName: "td"
|
|
2579
|
+
}, "--json")), (0, _react2.mdx)("td", {
|
|
2580
|
+
parentName: "tr",
|
|
2581
|
+
"align": "center"
|
|
2582
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2583
|
+
parentName: "td"
|
|
2584
|
+
}, "-j")), (0, _react2.mdx)("td", {
|
|
2585
|
+
parentName: "tr",
|
|
2586
|
+
"align": null
|
|
2587
|
+
}, "json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "help"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2573
2588
|
parentName: "p"
|
|
2574
2589
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
2575
2590
|
parentName: "p"
|
|
@@ -5822,7 +5837,105 @@ function MDXContent(_ref) {
|
|
|
5822
5837
|
}, "-t")), (0, _react2.mdx)("td", {
|
|
5823
5838
|
parentName: "tr",
|
|
5824
5839
|
"align": null
|
|
5825
|
-
}, "EXPERIMENTAL. show errors/warnings for types. options are ", "[file, project]", " to investigate only changed file or entire project. defaults to project")))), (0, _react2.mdx)("hr", null))
|
|
5840
|
+
}, "EXPERIMENTAL. show errors/warnings for types. options are ", "[file, project]", " to investigate only changed file or entire project. defaults to project")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "write-tsconfig"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5841
|
+
parentName: "p"
|
|
5842
|
+
}, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
|
|
5843
|
+
parentName: "p"
|
|
5844
|
+
}), "\n", (0, _react2.mdx)("strong", {
|
|
5845
|
+
parentName: "p"
|
|
5846
|
+
}, "Description"), ": EXPERIMENTAL. write tsconfig.json files in the component directories"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5847
|
+
parentName: "p"
|
|
5848
|
+
}, "bit write-tsconfig")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5849
|
+
parentName: "table"
|
|
5850
|
+
}, (0, _react2.mdx)("tr", {
|
|
5851
|
+
parentName: "thead"
|
|
5852
|
+
}, (0, _react2.mdx)("th", {
|
|
5853
|
+
parentName: "tr",
|
|
5854
|
+
"align": null
|
|
5855
|
+
}, (0, _react2.mdx)("strong", {
|
|
5856
|
+
parentName: "th"
|
|
5857
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
5858
|
+
parentName: "tr",
|
|
5859
|
+
"align": "center"
|
|
5860
|
+
}, (0, _react2.mdx)("strong", {
|
|
5861
|
+
parentName: "th"
|
|
5862
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
5863
|
+
parentName: "tr",
|
|
5864
|
+
"align": null
|
|
5865
|
+
}, (0, _react2.mdx)("strong", {
|
|
5866
|
+
parentName: "th"
|
|
5867
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
5868
|
+
parentName: "table"
|
|
5869
|
+
}, (0, _react2.mdx)("tr", {
|
|
5870
|
+
parentName: "tbody"
|
|
5871
|
+
}, (0, _react2.mdx)("td", {
|
|
5872
|
+
parentName: "tr",
|
|
5873
|
+
"align": null
|
|
5874
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5875
|
+
parentName: "td"
|
|
5876
|
+
}, "--clean")), (0, _react2.mdx)("td", {
|
|
5877
|
+
parentName: "tr",
|
|
5878
|
+
"align": "center"
|
|
5879
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5880
|
+
parentName: "td"
|
|
5881
|
+
}, "-c")), (0, _react2.mdx)("td", {
|
|
5882
|
+
parentName: "tr",
|
|
5883
|
+
"align": null
|
|
5884
|
+
}, "delete tsconfig files from the workspace. highly recommended to run it with \"--dry-run\" first")), (0, _react2.mdx)("tr", {
|
|
5885
|
+
parentName: "tbody"
|
|
5886
|
+
}, (0, _react2.mdx)("td", {
|
|
5887
|
+
parentName: "tr",
|
|
5888
|
+
"align": null
|
|
5889
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5890
|
+
parentName: "td"
|
|
5891
|
+
}, "--silent")), (0, _react2.mdx)("td", {
|
|
5892
|
+
parentName: "tr",
|
|
5893
|
+
"align": "center"
|
|
5894
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5895
|
+
parentName: "td"
|
|
5896
|
+
}, "-s")), (0, _react2.mdx)("td", {
|
|
5897
|
+
parentName: "tr",
|
|
5898
|
+
"align": null
|
|
5899
|
+
}, "do not prompt for confirmation")), (0, _react2.mdx)("tr", {
|
|
5900
|
+
parentName: "tbody"
|
|
5901
|
+
}, (0, _react2.mdx)("td", {
|
|
5902
|
+
parentName: "tr",
|
|
5903
|
+
"align": null
|
|
5904
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5905
|
+
parentName: "td"
|
|
5906
|
+
}, "--no-dedupe")), (0, _react2.mdx)("td", {
|
|
5907
|
+
parentName: "tr",
|
|
5908
|
+
"align": "center"
|
|
5909
|
+
}), (0, _react2.mdx)("td", {
|
|
5910
|
+
parentName: "tr",
|
|
5911
|
+
"align": null
|
|
5912
|
+
}, "write tsconfig.json inside each one of the component's dir, avoid deduping")), (0, _react2.mdx)("tr", {
|
|
5913
|
+
parentName: "tbody"
|
|
5914
|
+
}, (0, _react2.mdx)("td", {
|
|
5915
|
+
parentName: "tr",
|
|
5916
|
+
"align": null
|
|
5917
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5918
|
+
parentName: "td"
|
|
5919
|
+
}, "--dry-run")), (0, _react2.mdx)("td", {
|
|
5920
|
+
parentName: "tr",
|
|
5921
|
+
"align": "center"
|
|
5922
|
+
}), (0, _react2.mdx)("td", {
|
|
5923
|
+
parentName: "tr",
|
|
5924
|
+
"align": null
|
|
5925
|
+
}, "show the paths that tsconfig will be written per env")), (0, _react2.mdx)("tr", {
|
|
5926
|
+
parentName: "tbody"
|
|
5927
|
+
}, (0, _react2.mdx)("td", {
|
|
5928
|
+
parentName: "tr",
|
|
5929
|
+
"align": null
|
|
5930
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5931
|
+
parentName: "td"
|
|
5932
|
+
}, "--dry-run-with-tsconfig")), (0, _react2.mdx)("td", {
|
|
5933
|
+
parentName: "tr",
|
|
5934
|
+
"align": "center"
|
|
5935
|
+
}), (0, _react2.mdx)("td", {
|
|
5936
|
+
parentName: "tr",
|
|
5937
|
+
"align": null
|
|
5938
|
+
}, "show the tsconfig.json content and the paths it will be written per env")))), (0, _react2.mdx)("hr", null));
|
|
5826
5939
|
}
|
|
5827
5940
|
|
|
5828
5941
|
;
|