@teambit/harmony.content.cli-reference 1.95.53 → 1.95.56

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.
@@ -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,11 @@
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
+ ],
2248
2272
  [
2249
2273
  "",
2250
2274
  "skip-dependency-installation",
@@ -2985,11 +3009,6 @@
2985
3009
  "name": "merge <lane> [pattern]",
2986
3010
  "alias": "",
2987
3011
  "options": [
2988
- [
2989
- "",
2990
- "remote <scope-name>",
2991
- "remote scope name"
2992
- ],
2993
3012
  [
2994
3013
  "",
2995
3014
  "ours",
@@ -3035,11 +3054,21 @@
3035
3054
  "squash",
3036
3055
  "EXPERIMENTAL. squash multiple snaps. keep the last one only"
3037
3056
  ],
3057
+ [
3058
+ "",
3059
+ "verbose",
3060
+ "show details of components that were not merged legitimately"
3061
+ ],
3038
3062
  [
3039
3063
  "",
3040
3064
  "skip-dependency-installation",
3041
3065
  "do not install packages of the imported components"
3042
3066
  ],
3067
+ [
3068
+ "",
3069
+ "remote",
3070
+ "relevant when the target-lane locally is differ than the remote and you want the remote"
3071
+ ],
3043
3072
  [
3044
3073
  "",
3045
3074
  "include-deps",
@@ -3047,14 +3076,14 @@
3047
3076
  ]
3048
3077
  ],
3049
3078
  "description": "merge a local or a remote lane",
3050
- "extendedDescription": "",
3079
+ "extendedDescription": "if the <lane> exists locally, it will be merged from the local lane.\notherwise, it will fetch the lane from the remote and merge it.\nin case the <lane> exists locally but you want to merge the remote version of it, use --remote flag",
3051
3080
  "group": "ungrouped",
3052
3081
  "private": true,
3053
3082
  "remoteOp": true,
3054
3083
  "arguments": [
3055
3084
  {
3056
3085
  "name": "lane",
3057
- "description": "lane-name to merge to the current lane"
3086
+ "description": "lane-name or lane-id (if not exists locally) to merge to the current lane"
3058
3087
  },
3059
3088
  {
3060
3089
  "name": "pattern",
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>`
@@ -830,6 +836,7 @@ merge changes of different component versions
830
836
  | `--resolve` | | EXPERIMENTAL. mark an unresolved merge as resolved and create a new snap with the changes |
831
837
  | `--no-snap` | | EXPERIMENTAL. do not auto snap in case the merge completed without conflicts |
832
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 |
833
840
  | `--skip-dependency-installation` | | do not install packages of the imported components |
834
841
  | `--message <message>` | `-m` | EXPERIMENTAL. override the default message for the auto snap |
835
842
 
@@ -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,11 @@
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
+ ],
2248
2272
  [
2249
2273
  "",
2250
2274
  "skip-dependency-installation",
@@ -2985,11 +3009,6 @@
2985
3009
  "name": "merge <lane> [pattern]",
2986
3010
  "alias": "",
2987
3011
  "options": [
2988
- [
2989
- "",
2990
- "remote <scope-name>",
2991
- "remote scope name"
2992
- ],
2993
3012
  [
2994
3013
  "",
2995
3014
  "ours",
@@ -3035,11 +3054,21 @@
3035
3054
  "squash",
3036
3055
  "EXPERIMENTAL. squash multiple snaps. keep the last one only"
3037
3056
  ],
3057
+ [
3058
+ "",
3059
+ "verbose",
3060
+ "show details of components that were not merged legitimately"
3061
+ ],
3038
3062
  [
3039
3063
  "",
3040
3064
  "skip-dependency-installation",
3041
3065
  "do not install packages of the imported components"
3042
3066
  ],
3067
+ [
3068
+ "",
3069
+ "remote",
3070
+ "relevant when the target-lane locally is differ than the remote and you want the remote"
3071
+ ],
3043
3072
  [
3044
3073
  "",
3045
3074
  "include-deps",
@@ -3047,14 +3076,14 @@
3047
3076
  ]
3048
3077
  ],
3049
3078
  "description": "merge a local or a remote lane",
3050
- "extendedDescription": "",
3079
+ "extendedDescription": "if the <lane> exists locally, it will be merged from the local lane.\notherwise, it will fetch the lane from the remote and merge it.\nin case the <lane> exists locally but you want to merge the remote version of it, use --remote flag",
3051
3080
  "group": "ungrouped",
3052
3081
  "private": true,
3053
3082
  "remoteOp": true,
3054
3083
  "arguments": [
3055
3084
  {
3056
3085
  "name": "lane",
3057
- "description": "lane-name to merge to the current lane"
3086
+ "description": "lane-name or lane-id (if not exists locally) to merge to the current lane"
3058
3087
  },
3059
3088
  {
3060
3089
  "name": "pattern",
@@ -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 debug"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
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,19 @@ 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"
3799
3818
  }, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
3800
3819
  parentName: "tr",
3801
3820
  "align": "center"