@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.
- package/cli-reference.json +4 -4
- package/cli-reference.mdx +34 -34
- package/dist/cli-reference.json +4 -4
- 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-1664710331381.js → preview-1664854758941.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.77.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -2739,8 +2739,8 @@
|
|
|
2739
2739
|
]
|
|
2740
2740
|
},
|
|
2741
2741
|
{
|
|
2742
|
-
"name": "
|
|
2743
|
-
"alias": "
|
|
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
|
-
##
|
|
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**: `
|
|
396
|
+
**Alias**: `dependencies`
|
|
374
397
|
**Workspace only**: yes
|
|
375
398
|
**Description**: manage dependencies
|
|
376
399
|
|
|
377
|
-
`bit
|
|
400
|
+
`bit deps <sub-command>`
|
|
378
401
|
|
|
379
|
-
###
|
|
402
|
+
### deps get
|
|
380
403
|
|
|
381
|
-
**Usage**: `
|
|
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
|
-
###
|
|
412
|
+
### deps remove
|
|
390
413
|
|
|
391
|
-
**Usage**: `
|
|
414
|
+
**Usage**: `deps remove <component-pattern> <package...>`
|
|
392
415
|
|
|
393
416
|
**Description**: remove a dependency to component(s)
|
|
394
417
|
|
|
395
|
-
###
|
|
418
|
+
### deps debug
|
|
396
419
|
|
|
397
|
-
**Usage**: `
|
|
420
|
+
**Usage**: `deps debug <component-name>`
|
|
398
421
|
|
|
399
422
|
**Description**: show the immediate dependencies and how their versions were determined
|
|
400
423
|
|
|
401
|
-
###
|
|
424
|
+
### deps set
|
|
402
425
|
|
|
403
|
-
**Usage**: `
|
|
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
|
package/dist/cli-reference.json
CHANGED
|
@@ -2739,8 +2739,8 @@
|
|
|
2739
2739
|
]
|
|
2740
2740
|
},
|
|
2741
2741
|
{
|
|
2742
|
-
"name": "
|
|
2743
|
-
"alias": "
|
|
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, "
|
|
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"
|