@teambit/harmony.content.cli-reference 1.95.74 → 1.95.76
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 +593 -456
- package/cli-reference.mdx +1 -0
- package/dist/cli-reference.json +593 -456
- package/dist/cli-reference.mdx.js +14 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.76.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1663731461630.js → preview-1663990632780.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.74.tgz +0 -0
package/dist/cli-reference.json
CHANGED
|
@@ -1281,6 +1281,68 @@
|
|
|
1281
1281
|
}
|
|
1282
1282
|
]
|
|
1283
1283
|
},
|
|
1284
|
+
{
|
|
1285
|
+
"name": "resume-export <export-id> <remotes...>",
|
|
1286
|
+
"alias": "",
|
|
1287
|
+
"options": [],
|
|
1288
|
+
"description": "EXPERIMENTAL. resume failed export",
|
|
1289
|
+
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
|
|
1290
|
+
"group": "collaborate",
|
|
1291
|
+
"private": true,
|
|
1292
|
+
"remoteOp": true
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"name": "export [component-patterns...]",
|
|
1296
|
+
"alias": "e",
|
|
1297
|
+
"options": [
|
|
1298
|
+
[
|
|
1299
|
+
"e",
|
|
1300
|
+
"eject",
|
|
1301
|
+
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
1302
|
+
],
|
|
1303
|
+
[
|
|
1304
|
+
"a",
|
|
1305
|
+
"all",
|
|
1306
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
1307
|
+
],
|
|
1308
|
+
[
|
|
1309
|
+
"",
|
|
1310
|
+
"all-versions",
|
|
1311
|
+
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
1312
|
+
],
|
|
1313
|
+
[
|
|
1314
|
+
"",
|
|
1315
|
+
"origin-directly",
|
|
1316
|
+
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
1317
|
+
],
|
|
1318
|
+
[
|
|
1319
|
+
"",
|
|
1320
|
+
"resume <string>",
|
|
1321
|
+
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
1322
|
+
],
|
|
1323
|
+
[
|
|
1324
|
+
"",
|
|
1325
|
+
"ignore-missing-artifacts",
|
|
1326
|
+
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
1327
|
+
],
|
|
1328
|
+
[
|
|
1329
|
+
"j",
|
|
1330
|
+
"json",
|
|
1331
|
+
"show output in json format"
|
|
1332
|
+
]
|
|
1333
|
+
],
|
|
1334
|
+
"description": "export components from the workspace to remote scopes",
|
|
1335
|
+
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n you can use a pattern for multiple ids, such as bit export remote-scope \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
1336
|
+
"group": "collaborate",
|
|
1337
|
+
"private": false,
|
|
1338
|
+
"remoteOp": true,
|
|
1339
|
+
"arguments": [
|
|
1340
|
+
{
|
|
1341
|
+
"name": "component-patterns...",
|
|
1342
|
+
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
1343
|
+
}
|
|
1344
|
+
]
|
|
1345
|
+
},
|
|
1284
1346
|
{
|
|
1285
1347
|
"name": "import [component-patterns...]",
|
|
1286
1348
|
"alias": "",
|
|
@@ -1510,130 +1572,350 @@
|
|
|
1510
1572
|
]
|
|
1511
1573
|
},
|
|
1512
1574
|
{
|
|
1513
|
-
"name": "
|
|
1575
|
+
"name": "create <template-name> <component-names...>",
|
|
1514
1576
|
"alias": "",
|
|
1515
1577
|
"options": [
|
|
1516
1578
|
[
|
|
1517
|
-
"
|
|
1518
|
-
"
|
|
1519
|
-
"
|
|
1579
|
+
"n",
|
|
1580
|
+
"namespace <string>",
|
|
1581
|
+
"sets the component's namespace and nested dirs inside the scope"
|
|
1520
1582
|
],
|
|
1521
1583
|
[
|
|
1522
|
-
"
|
|
1523
|
-
"
|
|
1524
|
-
"
|
|
1584
|
+
"s",
|
|
1585
|
+
"scope <string>",
|
|
1586
|
+
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
1587
|
+
],
|
|
1588
|
+
[
|
|
1589
|
+
"a",
|
|
1590
|
+
"aspect <string>",
|
|
1591
|
+
"aspect-id of the template. helpful when multiple aspects use the same template name"
|
|
1592
|
+
],
|
|
1593
|
+
[
|
|
1594
|
+
"p",
|
|
1595
|
+
"path <string>",
|
|
1596
|
+
"relative path in the workspace. by default the path is `<scope>/<namespace>/<name>`"
|
|
1597
|
+
],
|
|
1598
|
+
[
|
|
1599
|
+
"e",
|
|
1600
|
+
"env <string>",
|
|
1601
|
+
"set the component's environment. (overrides the env from variants and the template)"
|
|
1525
1602
|
]
|
|
1526
1603
|
],
|
|
1527
|
-
"description": "
|
|
1604
|
+
"description": "create a new component (source files and config) using a template.",
|
|
1528
1605
|
"extendedDescription": "",
|
|
1529
1606
|
"group": "development",
|
|
1530
|
-
"private":
|
|
1607
|
+
"private": false,
|
|
1608
|
+
"arguments": [
|
|
1609
|
+
{
|
|
1610
|
+
"name": "template-name",
|
|
1611
|
+
"description": "the template for generating the component \n(run 'bit templates' for a list of available templates)"
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
"name": "component-names...",
|
|
1615
|
+
"description": "a list of component names to generate"
|
|
1616
|
+
}
|
|
1617
|
+
],
|
|
1618
|
+
"examples": [
|
|
1619
|
+
{
|
|
1620
|
+
"cmd": "bit create react ui/button",
|
|
1621
|
+
"description": "creates a component named 'ui/button' using the 'react' template"
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"cmd": "bit create react ui/button pages/register",
|
|
1625
|
+
"description": "creates two components, 'ui/button' and 'pages/register', using the 'react' template"
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"cmd": "bit create react ui/button --scope my-org.my-scope",
|
|
1629
|
+
"description": "creates a component named 'ui/button' and sets it scope to 'my-org.my-scope'. \nby default, the scope is the `defaultScope` value, configured in your `workspace.jsonc`."
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"cmd": "bit create react ui/button --env teambit.community/envs/community-react@1.95.13",
|
|
1633
|
+
"description": "creates a component named 'ui/button' and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react')."
|
|
1634
|
+
}
|
|
1635
|
+
]
|
|
1531
1636
|
},
|
|
1532
1637
|
{
|
|
1533
|
-
"name": "
|
|
1638
|
+
"name": "templates",
|
|
1534
1639
|
"alias": "",
|
|
1535
1640
|
"options": [
|
|
1536
1641
|
[
|
|
1537
|
-
"
|
|
1538
|
-
"
|
|
1539
|
-
"
|
|
1642
|
+
"s",
|
|
1643
|
+
"show-all",
|
|
1644
|
+
"show hidden templates"
|
|
1540
1645
|
]
|
|
1541
1646
|
],
|
|
1542
|
-
"description": "list
|
|
1543
|
-
"extendedDescription": "",
|
|
1647
|
+
"description": "list templates for \"bit create\" and \"bit new\"",
|
|
1648
|
+
"extendedDescription": "list components templates when inside bit-workspace (for bit-create), otherwise, list workspace templates (for bit-new)",
|
|
1544
1649
|
"group": "development",
|
|
1545
1650
|
"private": false
|
|
1546
1651
|
},
|
|
1547
1652
|
{
|
|
1548
|
-
"name": "
|
|
1549
|
-
"alias": "
|
|
1653
|
+
"name": "new <template-name> <workspace-name>",
|
|
1654
|
+
"alias": "",
|
|
1550
1655
|
"options": [
|
|
1551
1656
|
[
|
|
1552
|
-
"
|
|
1553
|
-
"
|
|
1554
|
-
"
|
|
1657
|
+
"a",
|
|
1658
|
+
"aspect <aspect-id>",
|
|
1659
|
+
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
1555
1660
|
],
|
|
1556
1661
|
[
|
|
1557
|
-
"",
|
|
1558
|
-
"
|
|
1559
|
-
"
|
|
1662
|
+
"d",
|
|
1663
|
+
"default-scope <scope-name>",
|
|
1664
|
+
"set defaultScope in the new workspace.jsonc"
|
|
1560
1665
|
],
|
|
1561
1666
|
[
|
|
1562
1667
|
"",
|
|
1563
|
-
"
|
|
1564
|
-
"
|
|
1668
|
+
"standalone",
|
|
1669
|
+
"DEPRECATED. use --skip-git instead"
|
|
1565
1670
|
],
|
|
1566
1671
|
[
|
|
1567
|
-
"
|
|
1568
|
-
"
|
|
1569
|
-
"
|
|
1672
|
+
"s",
|
|
1673
|
+
"skip-git",
|
|
1674
|
+
"skip generation of Git repository"
|
|
1570
1675
|
],
|
|
1571
1676
|
[
|
|
1572
|
-
"
|
|
1573
|
-
"
|
|
1574
|
-
"
|
|
1677
|
+
"e",
|
|
1678
|
+
"empty",
|
|
1679
|
+
"empty workspace with no components (relevant for templates that add components by default)"
|
|
1575
1680
|
],
|
|
1576
1681
|
[
|
|
1577
1682
|
"",
|
|
1578
|
-
"
|
|
1579
|
-
"
|
|
1683
|
+
"load-from <path-to-template>",
|
|
1684
|
+
"path to the workspace containing the template. helpful during a development of a workspace-template"
|
|
1685
|
+
]
|
|
1686
|
+
],
|
|
1687
|
+
"description": "create a new workspace from a template",
|
|
1688
|
+
"extendedDescription": "",
|
|
1689
|
+
"group": "start",
|
|
1690
|
+
"private": false,
|
|
1691
|
+
"arguments": [
|
|
1692
|
+
{
|
|
1693
|
+
"name": "template-name",
|
|
1694
|
+
"description": "the name of the workspace template (run 'bit templates', outside of a workspace, to get a list of available templates)"
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"name": "workspace-name",
|
|
1698
|
+
"description": "the name for the new workspace and workspace directory"
|
|
1699
|
+
}
|
|
1700
|
+
]
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"name": "build [component-pattern]",
|
|
1704
|
+
"alias": "",
|
|
1705
|
+
"options": [
|
|
1706
|
+
[
|
|
1707
|
+
"a",
|
|
1708
|
+
"all",
|
|
1709
|
+
"build all components, not only modified and new"
|
|
1580
1710
|
],
|
|
1581
1711
|
[
|
|
1582
|
-
"
|
|
1583
|
-
"
|
|
1584
|
-
"
|
|
1712
|
+
"d",
|
|
1713
|
+
"dev",
|
|
1714
|
+
"run the pipeline in dev mode"
|
|
1585
1715
|
],
|
|
1586
1716
|
[
|
|
1587
1717
|
"",
|
|
1588
|
-
"
|
|
1589
|
-
"
|
|
1718
|
+
"install",
|
|
1719
|
+
"install core aspects in capsules"
|
|
1590
1720
|
],
|
|
1591
1721
|
[
|
|
1592
1722
|
"",
|
|
1593
|
-
"
|
|
1594
|
-
"
|
|
1723
|
+
"reuse-capsules",
|
|
1724
|
+
"avoid deleting the capsules root-dir before starting the build"
|
|
1595
1725
|
],
|
|
1596
1726
|
[
|
|
1597
1727
|
"",
|
|
1598
|
-
"
|
|
1599
|
-
"
|
|
1728
|
+
"tasks <string>",
|
|
1729
|
+
"build the specified task(s) only. for multiple tasks, separate by a comma and wrap with quotes.\nspecify the task-name (e.g. \"TypescriptCompiler\") or the task-aspect-id (e.g. teambit.compilation/compiler)"
|
|
1600
1730
|
],
|
|
1601
1731
|
[
|
|
1602
1732
|
"",
|
|
1603
|
-
"
|
|
1604
|
-
"
|
|
1733
|
+
"cache-packages-on-capsule-root",
|
|
1734
|
+
"set the package-manager cache on the capsule root"
|
|
1605
1735
|
],
|
|
1606
1736
|
[
|
|
1607
1737
|
"",
|
|
1608
|
-
"
|
|
1609
|
-
"
|
|
1738
|
+
"list-tasks <string>",
|
|
1739
|
+
"list tasks of an env or a component-id for each one of the pipelines: build, tag and snap"
|
|
1610
1740
|
],
|
|
1611
1741
|
[
|
|
1612
1742
|
"",
|
|
1613
1743
|
"skip-tests",
|
|
1614
1744
|
"skip running component tests during tag process"
|
|
1615
|
-
]
|
|
1745
|
+
]
|
|
1746
|
+
],
|
|
1747
|
+
"description": "run set of tasks for build",
|
|
1748
|
+
"extendedDescription": "",
|
|
1749
|
+
"group": "development",
|
|
1750
|
+
"private": false,
|
|
1751
|
+
"arguments": [
|
|
1752
|
+
{
|
|
1753
|
+
"name": "component-pattern",
|
|
1754
|
+
"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"
|
|
1755
|
+
}
|
|
1756
|
+
]
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"name": "artifacts <component-pattern>",
|
|
1760
|
+
"alias": "",
|
|
1761
|
+
"options": [
|
|
1616
1762
|
[
|
|
1617
1763
|
"",
|
|
1618
|
-
"
|
|
1619
|
-
"
|
|
1764
|
+
"aspect <aspect-id>",
|
|
1765
|
+
"show/download only artifacts generated by this aspect-id"
|
|
1620
1766
|
],
|
|
1621
1767
|
[
|
|
1622
1768
|
"",
|
|
1623
|
-
"
|
|
1624
|
-
"
|
|
1769
|
+
"task <task-id>",
|
|
1770
|
+
"show/download only artifacts generated by this task-id"
|
|
1625
1771
|
],
|
|
1626
1772
|
[
|
|
1627
1773
|
"",
|
|
1628
|
-
"
|
|
1629
|
-
"
|
|
1774
|
+
"files <glob>",
|
|
1775
|
+
"show/download only artifacts matching the given files or the glob pattern (wrap glob patterns in quotes)"
|
|
1630
1776
|
],
|
|
1631
1777
|
[
|
|
1632
1778
|
"",
|
|
1633
|
-
"
|
|
1634
|
-
"
|
|
1635
|
-
]
|
|
1636
|
-
|
|
1779
|
+
"out-dir <string>",
|
|
1780
|
+
"download the files to the specified dir"
|
|
1781
|
+
]
|
|
1782
|
+
],
|
|
1783
|
+
"description": "EXPERIMENTAL. list and download components artifacts",
|
|
1784
|
+
"extendedDescription": "artifacts are created on isolated capsules during tag or snap commands.\nexample of artifacts are dists files generated by a compiler, a JUnit.xml file generated by a tester\nand a package.tgz file generated by pkg aspect.\n",
|
|
1785
|
+
"group": "development",
|
|
1786
|
+
"private": false,
|
|
1787
|
+
"arguments": [
|
|
1788
|
+
{
|
|
1789
|
+
"name": "component-pattern",
|
|
1790
|
+
"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"
|
|
1791
|
+
}
|
|
1792
|
+
]
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"name": "insights [names...]",
|
|
1796
|
+
"alias": "",
|
|
1797
|
+
"options": [
|
|
1798
|
+
[
|
|
1799
|
+
"l",
|
|
1800
|
+
"list",
|
|
1801
|
+
"list all insights"
|
|
1802
|
+
],
|
|
1803
|
+
[
|
|
1804
|
+
"j",
|
|
1805
|
+
"json",
|
|
1806
|
+
"return the insights in json format"
|
|
1807
|
+
]
|
|
1808
|
+
],
|
|
1809
|
+
"description": "Insights on component graph",
|
|
1810
|
+
"extendedDescription": "",
|
|
1811
|
+
"group": "development",
|
|
1812
|
+
"private": true
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "component-issues",
|
|
1816
|
+
"alias": "",
|
|
1817
|
+
"options": [
|
|
1818
|
+
[
|
|
1819
|
+
"j",
|
|
1820
|
+
"json",
|
|
1821
|
+
"json format"
|
|
1822
|
+
]
|
|
1823
|
+
],
|
|
1824
|
+
"description": "list available component-issues",
|
|
1825
|
+
"extendedDescription": "",
|
|
1826
|
+
"group": "development",
|
|
1827
|
+
"private": false
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
"name": "tag [component-patterns...]",
|
|
1831
|
+
"alias": "t",
|
|
1832
|
+
"options": [
|
|
1833
|
+
[
|
|
1834
|
+
"m",
|
|
1835
|
+
"message <message>",
|
|
1836
|
+
"a log message describing latest changes"
|
|
1837
|
+
],
|
|
1838
|
+
[
|
|
1839
|
+
"",
|
|
1840
|
+
"unmodified",
|
|
1841
|
+
"include unmodified components (by default, only new and modified components are tagged)"
|
|
1842
|
+
],
|
|
1843
|
+
[
|
|
1844
|
+
"",
|
|
1845
|
+
"editor [editor]",
|
|
1846
|
+
"EXPERIMENTAL. open an editor to write a tag message for each component. optionally, specify the editor-name (defaults to vim)."
|
|
1847
|
+
],
|
|
1848
|
+
[
|
|
1849
|
+
"v",
|
|
1850
|
+
"ver <version>",
|
|
1851
|
+
"tag with the given version"
|
|
1852
|
+
],
|
|
1853
|
+
[
|
|
1854
|
+
"l",
|
|
1855
|
+
"increment <level>",
|
|
1856
|
+
"options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch"
|
|
1857
|
+
],
|
|
1858
|
+
[
|
|
1859
|
+
"",
|
|
1860
|
+
"prerelease-id <id>",
|
|
1861
|
+
"prerelease identifier (e.g. \"dev\" to get \"1.0.0-dev.1\")"
|
|
1862
|
+
],
|
|
1863
|
+
[
|
|
1864
|
+
"p",
|
|
1865
|
+
"patch",
|
|
1866
|
+
"syntactic sugar for \"--increment patch\""
|
|
1867
|
+
],
|
|
1868
|
+
[
|
|
1869
|
+
"",
|
|
1870
|
+
"minor",
|
|
1871
|
+
"syntactic sugar for \"--increment minor\""
|
|
1872
|
+
],
|
|
1873
|
+
[
|
|
1874
|
+
"",
|
|
1875
|
+
"major",
|
|
1876
|
+
"syntactic sugar for \"--increment major\""
|
|
1877
|
+
],
|
|
1878
|
+
[
|
|
1879
|
+
"",
|
|
1880
|
+
"pre-release [identifier]",
|
|
1881
|
+
"syntactic sugar for \"--increment prerelease\" and `--prerelease-id <identifier>`"
|
|
1882
|
+
],
|
|
1883
|
+
[
|
|
1884
|
+
"",
|
|
1885
|
+
"snapped",
|
|
1886
|
+
"EXPERIMENTAL. tag components that their head is a snap (not a tag)"
|
|
1887
|
+
],
|
|
1888
|
+
[
|
|
1889
|
+
"",
|
|
1890
|
+
"unmerged",
|
|
1891
|
+
"EXPERIMENTAL. complete a merge process by tagging the unmerged components"
|
|
1892
|
+
],
|
|
1893
|
+
[
|
|
1894
|
+
"",
|
|
1895
|
+
"skip-tests",
|
|
1896
|
+
"skip running component tests during tag process"
|
|
1897
|
+
],
|
|
1898
|
+
[
|
|
1899
|
+
"",
|
|
1900
|
+
"skip-auto-tag",
|
|
1901
|
+
"skip auto tagging dependents"
|
|
1902
|
+
],
|
|
1903
|
+
[
|
|
1904
|
+
"",
|
|
1905
|
+
"soft",
|
|
1906
|
+
"do not persist. only keep note of the changes to be made"
|
|
1907
|
+
],
|
|
1908
|
+
[
|
|
1909
|
+
"",
|
|
1910
|
+
"persist",
|
|
1911
|
+
"persist the changes generated by --soft tag"
|
|
1912
|
+
],
|
|
1913
|
+
[
|
|
1914
|
+
"",
|
|
1915
|
+
"disable-tag-pipeline",
|
|
1916
|
+
"skip the tag pipeline to avoid publishing the components"
|
|
1917
|
+
],
|
|
1918
|
+
[
|
|
1637
1919
|
"",
|
|
1638
1920
|
"force-deploy",
|
|
1639
1921
|
"run the tag pipeline although the build failed"
|
|
@@ -1808,6 +2090,97 @@
|
|
|
1808
2090
|
}
|
|
1809
2091
|
]
|
|
1810
2092
|
},
|
|
2093
|
+
{
|
|
2094
|
+
"name": "_tag <component-id...>",
|
|
2095
|
+
"alias": "",
|
|
2096
|
+
"options": [
|
|
2097
|
+
[
|
|
2098
|
+
"",
|
|
2099
|
+
"push",
|
|
2100
|
+
"export the updated objects to the original scopes once done"
|
|
2101
|
+
],
|
|
2102
|
+
[
|
|
2103
|
+
"m",
|
|
2104
|
+
"message <message>",
|
|
2105
|
+
"a log message describing latest changes"
|
|
2106
|
+
],
|
|
2107
|
+
[
|
|
2108
|
+
"v",
|
|
2109
|
+
"ver <version>",
|
|
2110
|
+
"tag with the given version"
|
|
2111
|
+
],
|
|
2112
|
+
[
|
|
2113
|
+
"l",
|
|
2114
|
+
"increment <level>",
|
|
2115
|
+
"options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch"
|
|
2116
|
+
],
|
|
2117
|
+
[
|
|
2118
|
+
"",
|
|
2119
|
+
"prerelease-id <id>",
|
|
2120
|
+
"prerelease identifier (e.g. \"dev\" to get \"1.0.0-dev.1\")"
|
|
2121
|
+
],
|
|
2122
|
+
[
|
|
2123
|
+
"p",
|
|
2124
|
+
"patch",
|
|
2125
|
+
"syntactic sugar for \"--increment patch\""
|
|
2126
|
+
],
|
|
2127
|
+
[
|
|
2128
|
+
"",
|
|
2129
|
+
"minor",
|
|
2130
|
+
"syntactic sugar for \"--increment minor\""
|
|
2131
|
+
],
|
|
2132
|
+
[
|
|
2133
|
+
"",
|
|
2134
|
+
"major",
|
|
2135
|
+
"syntactic sugar for \"--increment major\""
|
|
2136
|
+
],
|
|
2137
|
+
[
|
|
2138
|
+
"",
|
|
2139
|
+
"pre-release [identifier]",
|
|
2140
|
+
"syntactic sugar for \"--increment prerelease\" and `--prerelease-id <identifier>`"
|
|
2141
|
+
],
|
|
2142
|
+
[
|
|
2143
|
+
"",
|
|
2144
|
+
"skip-tests",
|
|
2145
|
+
"skip running component tests during tag process"
|
|
2146
|
+
],
|
|
2147
|
+
[
|
|
2148
|
+
"",
|
|
2149
|
+
"disable-tag-pipeline",
|
|
2150
|
+
"skip the tag pipeline to avoid publishing the components"
|
|
2151
|
+
],
|
|
2152
|
+
[
|
|
2153
|
+
"",
|
|
2154
|
+
"force-deploy",
|
|
2155
|
+
"run the tag pipeline although the build failed"
|
|
2156
|
+
],
|
|
2157
|
+
[
|
|
2158
|
+
"",
|
|
2159
|
+
"increment-by <number>",
|
|
2160
|
+
"(default to 1) increment semver flag (patch/minor/major) by. e.g. incrementing patch by 2: 0.0.1 -> 0.0.3."
|
|
2161
|
+
],
|
|
2162
|
+
[
|
|
2163
|
+
"i",
|
|
2164
|
+
"ignore-issues [issues]",
|
|
2165
|
+
"ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:\n[MissingPackagesDependenciesOnFs, MissingComponents, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, CustomModuleResolutionUsed, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies]\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"*\"."
|
|
2166
|
+
],
|
|
2167
|
+
[
|
|
2168
|
+
"I",
|
|
2169
|
+
"ignore-newest-version",
|
|
2170
|
+
"ignore existing of newer versions (default = false)"
|
|
2171
|
+
],
|
|
2172
|
+
[
|
|
2173
|
+
"b",
|
|
2174
|
+
"build",
|
|
2175
|
+
"EXPERIMENTAL. not needed for now. run the pipeline build and complete the tag"
|
|
2176
|
+
]
|
|
2177
|
+
],
|
|
2178
|
+
"description": "create an immutable and exportable component snapshot, tagged with a release version.",
|
|
2179
|
+
"extendedDescription": "you can specify a version per id using \"@\" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major",
|
|
2180
|
+
"group": "development",
|
|
2181
|
+
"private": true,
|
|
2182
|
+
"remoteOp": true
|
|
2183
|
+
},
|
|
1811
2184
|
{
|
|
1812
2185
|
"name": "merge [values...]",
|
|
1813
2186
|
"alias": "",
|
|
@@ -2260,381 +2633,207 @@
|
|
|
2260
2633
|
[
|
|
2261
2634
|
"n",
|
|
2262
2635
|
"alias <string>",
|
|
2263
|
-
"relevant when the specified lane is a remote late. name a local lane differently than the remote lane"
|
|
2264
|
-
],
|
|
2265
|
-
[
|
|
2266
|
-
"m",
|
|
2267
|
-
"merge [strategy]",
|
|
2268
|
-
"merge local changes with the checked out version. strategy should be \"theirs\", \"ours\" or \"manual\""
|
|
2269
|
-
],
|
|
2270
|
-
[
|
|
2271
|
-
"a",
|
|
2272
|
-
"get-all",
|
|
2273
|
-
"checkout all components in a lane include ones that do not exist in the workspace"
|
|
2274
|
-
],
|
|
2275
|
-
[
|
|
2276
|
-
"",
|
|
2277
|
-
"skip-dependency-installation",
|
|
2278
|
-
"do not install packages of the imported components"
|
|
2279
|
-
],
|
|
2280
|
-
[
|
|
2281
|
-
"j",
|
|
2282
|
-
"json",
|
|
2283
|
-
"return the output as JSON"
|
|
2284
|
-
]
|
|
2285
|
-
],
|
|
2286
|
-
"description": "switch to the specified lane",
|
|
2287
|
-
"extendedDescription": "",
|
|
2288
|
-
"group": "ungrouped",
|
|
2289
|
-
"private": true
|
|
2290
|
-
},
|
|
2291
|
-
{
|
|
2292
|
-
"name": "dependencies <sub-command>",
|
|
2293
|
-
"alias": "deps",
|
|
2294
|
-
"options": [],
|
|
2295
|
-
"description": "manage dependencies",
|
|
2296
|
-
"extendedDescription": "",
|
|
2297
|
-
"group": "info",
|
|
2298
|
-
"private": false,
|
|
2299
|
-
"commands": [
|
|
2300
|
-
{
|
|
2301
|
-
"name": "get <component-name>",
|
|
2302
|
-
"alias": "",
|
|
2303
|
-
"options": [
|
|
2304
|
-
[
|
|
2305
|
-
"t",
|
|
2306
|
-
"tree",
|
|
2307
|
-
"EXPERIMENTAL. render dependencies as a tree, similar to \"npm ls\""
|
|
2308
|
-
]
|
|
2309
|
-
],
|
|
2310
|
-
"description": "show direct and indirect dependencies of the given component",
|
|
2311
|
-
"extendedDescription": "",
|
|
2312
|
-
"group": "info",
|
|
2313
|
-
"private": false,
|
|
2314
|
-
"arguments": [
|
|
2315
|
-
{
|
|
2316
|
-
"name": "component-name",
|
|
2317
|
-
"description": "component name or component id"
|
|
2318
|
-
}
|
|
2319
|
-
]
|
|
2320
|
-
},
|
|
2321
|
-
{
|
|
2322
|
-
"name": "remove <component-pattern> <package...>",
|
|
2323
|
-
"alias": "",
|
|
2324
|
-
"options": [],
|
|
2325
|
-
"description": "remove a dependency to component(s)",
|
|
2326
|
-
"extendedDescription": "",
|
|
2327
|
-
"group": "info",
|
|
2328
|
-
"private": false,
|
|
2329
|
-
"arguments": [
|
|
2330
|
-
{
|
|
2331
|
-
"name": "component-pattern",
|
|
2332
|
-
"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"
|
|
2333
|
-
},
|
|
2334
|
-
{
|
|
2335
|
-
"name": "package",
|
|
2336
|
-
"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"
|
|
2337
|
-
}
|
|
2338
|
-
]
|
|
2339
|
-
},
|
|
2340
|
-
{
|
|
2341
|
-
"name": "debug <component-name>",
|
|
2342
|
-
"alias": "",
|
|
2343
|
-
"options": [],
|
|
2344
|
-
"description": "show the immediate dependencies and how their versions were determined",
|
|
2345
|
-
"extendedDescription": "",
|
|
2346
|
-
"group": "info",
|
|
2347
|
-
"private": false,
|
|
2348
|
-
"arguments": [
|
|
2349
|
-
{
|
|
2350
|
-
"name": "component-name",
|
|
2351
|
-
"description": "component name or component id"
|
|
2352
|
-
}
|
|
2353
|
-
]
|
|
2354
|
-
},
|
|
2355
|
-
{
|
|
2356
|
-
"name": "set <component-pattern> <package...>",
|
|
2357
|
-
"alias": "",
|
|
2358
|
-
"options": [
|
|
2359
|
-
[
|
|
2360
|
-
"d",
|
|
2361
|
-
"dev",
|
|
2362
|
-
"add to the devDependencies"
|
|
2363
|
-
],
|
|
2364
|
-
[
|
|
2365
|
-
"p",
|
|
2366
|
-
"peer",
|
|
2367
|
-
"add to the peerDependencies"
|
|
2368
|
-
]
|
|
2369
|
-
],
|
|
2370
|
-
"description": "set a dependency to component(s)",
|
|
2371
|
-
"extendedDescription": "",
|
|
2372
|
-
"group": "info",
|
|
2373
|
-
"private": false,
|
|
2374
|
-
"arguments": [
|
|
2375
|
-
{
|
|
2376
|
-
"name": "component-pattern",
|
|
2377
|
-
"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"
|
|
2378
|
-
},
|
|
2379
|
-
{
|
|
2380
|
-
"name": "package",
|
|
2381
|
-
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
|
|
2382
|
-
}
|
|
2383
|
-
]
|
|
2384
|
-
}
|
|
2385
|
-
]
|
|
2386
|
-
},
|
|
2387
|
-
{
|
|
2388
|
-
"name": "list [remote-scope]",
|
|
2389
|
-
"alias": "ls",
|
|
2390
|
-
"options": [
|
|
2391
|
-
[
|
|
2392
|
-
"i",
|
|
2393
|
-
"ids",
|
|
2394
|
-
"show only component ids unformatted"
|
|
2395
|
-
],
|
|
2396
|
-
[
|
|
2397
|
-
"s",
|
|
2398
|
-
"scope",
|
|
2399
|
-
"show only components stored in the local scope, including indirect dependencies"
|
|
2400
|
-
],
|
|
2401
|
-
[
|
|
2402
|
-
"o",
|
|
2403
|
-
"outdated",
|
|
2404
|
-
"show latest versions from remotes"
|
|
2405
|
-
],
|
|
2406
|
-
[
|
|
2407
|
-
"j",
|
|
2408
|
-
"json",
|
|
2409
|
-
"show the output in JSON format"
|
|
2410
|
-
],
|
|
2411
|
-
[
|
|
2412
|
-
"n",
|
|
2413
|
-
"namespace <string>",
|
|
2414
|
-
"show only specified namespace by using wildcards"
|
|
2415
|
-
]
|
|
2416
|
-
],
|
|
2417
|
-
"description": "list components on a workspace, local scope or a remote scope.",
|
|
2418
|
-
"extendedDescription": "https://bit.dev/docs/reference/cli-reference#list",
|
|
2419
|
-
"group": "discover",
|
|
2420
|
-
"private": false,
|
|
2421
|
-
"remoteOp": true,
|
|
2422
|
-
"skipWorkspace": true
|
|
2423
|
-
},
|
|
2424
|
-
{
|
|
2425
|
-
"name": "create <template-name> <component-names...>",
|
|
2426
|
-
"alias": "",
|
|
2427
|
-
"options": [
|
|
2428
|
-
[
|
|
2429
|
-
"n",
|
|
2430
|
-
"namespace <string>",
|
|
2431
|
-
"sets the component's namespace and nested dirs inside the scope"
|
|
2432
|
-
],
|
|
2433
|
-
[
|
|
2434
|
-
"s",
|
|
2435
|
-
"scope <string>",
|
|
2436
|
-
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
2437
|
-
],
|
|
2438
|
-
[
|
|
2439
|
-
"a",
|
|
2440
|
-
"aspect <string>",
|
|
2441
|
-
"aspect-id of the template. helpful when multiple aspects use the same template name"
|
|
2442
|
-
],
|
|
2443
|
-
[
|
|
2444
|
-
"p",
|
|
2445
|
-
"path <string>",
|
|
2446
|
-
"relative path in the workspace. by default the path is `<scope>/<namespace>/<name>`"
|
|
2447
|
-
],
|
|
2448
|
-
[
|
|
2449
|
-
"e",
|
|
2450
|
-
"env <string>",
|
|
2451
|
-
"set the component's environment. (overrides the env from variants and the template)"
|
|
2452
|
-
]
|
|
2453
|
-
],
|
|
2454
|
-
"description": "create a new component (source files and config) using a template.",
|
|
2455
|
-
"extendedDescription": "",
|
|
2456
|
-
"group": "development",
|
|
2457
|
-
"private": false,
|
|
2458
|
-
"arguments": [
|
|
2459
|
-
{
|
|
2460
|
-
"name": "template-name",
|
|
2461
|
-
"description": "the template for generating the component \n(run 'bit templates' for a list of available templates)"
|
|
2462
|
-
},
|
|
2463
|
-
{
|
|
2464
|
-
"name": "component-names...",
|
|
2465
|
-
"description": "a list of component names to generate"
|
|
2466
|
-
}
|
|
2467
|
-
],
|
|
2468
|
-
"examples": [
|
|
2469
|
-
{
|
|
2470
|
-
"cmd": "bit create react ui/button",
|
|
2471
|
-
"description": "creates a component named 'ui/button' using the 'react' template"
|
|
2472
|
-
},
|
|
2473
|
-
{
|
|
2474
|
-
"cmd": "bit create react ui/button pages/register",
|
|
2475
|
-
"description": "creates two components, 'ui/button' and 'pages/register', using the 'react' template"
|
|
2476
|
-
},
|
|
2477
|
-
{
|
|
2478
|
-
"cmd": "bit create react ui/button --scope my-org.my-scope",
|
|
2479
|
-
"description": "creates a component named 'ui/button' and sets it scope to 'my-org.my-scope'. \nby default, the scope is the `defaultScope` value, configured in your `workspace.jsonc`."
|
|
2480
|
-
},
|
|
2481
|
-
{
|
|
2482
|
-
"cmd": "bit create react ui/button --env teambit.community/envs/community-react@1.95.13",
|
|
2483
|
-
"description": "creates a component named 'ui/button' and sets it to use the 'community-react' env. \n(the template's default env is 'teambit.react/react')."
|
|
2484
|
-
}
|
|
2485
|
-
]
|
|
2486
|
-
},
|
|
2487
|
-
{
|
|
2488
|
-
"name": "templates",
|
|
2489
|
-
"alias": "",
|
|
2490
|
-
"options": [
|
|
2491
|
-
[
|
|
2492
|
-
"s",
|
|
2493
|
-
"show-all",
|
|
2494
|
-
"show hidden templates"
|
|
2495
|
-
]
|
|
2496
|
-
],
|
|
2497
|
-
"description": "list templates for \"bit create\" and \"bit new\"",
|
|
2498
|
-
"extendedDescription": "list components templates when inside bit-workspace (for bit-create), otherwise, list workspace templates (for bit-new)",
|
|
2499
|
-
"group": "development",
|
|
2500
|
-
"private": false
|
|
2501
|
-
},
|
|
2502
|
-
{
|
|
2503
|
-
"name": "new <template-name> <workspace-name>",
|
|
2504
|
-
"alias": "",
|
|
2505
|
-
"options": [
|
|
2506
|
-
[
|
|
2507
|
-
"a",
|
|
2508
|
-
"aspect <aspect-id>",
|
|
2509
|
-
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
2510
|
-
],
|
|
2511
|
-
[
|
|
2512
|
-
"d",
|
|
2513
|
-
"default-scope <scope-name>",
|
|
2514
|
-
"set defaultScope in the new workspace.jsonc"
|
|
2515
|
-
],
|
|
2516
|
-
[
|
|
2517
|
-
"",
|
|
2518
|
-
"standalone",
|
|
2519
|
-
"DEPRECATED. use --skip-git instead"
|
|
2520
|
-
],
|
|
2521
|
-
[
|
|
2522
|
-
"s",
|
|
2523
|
-
"skip-git",
|
|
2524
|
-
"skip generation of Git repository"
|
|
2525
|
-
],
|
|
2526
|
-
[
|
|
2527
|
-
"e",
|
|
2528
|
-
"empty",
|
|
2529
|
-
"empty workspace with no components (relevant for templates that add components by default)"
|
|
2530
|
-
],
|
|
2531
|
-
[
|
|
2532
|
-
"",
|
|
2533
|
-
"load-from <path-to-template>",
|
|
2534
|
-
"path to the workspace containing the template. helpful during a development of a workspace-template"
|
|
2535
|
-
]
|
|
2536
|
-
],
|
|
2537
|
-
"description": "create a new workspace from a template",
|
|
2538
|
-
"extendedDescription": "",
|
|
2539
|
-
"group": "start",
|
|
2540
|
-
"private": false,
|
|
2541
|
-
"arguments": [
|
|
2542
|
-
{
|
|
2543
|
-
"name": "template-name",
|
|
2544
|
-
"description": "the name of the workspace template (run 'bit templates', outside of a workspace, to get a list of available templates)"
|
|
2545
|
-
},
|
|
2546
|
-
{
|
|
2547
|
-
"name": "workspace-name",
|
|
2548
|
-
"description": "the name for the new workspace and workspace directory"
|
|
2549
|
-
}
|
|
2550
|
-
]
|
|
2551
|
-
},
|
|
2552
|
-
{
|
|
2553
|
-
"name": "build [component-pattern]",
|
|
2554
|
-
"alias": "",
|
|
2555
|
-
"options": [
|
|
2636
|
+
"relevant when the specified lane is a remote late. name a local lane differently than the remote lane"
|
|
2637
|
+
],
|
|
2556
2638
|
[
|
|
2557
|
-
"
|
|
2558
|
-
"
|
|
2559
|
-
"
|
|
2639
|
+
"m",
|
|
2640
|
+
"merge [strategy]",
|
|
2641
|
+
"merge local changes with the checked out version. strategy should be \"theirs\", \"ours\" or \"manual\""
|
|
2560
2642
|
],
|
|
2561
2643
|
[
|
|
2562
|
-
"
|
|
2563
|
-
"
|
|
2564
|
-
"
|
|
2644
|
+
"a",
|
|
2645
|
+
"get-all",
|
|
2646
|
+
"checkout all components in a lane include ones that do not exist in the workspace"
|
|
2565
2647
|
],
|
|
2566
2648
|
[
|
|
2567
2649
|
"",
|
|
2568
|
-
"
|
|
2569
|
-
"install
|
|
2650
|
+
"skip-dependency-installation",
|
|
2651
|
+
"do not install packages of the imported components"
|
|
2570
2652
|
],
|
|
2653
|
+
[
|
|
2654
|
+
"j",
|
|
2655
|
+
"json",
|
|
2656
|
+
"return the output as JSON"
|
|
2657
|
+
]
|
|
2658
|
+
],
|
|
2659
|
+
"description": "switch to the specified lane",
|
|
2660
|
+
"extendedDescription": "",
|
|
2661
|
+
"group": "ungrouped",
|
|
2662
|
+
"private": true
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"name": "_merge-lane <lane> [pattern]",
|
|
2666
|
+
"alias": "",
|
|
2667
|
+
"options": [
|
|
2571
2668
|
[
|
|
2572
2669
|
"",
|
|
2573
|
-
"
|
|
2574
|
-
"
|
|
2670
|
+
"push",
|
|
2671
|
+
"export the updated objects to the original scopes once done"
|
|
2575
2672
|
],
|
|
2576
2673
|
[
|
|
2577
2674
|
"",
|
|
2578
|
-
"
|
|
2579
|
-
"
|
|
2675
|
+
"keep-readme",
|
|
2676
|
+
"skip deleting the lane readme component after merging"
|
|
2580
2677
|
],
|
|
2581
2678
|
[
|
|
2582
2679
|
"",
|
|
2583
|
-
"
|
|
2584
|
-
"
|
|
2680
|
+
"no-squash",
|
|
2681
|
+
"EXPERIMENTAL. relevant for merging lanes into main, which by default squash."
|
|
2585
2682
|
],
|
|
2586
2683
|
[
|
|
2587
2684
|
"",
|
|
2588
|
-
"
|
|
2589
|
-
"
|
|
2685
|
+
"include-deps",
|
|
2686
|
+
"EXPERIMENTAL. relevant for \"--pattern\". merge also dependencies of the given components"
|
|
2590
2687
|
]
|
|
2591
2688
|
],
|
|
2592
|
-
"description": "
|
|
2689
|
+
"description": "merge a remote lane into main via a bare-scope (not workspace)",
|
|
2690
|
+
"extendedDescription": "to merge from a workspace, use \"bit lane merge\" command.\nthis is intended to use from the UI, which will have a button to merge an existing lane into main.\nthe lane must be up-to-date with main, otherwise, conflicts might occur which are not handled in this command",
|
|
2691
|
+
"group": "ungrouped",
|
|
2692
|
+
"private": true,
|
|
2693
|
+
"remoteOp": true,
|
|
2694
|
+
"arguments": [
|
|
2695
|
+
{
|
|
2696
|
+
"name": "lane",
|
|
2697
|
+
"description": "lane-id to merge to main"
|
|
2698
|
+
},
|
|
2699
|
+
{
|
|
2700
|
+
"name": "pattern",
|
|
2701
|
+
"description": "EXPERIMENTAL. partially merge the lane with the specified component-pattern"
|
|
2702
|
+
}
|
|
2703
|
+
]
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
"name": "dependencies <sub-command>",
|
|
2707
|
+
"alias": "deps",
|
|
2708
|
+
"options": [],
|
|
2709
|
+
"description": "manage dependencies",
|
|
2593
2710
|
"extendedDescription": "",
|
|
2594
|
-
"group": "
|
|
2711
|
+
"group": "info",
|
|
2595
2712
|
"private": false,
|
|
2596
|
-
"
|
|
2713
|
+
"commands": [
|
|
2597
2714
|
{
|
|
2598
|
-
"name": "component-
|
|
2599
|
-
"
|
|
2715
|
+
"name": "get <component-name>",
|
|
2716
|
+
"alias": "",
|
|
2717
|
+
"options": [
|
|
2718
|
+
[
|
|
2719
|
+
"t",
|
|
2720
|
+
"tree",
|
|
2721
|
+
"EXPERIMENTAL. render dependencies as a tree, similar to \"npm ls\""
|
|
2722
|
+
]
|
|
2723
|
+
],
|
|
2724
|
+
"description": "show direct and indirect dependencies of the given component",
|
|
2725
|
+
"extendedDescription": "",
|
|
2726
|
+
"group": "info",
|
|
2727
|
+
"private": false,
|
|
2728
|
+
"arguments": [
|
|
2729
|
+
{
|
|
2730
|
+
"name": "component-name",
|
|
2731
|
+
"description": "component name or component id"
|
|
2732
|
+
}
|
|
2733
|
+
]
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"name": "remove <component-pattern> <package...>",
|
|
2737
|
+
"alias": "",
|
|
2738
|
+
"options": [],
|
|
2739
|
+
"description": "remove a dependency to component(s)",
|
|
2740
|
+
"extendedDescription": "",
|
|
2741
|
+
"group": "info",
|
|
2742
|
+
"private": false,
|
|
2743
|
+
"arguments": [
|
|
2744
|
+
{
|
|
2745
|
+
"name": "component-pattern",
|
|
2746
|
+
"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
|
+
},
|
|
2748
|
+
{
|
|
2749
|
+
"name": "package",
|
|
2750
|
+
"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
|
+
}
|
|
2752
|
+
]
|
|
2753
|
+
},
|
|
2754
|
+
{
|
|
2755
|
+
"name": "debug <component-name>",
|
|
2756
|
+
"alias": "",
|
|
2757
|
+
"options": [],
|
|
2758
|
+
"description": "show the immediate dependencies and how their versions were determined",
|
|
2759
|
+
"extendedDescription": "",
|
|
2760
|
+
"group": "info",
|
|
2761
|
+
"private": false,
|
|
2762
|
+
"arguments": [
|
|
2763
|
+
{
|
|
2764
|
+
"name": "component-name",
|
|
2765
|
+
"description": "component name or component id"
|
|
2766
|
+
}
|
|
2767
|
+
]
|
|
2768
|
+
},
|
|
2769
|
+
{
|
|
2770
|
+
"name": "set <component-pattern> <package...>",
|
|
2771
|
+
"alias": "",
|
|
2772
|
+
"options": [
|
|
2773
|
+
[
|
|
2774
|
+
"d",
|
|
2775
|
+
"dev",
|
|
2776
|
+
"add to the devDependencies"
|
|
2777
|
+
],
|
|
2778
|
+
[
|
|
2779
|
+
"p",
|
|
2780
|
+
"peer",
|
|
2781
|
+
"add to the peerDependencies"
|
|
2782
|
+
]
|
|
2783
|
+
],
|
|
2784
|
+
"description": "set a dependency to component(s)",
|
|
2785
|
+
"extendedDescription": "",
|
|
2786
|
+
"group": "info",
|
|
2787
|
+
"private": false,
|
|
2788
|
+
"arguments": [
|
|
2789
|
+
{
|
|
2790
|
+
"name": "component-pattern",
|
|
2791
|
+
"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
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
"name": "package",
|
|
2795
|
+
"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
|
+
}
|
|
2797
|
+
]
|
|
2600
2798
|
}
|
|
2601
2799
|
]
|
|
2602
2800
|
},
|
|
2603
2801
|
{
|
|
2604
|
-
"name": "
|
|
2605
|
-
"alias": "",
|
|
2802
|
+
"name": "list [remote-scope]",
|
|
2803
|
+
"alias": "ls",
|
|
2606
2804
|
"options": [
|
|
2607
2805
|
[
|
|
2608
|
-
"",
|
|
2609
|
-
"
|
|
2610
|
-
"show
|
|
2806
|
+
"i",
|
|
2807
|
+
"ids",
|
|
2808
|
+
"show only component ids unformatted"
|
|
2611
2809
|
],
|
|
2612
2810
|
[
|
|
2613
|
-
"",
|
|
2614
|
-
"
|
|
2615
|
-
"show
|
|
2811
|
+
"s",
|
|
2812
|
+
"scope",
|
|
2813
|
+
"show only components stored in the local scope, including indirect dependencies"
|
|
2616
2814
|
],
|
|
2617
2815
|
[
|
|
2618
|
-
"",
|
|
2619
|
-
"
|
|
2620
|
-
"show
|
|
2816
|
+
"o",
|
|
2817
|
+
"outdated",
|
|
2818
|
+
"show latest versions from remotes"
|
|
2621
2819
|
],
|
|
2622
2820
|
[
|
|
2623
|
-
"",
|
|
2624
|
-
"
|
|
2625
|
-
"
|
|
2821
|
+
"j",
|
|
2822
|
+
"json",
|
|
2823
|
+
"show the output in JSON format"
|
|
2824
|
+
],
|
|
2825
|
+
[
|
|
2826
|
+
"n",
|
|
2827
|
+
"namespace <string>",
|
|
2828
|
+
"show only specified namespace by using wildcards"
|
|
2626
2829
|
]
|
|
2627
2830
|
],
|
|
2628
|
-
"description": "
|
|
2629
|
-
"extendedDescription": "
|
|
2630
|
-
"group": "
|
|
2831
|
+
"description": "list components on a workspace, local scope or a remote scope.",
|
|
2832
|
+
"extendedDescription": "https://bit.dev/docs/reference/cli-reference#list",
|
|
2833
|
+
"group": "discover",
|
|
2631
2834
|
"private": false,
|
|
2632
|
-
"
|
|
2633
|
-
|
|
2634
|
-
"name": "component-pattern",
|
|
2635
|
-
"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"
|
|
2636
|
-
}
|
|
2637
|
-
]
|
|
2835
|
+
"remoteOp": true,
|
|
2836
|
+
"skipWorkspace": true
|
|
2638
2837
|
},
|
|
2639
2838
|
{
|
|
2640
2839
|
"name": "pack <componentId> [scopePath]",
|
|
@@ -3316,68 +3515,6 @@
|
|
|
3316
3515
|
}
|
|
3317
3516
|
]
|
|
3318
3517
|
},
|
|
3319
|
-
{
|
|
3320
|
-
"name": "resume-export <export-id> <remotes...>",
|
|
3321
|
-
"alias": "",
|
|
3322
|
-
"options": [],
|
|
3323
|
-
"description": "EXPERIMENTAL. resume failed export",
|
|
3324
|
-
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
|
|
3325
|
-
"group": "collaborate",
|
|
3326
|
-
"private": true,
|
|
3327
|
-
"remoteOp": true
|
|
3328
|
-
},
|
|
3329
|
-
{
|
|
3330
|
-
"name": "export [component-patterns...]",
|
|
3331
|
-
"alias": "e",
|
|
3332
|
-
"options": [
|
|
3333
|
-
[
|
|
3334
|
-
"e",
|
|
3335
|
-
"eject",
|
|
3336
|
-
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
3337
|
-
],
|
|
3338
|
-
[
|
|
3339
|
-
"a",
|
|
3340
|
-
"all",
|
|
3341
|
-
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
3342
|
-
],
|
|
3343
|
-
[
|
|
3344
|
-
"",
|
|
3345
|
-
"all-versions",
|
|
3346
|
-
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
3347
|
-
],
|
|
3348
|
-
[
|
|
3349
|
-
"",
|
|
3350
|
-
"origin-directly",
|
|
3351
|
-
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
3352
|
-
],
|
|
3353
|
-
[
|
|
3354
|
-
"",
|
|
3355
|
-
"resume <string>",
|
|
3356
|
-
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
3357
|
-
],
|
|
3358
|
-
[
|
|
3359
|
-
"",
|
|
3360
|
-
"ignore-missing-artifacts",
|
|
3361
|
-
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
3362
|
-
],
|
|
3363
|
-
[
|
|
3364
|
-
"j",
|
|
3365
|
-
"json",
|
|
3366
|
-
"show output in json format"
|
|
3367
|
-
]
|
|
3368
|
-
],
|
|
3369
|
-
"description": "export components from the workspace to remote scopes",
|
|
3370
|
-
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n you can use a pattern for multiple ids, such as bit export remote-scope \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
3371
|
-
"group": "collaborate",
|
|
3372
|
-
"private": false,
|
|
3373
|
-
"remoteOp": true,
|
|
3374
|
-
"arguments": [
|
|
3375
|
-
{
|
|
3376
|
-
"name": "component-patterns...",
|
|
3377
|
-
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
3378
|
-
}
|
|
3379
|
-
]
|
|
3380
|
-
},
|
|
3381
3518
|
{
|
|
3382
3519
|
"name": "update-dependencies <data>",
|
|
3383
3520
|
"alias": "",
|