@teambit/harmony.content.cli-reference 1.95.193 → 1.95.194

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.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 0.2.17'
2
+ description: 'Bit command synopses. Bit version: 0.2.18'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -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...]",
@@ -3667,6 +3688,21 @@
3667
3688
  "description": "package-name. for components, you can use either component-id or package-name"
3668
3689
  }
3669
3690
  ]
3691
+ },
3692
+ {
3693
+ "name": "usage <dependency-name>",
3694
+ "alias": "",
3695
+ "options": [],
3696
+ "description": "EXPERIMENTAL. find components that use the specified dependency",
3697
+ "extendedDescription": "",
3698
+ "group": "info",
3699
+ "private": false,
3700
+ "arguments": [
3701
+ {
3702
+ "name": "dependency-name",
3703
+ "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"
3704
+ }
3705
+ ]
3670
3706
  }
3671
3707
  ]
3672
3708
  },
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
@@ -1864,11 +1874,18 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
1864
1874
  **Alias**: `up`
1865
1875
  **Description**: update dependencies
1866
1876
 
1867
- `bit update`
1877
+ `bit update [package-patterns...]`
1878
+
1879
+ | **Arg** | **Description** |
1880
+ | --------------------- | :--------------------------------------------------------------------------------------------------------------------------------------: |
1881
+ | `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
1882
 
1869
- | **Option** | **Option alias** | **Description** |
1870
- | ---------- | :--------------: | ------------------------------------------ |
1871
- | `--yes` | `-y` | automatically update all outdated packages |
1883
+ | **Option** | **Option alias** | **Description** |
1884
+ | ---------- | :--------------: | ------------------------------------------------------------ |
1885
+ | `--yes` | `-y` | automatically update all outdated packages |
1886
+ | `--patch` | | update to the latest patch version. Semver rules are ignored |
1887
+ | `--minor` | | update to the latest minor version. Semver rules are ignored |
1888
+ | `--major` | | update to the latest major version. Semver rules are ignored |
1872
1889
 
1873
1890
  ---
1874
1891
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 0.2.17'
2
+ description: 'Bit command synopses. Bit version: 0.2.18'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -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...]",
@@ -3667,6 +3688,21 @@
3667
3688
  "description": "package-name. for components, you can use either component-id or package-name"
3668
3689
  }
3669
3690
  ]
3691
+ },
3692
+ {
3693
+ "name": "usage <dependency-name>",
3694
+ "alias": "",
3695
+ "options": [],
3696
+ "description": "EXPERIMENTAL. find components that use the specified dependency",
3697
+ "extendedDescription": "",
3698
+ "group": "info",
3699
+ "private": false,
3700
+ "arguments": [
3701
+ {
3702
+ "name": "dependency-name",
3703
+ "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"
3704
+ }
3705
+ ]
3670
3706
  }
3671
3707
  ]
3672
3708
  },
@@ -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)("hr", null), (0, _react2.mdx)("h2", null, "diff"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
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"
@@ -9369,7 +9401,33 @@ function MDXContent(_ref) {
9369
9401
  parentName: "p"
9370
9402
  }, "Description"), ": update dependencies"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
9371
9403
  parentName: "p"
9372
- }, "bit update")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9404
+ }, "bit update [package-patterns...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9405
+ parentName: "table"
9406
+ }, (0, _react2.mdx)("tr", {
9407
+ parentName: "thead"
9408
+ }, (0, _react2.mdx)("th", {
9409
+ parentName: "tr",
9410
+ "align": null
9411
+ }, (0, _react2.mdx)("strong", {
9412
+ parentName: "th"
9413
+ }, "Arg")), (0, _react2.mdx)("th", {
9414
+ parentName: "tr",
9415
+ "align": "center"
9416
+ }, (0, _react2.mdx)("strong", {
9417
+ parentName: "th"
9418
+ }, "Description")))), (0, _react2.mdx)("tbody", {
9419
+ parentName: "table"
9420
+ }, (0, _react2.mdx)("tr", {
9421
+ parentName: "tbody"
9422
+ }, (0, _react2.mdx)("td", {
9423
+ parentName: "tr",
9424
+ "align": null
9425
+ }, (0, _react2.mdx)("inlineCode", {
9426
+ parentName: "td"
9427
+ }, "package-patterns...")), (0, _react2.mdx)("td", {
9428
+ parentName: "tr",
9429
+ "align": "center"
9430
+ }, "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
9431
  parentName: "table"
9374
9432
  }, (0, _react2.mdx)("tr", {
9375
9433
  parentName: "thead"
@@ -9405,7 +9463,46 @@ function MDXContent(_ref) {
9405
9463
  }, "-y")), (0, _react2.mdx)("td", {
9406
9464
  parentName: "tr",
9407
9465
  "align": null
9408
- }, "automatically update all outdated packages")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "use"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9466
+ }, "automatically update all outdated packages")), (0, _react2.mdx)("tr", {
9467
+ parentName: "tbody"
9468
+ }, (0, _react2.mdx)("td", {
9469
+ parentName: "tr",
9470
+ "align": null
9471
+ }, (0, _react2.mdx)("inlineCode", {
9472
+ parentName: "td"
9473
+ }, "--patch")), (0, _react2.mdx)("td", {
9474
+ parentName: "tr",
9475
+ "align": "center"
9476
+ }), (0, _react2.mdx)("td", {
9477
+ parentName: "tr",
9478
+ "align": null
9479
+ }, "update to the latest patch version. Semver rules are ignored")), (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
+ }, "--minor")), (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 minor 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
+ }, "--major")), (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 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
9506
  parentName: "p"
9410
9507
  }, "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
9508
  parentName: "p"