@teambit/harmony.content.cli-reference 1.95.52 → 1.95.55
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 +55 -16
- package/cli-reference.mdx +18 -10
- package/dist/cli-reference.json +55 -16
- package/dist/cli-reference.mdx.js +33 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.55.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1660015726089.js → preview-1660707067764.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.52.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -839,6 +839,21 @@
|
|
|
839
839
|
"group": "general",
|
|
840
840
|
"private": false
|
|
841
841
|
},
|
|
842
|
+
{
|
|
843
|
+
"name": "globals",
|
|
844
|
+
"alias": "",
|
|
845
|
+
"options": [
|
|
846
|
+
[
|
|
847
|
+
"j",
|
|
848
|
+
"json",
|
|
849
|
+
"json format"
|
|
850
|
+
]
|
|
851
|
+
],
|
|
852
|
+
"description": "list all globals",
|
|
853
|
+
"extendedDescription": "",
|
|
854
|
+
"group": "workspace",
|
|
855
|
+
"private": false
|
|
856
|
+
},
|
|
842
857
|
{
|
|
843
858
|
"name": "show <component-name>",
|
|
844
859
|
"alias": "",
|
|
@@ -975,21 +990,6 @@
|
|
|
975
990
|
}
|
|
976
991
|
]
|
|
977
992
|
},
|
|
978
|
-
{
|
|
979
|
-
"name": "globals",
|
|
980
|
-
"alias": "",
|
|
981
|
-
"options": [
|
|
982
|
-
[
|
|
983
|
-
"j",
|
|
984
|
-
"json",
|
|
985
|
-
"json format"
|
|
986
|
-
]
|
|
987
|
-
],
|
|
988
|
-
"description": "list all globals",
|
|
989
|
-
"extendedDescription": "",
|
|
990
|
-
"group": "workspace",
|
|
991
|
-
"private": false
|
|
992
|
-
},
|
|
993
993
|
{
|
|
994
994
|
"name": "start [type] [pattern]",
|
|
995
995
|
"alias": "c",
|
|
@@ -1435,6 +1435,25 @@
|
|
|
1435
1435
|
}
|
|
1436
1436
|
]
|
|
1437
1437
|
},
|
|
1438
|
+
{
|
|
1439
|
+
"name": "remove <component-pattern> <package...>",
|
|
1440
|
+
"alias": "",
|
|
1441
|
+
"options": [],
|
|
1442
|
+
"description": "remove a dependency to component(s)",
|
|
1443
|
+
"extendedDescription": "",
|
|
1444
|
+
"group": "info",
|
|
1445
|
+
"private": false,
|
|
1446
|
+
"arguments": [
|
|
1447
|
+
{
|
|
1448
|
+
"name": "component-pattern",
|
|
1449
|
+
"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"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"name": "package",
|
|
1453
|
+
"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"
|
|
1454
|
+
}
|
|
1455
|
+
]
|
|
1456
|
+
},
|
|
1438
1457
|
{
|
|
1439
1458
|
"name": "debug <component-name>",
|
|
1440
1459
|
"alias": "",
|
|
@@ -1476,7 +1495,7 @@
|
|
|
1476
1495
|
},
|
|
1477
1496
|
{
|
|
1478
1497
|
"name": "package",
|
|
1479
|
-
"description": "package name with version, e.g. \"lodash@1.0.0\""
|
|
1498
|
+
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
|
|
1480
1499
|
}
|
|
1481
1500
|
]
|
|
1482
1501
|
}
|
|
@@ -2245,6 +2264,16 @@
|
|
|
2245
2264
|
"build",
|
|
2246
2265
|
"in case of snap during the merge, run the build-pipeline (similar to bit snap --build)"
|
|
2247
2266
|
],
|
|
2267
|
+
[
|
|
2268
|
+
"",
|
|
2269
|
+
"verbose",
|
|
2270
|
+
"show details of components that were not merged legitimately"
|
|
2271
|
+
],
|
|
2272
|
+
[
|
|
2273
|
+
"",
|
|
2274
|
+
"skip-dependency-installation",
|
|
2275
|
+
"do not install packages of the imported components"
|
|
2276
|
+
],
|
|
2248
2277
|
[
|
|
2249
2278
|
"m",
|
|
2250
2279
|
"message <message>",
|
|
@@ -3030,6 +3059,16 @@
|
|
|
3030
3059
|
"squash",
|
|
3031
3060
|
"EXPERIMENTAL. squash multiple snaps. keep the last one only"
|
|
3032
3061
|
],
|
|
3062
|
+
[
|
|
3063
|
+
"",
|
|
3064
|
+
"verbose",
|
|
3065
|
+
"show details of components that were not merged legitimately"
|
|
3066
|
+
],
|
|
3067
|
+
[
|
|
3068
|
+
"",
|
|
3069
|
+
"skip-dependency-installation",
|
|
3070
|
+
"do not install packages of the imported components"
|
|
3071
|
+
],
|
|
3033
3072
|
[
|
|
3034
3073
|
"",
|
|
3035
3074
|
"include-deps",
|
package/cli-reference.mdx
CHANGED
|
@@ -389,6 +389,12 @@ https://bit.dev/docs/config/bit-config
|
|
|
389
389
|
| ---------- | :--------------: | ---------------------------------------------------------------- |
|
|
390
390
|
| `--tree` | `-t` | EXPERIMENTAL. render dependencies as a tree, similar to "npm ls" |
|
|
391
391
|
|
|
392
|
+
### dependencies remove
|
|
393
|
+
|
|
394
|
+
**Usage**: `dependencies remove <component-pattern> <package...>`
|
|
395
|
+
|
|
396
|
+
**Description**: remove a dependency to component(s)
|
|
397
|
+
|
|
392
398
|
### dependencies debug
|
|
393
399
|
|
|
394
400
|
**Usage**: `dependencies debug <component-name>`
|
|
@@ -821,16 +827,18 @@ merge changes of different component versions
|
|
|
821
827
|
|
|
822
828
|
`bit merge [values...]`
|
|
823
829
|
|
|
824
|
-
| **Option**
|
|
825
|
-
|
|
|
826
|
-
| `--ours`
|
|
827
|
-
| `--theirs`
|
|
828
|
-
| `--manual`
|
|
829
|
-
| `--abort`
|
|
830
|
-
| `--resolve`
|
|
831
|
-
| `--no-snap`
|
|
832
|
-
| `--build`
|
|
833
|
-
| `--
|
|
830
|
+
| **Option** | **Option alias** | **Description** |
|
|
831
|
+
| -------------------------------- | :--------------: | ------------------------------------------------------------------------------------------- |
|
|
832
|
+
| `--ours` | | in case of a conflict, override the used version with the current modification |
|
|
833
|
+
| `--theirs` | | in case of a conflict, override the current modification with the specified version |
|
|
834
|
+
| `--manual` | | in case of a conflict, leave the files with a conflict state to resolve them manually later |
|
|
835
|
+
| `--abort` | | EXPERIMENTAL. in case of an unresolved merge, revert to the state before the merge began |
|
|
836
|
+
| `--resolve` | | EXPERIMENTAL. mark an unresolved merge as resolved and create a new snap with the changes |
|
|
837
|
+
| `--no-snap` | | EXPERIMENTAL. do not auto snap in case the merge completed without conflicts |
|
|
838
|
+
| `--build` | | in case of snap during the merge, run the build-pipeline (similar to bit snap --build) |
|
|
839
|
+
| `--verbose` | | show details of components that were not merged legitimately |
|
|
840
|
+
| `--skip-dependency-installation` | | do not install packages of the imported components |
|
|
841
|
+
| `--message <message>` | `-m` | EXPERIMENTAL. override the default message for the auto snap |
|
|
834
842
|
|
|
835
843
|
---
|
|
836
844
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -839,6 +839,21 @@
|
|
|
839
839
|
"group": "general",
|
|
840
840
|
"private": false
|
|
841
841
|
},
|
|
842
|
+
{
|
|
843
|
+
"name": "globals",
|
|
844
|
+
"alias": "",
|
|
845
|
+
"options": [
|
|
846
|
+
[
|
|
847
|
+
"j",
|
|
848
|
+
"json",
|
|
849
|
+
"json format"
|
|
850
|
+
]
|
|
851
|
+
],
|
|
852
|
+
"description": "list all globals",
|
|
853
|
+
"extendedDescription": "",
|
|
854
|
+
"group": "workspace",
|
|
855
|
+
"private": false
|
|
856
|
+
},
|
|
842
857
|
{
|
|
843
858
|
"name": "show <component-name>",
|
|
844
859
|
"alias": "",
|
|
@@ -975,21 +990,6 @@
|
|
|
975
990
|
}
|
|
976
991
|
]
|
|
977
992
|
},
|
|
978
|
-
{
|
|
979
|
-
"name": "globals",
|
|
980
|
-
"alias": "",
|
|
981
|
-
"options": [
|
|
982
|
-
[
|
|
983
|
-
"j",
|
|
984
|
-
"json",
|
|
985
|
-
"json format"
|
|
986
|
-
]
|
|
987
|
-
],
|
|
988
|
-
"description": "list all globals",
|
|
989
|
-
"extendedDescription": "",
|
|
990
|
-
"group": "workspace",
|
|
991
|
-
"private": false
|
|
992
|
-
},
|
|
993
993
|
{
|
|
994
994
|
"name": "start [type] [pattern]",
|
|
995
995
|
"alias": "c",
|
|
@@ -1435,6 +1435,25 @@
|
|
|
1435
1435
|
}
|
|
1436
1436
|
]
|
|
1437
1437
|
},
|
|
1438
|
+
{
|
|
1439
|
+
"name": "remove <component-pattern> <package...>",
|
|
1440
|
+
"alias": "",
|
|
1441
|
+
"options": [],
|
|
1442
|
+
"description": "remove a dependency to component(s)",
|
|
1443
|
+
"extendedDescription": "",
|
|
1444
|
+
"group": "info",
|
|
1445
|
+
"private": false,
|
|
1446
|
+
"arguments": [
|
|
1447
|
+
{
|
|
1448
|
+
"name": "component-pattern",
|
|
1449
|
+
"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"
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
"name": "package",
|
|
1453
|
+
"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"
|
|
1454
|
+
}
|
|
1455
|
+
]
|
|
1456
|
+
},
|
|
1438
1457
|
{
|
|
1439
1458
|
"name": "debug <component-name>",
|
|
1440
1459
|
"alias": "",
|
|
@@ -1476,7 +1495,7 @@
|
|
|
1476
1495
|
},
|
|
1477
1496
|
{
|
|
1478
1497
|
"name": "package",
|
|
1479
|
-
"description": "package name with version, e.g. \"lodash@1.0.0\""
|
|
1498
|
+
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
|
|
1480
1499
|
}
|
|
1481
1500
|
]
|
|
1482
1501
|
}
|
|
@@ -2245,6 +2264,16 @@
|
|
|
2245
2264
|
"build",
|
|
2246
2265
|
"in case of snap during the merge, run the build-pipeline (similar to bit snap --build)"
|
|
2247
2266
|
],
|
|
2267
|
+
[
|
|
2268
|
+
"",
|
|
2269
|
+
"verbose",
|
|
2270
|
+
"show details of components that were not merged legitimately"
|
|
2271
|
+
],
|
|
2272
|
+
[
|
|
2273
|
+
"",
|
|
2274
|
+
"skip-dependency-installation",
|
|
2275
|
+
"do not install packages of the imported components"
|
|
2276
|
+
],
|
|
2248
2277
|
[
|
|
2249
2278
|
"m",
|
|
2250
2279
|
"message <message>",
|
|
@@ -3030,6 +3059,16 @@
|
|
|
3030
3059
|
"squash",
|
|
3031
3060
|
"EXPERIMENTAL. squash multiple snaps. keep the last one only"
|
|
3032
3061
|
],
|
|
3062
|
+
[
|
|
3063
|
+
"",
|
|
3064
|
+
"verbose",
|
|
3065
|
+
"show details of components that were not merged legitimately"
|
|
3066
|
+
],
|
|
3067
|
+
[
|
|
3068
|
+
"",
|
|
3069
|
+
"skip-dependency-installation",
|
|
3070
|
+
"do not install packages of the imported components"
|
|
3071
|
+
],
|
|
3033
3072
|
[
|
|
3034
3073
|
"",
|
|
3035
3074
|
"include-deps",
|
|
@@ -1671,7 +1671,13 @@ function MDXContent(_ref) {
|
|
|
1671
1671
|
}, "-t")), (0, _react2.mdx)("td", {
|
|
1672
1672
|
parentName: "tr",
|
|
1673
1673
|
"align": null
|
|
1674
|
-
}, "EXPERIMENTAL. render dependencies as a tree, similar to \"npm ls\"")))), (0, _react2.mdx)("h3", null, "dependencies
|
|
1674
|
+
}, "EXPERIMENTAL. render dependencies as a tree, similar to \"npm ls\"")))), (0, _react2.mdx)("h3", null, "dependencies remove"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1675
|
+
parentName: "p"
|
|
1676
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1677
|
+
parentName: "p"
|
|
1678
|
+
}, "dependencies remove <component-pattern> <package...>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1679
|
+
parentName: "p"
|
|
1680
|
+
}, "Description"), ": remove a dependency to component(s)"), (0, _react2.mdx)("h3", null, "dependencies debug"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1675
1681
|
parentName: "p"
|
|
1676
1682
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1677
1683
|
parentName: "p"
|
|
@@ -3796,6 +3802,32 @@ function MDXContent(_ref) {
|
|
|
3796
3802
|
"align": null
|
|
3797
3803
|
}, (0, _react2.mdx)("inlineCode", {
|
|
3798
3804
|
parentName: "td"
|
|
3805
|
+
}, "--verbose")), (0, _react2.mdx)("td", {
|
|
3806
|
+
parentName: "tr",
|
|
3807
|
+
"align": "center"
|
|
3808
|
+
}), (0, _react2.mdx)("td", {
|
|
3809
|
+
parentName: "tr",
|
|
3810
|
+
"align": null
|
|
3811
|
+
}, "show details of components that were not merged legitimately")), (0, _react2.mdx)("tr", {
|
|
3812
|
+
parentName: "tbody"
|
|
3813
|
+
}, (0, _react2.mdx)("td", {
|
|
3814
|
+
parentName: "tr",
|
|
3815
|
+
"align": null
|
|
3816
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3817
|
+
parentName: "td"
|
|
3818
|
+
}, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
|
|
3819
|
+
parentName: "tr",
|
|
3820
|
+
"align": "center"
|
|
3821
|
+
}), (0, _react2.mdx)("td", {
|
|
3822
|
+
parentName: "tr",
|
|
3823
|
+
"align": null
|
|
3824
|
+
}, "do not install packages of the imported components")), (0, _react2.mdx)("tr", {
|
|
3825
|
+
parentName: "tbody"
|
|
3826
|
+
}, (0, _react2.mdx)("td", {
|
|
3827
|
+
parentName: "tr",
|
|
3828
|
+
"align": null
|
|
3829
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3830
|
+
parentName: "td"
|
|
3799
3831
|
}, "--message <message>")), (0, _react2.mdx)("td", {
|
|
3800
3832
|
parentName: "tr",
|
|
3801
3833
|
"align": "center"
|