@teambit/harmony.content.cli-reference 1.95.49 → 1.95.50

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.
@@ -223,26 +223,6 @@
223
223
  "group": "info",
224
224
  "private": false
225
225
  },
226
- {
227
- "name": "dependencies <component-name>",
228
- "alias": "",
229
- "options": [
230
- [
231
- "t",
232
- "tree",
233
- "render dependencies as a tree, similar to \"npm ls\""
234
- ],
235
- [
236
- "d",
237
- "debug",
238
- "show the immediate dependencies and how their version was determined"
239
- ]
240
- ],
241
- "description": "EXPERIMENTAL. show direct and indirect dependencies of the given component",
242
- "extendedDescription": "",
243
- "group": "info",
244
- "private": false
245
- },
246
226
  {
247
227
  "name": "_log <path> <args>",
248
228
  "alias": "",
@@ -859,6 +839,53 @@
859
839
  "group": "general",
860
840
  "private": false
861
841
  },
842
+ {
843
+ "name": "dependencies <sub-command>",
844
+ "alias": "deps",
845
+ "options": [],
846
+ "description": "manage dependencies",
847
+ "extendedDescription": "",
848
+ "group": "info",
849
+ "private": false,
850
+ "commands": [
851
+ {
852
+ "name": "get <component-name>",
853
+ "alias": "",
854
+ "options": [
855
+ [
856
+ "t",
857
+ "tree",
858
+ "EXPERIMENTAL. render dependencies as a tree, similar to \"npm ls\""
859
+ ]
860
+ ],
861
+ "description": "show direct and indirect dependencies of the given component",
862
+ "extendedDescription": "",
863
+ "group": "info",
864
+ "private": false,
865
+ "arguments": [
866
+ {
867
+ "name": "component-name",
868
+ "description": "component name or component id"
869
+ }
870
+ ]
871
+ },
872
+ {
873
+ "name": "debug <component-name>",
874
+ "alias": "",
875
+ "options": [],
876
+ "description": "show the immediate dependencies and how their versions were determined",
877
+ "extendedDescription": "",
878
+ "group": "info",
879
+ "private": false,
880
+ "arguments": [
881
+ {
882
+ "name": "component-name",
883
+ "description": "component name or component id"
884
+ }
885
+ ]
886
+ }
887
+ ]
888
+ },
862
889
  {
863
890
  "name": "show <component-name>",
864
891
  "alias": "",
package/cli-reference.mdx CHANGED
@@ -369,15 +369,27 @@ https://bit.dev/docs/config/bit-config
369
369
 
370
370
  ## dependencies
371
371
 
372
+ **Alias**: `deps`
372
373
  **Workspace only**: yes
373
- **Description**: EXPERIMENTAL. show direct and indirect dependencies of the given component
374
+ **Description**: manage dependencies
374
375
 
375
- `bit dependencies <component-name>`
376
+ `bit dependencies <sub-command>`
376
377
 
377
- | **Option** | **Option alias** | **Description** |
378
- | ---------- | :--------------: | -------------------------------------------------------------------- |
379
- | `--tree` | `-t` | render dependencies as a tree, similar to "npm ls" |
380
- | `--debug` | `-d` | show the immediate dependencies and how their version was determined |
378
+ ### dependencies get
379
+
380
+ **Usage**: `dependencies get <component-name>`
381
+
382
+ **Description**: show direct and indirect dependencies of the given component
383
+
384
+ | **Option** | **Option alias** | **Description** |
385
+ | ---------- | :--------------: | ---------------------------------------------------------------- |
386
+ | `--tree` | `-t` | EXPERIMENTAL. render dependencies as a tree, similar to "npm ls" |
387
+
388
+ ### dependencies debug
389
+
390
+ **Usage**: `dependencies debug <component-name>`
391
+
392
+ **Description**: show the immediate dependencies and how their versions were determined
381
393
 
382
394
  ---
383
395
 
@@ -223,26 +223,6 @@
223
223
  "group": "info",
224
224
  "private": false
225
225
  },
226
- {
227
- "name": "dependencies <component-name>",
228
- "alias": "",
229
- "options": [
230
- [
231
- "t",
232
- "tree",
233
- "render dependencies as a tree, similar to \"npm ls\""
234
- ],
235
- [
236
- "d",
237
- "debug",
238
- "show the immediate dependencies and how their version was determined"
239
- ]
240
- ],
241
- "description": "EXPERIMENTAL. show direct and indirect dependencies of the given component",
242
- "extendedDescription": "",
243
- "group": "info",
244
- "private": false
245
- },
246
226
  {
247
227
  "name": "_log <path> <args>",
248
228
  "alias": "",
@@ -859,6 +839,53 @@
859
839
  "group": "general",
860
840
  "private": false
861
841
  },
842
+ {
843
+ "name": "dependencies <sub-command>",
844
+ "alias": "deps",
845
+ "options": [],
846
+ "description": "manage dependencies",
847
+ "extendedDescription": "",
848
+ "group": "info",
849
+ "private": false,
850
+ "commands": [
851
+ {
852
+ "name": "get <component-name>",
853
+ "alias": "",
854
+ "options": [
855
+ [
856
+ "t",
857
+ "tree",
858
+ "EXPERIMENTAL. render dependencies as a tree, similar to \"npm ls\""
859
+ ]
860
+ ],
861
+ "description": "show direct and indirect dependencies of the given component",
862
+ "extendedDescription": "",
863
+ "group": "info",
864
+ "private": false,
865
+ "arguments": [
866
+ {
867
+ "name": "component-name",
868
+ "description": "component name or component id"
869
+ }
870
+ ]
871
+ },
872
+ {
873
+ "name": "debug <component-name>",
874
+ "alias": "",
875
+ "options": [],
876
+ "description": "show the immediate dependencies and how their versions were determined",
877
+ "extendedDescription": "",
878
+ "group": "info",
879
+ "private": false,
880
+ "arguments": [
881
+ {
882
+ "name": "component-name",
883
+ "description": "component name or component id"
884
+ }
885
+ ]
886
+ }
887
+ ]
888
+ },
862
889
  {
863
890
  "name": "show <component-name>",
864
891
  "alias": "",
@@ -1581,13 +1581,25 @@ function MDXContent(_ref) {
1581
1581
  "align": null
1582
1582
  }, "set the component's environment. (overrides the env from variants and the template)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "dependencies"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1583
1583
  parentName: "p"
1584
+ }, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
1585
+ parentName: "p"
1586
+ }, "deps"), (0, _react2.mdx)("br", {
1587
+ parentName: "p"
1588
+ }), "\n", (0, _react2.mdx)("strong", {
1589
+ parentName: "p"
1584
1590
  }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
1585
1591
  parentName: "p"
1586
1592
  }), "\n", (0, _react2.mdx)("strong", {
1587
1593
  parentName: "p"
1588
- }, "Description"), ": EXPERIMENTAL. show direct and indirect dependencies of the given component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1594
+ }, "Description"), ": manage dependencies"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1595
+ parentName: "p"
1596
+ }, "bit dependencies <sub-command>")), (0, _react2.mdx)("h3", null, "dependencies get"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1597
+ parentName: "p"
1598
+ }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1599
+ parentName: "p"
1600
+ }, "dependencies get <component-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1589
1601
  parentName: "p"
1590
- }, "bit dependencies <component-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1602
+ }, "Description"), ": show direct and indirect dependencies of the given component"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1591
1603
  parentName: "table"
1592
1604
  }, (0, _react2.mdx)("tr", {
1593
1605
  parentName: "thead"
@@ -1623,22 +1635,13 @@ function MDXContent(_ref) {
1623
1635
  }, "-t")), (0, _react2.mdx)("td", {
1624
1636
  parentName: "tr",
1625
1637
  "align": null
1626
- }, "render dependencies as a tree, similar to \"npm ls\"")), (0, _react2.mdx)("tr", {
1627
- parentName: "tbody"
1628
- }, (0, _react2.mdx)("td", {
1629
- parentName: "tr",
1630
- "align": null
1631
- }, (0, _react2.mdx)("inlineCode", {
1632
- parentName: "td"
1633
- }, "--debug")), (0, _react2.mdx)("td", {
1634
- parentName: "tr",
1635
- "align": "center"
1636
- }, (0, _react2.mdx)("inlineCode", {
1637
- parentName: "td"
1638
- }, "-d")), (0, _react2.mdx)("td", {
1639
- parentName: "tr",
1640
- "align": null
1641
- }, "show the immediate dependencies and how their version was determined")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "dependents"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1638
+ }, "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", {
1639
+ parentName: "p"
1640
+ }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1641
+ parentName: "p"
1642
+ }, "dependencies debug <component-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1643
+ parentName: "p"
1644
+ }, "Description"), ": show the immediate dependencies and how their versions were determined"), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "dependents"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1642
1645
  parentName: "p"
1643
1646
  }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
1644
1647
  parentName: "p"