@teambit/harmony.content.cli-reference 1.95.77 → 1.95.78

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.
@@ -2739,8 +2739,8 @@
2739
2739
  ]
2740
2740
  },
2741
2741
  {
2742
- "name": "dependencies <sub-command>",
2743
- "alias": "deps",
2742
+ "name": "deps <sub-command>",
2743
+ "alias": "dependencies",
2744
2744
  "options": [],
2745
2745
  "description": "manage dependencies",
2746
2746
  "extendedDescription": "",
@@ -2782,7 +2782,7 @@
2782
2782
  "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
2783
  },
2784
2784
  {
2785
- "name": "package",
2785
+ "name": "package...",
2786
2786
  "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
2787
  }
2788
2788
  ]
@@ -2827,7 +2827,7 @@
2827
2827
  "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
2828
  },
2829
2829
  {
2830
- "name": "package",
2830
+ "name": "package...",
2831
2831
  "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
2832
  }
2833
2833
  ]
package/cli-reference.mdx CHANGED
@@ -368,17 +368,40 @@ https://bit.dev/docs/config/bit-config
368
368
 
369
369
  ---
370
370
 
371
- ## dependencies
371
+ ## dependents
372
+
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
372
395
 
373
- **Alias**: `deps`
396
+ **Alias**: `dependencies`
374
397
  **Workspace only**: yes
375
398
  **Description**: manage dependencies
376
399
 
377
- `bit dependencies <sub-command>`
400
+ `bit deps <sub-command>`
378
401
 
379
- ### dependencies get
402
+ ### deps get
380
403
 
381
- **Usage**: `dependencies get <component-name>`
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
- ### dependencies remove
412
+ ### deps remove
390
413
 
391
- **Usage**: `dependencies remove <component-pattern> <package...>`
414
+ **Usage**: `deps remove <component-pattern> <package...>`
392
415
 
393
416
  **Description**: remove a dependency to component(s)
394
417
 
395
- ### dependencies debug
418
+ ### deps debug
396
419
 
397
- **Usage**: `dependencies debug <component-name>`
420
+ **Usage**: `deps debug <component-name>`
398
421
 
399
422
  **Description**: show the immediate dependencies and how their versions were determined
400
423
 
401
- ### dependencies set
424
+ ### deps set
402
425
 
403
- **Usage**: `dependencies set <component-pattern> <package...>`
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
@@ -2739,8 +2739,8 @@
2739
2739
  ]
2740
2740
  },
2741
2741
  {
2742
- "name": "dependencies <sub-command>",
2743
- "alias": "deps",
2742
+ "name": "deps <sub-command>",
2743
+ "alias": "dependencies",
2744
2744
  "options": [],
2745
2745
  "description": "manage dependencies",
2746
2746
  "extendedDescription": "",
@@ -2782,7 +2782,7 @@
2782
2782
  "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
2783
  },
2784
2784
  {
2785
- "name": "package",
2785
+ "name": "package...",
2786
2786
  "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
2787
  }
2788
2788
  ]
@@ -2827,7 +2827,7 @@
2827
2827
  "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
2828
  },
2829
2829
  {
2830
- "name": "package",
2830
+ "name": "package...",
2831
2831
  "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
2832
  }
2833
2833
  ]
@@ -1596,27 +1596,29 @@ function MDXContent(_ref) {
1596
1596
  }, "-e")), (0, _react2.mdx)("td", {
1597
1597
  parentName: "tr",
1598
1598
  "align": null
1599
- }, "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", {
1599
+ }, "set the component's environment. (overrides the env from variants and the template)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "dependents"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1600
1600
  parentName: "p"
1601
- }, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
1602
- parentName: "p"
1603
- }, "deps"), (0, _react2.mdx)("br", {
1601
+ }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
1604
1602
  parentName: "p"
1605
1603
  }), "\n", (0, _react2.mdx)("strong", {
1606
1604
  parentName: "p"
1607
- }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
1605
+ }, "Description"), ": EXPERIMENTAL. show dependents of the given component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1608
1606
  parentName: "p"
1609
- }), "\n", (0, _react2.mdx)("strong", {
1607
+ }, "bit dependents <component-name>")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "deprecate"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1610
1608
  parentName: "p"
1611
- }, "Description"), ": manage dependencies"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1609
+ }, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
1612
1610
  parentName: "p"
1613
- }, "bit dependencies <sub-command>")), (0, _react2.mdx)("h3", null, "dependencies get"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1611
+ }, "d"), (0, _react2.mdx)("br", {
1614
1612
  parentName: "p"
1615
- }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1613
+ }), "\n", (0, _react2.mdx)("strong", {
1616
1614
  parentName: "p"
1617
- }, "dependencies get <component-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1615
+ }, "Workspace only"), ": no", (0, _react2.mdx)("br", {
1618
1616
  parentName: "p"
1619
- }, "Description"), ": show direct and indirect dependencies of the given component"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1617
+ }), "\n", (0, _react2.mdx)("strong", {
1618
+ parentName: "p"
1619
+ }, "Description"), ": deprecate a component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1620
+ parentName: "p"
1621
+ }, "bit deprecate <component-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1620
1622
  parentName: "table"
1621
1623
  }, (0, _react2.mdx)("tr", {
1622
1624
  parentName: "thead"
@@ -1644,33 +1646,33 @@ function MDXContent(_ref) {
1644
1646
  "align": null
1645
1647
  }, (0, _react2.mdx)("inlineCode", {
1646
1648
  parentName: "td"
1647
- }, "--tree")), (0, _react2.mdx)("td", {
1649
+ }, "--new-id <string>")), (0, _react2.mdx)("td", {
1648
1650
  parentName: "tr",
1649
1651
  "align": "center"
1650
- }, (0, _react2.mdx)("inlineCode", {
1651
- parentName: "td"
1652
- }, "-t")), (0, _react2.mdx)("td", {
1652
+ }), (0, _react2.mdx)("td", {
1653
1653
  parentName: "tr",
1654
1654
  "align": null
1655
- }, "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", {
1655
+ }, "if replaced by another component, enter the new component id")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "deps"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1656
1656
  parentName: "p"
1657
- }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1657
+ }, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
1658
1658
  parentName: "p"
1659
- }, "dependencies remove <component-pattern> <package...>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1659
+ }, "dependencies"), (0, _react2.mdx)("br", {
1660
1660
  parentName: "p"
1661
- }, "Description"), ": remove a dependency to component(s)"), (0, _react2.mdx)("h3", null, "dependencies debug"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1661
+ }), "\n", (0, _react2.mdx)("strong", {
1662
1662
  parentName: "p"
1663
- }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1663
+ }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
1664
+ parentName: "p"
1665
+ }), "\n", (0, _react2.mdx)("strong", {
1664
1666
  parentName: "p"
1665
- }, "dependencies debug <component-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1667
+ }, "Description"), ": manage dependencies"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1666
1668
  parentName: "p"
1667
- }, "Description"), ": show the immediate dependencies and how their versions were determined"), (0, _react2.mdx)("h3", null, "dependencies set"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1669
+ }, "bit deps <sub-command>")), (0, _react2.mdx)("h3", null, "deps get"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1668
1670
  parentName: "p"
1669
1671
  }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1670
1672
  parentName: "p"
1671
- }, "dependencies set <component-pattern> <package...>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1673
+ }, "deps get <component-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1672
1674
  parentName: "p"
1673
- }, "Description"), ": set a dependency to component(s)"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1675
+ }, "Description"), ": show direct and indirect dependencies of the given component"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1674
1676
  parentName: "table"
1675
1677
  }, (0, _react2.mdx)("tr", {
1676
1678
  parentName: "thead"
@@ -1698,52 +1700,33 @@ function MDXContent(_ref) {
1698
1700
  "align": null
1699
1701
  }, (0, _react2.mdx)("inlineCode", {
1700
1702
  parentName: "td"
1701
- }, "--dev")), (0, _react2.mdx)("td", {
1702
- parentName: "tr",
1703
- "align": "center"
1704
- }, (0, _react2.mdx)("inlineCode", {
1705
- parentName: "td"
1706
- }, "-d")), (0, _react2.mdx)("td", {
1707
- parentName: "tr",
1708
- "align": null
1709
- }, "add to the devDependencies")), (0, _react2.mdx)("tr", {
1710
- parentName: "tbody"
1711
- }, (0, _react2.mdx)("td", {
1712
- parentName: "tr",
1713
- "align": null
1714
- }, (0, _react2.mdx)("inlineCode", {
1715
- parentName: "td"
1716
- }, "--peer")), (0, _react2.mdx)("td", {
1703
+ }, "--tree")), (0, _react2.mdx)("td", {
1717
1704
  parentName: "tr",
1718
1705
  "align": "center"
1719
1706
  }, (0, _react2.mdx)("inlineCode", {
1720
1707
  parentName: "td"
1721
- }, "-p")), (0, _react2.mdx)("td", {
1708
+ }, "-t")), (0, _react2.mdx)("td", {
1722
1709
  parentName: "tr",
1723
1710
  "align": null
1724
- }, "add to the peerDependencies")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "dependents"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1725
- parentName: "p"
1726
- }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
1727
- parentName: "p"
1728
- }), "\n", (0, _react2.mdx)("strong", {
1711
+ }, "EXPERIMENTAL. render dependencies as a tree, similar to \"npm ls\"")))), (0, _react2.mdx)("h3", null, "deps remove"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1729
1712
  parentName: "p"
1730
- }, "Description"), ": EXPERIMENTAL. show dependents of the given component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1713
+ }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1731
1714
  parentName: "p"
1732
- }, "bit dependents <component-name>")), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "deprecate"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1715
+ }, "deps remove <component-pattern> <package...>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1733
1716
  parentName: "p"
1734
- }, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
1717
+ }, "Description"), ": remove a dependency to component(s)"), (0, _react2.mdx)("h3", null, "deps debug"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1735
1718
  parentName: "p"
1736
- }, "d"), (0, _react2.mdx)("br", {
1719
+ }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1737
1720
  parentName: "p"
1738
- }), "\n", (0, _react2.mdx)("strong", {
1721
+ }, "deps debug <component-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1739
1722
  parentName: "p"
1740
- }, "Workspace only"), ": no", (0, _react2.mdx)("br", {
1723
+ }, "Description"), ": show the immediate dependencies and how their versions were determined"), (0, _react2.mdx)("h3", null, "deps set"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1741
1724
  parentName: "p"
1742
- }), "\n", (0, _react2.mdx)("strong", {
1725
+ }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1743
1726
  parentName: "p"
1744
- }, "Description"), ": deprecate a component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
1727
+ }, "deps set <component-pattern> <package...>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1745
1728
  parentName: "p"
1746
- }, "bit deprecate <component-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1729
+ }, "Description"), ": set a dependency to component(s)"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
1747
1730
  parentName: "table"
1748
1731
  }, (0, _react2.mdx)("tr", {
1749
1732
  parentName: "thead"
@@ -1771,13 +1754,30 @@ function MDXContent(_ref) {
1771
1754
  "align": null
1772
1755
  }, (0, _react2.mdx)("inlineCode", {
1773
1756
  parentName: "td"
1774
- }, "--new-id <string>")), (0, _react2.mdx)("td", {
1757
+ }, "--dev")), (0, _react2.mdx)("td", {
1775
1758
  parentName: "tr",
1776
1759
  "align": "center"
1777
- }), (0, _react2.mdx)("td", {
1760
+ }, (0, _react2.mdx)("inlineCode", {
1761
+ parentName: "td"
1762
+ }, "-d")), (0, _react2.mdx)("td", {
1763
+ parentName: "tr",
1764
+ "align": null
1765
+ }, "add to the devDependencies")), (0, _react2.mdx)("tr", {
1766
+ parentName: "tbody"
1767
+ }, (0, _react2.mdx)("td", {
1768
+ parentName: "tr",
1769
+ "align": null
1770
+ }, (0, _react2.mdx)("inlineCode", {
1771
+ parentName: "td"
1772
+ }, "--peer")), (0, _react2.mdx)("td", {
1773
+ parentName: "tr",
1774
+ "align": "center"
1775
+ }, (0, _react2.mdx)("inlineCode", {
1776
+ parentName: "td"
1777
+ }, "-p")), (0, _react2.mdx)("td", {
1778
1778
  parentName: "tr",
1779
1779
  "align": null
1780
- }, "if replaced by another component, enter the new component id")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "diff"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1780
+ }, "add to the peerDependencies")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "diff"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1781
1781
  parentName: "p"
1782
1782
  }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
1783
1783
  parentName: "p"