@teambit/harmony.content.cli-reference 1.95.104 → 1.95.106

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.
@@ -2959,6 +2959,51 @@
2959
2959
  "description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
2960
2960
  }
2961
2961
  ]
2962
+ },
2963
+ {
2964
+ "name": "reset <component-pattern>",
2965
+ "alias": "",
2966
+ "options": [],
2967
+ "description": "reset dependencies to the default values (revert any previously \"bit deps set\")",
2968
+ "extendedDescription": "",
2969
+ "group": "info",
2970
+ "private": false,
2971
+ "arguments": [
2972
+ {
2973
+ "name": "component-pattern",
2974
+ "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"
2975
+ }
2976
+ ]
2977
+ },
2978
+ {
2979
+ "name": "eject <component-pattern>",
2980
+ "alias": "",
2981
+ "options": [],
2982
+ "description": "write dependencies that were previously set via \"bit deps set\" into .bitmap",
2983
+ "extendedDescription": "",
2984
+ "group": "info",
2985
+ "private": false,
2986
+ "arguments": [
2987
+ {
2988
+ "name": "component-pattern",
2989
+ "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"
2990
+ }
2991
+ ]
2992
+ },
2993
+ {
2994
+ "name": "blame <component-name> <dependency-name>",
2995
+ "alias": "",
2996
+ "options": [],
2997
+ "description": "EXPERIMENTAL. find out which snap/tag changed a dependency version",
2998
+ "extendedDescription": "",
2999
+ "group": "info",
3000
+ "private": false,
3001
+ "arguments": [
3002
+ {
3003
+ "name": "dependency-name",
3004
+ "description": "package-name. for components, you can use either component-id or package-name"
3005
+ }
3006
+ ]
2962
3007
  }
2963
3008
  ]
2964
3009
  },
@@ -3525,6 +3570,11 @@
3525
3570
  "parents",
3526
3571
  "EXPERIMENTAL. show parents and lanes data"
3527
3572
  ],
3573
+ [
3574
+ "o",
3575
+ "one-line",
3576
+ "show each log entry in one line"
3577
+ ],
3528
3578
  [
3529
3579
  "j",
3530
3580
  "json",
@@ -3544,6 +3594,27 @@
3544
3594
  }
3545
3595
  ]
3546
3596
  },
3597
+ {
3598
+ "name": "log-file <filepath>",
3599
+ "alias": "",
3600
+ "options": [
3601
+ [
3602
+ "o",
3603
+ "one-line",
3604
+ "show each log entry in one line"
3605
+ ]
3606
+ ],
3607
+ "description": "EXPERIMENTAL. show file history",
3608
+ "extendedDescription": "",
3609
+ "group": "info",
3610
+ "private": false,
3611
+ "arguments": [
3612
+ {
3613
+ "name": "filepath",
3614
+ "description": "file path relative to the workspace"
3615
+ }
3616
+ ]
3617
+ },
3547
3618
  {
3548
3619
  "name": "deprecate <component-name>",
3549
3620
  "alias": "d",
package/cli-reference.mdx CHANGED
@@ -424,6 +424,24 @@ https://bit.dev/docs/config/bit-config
424
424
  | `--dev` | `-d` | add to the devDependencies |
425
425
  | `--peer` | `-p` | add to the peerDependencies |
426
426
 
427
+ ### deps reset
428
+
429
+ **Usage**: `deps reset <component-pattern>`
430
+
431
+ **Description**: reset dependencies to the default values (revert any previously "bit deps set")
432
+
433
+ ### deps eject
434
+
435
+ **Usage**: `deps eject <component-pattern>`
436
+
437
+ **Description**: write dependencies that were previously set via "bit deps set" into .bitmap
438
+
439
+ ### deps blame
440
+
441
+ **Usage**: `deps blame <component-name> <dependency-name>`
442
+
443
+ **Description**: EXPERIMENTAL. find out which snap/tag changed a dependency version
444
+
427
445
  ---
428
446
 
429
447
  ## diff
@@ -776,11 +794,25 @@ https://bit.dev/docs/reference/cli-reference#log
776
794
 
777
795
  `bit log <id>`
778
796
 
779
- | **Option** | **Option alias** | **Description** |
780
- | ----------- | :--------------: | ----------------------------------------- |
781
- | `--remote` | `-r` | show log of a remote component |
782
- | `--parents` | | EXPERIMENTAL. show parents and lanes data |
783
- | `--json` | `-j` | json format |
797
+ | **Option** | **Option alias** | **Description** |
798
+ | ------------ | :--------------: | ----------------------------------------- |
799
+ | `--remote` | `-r` | show log of a remote component |
800
+ | `--parents` | | EXPERIMENTAL. show parents and lanes data |
801
+ | `--one-line` | `-o` | show each log entry in one line |
802
+ | `--json` | `-j` | json format |
803
+
804
+ ---
805
+
806
+ ## log-file
807
+
808
+ **Workspace only**: yes
809
+ **Description**: EXPERIMENTAL. show file history
810
+
811
+ `bit log-file <filepath>`
812
+
813
+ | **Option** | **Option alias** | **Description** |
814
+ | ------------ | :--------------: | ------------------------------- |
815
+ | `--one-line` | `-o` | show each log entry in one line |
784
816
 
785
817
  ---
786
818
 
@@ -2959,6 +2959,51 @@
2959
2959
  "description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
2960
2960
  }
2961
2961
  ]
2962
+ },
2963
+ {
2964
+ "name": "reset <component-pattern>",
2965
+ "alias": "",
2966
+ "options": [],
2967
+ "description": "reset dependencies to the default values (revert any previously \"bit deps set\")",
2968
+ "extendedDescription": "",
2969
+ "group": "info",
2970
+ "private": false,
2971
+ "arguments": [
2972
+ {
2973
+ "name": "component-pattern",
2974
+ "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"
2975
+ }
2976
+ ]
2977
+ },
2978
+ {
2979
+ "name": "eject <component-pattern>",
2980
+ "alias": "",
2981
+ "options": [],
2982
+ "description": "write dependencies that were previously set via \"bit deps set\" into .bitmap",
2983
+ "extendedDescription": "",
2984
+ "group": "info",
2985
+ "private": false,
2986
+ "arguments": [
2987
+ {
2988
+ "name": "component-pattern",
2989
+ "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"
2990
+ }
2991
+ ]
2992
+ },
2993
+ {
2994
+ "name": "blame <component-name> <dependency-name>",
2995
+ "alias": "",
2996
+ "options": [],
2997
+ "description": "EXPERIMENTAL. find out which snap/tag changed a dependency version",
2998
+ "extendedDescription": "",
2999
+ "group": "info",
3000
+ "private": false,
3001
+ "arguments": [
3002
+ {
3003
+ "name": "dependency-name",
3004
+ "description": "package-name. for components, you can use either component-id or package-name"
3005
+ }
3006
+ ]
2962
3007
  }
2963
3008
  ]
2964
3009
  },
@@ -3525,6 +3570,11 @@
3525
3570
  "parents",
3526
3571
  "EXPERIMENTAL. show parents and lanes data"
3527
3572
  ],
3573
+ [
3574
+ "o",
3575
+ "one-line",
3576
+ "show each log entry in one line"
3577
+ ],
3528
3578
  [
3529
3579
  "j",
3530
3580
  "json",
@@ -3544,6 +3594,27 @@
3544
3594
  }
3545
3595
  ]
3546
3596
  },
3597
+ {
3598
+ "name": "log-file <filepath>",
3599
+ "alias": "",
3600
+ "options": [
3601
+ [
3602
+ "o",
3603
+ "one-line",
3604
+ "show each log entry in one line"
3605
+ ]
3606
+ ],
3607
+ "description": "EXPERIMENTAL. show file history",
3608
+ "extendedDescription": "",
3609
+ "group": "info",
3610
+ "private": false,
3611
+ "arguments": [
3612
+ {
3613
+ "name": "filepath",
3614
+ "description": "file path relative to the workspace"
3615
+ }
3616
+ ]
3617
+ },
3547
3618
  {
3548
3619
  "name": "deprecate <component-name>",
3549
3620
  "alias": "d",
@@ -1787,7 +1787,25 @@ function MDXContent(_ref) {
1787
1787
  }, "-p")), (0, _react2.mdx)("td", {
1788
1788
  parentName: "tr",
1789
1789
  "align": null
1790
- }, "add to the peerDependencies")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "diff"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1790
+ }, "add to the peerDependencies")))), (0, _react2.mdx)("h3", null, "deps reset"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1791
+ parentName: "p"
1792
+ }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1793
+ parentName: "p"
1794
+ }, "deps reset <component-pattern>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1795
+ parentName: "p"
1796
+ }, "Description"), ": reset dependencies to the default values (revert any previously \"bit deps set\")"), (0, _react2.mdx)("h3", null, "deps eject"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1797
+ parentName: "p"
1798
+ }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1799
+ parentName: "p"
1800
+ }, "deps eject <component-pattern>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1801
+ parentName: "p"
1802
+ }, "Description"), ": write dependencies that were previously set via \"bit deps set\" into .bitmap"), (0, _react2.mdx)("h3", null, "deps blame"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1803
+ parentName: "p"
1804
+ }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
1805
+ parentName: "p"
1806
+ }, "deps blame <component-name> <dependency-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1807
+ parentName: "p"
1808
+ }, "Description"), ": EXPERIMENTAL. find out which snap/tag changed a dependency version"), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "diff"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
1791
1809
  parentName: "p"
1792
1810
  }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
1793
1811
  parentName: "p"
@@ -3614,6 +3632,21 @@ function MDXContent(_ref) {
3614
3632
  "align": null
3615
3633
  }, (0, _react2.mdx)("inlineCode", {
3616
3634
  parentName: "td"
3635
+ }, "--one-line")), (0, _react2.mdx)("td", {
3636
+ parentName: "tr",
3637
+ "align": "center"
3638
+ }, (0, _react2.mdx)("inlineCode", {
3639
+ parentName: "td"
3640
+ }, "-o")), (0, _react2.mdx)("td", {
3641
+ parentName: "tr",
3642
+ "align": null
3643
+ }, "show each log entry in one line")), (0, _react2.mdx)("tr", {
3644
+ parentName: "tbody"
3645
+ }, (0, _react2.mdx)("td", {
3646
+ parentName: "tr",
3647
+ "align": null
3648
+ }, (0, _react2.mdx)("inlineCode", {
3649
+ parentName: "td"
3617
3650
  }, "--json")), (0, _react2.mdx)("td", {
3618
3651
  parentName: "tr",
3619
3652
  "align": "center"
@@ -3622,7 +3655,51 @@ function MDXContent(_ref) {
3622
3655
  }, "-j")), (0, _react2.mdx)("td", {
3623
3656
  parentName: "tr",
3624
3657
  "align": null
3625
- }, "json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "login"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
3658
+ }, "json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "log-file"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
3659
+ parentName: "p"
3660
+ }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
3661
+ parentName: "p"
3662
+ }), "\n", (0, _react2.mdx)("strong", {
3663
+ parentName: "p"
3664
+ }, "Description"), ": EXPERIMENTAL. show file history"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
3665
+ parentName: "p"
3666
+ }, "bit log-file <filepath>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
3667
+ parentName: "table"
3668
+ }, (0, _react2.mdx)("tr", {
3669
+ parentName: "thead"
3670
+ }, (0, _react2.mdx)("th", {
3671
+ parentName: "tr",
3672
+ "align": null
3673
+ }, (0, _react2.mdx)("strong", {
3674
+ parentName: "th"
3675
+ }, "Option")), (0, _react2.mdx)("th", {
3676
+ parentName: "tr",
3677
+ "align": "center"
3678
+ }, (0, _react2.mdx)("strong", {
3679
+ parentName: "th"
3680
+ }, "Option alias")), (0, _react2.mdx)("th", {
3681
+ parentName: "tr",
3682
+ "align": null
3683
+ }, (0, _react2.mdx)("strong", {
3684
+ parentName: "th"
3685
+ }, "Description")))), (0, _react2.mdx)("tbody", {
3686
+ parentName: "table"
3687
+ }, (0, _react2.mdx)("tr", {
3688
+ parentName: "tbody"
3689
+ }, (0, _react2.mdx)("td", {
3690
+ parentName: "tr",
3691
+ "align": null
3692
+ }, (0, _react2.mdx)("inlineCode", {
3693
+ parentName: "td"
3694
+ }, "--one-line")), (0, _react2.mdx)("td", {
3695
+ parentName: "tr",
3696
+ "align": "center"
3697
+ }, (0, _react2.mdx)("inlineCode", {
3698
+ parentName: "td"
3699
+ }, "-o")), (0, _react2.mdx)("td", {
3700
+ parentName: "tr",
3701
+ "align": null
3702
+ }, "show each log entry in one line")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "login"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
3626
3703
  parentName: "p"
3627
3704
  }, "Workspace only"), ": no", (0, _react2.mdx)("br", {
3628
3705
  parentName: "p"