@teambit/harmony.content.cli-reference 1.95.76 → 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.
- package/cli-reference.json +156 -156
- package/cli-reference.mdx +34 -34
- package/dist/cli-reference.json +156 -156
- package/dist/cli-reference.mdx.js +58 -58
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.78.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1663990632780.js → preview-1664854758941.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.76.tgz +0 -0
package/dist/cli-reference.json
CHANGED
|
@@ -1455,122 +1455,6 @@
|
|
|
1455
1455
|
"group": "ungrouped",
|
|
1456
1456
|
"private": true
|
|
1457
1457
|
},
|
|
1458
|
-
{
|
|
1459
|
-
"name": "install [packages...]",
|
|
1460
|
-
"alias": "in",
|
|
1461
|
-
"options": [
|
|
1462
|
-
[
|
|
1463
|
-
"v",
|
|
1464
|
-
"variants <variants>",
|
|
1465
|
-
"add packages to specific variants"
|
|
1466
|
-
],
|
|
1467
|
-
[
|
|
1468
|
-
"t",
|
|
1469
|
-
"type [lifecycleType]",
|
|
1470
|
-
"\"runtime\" (default) or \"peer\" (dev is not a valid option)"
|
|
1471
|
-
],
|
|
1472
|
-
[
|
|
1473
|
-
"u",
|
|
1474
|
-
"update-existing [updateExisting]",
|
|
1475
|
-
"update existing dependencies version and types"
|
|
1476
|
-
],
|
|
1477
|
-
[
|
|
1478
|
-
"",
|
|
1479
|
-
"save-prefix [savePrefix]",
|
|
1480
|
-
"set the prefix to use when adding dependency to workspace.jsonc"
|
|
1481
|
-
],
|
|
1482
|
-
[
|
|
1483
|
-
"",
|
|
1484
|
-
"skip-dedupe [skipDedupe]",
|
|
1485
|
-
"do not dedupe dependencies on installation"
|
|
1486
|
-
],
|
|
1487
|
-
[
|
|
1488
|
-
"",
|
|
1489
|
-
"skip-import [skipImport]",
|
|
1490
|
-
"do not import bit objects post installation"
|
|
1491
|
-
],
|
|
1492
|
-
[
|
|
1493
|
-
"",
|
|
1494
|
-
"add-missing-peers [addMissingPeers]",
|
|
1495
|
-
"install all missing peer dependencies"
|
|
1496
|
-
]
|
|
1497
|
-
],
|
|
1498
|
-
"description": "installs workspace dependencies",
|
|
1499
|
-
"extendedDescription": "when no package is specified, all workspace dependencies are installed and all workspace components are imported.",
|
|
1500
|
-
"group": "development",
|
|
1501
|
-
"private": false,
|
|
1502
|
-
"arguments": [
|
|
1503
|
-
{
|
|
1504
|
-
"name": "packages...",
|
|
1505
|
-
"description": "a list of packages to install (separated by spaces)"
|
|
1506
|
-
}
|
|
1507
|
-
]
|
|
1508
|
-
},
|
|
1509
|
-
{
|
|
1510
|
-
"name": "uninstall [packages...]",
|
|
1511
|
-
"alias": "un",
|
|
1512
|
-
"options": [],
|
|
1513
|
-
"description": "uninstall dependencies",
|
|
1514
|
-
"extendedDescription": "",
|
|
1515
|
-
"group": "development",
|
|
1516
|
-
"private": false
|
|
1517
|
-
},
|
|
1518
|
-
{
|
|
1519
|
-
"name": "update",
|
|
1520
|
-
"alias": "up",
|
|
1521
|
-
"options": [
|
|
1522
|
-
[
|
|
1523
|
-
"y",
|
|
1524
|
-
"yes",
|
|
1525
|
-
"automatically update all outdated packages"
|
|
1526
|
-
]
|
|
1527
|
-
],
|
|
1528
|
-
"description": "update dependencies",
|
|
1529
|
-
"extendedDescription": "",
|
|
1530
|
-
"group": "development",
|
|
1531
|
-
"private": false
|
|
1532
|
-
},
|
|
1533
|
-
{
|
|
1534
|
-
"name": "link [component-names...]",
|
|
1535
|
-
"alias": "",
|
|
1536
|
-
"options": [
|
|
1537
|
-
[
|
|
1538
|
-
"j",
|
|
1539
|
-
"json",
|
|
1540
|
-
"return the output as JSON"
|
|
1541
|
-
],
|
|
1542
|
-
[
|
|
1543
|
-
"",
|
|
1544
|
-
"verbose",
|
|
1545
|
-
"verbose output"
|
|
1546
|
-
],
|
|
1547
|
-
[
|
|
1548
|
-
"r",
|
|
1549
|
-
"rewire",
|
|
1550
|
-
"Replace relative paths with module paths in code (e.g. \"../foo\" => \"@bit/foo\")"
|
|
1551
|
-
],
|
|
1552
|
-
[
|
|
1553
|
-
"",
|
|
1554
|
-
"target <dir>",
|
|
1555
|
-
"EXPERIMENTAL. link to an external directory (similar to npm-link) so other projects could use these components"
|
|
1556
|
-
],
|
|
1557
|
-
[
|
|
1558
|
-
"",
|
|
1559
|
-
"skip-fetching-objects",
|
|
1560
|
-
"skip fetch missing objects from remotes before linking"
|
|
1561
|
-
]
|
|
1562
|
-
],
|
|
1563
|
-
"description": "create links in the node_modules directory, to core aspects and to components in the workspace",
|
|
1564
|
-
"extendedDescription": "https://bit.dev/docs/workspace/component-links",
|
|
1565
|
-
"group": "development",
|
|
1566
|
-
"private": false,
|
|
1567
|
-
"arguments": [
|
|
1568
|
-
{
|
|
1569
|
-
"name": "component-names...",
|
|
1570
|
-
"description": "names or IDs of the components to link"
|
|
1571
|
-
}
|
|
1572
|
-
]
|
|
1573
|
-
},
|
|
1574
1458
|
{
|
|
1575
1459
|
"name": "create <template-name> <component-names...>",
|
|
1576
1460
|
"alias": "",
|
|
@@ -1791,6 +1675,158 @@
|
|
|
1791
1675
|
}
|
|
1792
1676
|
]
|
|
1793
1677
|
},
|
|
1678
|
+
{
|
|
1679
|
+
"name": "compile [component-names...]",
|
|
1680
|
+
"alias": "",
|
|
1681
|
+
"options": [
|
|
1682
|
+
[
|
|
1683
|
+
"c",
|
|
1684
|
+
"changed",
|
|
1685
|
+
"compile only new and modified components"
|
|
1686
|
+
],
|
|
1687
|
+
[
|
|
1688
|
+
"v",
|
|
1689
|
+
"verbose",
|
|
1690
|
+
"show more data, such as, dist paths"
|
|
1691
|
+
],
|
|
1692
|
+
[
|
|
1693
|
+
"j",
|
|
1694
|
+
"json",
|
|
1695
|
+
"return the compile results in json format"
|
|
1696
|
+
],
|
|
1697
|
+
[
|
|
1698
|
+
"d",
|
|
1699
|
+
"delete-dist-dir",
|
|
1700
|
+
"delete existing dist folder before writing new compiled files"
|
|
1701
|
+
]
|
|
1702
|
+
],
|
|
1703
|
+
"description": "compile components in the workspace",
|
|
1704
|
+
"extendedDescription": "",
|
|
1705
|
+
"group": "development",
|
|
1706
|
+
"private": false,
|
|
1707
|
+
"arguments": [
|
|
1708
|
+
{
|
|
1709
|
+
"name": "component-names...",
|
|
1710
|
+
"description": "a list of component names or component IDs (defaults to all components)"
|
|
1711
|
+
}
|
|
1712
|
+
]
|
|
1713
|
+
},
|
|
1714
|
+
{
|
|
1715
|
+
"name": "install [packages...]",
|
|
1716
|
+
"alias": "in",
|
|
1717
|
+
"options": [
|
|
1718
|
+
[
|
|
1719
|
+
"v",
|
|
1720
|
+
"variants <variants>",
|
|
1721
|
+
"add packages to specific variants"
|
|
1722
|
+
],
|
|
1723
|
+
[
|
|
1724
|
+
"t",
|
|
1725
|
+
"type [lifecycleType]",
|
|
1726
|
+
"\"runtime\" (default) or \"peer\" (dev is not a valid option)"
|
|
1727
|
+
],
|
|
1728
|
+
[
|
|
1729
|
+
"u",
|
|
1730
|
+
"update-existing [updateExisting]",
|
|
1731
|
+
"update existing dependencies version and types"
|
|
1732
|
+
],
|
|
1733
|
+
[
|
|
1734
|
+
"",
|
|
1735
|
+
"save-prefix [savePrefix]",
|
|
1736
|
+
"set the prefix to use when adding dependency to workspace.jsonc"
|
|
1737
|
+
],
|
|
1738
|
+
[
|
|
1739
|
+
"",
|
|
1740
|
+
"skip-dedupe [skipDedupe]",
|
|
1741
|
+
"do not dedupe dependencies on installation"
|
|
1742
|
+
],
|
|
1743
|
+
[
|
|
1744
|
+
"",
|
|
1745
|
+
"skip-import [skipImport]",
|
|
1746
|
+
"do not import bit objects post installation"
|
|
1747
|
+
],
|
|
1748
|
+
[
|
|
1749
|
+
"",
|
|
1750
|
+
"add-missing-peers [addMissingPeers]",
|
|
1751
|
+
"install all missing peer dependencies"
|
|
1752
|
+
]
|
|
1753
|
+
],
|
|
1754
|
+
"description": "installs workspace dependencies",
|
|
1755
|
+
"extendedDescription": "when no package is specified, all workspace dependencies are installed and all workspace components are imported.",
|
|
1756
|
+
"group": "development",
|
|
1757
|
+
"private": false,
|
|
1758
|
+
"arguments": [
|
|
1759
|
+
{
|
|
1760
|
+
"name": "packages...",
|
|
1761
|
+
"description": "a list of packages to install (separated by spaces)"
|
|
1762
|
+
}
|
|
1763
|
+
]
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
"name": "uninstall [packages...]",
|
|
1767
|
+
"alias": "un",
|
|
1768
|
+
"options": [],
|
|
1769
|
+
"description": "uninstall dependencies",
|
|
1770
|
+
"extendedDescription": "",
|
|
1771
|
+
"group": "development",
|
|
1772
|
+
"private": false
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"name": "update",
|
|
1776
|
+
"alias": "up",
|
|
1777
|
+
"options": [
|
|
1778
|
+
[
|
|
1779
|
+
"y",
|
|
1780
|
+
"yes",
|
|
1781
|
+
"automatically update all outdated packages"
|
|
1782
|
+
]
|
|
1783
|
+
],
|
|
1784
|
+
"description": "update dependencies",
|
|
1785
|
+
"extendedDescription": "",
|
|
1786
|
+
"group": "development",
|
|
1787
|
+
"private": false
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
"name": "link [component-names...]",
|
|
1791
|
+
"alias": "",
|
|
1792
|
+
"options": [
|
|
1793
|
+
[
|
|
1794
|
+
"j",
|
|
1795
|
+
"json",
|
|
1796
|
+
"return the output as JSON"
|
|
1797
|
+
],
|
|
1798
|
+
[
|
|
1799
|
+
"",
|
|
1800
|
+
"verbose",
|
|
1801
|
+
"verbose output"
|
|
1802
|
+
],
|
|
1803
|
+
[
|
|
1804
|
+
"r",
|
|
1805
|
+
"rewire",
|
|
1806
|
+
"Replace relative paths with module paths in code (e.g. \"../foo\" => \"@bit/foo\")"
|
|
1807
|
+
],
|
|
1808
|
+
[
|
|
1809
|
+
"",
|
|
1810
|
+
"target <dir>",
|
|
1811
|
+
"EXPERIMENTAL. link to an external directory (similar to npm-link) so other projects could use these components"
|
|
1812
|
+
],
|
|
1813
|
+
[
|
|
1814
|
+
"",
|
|
1815
|
+
"skip-fetching-objects",
|
|
1816
|
+
"skip fetch missing objects from remotes before linking"
|
|
1817
|
+
]
|
|
1818
|
+
],
|
|
1819
|
+
"description": "create links in the node_modules directory, to core aspects and to components in the workspace",
|
|
1820
|
+
"extendedDescription": "https://bit.dev/docs/workspace/component-links",
|
|
1821
|
+
"group": "development",
|
|
1822
|
+
"private": false,
|
|
1823
|
+
"arguments": [
|
|
1824
|
+
{
|
|
1825
|
+
"name": "component-names...",
|
|
1826
|
+
"description": "names or IDs of the components to link"
|
|
1827
|
+
}
|
|
1828
|
+
]
|
|
1829
|
+
},
|
|
1794
1830
|
{
|
|
1795
1831
|
"name": "insights [names...]",
|
|
1796
1832
|
"alias": "",
|
|
@@ -2703,8 +2739,8 @@
|
|
|
2703
2739
|
]
|
|
2704
2740
|
},
|
|
2705
2741
|
{
|
|
2706
|
-
"name": "
|
|
2707
|
-
"alias": "
|
|
2742
|
+
"name": "deps <sub-command>",
|
|
2743
|
+
"alias": "dependencies",
|
|
2708
2744
|
"options": [],
|
|
2709
2745
|
"description": "manage dependencies",
|
|
2710
2746
|
"extendedDescription": "",
|
|
@@ -2746,7 +2782,7 @@
|
|
|
2746
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"
|
|
2747
2783
|
},
|
|
2748
2784
|
{
|
|
2749
|
-
"name": "package",
|
|
2785
|
+
"name": "package...",
|
|
2750
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"
|
|
2751
2787
|
}
|
|
2752
2788
|
]
|
|
@@ -2791,7 +2827,7 @@
|
|
|
2791
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"
|
|
2792
2828
|
},
|
|
2793
2829
|
{
|
|
2794
|
-
"name": "package",
|
|
2830
|
+
"name": "package...",
|
|
2795
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"
|
|
2796
2832
|
}
|
|
2797
2833
|
]
|
|
@@ -2946,42 +2982,6 @@
|
|
|
2946
2982
|
"group": "development",
|
|
2947
2983
|
"private": false
|
|
2948
2984
|
},
|
|
2949
|
-
{
|
|
2950
|
-
"name": "compile [component-names...]",
|
|
2951
|
-
"alias": "",
|
|
2952
|
-
"options": [
|
|
2953
|
-
[
|
|
2954
|
-
"c",
|
|
2955
|
-
"changed",
|
|
2956
|
-
"compile only new and modified components"
|
|
2957
|
-
],
|
|
2958
|
-
[
|
|
2959
|
-
"v",
|
|
2960
|
-
"verbose",
|
|
2961
|
-
"show more data, such as, dist paths"
|
|
2962
|
-
],
|
|
2963
|
-
[
|
|
2964
|
-
"j",
|
|
2965
|
-
"json",
|
|
2966
|
-
"return the compile results in json format"
|
|
2967
|
-
],
|
|
2968
|
-
[
|
|
2969
|
-
"d",
|
|
2970
|
-
"delete-dist-dir",
|
|
2971
|
-
"delete existing dist folder before writing new compiled files"
|
|
2972
|
-
]
|
|
2973
|
-
],
|
|
2974
|
-
"description": "compile components in the workspace",
|
|
2975
|
-
"extendedDescription": "",
|
|
2976
|
-
"group": "development",
|
|
2977
|
-
"private": false,
|
|
2978
|
-
"arguments": [
|
|
2979
|
-
{
|
|
2980
|
-
"name": "component-names...",
|
|
2981
|
-
"description": "a list of component names or component IDs (defaults to all components)"
|
|
2982
|
-
}
|
|
2983
|
-
]
|
|
2984
|
-
},
|
|
2985
2985
|
{
|
|
2986
2986
|
"name": "run <app-name>",
|
|
2987
2987
|
"alias": "c",
|
|
@@ -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, "
|
|
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
|
-
}, "
|
|
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
|
-
}, "
|
|
1605
|
+
}, "Description"), ": EXPERIMENTAL. show dependents of the given component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
1608
1606
|
parentName: "p"
|
|
1609
|
-
}), "
|
|
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
|
-
}, "
|
|
1609
|
+
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1612
1610
|
parentName: "p"
|
|
1613
|
-
}, "
|
|
1611
|
+
}, "d"), (0, _react2.mdx)("br", {
|
|
1614
1612
|
parentName: "p"
|
|
1615
|
-
}
|
|
1613
|
+
}), "\n", (0, _react2.mdx)("strong", {
|
|
1616
1614
|
parentName: "p"
|
|
1617
|
-
}, "
|
|
1615
|
+
}, "Workspace only"), ": no", (0, _react2.mdx)("br", {
|
|
1618
1616
|
parentName: "p"
|
|
1619
|
-
}
|
|
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
|
-
}, "--
|
|
1649
|
+
}, "--new-id <string>")), (0, _react2.mdx)("td", {
|
|
1648
1650
|
parentName: "tr",
|
|
1649
1651
|
"align": "center"
|
|
1650
|
-
}, (0, _react2.mdx)("
|
|
1651
|
-
parentName: "td"
|
|
1652
|
-
}, "-t")), (0, _react2.mdx)("td", {
|
|
1652
|
+
}), (0, _react2.mdx)("td", {
|
|
1653
1653
|
parentName: "tr",
|
|
1654
1654
|
"align": null
|
|
1655
|
-
}, "
|
|
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
|
-
}, "
|
|
1657
|
+
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1658
1658
|
parentName: "p"
|
|
1659
|
-
}, "dependencies
|
|
1659
|
+
}, "dependencies"), (0, _react2.mdx)("br", {
|
|
1660
1660
|
parentName: "p"
|
|
1661
|
-
}
|
|
1661
|
+
}), "\n", (0, _react2.mdx)("strong", {
|
|
1662
1662
|
parentName: "p"
|
|
1663
|
-
}, "
|
|
1663
|
+
}, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
|
|
1664
|
+
parentName: "p"
|
|
1665
|
+
}), "\n", (0, _react2.mdx)("strong", {
|
|
1664
1666
|
parentName: "p"
|
|
1665
|
-
}, "
|
|
1667
|
+
}, "Description"), ": manage dependencies"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
1666
1668
|
parentName: "p"
|
|
1667
|
-
}, "
|
|
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
|
-
}, "
|
|
1673
|
+
}, "deps get <component-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1672
1674
|
parentName: "p"
|
|
1673
|
-
}, "Description"), ":
|
|
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
|
-
}, "--
|
|
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
|
-
}, "-
|
|
1708
|
+
}, "-t")), (0, _react2.mdx)("td", {
|
|
1722
1709
|
parentName: "tr",
|
|
1723
1710
|
"align": null
|
|
1724
|
-
}, "
|
|
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
|
-
}, "
|
|
1713
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1731
1714
|
parentName: "p"
|
|
1732
|
-
}, "
|
|
1715
|
+
}, "deps remove <component-pattern> <package...>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1733
1716
|
parentName: "p"
|
|
1734
|
-
}, "
|
|
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
|
-
}, "
|
|
1719
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1737
1720
|
parentName: "p"
|
|
1738
|
-
}), "
|
|
1721
|
+
}, "deps debug <component-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1739
1722
|
parentName: "p"
|
|
1740
|
-
}, "
|
|
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
|
-
}), "
|
|
1725
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1743
1726
|
parentName: "p"
|
|
1744
|
-
}, "
|
|
1727
|
+
}, "deps set <component-pattern> <package...>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1745
1728
|
parentName: "p"
|
|
1746
|
-
}, "
|
|
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
|
-
}, "--
|
|
1757
|
+
}, "--dev")), (0, _react2.mdx)("td", {
|
|
1775
1758
|
parentName: "tr",
|
|
1776
1759
|
"align": "center"
|
|
1777
|
-
}
|
|
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
|
-
}, "
|
|
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"
|