@teambit/harmony.content.cli-reference 1.95.193 → 1.95.195
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.docs.mdx +1 -1
- package/cli-reference.json +43 -2
- package/cli-reference.mdx +22 -4
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +43 -2
- package/dist/cli-reference.mdx.js +114 -4
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1690973995513.js → preview-1691551061589.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.195.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.193.tgz +0 -0
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1831,19 +1831,40 @@
|
|
|
1831
1831
|
"private": false
|
|
1832
1832
|
},
|
|
1833
1833
|
{
|
|
1834
|
-
"name": "update",
|
|
1834
|
+
"name": "update [package-patterns...]",
|
|
1835
1835
|
"alias": "up",
|
|
1836
1836
|
"options": [
|
|
1837
1837
|
[
|
|
1838
1838
|
"y",
|
|
1839
1839
|
"yes",
|
|
1840
1840
|
"automatically update all outdated packages"
|
|
1841
|
+
],
|
|
1842
|
+
[
|
|
1843
|
+
"",
|
|
1844
|
+
"patch",
|
|
1845
|
+
"update to the latest patch version. Semver rules are ignored"
|
|
1846
|
+
],
|
|
1847
|
+
[
|
|
1848
|
+
"",
|
|
1849
|
+
"minor",
|
|
1850
|
+
"update to the latest minor version. Semver rules are ignored"
|
|
1851
|
+
],
|
|
1852
|
+
[
|
|
1853
|
+
"",
|
|
1854
|
+
"major",
|
|
1855
|
+
"update to the latest major version. Semver rules are ignored"
|
|
1841
1856
|
]
|
|
1842
1857
|
],
|
|
1843
1858
|
"description": "update dependencies",
|
|
1844
1859
|
"extendedDescription": "",
|
|
1845
1860
|
"group": "development",
|
|
1846
|
-
"private": false
|
|
1861
|
+
"private": false,
|
|
1862
|
+
"arguments": [
|
|
1863
|
+
{
|
|
1864
|
+
"name": "package-patterns...",
|
|
1865
|
+
"description": "a list of package names, or patterns (separated by space). The patterns should be in glob format. By default, all packages are selected."
|
|
1866
|
+
}
|
|
1867
|
+
]
|
|
1847
1868
|
},
|
|
1848
1869
|
{
|
|
1849
1870
|
"name": "link [component-names...]",
|
|
@@ -3327,6 +3348,11 @@
|
|
|
3327
3348
|
"",
|
|
3328
3349
|
"resolve-unrelated [merge-strategy]",
|
|
3329
3350
|
"relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\""
|
|
3351
|
+
],
|
|
3352
|
+
[
|
|
3353
|
+
"",
|
|
3354
|
+
"include-non-lane-comps",
|
|
3355
|
+
"when merging main, include workspace components that are not on the lane (by default only lane components are merged)"
|
|
3330
3356
|
]
|
|
3331
3357
|
],
|
|
3332
3358
|
"description": "merge a local or a remote lane",
|
|
@@ -3667,6 +3693,21 @@
|
|
|
3667
3693
|
"description": "package-name. for components, you can use either component-id or package-name"
|
|
3668
3694
|
}
|
|
3669
3695
|
]
|
|
3696
|
+
},
|
|
3697
|
+
{
|
|
3698
|
+
"name": "usage <dependency-name>",
|
|
3699
|
+
"alias": "",
|
|
3700
|
+
"options": [],
|
|
3701
|
+
"description": "EXPERIMENTAL. find components that use the specified dependency",
|
|
3702
|
+
"extendedDescription": "",
|
|
3703
|
+
"group": "info",
|
|
3704
|
+
"private": false,
|
|
3705
|
+
"arguments": [
|
|
3706
|
+
{
|
|
3707
|
+
"name": "dependency-name",
|
|
3708
|
+
"description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
|
|
3709
|
+
}
|
|
3710
|
+
]
|
|
3670
3711
|
}
|
|
3671
3712
|
]
|
|
3672
3713
|
},
|
package/cli-reference.mdx
CHANGED
|
@@ -555,6 +555,16 @@ https://bit.dev/docs/config/bit-config
|
|
|
555
555
|
| ----------------- | :---------------------------------------------------------------------------: |
|
|
556
556
|
| `dependency-name` | package-name. for components, you can use either component-id or package-name |
|
|
557
557
|
|
|
558
|
+
### deps usage
|
|
559
|
+
|
|
560
|
+
**Usage**: `deps usage <dependency-name>`
|
|
561
|
+
|
|
562
|
+
**Description**: EXPERIMENTAL. find components that use the specified dependency
|
|
563
|
+
|
|
564
|
+
| **Arg** | **Description** |
|
|
565
|
+
| ----------------- | :------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
566
|
+
| `dependency-name` | package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version |
|
|
567
|
+
|
|
558
568
|
---
|
|
559
569
|
|
|
560
570
|
## diff
|
|
@@ -1124,6 +1134,7 @@ it will snap-merge these components to complete the merge. use "no-snap" to opt-
|
|
|
1124
1134
|
| `--skip-fetch` | | use the current target-lane if exits locally without updating it from the remote |
|
|
1125
1135
|
| `--include-deps` | | relevant for "--pattern" and "--workspace". merge also dependencies of the given components |
|
|
1126
1136
|
| `--resolve-unrelated [merge-strategy]` | | relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be "ours" (default) or "theirs" |
|
|
1137
|
+
| `--include-non-lane-comps` | | when merging main, include workspace components that are not on the lane (by default only lane components are merged) |
|
|
1127
1138
|
|
|
1128
1139
|
### lane merge-abort
|
|
1129
1140
|
|
|
@@ -1864,11 +1875,18 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
|
|
|
1864
1875
|
**Alias**: `up`
|
|
1865
1876
|
**Description**: update dependencies
|
|
1866
1877
|
|
|
1867
|
-
`bit update`
|
|
1878
|
+
`bit update [package-patterns...]`
|
|
1879
|
+
|
|
1880
|
+
| **Arg** | **Description** |
|
|
1881
|
+
| --------------------- | :--------------------------------------------------------------------------------------------------------------------------------------: |
|
|
1882
|
+
| `package-patterns...` | a list of package names, or patterns (separated by space). The patterns should be in glob format. By default, all packages are selected. |
|
|
1868
1883
|
|
|
1869
|
-
| **Option** | **Option alias** | **Description**
|
|
1870
|
-
| ---------- | :--------------: |
|
|
1871
|
-
| `--yes` | `-y` | automatically update all outdated packages
|
|
1884
|
+
| **Option** | **Option alias** | **Description** |
|
|
1885
|
+
| ---------- | :--------------: | ------------------------------------------------------------ |
|
|
1886
|
+
| `--yes` | `-y` | automatically update all outdated packages |
|
|
1887
|
+
| `--patch` | | update to the latest patch version. Semver rules are ignored |
|
|
1888
|
+
| `--minor` | | update to the latest minor version. Semver rules are ignored |
|
|
1889
|
+
| `--major` | | update to the latest major version. Semver rules are ignored |
|
|
1872
1890
|
|
|
1873
1891
|
---
|
|
1874
1892
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -1831,19 +1831,40 @@
|
|
|
1831
1831
|
"private": false
|
|
1832
1832
|
},
|
|
1833
1833
|
{
|
|
1834
|
-
"name": "update",
|
|
1834
|
+
"name": "update [package-patterns...]",
|
|
1835
1835
|
"alias": "up",
|
|
1836
1836
|
"options": [
|
|
1837
1837
|
[
|
|
1838
1838
|
"y",
|
|
1839
1839
|
"yes",
|
|
1840
1840
|
"automatically update all outdated packages"
|
|
1841
|
+
],
|
|
1842
|
+
[
|
|
1843
|
+
"",
|
|
1844
|
+
"patch",
|
|
1845
|
+
"update to the latest patch version. Semver rules are ignored"
|
|
1846
|
+
],
|
|
1847
|
+
[
|
|
1848
|
+
"",
|
|
1849
|
+
"minor",
|
|
1850
|
+
"update to the latest minor version. Semver rules are ignored"
|
|
1851
|
+
],
|
|
1852
|
+
[
|
|
1853
|
+
"",
|
|
1854
|
+
"major",
|
|
1855
|
+
"update to the latest major version. Semver rules are ignored"
|
|
1841
1856
|
]
|
|
1842
1857
|
],
|
|
1843
1858
|
"description": "update dependencies",
|
|
1844
1859
|
"extendedDescription": "",
|
|
1845
1860
|
"group": "development",
|
|
1846
|
-
"private": false
|
|
1861
|
+
"private": false,
|
|
1862
|
+
"arguments": [
|
|
1863
|
+
{
|
|
1864
|
+
"name": "package-patterns...",
|
|
1865
|
+
"description": "a list of package names, or patterns (separated by space). The patterns should be in glob format. By default, all packages are selected."
|
|
1866
|
+
}
|
|
1867
|
+
]
|
|
1847
1868
|
},
|
|
1848
1869
|
{
|
|
1849
1870
|
"name": "link [component-names...]",
|
|
@@ -3327,6 +3348,11 @@
|
|
|
3327
3348
|
"",
|
|
3328
3349
|
"resolve-unrelated [merge-strategy]",
|
|
3329
3350
|
"relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\""
|
|
3351
|
+
],
|
|
3352
|
+
[
|
|
3353
|
+
"",
|
|
3354
|
+
"include-non-lane-comps",
|
|
3355
|
+
"when merging main, include workspace components that are not on the lane (by default only lane components are merged)"
|
|
3330
3356
|
]
|
|
3331
3357
|
],
|
|
3332
3358
|
"description": "merge a local or a remote lane",
|
|
@@ -3667,6 +3693,21 @@
|
|
|
3667
3693
|
"description": "package-name. for components, you can use either component-id or package-name"
|
|
3668
3694
|
}
|
|
3669
3695
|
]
|
|
3696
|
+
},
|
|
3697
|
+
{
|
|
3698
|
+
"name": "usage <dependency-name>",
|
|
3699
|
+
"alias": "",
|
|
3700
|
+
"options": [],
|
|
3701
|
+
"description": "EXPERIMENTAL. find components that use the specified dependency",
|
|
3702
|
+
"extendedDescription": "",
|
|
3703
|
+
"group": "info",
|
|
3704
|
+
"private": false,
|
|
3705
|
+
"arguments": [
|
|
3706
|
+
{
|
|
3707
|
+
"name": "dependency-name",
|
|
3708
|
+
"description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
|
|
3709
|
+
}
|
|
3710
|
+
]
|
|
3670
3711
|
}
|
|
3671
3712
|
]
|
|
3672
3713
|
},
|
|
@@ -2568,7 +2568,39 @@ function MDXContent(_ref) {
|
|
|
2568
2568
|
}, "dependency-name")), (0, _react2.mdx)("td", {
|
|
2569
2569
|
parentName: "tr",
|
|
2570
2570
|
"align": "center"
|
|
2571
|
-
}, "package-name. for components, you can use either component-id or package-name")))), (0, _react2.mdx)("
|
|
2571
|
+
}, "package-name. for components, you can use either component-id or package-name")))), (0, _react2.mdx)("h3", null, "deps usage"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2572
|
+
parentName: "p"
|
|
2573
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
2574
|
+
parentName: "p"
|
|
2575
|
+
}, "deps usage <dependency-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2576
|
+
parentName: "p"
|
|
2577
|
+
}, "Description"), ": EXPERIMENTAL. find components that use the specified dependency"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2578
|
+
parentName: "table"
|
|
2579
|
+
}, (0, _react2.mdx)("tr", {
|
|
2580
|
+
parentName: "thead"
|
|
2581
|
+
}, (0, _react2.mdx)("th", {
|
|
2582
|
+
parentName: "tr",
|
|
2583
|
+
"align": null
|
|
2584
|
+
}, (0, _react2.mdx)("strong", {
|
|
2585
|
+
parentName: "th"
|
|
2586
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
2587
|
+
parentName: "tr",
|
|
2588
|
+
"align": "center"
|
|
2589
|
+
}, (0, _react2.mdx)("strong", {
|
|
2590
|
+
parentName: "th"
|
|
2591
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
2592
|
+
parentName: "table"
|
|
2593
|
+
}, (0, _react2.mdx)("tr", {
|
|
2594
|
+
parentName: "tbody"
|
|
2595
|
+
}, (0, _react2.mdx)("td", {
|
|
2596
|
+
parentName: "tr",
|
|
2597
|
+
"align": null
|
|
2598
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2599
|
+
parentName: "td"
|
|
2600
|
+
}, "dependency-name")), (0, _react2.mdx)("td", {
|
|
2601
|
+
parentName: "tr",
|
|
2602
|
+
"align": "center"
|
|
2603
|
+
}, "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "diff"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2572
2604
|
parentName: "p"
|
|
2573
2605
|
}, "Description"), ": show the diff between the components' source files and config", (0, _react2.mdx)("br", {
|
|
2574
2606
|
parentName: "p"
|
|
@@ -5596,7 +5628,20 @@ function MDXContent(_ref) {
|
|
|
5596
5628
|
}), (0, _react2.mdx)("td", {
|
|
5597
5629
|
parentName: "tr",
|
|
5598
5630
|
"align": null
|
|
5599
|
-
}, "relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\""))
|
|
5631
|
+
}, "relevant when a component on a lane and the component on main has nothing in common. merge-strategy can be \"ours\" (default) or \"theirs\"")), (0, _react2.mdx)("tr", {
|
|
5632
|
+
parentName: "tbody"
|
|
5633
|
+
}, (0, _react2.mdx)("td", {
|
|
5634
|
+
parentName: "tr",
|
|
5635
|
+
"align": null
|
|
5636
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5637
|
+
parentName: "td"
|
|
5638
|
+
}, "--include-non-lane-comps")), (0, _react2.mdx)("td", {
|
|
5639
|
+
parentName: "tr",
|
|
5640
|
+
"align": "center"
|
|
5641
|
+
}), (0, _react2.mdx)("td", {
|
|
5642
|
+
parentName: "tr",
|
|
5643
|
+
"align": null
|
|
5644
|
+
}, "when merging main, include workspace components that are not on the lane (by default only lane components are merged)")))), (0, _react2.mdx)("h3", null, "lane merge-abort"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5600
5645
|
parentName: "p"
|
|
5601
5646
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
5602
5647
|
parentName: "p"
|
|
@@ -9369,7 +9414,33 @@ function MDXContent(_ref) {
|
|
|
9369
9414
|
parentName: "p"
|
|
9370
9415
|
}, "Description"), ": update dependencies"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
9371
9416
|
parentName: "p"
|
|
9372
|
-
}, "bit update")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9417
|
+
}, "bit update [package-patterns...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9418
|
+
parentName: "table"
|
|
9419
|
+
}, (0, _react2.mdx)("tr", {
|
|
9420
|
+
parentName: "thead"
|
|
9421
|
+
}, (0, _react2.mdx)("th", {
|
|
9422
|
+
parentName: "tr",
|
|
9423
|
+
"align": null
|
|
9424
|
+
}, (0, _react2.mdx)("strong", {
|
|
9425
|
+
parentName: "th"
|
|
9426
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
9427
|
+
parentName: "tr",
|
|
9428
|
+
"align": "center"
|
|
9429
|
+
}, (0, _react2.mdx)("strong", {
|
|
9430
|
+
parentName: "th"
|
|
9431
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
9432
|
+
parentName: "table"
|
|
9433
|
+
}, (0, _react2.mdx)("tr", {
|
|
9434
|
+
parentName: "tbody"
|
|
9435
|
+
}, (0, _react2.mdx)("td", {
|
|
9436
|
+
parentName: "tr",
|
|
9437
|
+
"align": null
|
|
9438
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
9439
|
+
parentName: "td"
|
|
9440
|
+
}, "package-patterns...")), (0, _react2.mdx)("td", {
|
|
9441
|
+
parentName: "tr",
|
|
9442
|
+
"align": "center"
|
|
9443
|
+
}, "a list of package names, or patterns (separated by space). The patterns should be in glob format. By default, all packages are selected.")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9373
9444
|
parentName: "table"
|
|
9374
9445
|
}, (0, _react2.mdx)("tr", {
|
|
9375
9446
|
parentName: "thead"
|
|
@@ -9405,7 +9476,46 @@ function MDXContent(_ref) {
|
|
|
9405
9476
|
}, "-y")), (0, _react2.mdx)("td", {
|
|
9406
9477
|
parentName: "tr",
|
|
9407
9478
|
"align": null
|
|
9408
|
-
}, "automatically update all outdated packages"))
|
|
9479
|
+
}, "automatically update all outdated packages")), (0, _react2.mdx)("tr", {
|
|
9480
|
+
parentName: "tbody"
|
|
9481
|
+
}, (0, _react2.mdx)("td", {
|
|
9482
|
+
parentName: "tr",
|
|
9483
|
+
"align": null
|
|
9484
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
9485
|
+
parentName: "td"
|
|
9486
|
+
}, "--patch")), (0, _react2.mdx)("td", {
|
|
9487
|
+
parentName: "tr",
|
|
9488
|
+
"align": "center"
|
|
9489
|
+
}), (0, _react2.mdx)("td", {
|
|
9490
|
+
parentName: "tr",
|
|
9491
|
+
"align": null
|
|
9492
|
+
}, "update to the latest patch version. Semver rules are ignored")), (0, _react2.mdx)("tr", {
|
|
9493
|
+
parentName: "tbody"
|
|
9494
|
+
}, (0, _react2.mdx)("td", {
|
|
9495
|
+
parentName: "tr",
|
|
9496
|
+
"align": null
|
|
9497
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
9498
|
+
parentName: "td"
|
|
9499
|
+
}, "--minor")), (0, _react2.mdx)("td", {
|
|
9500
|
+
parentName: "tr",
|
|
9501
|
+
"align": "center"
|
|
9502
|
+
}), (0, _react2.mdx)("td", {
|
|
9503
|
+
parentName: "tr",
|
|
9504
|
+
"align": null
|
|
9505
|
+
}, "update to the latest minor version. Semver rules are ignored")), (0, _react2.mdx)("tr", {
|
|
9506
|
+
parentName: "tbody"
|
|
9507
|
+
}, (0, _react2.mdx)("td", {
|
|
9508
|
+
parentName: "tr",
|
|
9509
|
+
"align": null
|
|
9510
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
9511
|
+
parentName: "td"
|
|
9512
|
+
}, "--major")), (0, _react2.mdx)("td", {
|
|
9513
|
+
parentName: "tr",
|
|
9514
|
+
"align": "center"
|
|
9515
|
+
}), (0, _react2.mdx)("td", {
|
|
9516
|
+
parentName: "tr",
|
|
9517
|
+
"align": null
|
|
9518
|
+
}, "update to the latest major version. Semver rules are ignored")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "use"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
9409
9519
|
parentName: "p"
|
|
9410
9520
|
}, "Description"), ": set aspects in the workspace/scope config to make them loadable by the workspace/scope"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
9411
9521
|
parentName: "p"
|