@teambit/harmony.content.cli-reference 1.95.75 → 1.95.77
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 +347 -251
- package/cli-reference.mdx +1 -0
- package/dist/cli-reference.json +347 -251
- 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.77.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1663904275528.js → preview-1664710331381.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.75.tgz +0 -0
package/dist/cli-reference.json
CHANGED
|
@@ -1455,6 +1455,262 @@
|
|
|
1455
1455
|
"group": "ungrouped",
|
|
1456
1456
|
"private": true
|
|
1457
1457
|
},
|
|
1458
|
+
{
|
|
1459
|
+
"name": "create <template-name> <component-names...>",
|
|
1460
|
+
"alias": "",
|
|
1461
|
+
"options": [
|
|
1462
|
+
[
|
|
1463
|
+
"n",
|
|
1464
|
+
"namespace <string>",
|
|
1465
|
+
"sets the component's namespace and nested dirs inside the scope"
|
|
1466
|
+
],
|
|
1467
|
+
[
|
|
1468
|
+
"s",
|
|
1469
|
+
"scope <string>",
|
|
1470
|
+
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
1471
|
+
],
|
|
1472
|
+
[
|
|
1473
|
+
"a",
|
|
1474
|
+
"aspect <string>",
|
|
1475
|
+
"aspect-id of the template. helpful when multiple aspects use the same template name"
|
|
1476
|
+
],
|
|
1477
|
+
[
|
|
1478
|
+
"p",
|
|
1479
|
+
"path <string>",
|
|
1480
|
+
"relative path in the workspace. by default the path is `<scope>/<namespace>/<name>`"
|
|
1481
|
+
],
|
|
1482
|
+
[
|
|
1483
|
+
"e",
|
|
1484
|
+
"env <string>",
|
|
1485
|
+
"set the component's environment. (overrides the env from variants and the template)"
|
|
1486
|
+
]
|
|
1487
|
+
],
|
|
1488
|
+
"description": "create a new component (source files and config) using a template.",
|
|
1489
|
+
"extendedDescription": "",
|
|
1490
|
+
"group": "development",
|
|
1491
|
+
"private": false,
|
|
1492
|
+
"arguments": [
|
|
1493
|
+
{
|
|
1494
|
+
"name": "template-name",
|
|
1495
|
+
"description": "the template for generating the component \n(run 'bit templates' for a list of available templates)"
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"name": "component-names...",
|
|
1499
|
+
"description": "a list of component names to generate"
|
|
1500
|
+
}
|
|
1501
|
+
],
|
|
1502
|
+
"examples": [
|
|
1503
|
+
{
|
|
1504
|
+
"cmd": "bit create react ui/button",
|
|
1505
|
+
"description": "creates a component named 'ui/button' using the 'react' template"
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"cmd": "bit create react ui/button pages/register",
|
|
1509
|
+
"description": "creates two components, 'ui/button' and 'pages/register', using the 'react' template"
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"cmd": "bit create react ui/button --scope my-org.my-scope",
|
|
1513
|
+
"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`."
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
"cmd": "bit create react ui/button --env teambit.community/envs/community-react@1.95.13",
|
|
1517
|
+
"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')."
|
|
1518
|
+
}
|
|
1519
|
+
]
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"name": "templates",
|
|
1523
|
+
"alias": "",
|
|
1524
|
+
"options": [
|
|
1525
|
+
[
|
|
1526
|
+
"s",
|
|
1527
|
+
"show-all",
|
|
1528
|
+
"show hidden templates"
|
|
1529
|
+
]
|
|
1530
|
+
],
|
|
1531
|
+
"description": "list templates for \"bit create\" and \"bit new\"",
|
|
1532
|
+
"extendedDescription": "list components templates when inside bit-workspace (for bit-create), otherwise, list workspace templates (for bit-new)",
|
|
1533
|
+
"group": "development",
|
|
1534
|
+
"private": false
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"name": "new <template-name> <workspace-name>",
|
|
1538
|
+
"alias": "",
|
|
1539
|
+
"options": [
|
|
1540
|
+
[
|
|
1541
|
+
"a",
|
|
1542
|
+
"aspect <aspect-id>",
|
|
1543
|
+
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
1544
|
+
],
|
|
1545
|
+
[
|
|
1546
|
+
"d",
|
|
1547
|
+
"default-scope <scope-name>",
|
|
1548
|
+
"set defaultScope in the new workspace.jsonc"
|
|
1549
|
+
],
|
|
1550
|
+
[
|
|
1551
|
+
"",
|
|
1552
|
+
"standalone",
|
|
1553
|
+
"DEPRECATED. use --skip-git instead"
|
|
1554
|
+
],
|
|
1555
|
+
[
|
|
1556
|
+
"s",
|
|
1557
|
+
"skip-git",
|
|
1558
|
+
"skip generation of Git repository"
|
|
1559
|
+
],
|
|
1560
|
+
[
|
|
1561
|
+
"e",
|
|
1562
|
+
"empty",
|
|
1563
|
+
"empty workspace with no components (relevant for templates that add components by default)"
|
|
1564
|
+
],
|
|
1565
|
+
[
|
|
1566
|
+
"",
|
|
1567
|
+
"load-from <path-to-template>",
|
|
1568
|
+
"path to the workspace containing the template. helpful during a development of a workspace-template"
|
|
1569
|
+
]
|
|
1570
|
+
],
|
|
1571
|
+
"description": "create a new workspace from a template",
|
|
1572
|
+
"extendedDescription": "",
|
|
1573
|
+
"group": "start",
|
|
1574
|
+
"private": false,
|
|
1575
|
+
"arguments": [
|
|
1576
|
+
{
|
|
1577
|
+
"name": "template-name",
|
|
1578
|
+
"description": "the name of the workspace template (run 'bit templates', outside of a workspace, to get a list of available templates)"
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"name": "workspace-name",
|
|
1582
|
+
"description": "the name for the new workspace and workspace directory"
|
|
1583
|
+
}
|
|
1584
|
+
]
|
|
1585
|
+
},
|
|
1586
|
+
{
|
|
1587
|
+
"name": "build [component-pattern]",
|
|
1588
|
+
"alias": "",
|
|
1589
|
+
"options": [
|
|
1590
|
+
[
|
|
1591
|
+
"a",
|
|
1592
|
+
"all",
|
|
1593
|
+
"build all components, not only modified and new"
|
|
1594
|
+
],
|
|
1595
|
+
[
|
|
1596
|
+
"d",
|
|
1597
|
+
"dev",
|
|
1598
|
+
"run the pipeline in dev mode"
|
|
1599
|
+
],
|
|
1600
|
+
[
|
|
1601
|
+
"",
|
|
1602
|
+
"install",
|
|
1603
|
+
"install core aspects in capsules"
|
|
1604
|
+
],
|
|
1605
|
+
[
|
|
1606
|
+
"",
|
|
1607
|
+
"reuse-capsules",
|
|
1608
|
+
"avoid deleting the capsules root-dir before starting the build"
|
|
1609
|
+
],
|
|
1610
|
+
[
|
|
1611
|
+
"",
|
|
1612
|
+
"tasks <string>",
|
|
1613
|
+
"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)"
|
|
1614
|
+
],
|
|
1615
|
+
[
|
|
1616
|
+
"",
|
|
1617
|
+
"cache-packages-on-capsule-root",
|
|
1618
|
+
"set the package-manager cache on the capsule root"
|
|
1619
|
+
],
|
|
1620
|
+
[
|
|
1621
|
+
"",
|
|
1622
|
+
"list-tasks <string>",
|
|
1623
|
+
"list tasks of an env or a component-id for each one of the pipelines: build, tag and snap"
|
|
1624
|
+
],
|
|
1625
|
+
[
|
|
1626
|
+
"",
|
|
1627
|
+
"skip-tests",
|
|
1628
|
+
"skip running component tests during tag process"
|
|
1629
|
+
]
|
|
1630
|
+
],
|
|
1631
|
+
"description": "run set of tasks for build",
|
|
1632
|
+
"extendedDescription": "",
|
|
1633
|
+
"group": "development",
|
|
1634
|
+
"private": false,
|
|
1635
|
+
"arguments": [
|
|
1636
|
+
{
|
|
1637
|
+
"name": "component-pattern",
|
|
1638
|
+
"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"
|
|
1639
|
+
}
|
|
1640
|
+
]
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"name": "artifacts <component-pattern>",
|
|
1644
|
+
"alias": "",
|
|
1645
|
+
"options": [
|
|
1646
|
+
[
|
|
1647
|
+
"",
|
|
1648
|
+
"aspect <aspect-id>",
|
|
1649
|
+
"show/download only artifacts generated by this aspect-id"
|
|
1650
|
+
],
|
|
1651
|
+
[
|
|
1652
|
+
"",
|
|
1653
|
+
"task <task-id>",
|
|
1654
|
+
"show/download only artifacts generated by this task-id"
|
|
1655
|
+
],
|
|
1656
|
+
[
|
|
1657
|
+
"",
|
|
1658
|
+
"files <glob>",
|
|
1659
|
+
"show/download only artifacts matching the given files or the glob pattern (wrap glob patterns in quotes)"
|
|
1660
|
+
],
|
|
1661
|
+
[
|
|
1662
|
+
"",
|
|
1663
|
+
"out-dir <string>",
|
|
1664
|
+
"download the files to the specified dir"
|
|
1665
|
+
]
|
|
1666
|
+
],
|
|
1667
|
+
"description": "EXPERIMENTAL. list and download components artifacts",
|
|
1668
|
+
"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",
|
|
1669
|
+
"group": "development",
|
|
1670
|
+
"private": false,
|
|
1671
|
+
"arguments": [
|
|
1672
|
+
{
|
|
1673
|
+
"name": "component-pattern",
|
|
1674
|
+
"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"
|
|
1675
|
+
}
|
|
1676
|
+
]
|
|
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
|
+
},
|
|
1458
1714
|
{
|
|
1459
1715
|
"name": "install [packages...]",
|
|
1460
1716
|
"alias": "in",
|
|
@@ -1870,6 +2126,97 @@
|
|
|
1870
2126
|
}
|
|
1871
2127
|
]
|
|
1872
2128
|
},
|
|
2129
|
+
{
|
|
2130
|
+
"name": "_tag <component-id...>",
|
|
2131
|
+
"alias": "",
|
|
2132
|
+
"options": [
|
|
2133
|
+
[
|
|
2134
|
+
"",
|
|
2135
|
+
"push",
|
|
2136
|
+
"export the updated objects to the original scopes once done"
|
|
2137
|
+
],
|
|
2138
|
+
[
|
|
2139
|
+
"m",
|
|
2140
|
+
"message <message>",
|
|
2141
|
+
"a log message describing latest changes"
|
|
2142
|
+
],
|
|
2143
|
+
[
|
|
2144
|
+
"v",
|
|
2145
|
+
"ver <version>",
|
|
2146
|
+
"tag with the given version"
|
|
2147
|
+
],
|
|
2148
|
+
[
|
|
2149
|
+
"l",
|
|
2150
|
+
"increment <level>",
|
|
2151
|
+
"options are: [major, premajor, minor, preminor, patch, prepatch, prerelease], default to patch"
|
|
2152
|
+
],
|
|
2153
|
+
[
|
|
2154
|
+
"",
|
|
2155
|
+
"prerelease-id <id>",
|
|
2156
|
+
"prerelease identifier (e.g. \"dev\" to get \"1.0.0-dev.1\")"
|
|
2157
|
+
],
|
|
2158
|
+
[
|
|
2159
|
+
"p",
|
|
2160
|
+
"patch",
|
|
2161
|
+
"syntactic sugar for \"--increment patch\""
|
|
2162
|
+
],
|
|
2163
|
+
[
|
|
2164
|
+
"",
|
|
2165
|
+
"minor",
|
|
2166
|
+
"syntactic sugar for \"--increment minor\""
|
|
2167
|
+
],
|
|
2168
|
+
[
|
|
2169
|
+
"",
|
|
2170
|
+
"major",
|
|
2171
|
+
"syntactic sugar for \"--increment major\""
|
|
2172
|
+
],
|
|
2173
|
+
[
|
|
2174
|
+
"",
|
|
2175
|
+
"pre-release [identifier]",
|
|
2176
|
+
"syntactic sugar for \"--increment prerelease\" and `--prerelease-id <identifier>`"
|
|
2177
|
+
],
|
|
2178
|
+
[
|
|
2179
|
+
"",
|
|
2180
|
+
"skip-tests",
|
|
2181
|
+
"skip running component tests during tag process"
|
|
2182
|
+
],
|
|
2183
|
+
[
|
|
2184
|
+
"",
|
|
2185
|
+
"disable-tag-pipeline",
|
|
2186
|
+
"skip the tag pipeline to avoid publishing the components"
|
|
2187
|
+
],
|
|
2188
|
+
[
|
|
2189
|
+
"",
|
|
2190
|
+
"force-deploy",
|
|
2191
|
+
"run the tag pipeline although the build failed"
|
|
2192
|
+
],
|
|
2193
|
+
[
|
|
2194
|
+
"",
|
|
2195
|
+
"increment-by <number>",
|
|
2196
|
+
"(default to 1) increment semver flag (patch/minor/major) by. e.g. incrementing patch by 2: 0.0.1 -> 0.0.3."
|
|
2197
|
+
],
|
|
2198
|
+
[
|
|
2199
|
+
"i",
|
|
2200
|
+
"ignore-issues [issues]",
|
|
2201
|
+
"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 \"*\"."
|
|
2202
|
+
],
|
|
2203
|
+
[
|
|
2204
|
+
"I",
|
|
2205
|
+
"ignore-newest-version",
|
|
2206
|
+
"ignore existing of newer versions (default = false)"
|
|
2207
|
+
],
|
|
2208
|
+
[
|
|
2209
|
+
"b",
|
|
2210
|
+
"build",
|
|
2211
|
+
"EXPERIMENTAL. not needed for now. run the pipeline build and complete the tag"
|
|
2212
|
+
]
|
|
2213
|
+
],
|
|
2214
|
+
"description": "create an immutable and exportable component snapshot, tagged with a release version.",
|
|
2215
|
+
"extendedDescription": "you can specify a version per id using \"@\" sign, e.g. bit tag foo@1.0.0 bar@minor baz@major",
|
|
2216
|
+
"group": "development",
|
|
2217
|
+
"private": true,
|
|
2218
|
+
"remoteOp": true
|
|
2219
|
+
},
|
|
1873
2220
|
{
|
|
1874
2221
|
"name": "merge [values...]",
|
|
1875
2222
|
"alias": "",
|
|
@@ -2524,221 +2871,6 @@
|
|
|
2524
2871
|
"remoteOp": true,
|
|
2525
2872
|
"skipWorkspace": true
|
|
2526
2873
|
},
|
|
2527
|
-
{
|
|
2528
|
-
"name": "create <template-name> <component-names...>",
|
|
2529
|
-
"alias": "",
|
|
2530
|
-
"options": [
|
|
2531
|
-
[
|
|
2532
|
-
"n",
|
|
2533
|
-
"namespace <string>",
|
|
2534
|
-
"sets the component's namespace and nested dirs inside the scope"
|
|
2535
|
-
],
|
|
2536
|
-
[
|
|
2537
|
-
"s",
|
|
2538
|
-
"scope <string>",
|
|
2539
|
-
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
2540
|
-
],
|
|
2541
|
-
[
|
|
2542
|
-
"a",
|
|
2543
|
-
"aspect <string>",
|
|
2544
|
-
"aspect-id of the template. helpful when multiple aspects use the same template name"
|
|
2545
|
-
],
|
|
2546
|
-
[
|
|
2547
|
-
"p",
|
|
2548
|
-
"path <string>",
|
|
2549
|
-
"relative path in the workspace. by default the path is `<scope>/<namespace>/<name>`"
|
|
2550
|
-
],
|
|
2551
|
-
[
|
|
2552
|
-
"e",
|
|
2553
|
-
"env <string>",
|
|
2554
|
-
"set the component's environment. (overrides the env from variants and the template)"
|
|
2555
|
-
]
|
|
2556
|
-
],
|
|
2557
|
-
"description": "create a new component (source files and config) using a template.",
|
|
2558
|
-
"extendedDescription": "",
|
|
2559
|
-
"group": "development",
|
|
2560
|
-
"private": false,
|
|
2561
|
-
"arguments": [
|
|
2562
|
-
{
|
|
2563
|
-
"name": "template-name",
|
|
2564
|
-
"description": "the template for generating the component \n(run 'bit templates' for a list of available templates)"
|
|
2565
|
-
},
|
|
2566
|
-
{
|
|
2567
|
-
"name": "component-names...",
|
|
2568
|
-
"description": "a list of component names to generate"
|
|
2569
|
-
}
|
|
2570
|
-
],
|
|
2571
|
-
"examples": [
|
|
2572
|
-
{
|
|
2573
|
-
"cmd": "bit create react ui/button",
|
|
2574
|
-
"description": "creates a component named 'ui/button' using the 'react' template"
|
|
2575
|
-
},
|
|
2576
|
-
{
|
|
2577
|
-
"cmd": "bit create react ui/button pages/register",
|
|
2578
|
-
"description": "creates two components, 'ui/button' and 'pages/register', using the 'react' template"
|
|
2579
|
-
},
|
|
2580
|
-
{
|
|
2581
|
-
"cmd": "bit create react ui/button --scope my-org.my-scope",
|
|
2582
|
-
"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`."
|
|
2583
|
-
},
|
|
2584
|
-
{
|
|
2585
|
-
"cmd": "bit create react ui/button --env teambit.community/envs/community-react@1.95.13",
|
|
2586
|
-
"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')."
|
|
2587
|
-
}
|
|
2588
|
-
]
|
|
2589
|
-
},
|
|
2590
|
-
{
|
|
2591
|
-
"name": "templates",
|
|
2592
|
-
"alias": "",
|
|
2593
|
-
"options": [
|
|
2594
|
-
[
|
|
2595
|
-
"s",
|
|
2596
|
-
"show-all",
|
|
2597
|
-
"show hidden templates"
|
|
2598
|
-
]
|
|
2599
|
-
],
|
|
2600
|
-
"description": "list templates for \"bit create\" and \"bit new\"",
|
|
2601
|
-
"extendedDescription": "list components templates when inside bit-workspace (for bit-create), otherwise, list workspace templates (for bit-new)",
|
|
2602
|
-
"group": "development",
|
|
2603
|
-
"private": false
|
|
2604
|
-
},
|
|
2605
|
-
{
|
|
2606
|
-
"name": "new <template-name> <workspace-name>",
|
|
2607
|
-
"alias": "",
|
|
2608
|
-
"options": [
|
|
2609
|
-
[
|
|
2610
|
-
"a",
|
|
2611
|
-
"aspect <aspect-id>",
|
|
2612
|
-
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
2613
|
-
],
|
|
2614
|
-
[
|
|
2615
|
-
"d",
|
|
2616
|
-
"default-scope <scope-name>",
|
|
2617
|
-
"set defaultScope in the new workspace.jsonc"
|
|
2618
|
-
],
|
|
2619
|
-
[
|
|
2620
|
-
"",
|
|
2621
|
-
"standalone",
|
|
2622
|
-
"DEPRECATED. use --skip-git instead"
|
|
2623
|
-
],
|
|
2624
|
-
[
|
|
2625
|
-
"s",
|
|
2626
|
-
"skip-git",
|
|
2627
|
-
"skip generation of Git repository"
|
|
2628
|
-
],
|
|
2629
|
-
[
|
|
2630
|
-
"e",
|
|
2631
|
-
"empty",
|
|
2632
|
-
"empty workspace with no components (relevant for templates that add components by default)"
|
|
2633
|
-
],
|
|
2634
|
-
[
|
|
2635
|
-
"",
|
|
2636
|
-
"load-from <path-to-template>",
|
|
2637
|
-
"path to the workspace containing the template. helpful during a development of a workspace-template"
|
|
2638
|
-
]
|
|
2639
|
-
],
|
|
2640
|
-
"description": "create a new workspace from a template",
|
|
2641
|
-
"extendedDescription": "",
|
|
2642
|
-
"group": "start",
|
|
2643
|
-
"private": false,
|
|
2644
|
-
"arguments": [
|
|
2645
|
-
{
|
|
2646
|
-
"name": "template-name",
|
|
2647
|
-
"description": "the name of the workspace template (run 'bit templates', outside of a workspace, to get a list of available templates)"
|
|
2648
|
-
},
|
|
2649
|
-
{
|
|
2650
|
-
"name": "workspace-name",
|
|
2651
|
-
"description": "the name for the new workspace and workspace directory"
|
|
2652
|
-
}
|
|
2653
|
-
]
|
|
2654
|
-
},
|
|
2655
|
-
{
|
|
2656
|
-
"name": "build [component-pattern]",
|
|
2657
|
-
"alias": "",
|
|
2658
|
-
"options": [
|
|
2659
|
-
[
|
|
2660
|
-
"a",
|
|
2661
|
-
"all",
|
|
2662
|
-
"build all components, not only modified and new"
|
|
2663
|
-
],
|
|
2664
|
-
[
|
|
2665
|
-
"d",
|
|
2666
|
-
"dev",
|
|
2667
|
-
"run the pipeline in dev mode"
|
|
2668
|
-
],
|
|
2669
|
-
[
|
|
2670
|
-
"",
|
|
2671
|
-
"install",
|
|
2672
|
-
"install core aspects in capsules"
|
|
2673
|
-
],
|
|
2674
|
-
[
|
|
2675
|
-
"",
|
|
2676
|
-
"reuse-capsules",
|
|
2677
|
-
"avoid deleting the capsules root-dir before starting the build"
|
|
2678
|
-
],
|
|
2679
|
-
[
|
|
2680
|
-
"",
|
|
2681
|
-
"tasks <string>",
|
|
2682
|
-
"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)"
|
|
2683
|
-
],
|
|
2684
|
-
[
|
|
2685
|
-
"",
|
|
2686
|
-
"cache-packages-on-capsule-root",
|
|
2687
|
-
"set the package-manager cache on the capsule root"
|
|
2688
|
-
],
|
|
2689
|
-
[
|
|
2690
|
-
"",
|
|
2691
|
-
"list-tasks <string>",
|
|
2692
|
-
"list tasks of an env or a component-id for each one of the pipelines: build, tag and snap"
|
|
2693
|
-
]
|
|
2694
|
-
],
|
|
2695
|
-
"description": "run set of tasks for build",
|
|
2696
|
-
"extendedDescription": "",
|
|
2697
|
-
"group": "development",
|
|
2698
|
-
"private": false,
|
|
2699
|
-
"arguments": [
|
|
2700
|
-
{
|
|
2701
|
-
"name": "component-pattern",
|
|
2702
|
-
"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"
|
|
2703
|
-
}
|
|
2704
|
-
]
|
|
2705
|
-
},
|
|
2706
|
-
{
|
|
2707
|
-
"name": "artifacts <component-pattern>",
|
|
2708
|
-
"alias": "",
|
|
2709
|
-
"options": [
|
|
2710
|
-
[
|
|
2711
|
-
"",
|
|
2712
|
-
"aspect <aspect-id>",
|
|
2713
|
-
"show/download only artifacts generated by this aspect-id"
|
|
2714
|
-
],
|
|
2715
|
-
[
|
|
2716
|
-
"",
|
|
2717
|
-
"task <task-id>",
|
|
2718
|
-
"show/download only artifacts generated by this task-id"
|
|
2719
|
-
],
|
|
2720
|
-
[
|
|
2721
|
-
"",
|
|
2722
|
-
"files <glob>",
|
|
2723
|
-
"show/download only artifacts matching the given files or the glob pattern (wrap glob patterns in quotes)"
|
|
2724
|
-
],
|
|
2725
|
-
[
|
|
2726
|
-
"",
|
|
2727
|
-
"out-dir <string>",
|
|
2728
|
-
"download the files to the specified dir"
|
|
2729
|
-
]
|
|
2730
|
-
],
|
|
2731
|
-
"description": "EXPERIMENTAL. list and download components artifacts",
|
|
2732
|
-
"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",
|
|
2733
|
-
"group": "development",
|
|
2734
|
-
"private": false,
|
|
2735
|
-
"arguments": [
|
|
2736
|
-
{
|
|
2737
|
-
"name": "component-pattern",
|
|
2738
|
-
"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"
|
|
2739
|
-
}
|
|
2740
|
-
]
|
|
2741
|
-
},
|
|
2742
2874
|
{
|
|
2743
2875
|
"name": "pack <componentId> [scopePath]",
|
|
2744
2876
|
"alias": "",
|
|
@@ -2850,42 +2982,6 @@
|
|
|
2850
2982
|
"group": "development",
|
|
2851
2983
|
"private": false
|
|
2852
2984
|
},
|
|
2853
|
-
{
|
|
2854
|
-
"name": "compile [component-names...]",
|
|
2855
|
-
"alias": "",
|
|
2856
|
-
"options": [
|
|
2857
|
-
[
|
|
2858
|
-
"c",
|
|
2859
|
-
"changed",
|
|
2860
|
-
"compile only new and modified components"
|
|
2861
|
-
],
|
|
2862
|
-
[
|
|
2863
|
-
"v",
|
|
2864
|
-
"verbose",
|
|
2865
|
-
"show more data, such as, dist paths"
|
|
2866
|
-
],
|
|
2867
|
-
[
|
|
2868
|
-
"j",
|
|
2869
|
-
"json",
|
|
2870
|
-
"return the compile results in json format"
|
|
2871
|
-
],
|
|
2872
|
-
[
|
|
2873
|
-
"d",
|
|
2874
|
-
"delete-dist-dir",
|
|
2875
|
-
"delete existing dist folder before writing new compiled files"
|
|
2876
|
-
]
|
|
2877
|
-
],
|
|
2878
|
-
"description": "compile components in the workspace",
|
|
2879
|
-
"extendedDescription": "",
|
|
2880
|
-
"group": "development",
|
|
2881
|
-
"private": false,
|
|
2882
|
-
"arguments": [
|
|
2883
|
-
{
|
|
2884
|
-
"name": "component-names...",
|
|
2885
|
-
"description": "a list of component names or component IDs (defaults to all components)"
|
|
2886
|
-
}
|
|
2887
|
-
]
|
|
2888
|
-
},
|
|
2889
2985
|
{
|
|
2890
2986
|
"name": "run <app-name>",
|
|
2891
2987
|
"alias": "c",
|
|
@@ -665,7 +665,20 @@ function MDXContent(_ref) {
|
|
|
665
665
|
}), (0, _react2.mdx)("td", {
|
|
666
666
|
parentName: "tr",
|
|
667
667
|
"align": null
|
|
668
|
-
}, "list tasks of an env or a component-id for each one of the pipelines: build, tag and snap"))
|
|
668
|
+
}, "list tasks of an env or a component-id for each one of the pipelines: build, tag and snap")), (0, _react2.mdx)("tr", {
|
|
669
|
+
parentName: "tbody"
|
|
670
|
+
}, (0, _react2.mdx)("td", {
|
|
671
|
+
parentName: "tr",
|
|
672
|
+
"align": null
|
|
673
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
674
|
+
parentName: "td"
|
|
675
|
+
}, "--skip-tests")), (0, _react2.mdx)("td", {
|
|
676
|
+
parentName: "tr",
|
|
677
|
+
"align": "center"
|
|
678
|
+
}), (0, _react2.mdx)("td", {
|
|
679
|
+
parentName: "tr",
|
|
680
|
+
"align": null
|
|
681
|
+
}, "skip running component tests during tag process")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "capsule"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
669
682
|
parentName: "p"
|
|
670
683
|
}, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
|
|
671
684
|
parentName: "p"
|