@teambit/harmony.content.cli-reference 2.0.201 → 2.0.203
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 -1
- package/cli-reference.mdx +9 -6
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +16 -1
- package/dist/cli-reference.mdx.js +40 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1710386299630.js → preview-1710559018008.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -376,7 +376,17 @@
|
|
|
376
376
|
[
|
|
377
377
|
"a",
|
|
378
378
|
"archive [filePath]",
|
|
379
|
-
"archive the workspace including diagnosis info"
|
|
379
|
+
"archive the workspace including diagnosis info (by default exclude node-modules and include .bit)"
|
|
380
|
+
],
|
|
381
|
+
[
|
|
382
|
+
"",
|
|
383
|
+
"include-node-modules",
|
|
384
|
+
"relevant for --archive. include node_modules in the archive file"
|
|
385
|
+
],
|
|
386
|
+
[
|
|
387
|
+
"",
|
|
388
|
+
"exclude-local-scope",
|
|
389
|
+
"relevant for --archive. exclude .bit or .git/bit from the archive file"
|
|
380
390
|
]
|
|
381
391
|
],
|
|
382
392
|
"description": "diagnose a bit workspace",
|
|
@@ -2219,6 +2229,11 @@
|
|
|
2219
2229
|
"dependents-via <string>",
|
|
2220
2230
|
"same as --dependents except the traversal must go through the specified component. to specify multiple components, wrap with quotes and separate by a comma"
|
|
2221
2231
|
],
|
|
2232
|
+
[
|
|
2233
|
+
"",
|
|
2234
|
+
"dependents-all",
|
|
2235
|
+
"same as --dependents except not prompting for selecting paths but rather selecting all paths and showing final confirmation before importing"
|
|
2236
|
+
],
|
|
2222
2237
|
[
|
|
2223
2238
|
"",
|
|
2224
2239
|
"dependents-dry-run",
|
package/cli-reference.mdx
CHANGED
|
@@ -626,12 +626,14 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
626
626
|
|
|
627
627
|
`bit doctor [diagnosis-name]`
|
|
628
628
|
|
|
629
|
-
| **Option**
|
|
630
|
-
|
|
|
631
|
-
| `--json`
|
|
632
|
-
| `--list`
|
|
633
|
-
| `--save [filePath]`
|
|
634
|
-
| `--archive [filePath]`
|
|
629
|
+
| **Option** | **Option alias** | **Description** |
|
|
630
|
+
| ------------------------ | :--------------: | ------------------------------------------------------------------------------------------------- |
|
|
631
|
+
| `--json` | `-j` | return diagnoses in json format |
|
|
632
|
+
| `--list` | | list all available diagnoses |
|
|
633
|
+
| `--save [filePath]` | `-s` | save diagnoses to a file |
|
|
634
|
+
| `--archive [filePath]` | `-a` | archive the workspace including diagnosis info (by default exclude node-modules and include .bit) |
|
|
635
|
+
| `--include-node-modules` | | relevant for --archive. include node_modules in the archive file |
|
|
636
|
+
| `--exclude-local-scope` | | relevant for --archive. exclude .bit or .git/bit from the archive file |
|
|
635
637
|
|
|
636
638
|
---
|
|
637
639
|
|
|
@@ -916,6 +918,7 @@ bit export => export all staged snaps/tags of components to their remote scope.
|
|
|
916
918
|
| `--dependencies` | | import all dependencies (bit components only) of imported components and write them to the workspace |
|
|
917
919
|
| `--dependents` | | import components found while traversing from the imported components upwards to the workspace components |
|
|
918
920
|
| `--dependents-via <string>` | | same as --dependents except the traversal must go through the specified component. to specify multiple components, wrap with quotes and separate by a comma |
|
|
921
|
+
| `--dependents-all` | | same as --dependents except not prompting for selecting paths but rather selecting all paths and showing final confirmation before importing |
|
|
919
922
|
| `--dependents-dry-run` | | DEPRECATED. (this is the default now). same as --dependents, except it prints the found dependents and wait for confirmation before importing them |
|
|
920
923
|
| `--silent` | | no prompt for --dependents/--dependents-via flags |
|
|
921
924
|
| `--filter-envs <envs>` | | only import components that have the specified environment (e.g., "teambit.react/react-env") |
|
package/dist/cli-reference.json
CHANGED
|
@@ -376,7 +376,17 @@
|
|
|
376
376
|
[
|
|
377
377
|
"a",
|
|
378
378
|
"archive [filePath]",
|
|
379
|
-
"archive the workspace including diagnosis info"
|
|
379
|
+
"archive the workspace including diagnosis info (by default exclude node-modules and include .bit)"
|
|
380
|
+
],
|
|
381
|
+
[
|
|
382
|
+
"",
|
|
383
|
+
"include-node-modules",
|
|
384
|
+
"relevant for --archive. include node_modules in the archive file"
|
|
385
|
+
],
|
|
386
|
+
[
|
|
387
|
+
"",
|
|
388
|
+
"exclude-local-scope",
|
|
389
|
+
"relevant for --archive. exclude .bit or .git/bit from the archive file"
|
|
380
390
|
]
|
|
381
391
|
],
|
|
382
392
|
"description": "diagnose a bit workspace",
|
|
@@ -2219,6 +2229,11 @@
|
|
|
2219
2229
|
"dependents-via <string>",
|
|
2220
2230
|
"same as --dependents except the traversal must go through the specified component. to specify multiple components, wrap with quotes and separate by a comma"
|
|
2221
2231
|
],
|
|
2232
|
+
[
|
|
2233
|
+
"",
|
|
2234
|
+
"dependents-all",
|
|
2235
|
+
"same as --dependents except not prompting for selecting paths but rather selecting all paths and showing final confirmation before importing"
|
|
2236
|
+
],
|
|
2222
2237
|
[
|
|
2223
2238
|
"",
|
|
2224
2239
|
"dependents-dry-run",
|
|
@@ -3064,7 +3064,33 @@ function MDXContent(_ref) {
|
|
|
3064
3064
|
}, "-a")), (0, _react2.mdx)("td", {
|
|
3065
3065
|
parentName: "tr",
|
|
3066
3066
|
"align": null
|
|
3067
|
-
}, "archive the workspace including diagnosis info
|
|
3067
|
+
}, "archive the workspace including diagnosis info (by default exclude node-modules and include .bit)")), (0, _react2.mdx)("tr", {
|
|
3068
|
+
parentName: "tbody"
|
|
3069
|
+
}, (0, _react2.mdx)("td", {
|
|
3070
|
+
parentName: "tr",
|
|
3071
|
+
"align": null
|
|
3072
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3073
|
+
parentName: "td"
|
|
3074
|
+
}, "--include-node-modules")), (0, _react2.mdx)("td", {
|
|
3075
|
+
parentName: "tr",
|
|
3076
|
+
"align": "center"
|
|
3077
|
+
}), (0, _react2.mdx)("td", {
|
|
3078
|
+
parentName: "tr",
|
|
3079
|
+
"align": null
|
|
3080
|
+
}, "relevant for --archive. include node_modules in the archive file")), (0, _react2.mdx)("tr", {
|
|
3081
|
+
parentName: "tbody"
|
|
3082
|
+
}, (0, _react2.mdx)("td", {
|
|
3083
|
+
parentName: "tr",
|
|
3084
|
+
"align": null
|
|
3085
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3086
|
+
parentName: "td"
|
|
3087
|
+
}, "--exclude-local-scope")), (0, _react2.mdx)("td", {
|
|
3088
|
+
parentName: "tr",
|
|
3089
|
+
"align": "center"
|
|
3090
|
+
}), (0, _react2.mdx)("td", {
|
|
3091
|
+
parentName: "tr",
|
|
3092
|
+
"align": null
|
|
3093
|
+
}, "relevant for --archive. exclude .bit or .git/bit from the archive file")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "eject"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3068
3094
|
parentName: "p"
|
|
3069
3095
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
3070
3096
|
parentName: "p"
|
|
@@ -4482,6 +4508,19 @@ function MDXContent(_ref) {
|
|
|
4482
4508
|
"align": null
|
|
4483
4509
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4484
4510
|
parentName: "td"
|
|
4511
|
+
}, "--dependents-all")), (0, _react2.mdx)("td", {
|
|
4512
|
+
parentName: "tr",
|
|
4513
|
+
"align": "center"
|
|
4514
|
+
}), (0, _react2.mdx)("td", {
|
|
4515
|
+
parentName: "tr",
|
|
4516
|
+
"align": null
|
|
4517
|
+
}, "same as --dependents except not prompting for selecting paths but rather selecting all paths and showing final confirmation before importing")), (0, _react2.mdx)("tr", {
|
|
4518
|
+
parentName: "tbody"
|
|
4519
|
+
}, (0, _react2.mdx)("td", {
|
|
4520
|
+
parentName: "tr",
|
|
4521
|
+
"align": null
|
|
4522
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4523
|
+
parentName: "td"
|
|
4485
4524
|
}, "--dependents-dry-run")), (0, _react2.mdx)("td", {
|
|
4486
4525
|
parentName: "tr",
|
|
4487
4526
|
"align": "center"
|