@teambit/harmony.content.cli-reference 1.95.77 → 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 +75 -34
- package/cli-reference.mdx +52 -34
- package/dist/cli-reference.json +75 -34
- package/dist/cli-reference.mdx.js +173 -60
- 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-1664710331381.js → preview-1664941100086.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.77.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": "",
|
|
@@ -2739,8 +2745,8 @@
|
|
|
2739
2745
|
]
|
|
2740
2746
|
},
|
|
2741
2747
|
{
|
|
2742
|
-
"name": "
|
|
2743
|
-
"alias": "
|
|
2748
|
+
"name": "deps <sub-command>",
|
|
2749
|
+
"alias": "dependencies",
|
|
2744
2750
|
"options": [],
|
|
2745
2751
|
"description": "manage dependencies",
|
|
2746
2752
|
"extendedDescription": "",
|
|
@@ -2782,7 +2788,7 @@
|
|
|
2782
2788
|
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2783
2789
|
},
|
|
2784
2790
|
{
|
|
2785
|
-
"name": "package",
|
|
2791
|
+
"name": "package...",
|
|
2786
2792
|
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version"
|
|
2787
2793
|
}
|
|
2788
2794
|
]
|
|
@@ -2827,7 +2833,7 @@
|
|
|
2827
2833
|
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2828
2834
|
},
|
|
2829
2835
|
{
|
|
2830
|
-
"name": "package",
|
|
2836
|
+
"name": "package...",
|
|
2831
2837
|
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
|
|
2832
2838
|
}
|
|
2833
2839
|
]
|
|
@@ -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
|
@@ -368,17 +368,40 @@ https://bit.dev/docs/config/bit-config
|
|
|
368
368
|
|
|
369
369
|
---
|
|
370
370
|
|
|
371
|
-
##
|
|
371
|
+
## dependents
|
|
372
372
|
|
|
373
|
-
**
|
|
373
|
+
**Workspace only**: yes
|
|
374
|
+
**Description**: EXPERIMENTAL. show dependents of the given component
|
|
375
|
+
|
|
376
|
+
`bit dependents <component-name>`
|
|
377
|
+
|
|
378
|
+
---
|
|
379
|
+
|
|
380
|
+
## deprecate
|
|
381
|
+
|
|
382
|
+
**Alias**: `d`
|
|
383
|
+
**Workspace only**: no
|
|
384
|
+
**Description**: deprecate a component
|
|
385
|
+
|
|
386
|
+
`bit deprecate <component-name>`
|
|
387
|
+
|
|
388
|
+
| **Option** | **Option alias** | **Description** |
|
|
389
|
+
| ------------------- | :--------------: | ------------------------------------------------------------ |
|
|
390
|
+
| `--new-id <string>` | | if replaced by another component, enter the new component id |
|
|
391
|
+
|
|
392
|
+
---
|
|
393
|
+
|
|
394
|
+
## deps
|
|
395
|
+
|
|
396
|
+
**Alias**: `dependencies`
|
|
374
397
|
**Workspace only**: yes
|
|
375
398
|
**Description**: manage dependencies
|
|
376
399
|
|
|
377
|
-
`bit
|
|
400
|
+
`bit deps <sub-command>`
|
|
378
401
|
|
|
379
|
-
###
|
|
402
|
+
### deps get
|
|
380
403
|
|
|
381
|
-
**Usage**: `
|
|
404
|
+
**Usage**: `deps get <component-name>`
|
|
382
405
|
|
|
383
406
|
**Description**: show direct and indirect dependencies of the given component
|
|
384
407
|
|
|
@@ -386,21 +409,21 @@ https://bit.dev/docs/config/bit-config
|
|
|
386
409
|
| ---------- | :--------------: | ---------------------------------------------------------------- |
|
|
387
410
|
| `--tree` | `-t` | EXPERIMENTAL. render dependencies as a tree, similar to "npm ls" |
|
|
388
411
|
|
|
389
|
-
###
|
|
412
|
+
### deps remove
|
|
390
413
|
|
|
391
|
-
**Usage**: `
|
|
414
|
+
**Usage**: `deps remove <component-pattern> <package...>`
|
|
392
415
|
|
|
393
416
|
**Description**: remove a dependency to component(s)
|
|
394
417
|
|
|
395
|
-
###
|
|
418
|
+
### deps debug
|
|
396
419
|
|
|
397
|
-
**Usage**: `
|
|
420
|
+
**Usage**: `deps debug <component-name>`
|
|
398
421
|
|
|
399
422
|
**Description**: show the immediate dependencies and how their versions were determined
|
|
400
423
|
|
|
401
|
-
###
|
|
424
|
+
### deps set
|
|
402
425
|
|
|
403
|
-
**Usage**: `
|
|
426
|
+
**Usage**: `deps set <component-pattern> <package...>`
|
|
404
427
|
|
|
405
428
|
**Description**: set a dependency to component(s)
|
|
406
429
|
|
|
@@ -411,29 +434,6 @@ https://bit.dev/docs/config/bit-config
|
|
|
411
434
|
|
|
412
435
|
---
|
|
413
436
|
|
|
414
|
-
## dependents
|
|
415
|
-
|
|
416
|
-
**Workspace only**: yes
|
|
417
|
-
**Description**: EXPERIMENTAL. show dependents of the given component
|
|
418
|
-
|
|
419
|
-
`bit dependents <component-name>`
|
|
420
|
-
|
|
421
|
-
---
|
|
422
|
-
|
|
423
|
-
## deprecate
|
|
424
|
-
|
|
425
|
-
**Alias**: `d`
|
|
426
|
-
**Workspace only**: no
|
|
427
|
-
**Description**: deprecate a component
|
|
428
|
-
|
|
429
|
-
`bit deprecate <component-name>`
|
|
430
|
-
|
|
431
|
-
| **Option** | **Option alias** | **Description** |
|
|
432
|
-
| ------------------- | :--------------: | ------------------------------------------------------------ |
|
|
433
|
-
| `--new-id <string>` | | if replaced by another component, enter the new component id |
|
|
434
|
-
|
|
435
|
-
---
|
|
436
|
-
|
|
437
437
|
## diff
|
|
438
438
|
|
|
439
439
|
**Workspace only**: yes
|
|
@@ -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": "",
|
|
@@ -2739,8 +2745,8 @@
|
|
|
2739
2745
|
]
|
|
2740
2746
|
},
|
|
2741
2747
|
{
|
|
2742
|
-
"name": "
|
|
2743
|
-
"alias": "
|
|
2748
|
+
"name": "deps <sub-command>",
|
|
2749
|
+
"alias": "dependencies",
|
|
2744
2750
|
"options": [],
|
|
2745
2751
|
"description": "manage dependencies",
|
|
2746
2752
|
"extendedDescription": "",
|
|
@@ -2782,7 +2788,7 @@
|
|
|
2782
2788
|
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2783
2789
|
},
|
|
2784
2790
|
{
|
|
2785
|
-
"name": "package",
|
|
2791
|
+
"name": "package...",
|
|
2786
2792
|
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version"
|
|
2787
2793
|
}
|
|
2788
2794
|
]
|
|
@@ -2827,7 +2833,7 @@
|
|
|
2827
2833
|
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2828
2834
|
},
|
|
2829
2835
|
{
|
|
2830
|
-
"name": "package",
|
|
2836
|
+
"name": "package...",
|
|
2831
2837
|
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
|
|
2832
2838
|
}
|
|
2833
2839
|
]
|
|
@@ -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": "",
|