@teambit/harmony.content.cli-reference 1.95.105 → 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.
- package/cli-reference.json +52 -1
- package/cli-reference.mdx +26 -1
- package/dist/cli-reference.json +52 -1
- package/dist/cli-reference.mdx.js +59 -3
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1673061945261.js → preview-1673347296243.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.106.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.105.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -2960,11 +2960,41 @@
|
|
|
2960
2960
|
}
|
|
2961
2961
|
]
|
|
2962
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
|
+
},
|
|
2963
2993
|
{
|
|
2964
2994
|
"name": "blame <component-name> <dependency-name>",
|
|
2965
2995
|
"alias": "",
|
|
2966
2996
|
"options": [],
|
|
2967
|
-
"description": "find out which snap/tag changed a dependency version",
|
|
2997
|
+
"description": "EXPERIMENTAL. find out which snap/tag changed a dependency version",
|
|
2968
2998
|
"extendedDescription": "",
|
|
2969
2999
|
"group": "info",
|
|
2970
3000
|
"private": false,
|
|
@@ -3564,6 +3594,27 @@
|
|
|
3564
3594
|
}
|
|
3565
3595
|
]
|
|
3566
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
|
+
},
|
|
3567
3618
|
{
|
|
3568
3619
|
"name": "deprecate <component-name>",
|
|
3569
3620
|
"alias": "d",
|
package/cli-reference.mdx
CHANGED
|
@@ -424,11 +424,23 @@ 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
|
+
|
|
427
439
|
### deps blame
|
|
428
440
|
|
|
429
441
|
**Usage**: `deps blame <component-name> <dependency-name>`
|
|
430
442
|
|
|
431
|
-
**Description**: find out which snap/tag changed a dependency version
|
|
443
|
+
**Description**: EXPERIMENTAL. find out which snap/tag changed a dependency version
|
|
432
444
|
|
|
433
445
|
---
|
|
434
446
|
|
|
@@ -791,6 +803,19 @@ https://bit.dev/docs/reference/cli-reference#log
|
|
|
791
803
|
|
|
792
804
|
---
|
|
793
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 |
|
|
816
|
+
|
|
817
|
+
---
|
|
818
|
+
|
|
794
819
|
## login
|
|
795
820
|
|
|
796
821
|
**Workspace only**: no
|
package/dist/cli-reference.json
CHANGED
|
@@ -2960,11 +2960,41 @@
|
|
|
2960
2960
|
}
|
|
2961
2961
|
]
|
|
2962
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
|
+
},
|
|
2963
2993
|
{
|
|
2964
2994
|
"name": "blame <component-name> <dependency-name>",
|
|
2965
2995
|
"alias": "",
|
|
2966
2996
|
"options": [],
|
|
2967
|
-
"description": "find out which snap/tag changed a dependency version",
|
|
2997
|
+
"description": "EXPERIMENTAL. find out which snap/tag changed a dependency version",
|
|
2968
2998
|
"extendedDescription": "",
|
|
2969
2999
|
"group": "info",
|
|
2970
3000
|
"private": false,
|
|
@@ -3564,6 +3594,27 @@
|
|
|
3564
3594
|
}
|
|
3565
3595
|
]
|
|
3566
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
|
+
},
|
|
3567
3618
|
{
|
|
3568
3619
|
"name": "deprecate <component-name>",
|
|
3569
3620
|
"alias": "d",
|
|
@@ -1787,13 +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)("h3", null, "deps
|
|
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", {
|
|
1791
1803
|
parentName: "p"
|
|
1792
1804
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1793
1805
|
parentName: "p"
|
|
1794
1806
|
}, "deps blame <component-name> <dependency-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1795
1807
|
parentName: "p"
|
|
1796
|
-
}, "Description"), ": 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", {
|
|
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", {
|
|
1797
1809
|
parentName: "p"
|
|
1798
1810
|
}, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
|
|
1799
1811
|
parentName: "p"
|
|
@@ -3643,7 +3655,51 @@ function MDXContent(_ref) {
|
|
|
3643
3655
|
}, "-j")), (0, _react2.mdx)("td", {
|
|
3644
3656
|
parentName: "tr",
|
|
3645
3657
|
"align": null
|
|
3646
|
-
}, "json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
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", {
|
|
3647
3703
|
parentName: "p"
|
|
3648
3704
|
}, "Workspace only"), ": no", (0, _react2.mdx)("br", {
|
|
3649
3705
|
parentName: "p"
|