@teambit/harmony.content.cli-reference 1.95.131 → 1.95.133
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 +11 -1
- package/cli-reference.mdx +3 -1
- package/dist/cli-reference.json +11 -1
- package/dist/cli-reference.mdx.js +29 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1679607263760.js → preview-1679974224627.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.133.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.131.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -28,6 +28,11 @@
|
|
|
28
28
|
"reset-new",
|
|
29
29
|
"reset .bitmap file as if the components were newly added and remove all model data (objects)"
|
|
30
30
|
],
|
|
31
|
+
[
|
|
32
|
+
"",
|
|
33
|
+
"reset-lane-new",
|
|
34
|
+
"same as reset-new, but it only reset components belong to lanes. main components are left intact"
|
|
35
|
+
],
|
|
31
36
|
[
|
|
32
37
|
"",
|
|
33
38
|
"reset-hard",
|
|
@@ -2750,10 +2755,15 @@
|
|
|
2750
2755
|
"name": "create <lane-name>",
|
|
2751
2756
|
"alias": "",
|
|
2752
2757
|
"options": [
|
|
2758
|
+
[
|
|
2759
|
+
"s",
|
|
2760
|
+
"scope <scope-name>",
|
|
2761
|
+
"remote scope where this lane will be exported to, default to the defaultScope (can be changed later with \"bit lane change-scope\")"
|
|
2762
|
+
],
|
|
2753
2763
|
[
|
|
2754
2764
|
"",
|
|
2755
2765
|
"remote-scope <scope-name>",
|
|
2756
|
-
"
|
|
2766
|
+
"DEPRECATED. use --scope"
|
|
2757
2767
|
],
|
|
2758
2768
|
[
|
|
2759
2769
|
"",
|
package/cli-reference.mdx
CHANGED
|
@@ -711,6 +711,7 @@ https://bit.dev/docs/workspace/creating-workspaces#initialize-a-workspace-on-an-
|
|
|
711
711
|
| `--standalone` | `-T` | do not nest component store within .git directory and do not write config data inside package.json |
|
|
712
712
|
| `--reset` | `-r` | write missing or damaged Bit files |
|
|
713
713
|
| `--reset-new` | | reset .bitmap file as if the components were newly added and remove all model data (objects) |
|
|
714
|
+
| `--reset-lane-new` | | same as reset-new, but it only reset components belong to lanes. main components are left intact |
|
|
714
715
|
| `--reset-hard` | | delete all Bit files and directories, including Bit configuration, tracking and model data. Useful for re-start using Bit from scratch |
|
|
715
716
|
| `--reset-scope` | | removes local scope (.bit or .git/bit). snaps that were not exported will be lost. workspace left intact |
|
|
716
717
|
| `--default-directory <default-directory>` | `-d` | set up default directory to import components into |
|
|
@@ -800,7 +801,8 @@ a lane created from another lane has all the components of the original lane.
|
|
|
800
801
|
|
|
801
802
|
| **Option** | **Option alias** | **Description** |
|
|
802
803
|
| ----------------------------- | :--------------: | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
803
|
-
| `--
|
|
804
|
+
| `--scope <scope-name>` | `-s` | remote scope where this lane will be exported to, default to the defaultScope (can be changed later with "bit lane change-scope") |
|
|
805
|
+
| `--remote-scope <scope-name>` | | DEPRECATED. use --scope |
|
|
804
806
|
| `--alias <name>` | | a local alias to refer to this lane, defaults to the `<lane-name>` (can be added later with "bit lane alias") |
|
|
805
807
|
|
|
806
808
|
### lane remove
|
package/dist/cli-reference.json
CHANGED
|
@@ -28,6 +28,11 @@
|
|
|
28
28
|
"reset-new",
|
|
29
29
|
"reset .bitmap file as if the components were newly added and remove all model data (objects)"
|
|
30
30
|
],
|
|
31
|
+
[
|
|
32
|
+
"",
|
|
33
|
+
"reset-lane-new",
|
|
34
|
+
"same as reset-new, but it only reset components belong to lanes. main components are left intact"
|
|
35
|
+
],
|
|
31
36
|
[
|
|
32
37
|
"",
|
|
33
38
|
"reset-hard",
|
|
@@ -2750,10 +2755,15 @@
|
|
|
2750
2755
|
"name": "create <lane-name>",
|
|
2751
2756
|
"alias": "",
|
|
2752
2757
|
"options": [
|
|
2758
|
+
[
|
|
2759
|
+
"s",
|
|
2760
|
+
"scope <scope-name>",
|
|
2761
|
+
"remote scope where this lane will be exported to, default to the defaultScope (can be changed later with \"bit lane change-scope\")"
|
|
2762
|
+
],
|
|
2753
2763
|
[
|
|
2754
2764
|
"",
|
|
2755
2765
|
"remote-scope <scope-name>",
|
|
2756
|
-
"
|
|
2766
|
+
"DEPRECATED. use --scope"
|
|
2757
2767
|
],
|
|
2758
2768
|
[
|
|
2759
2769
|
"",
|
|
@@ -3054,6 +3054,19 @@ function MDXContent(_ref) {
|
|
|
3054
3054
|
"align": null
|
|
3055
3055
|
}, (0, _react2.mdx)("inlineCode", {
|
|
3056
3056
|
parentName: "td"
|
|
3057
|
+
}, "--reset-lane-new")), (0, _react2.mdx)("td", {
|
|
3058
|
+
parentName: "tr",
|
|
3059
|
+
"align": "center"
|
|
3060
|
+
}), (0, _react2.mdx)("td", {
|
|
3061
|
+
parentName: "tr",
|
|
3062
|
+
"align": null
|
|
3063
|
+
}, "same as reset-new, but it only reset components belong to lanes. main components are left intact")), (0, _react2.mdx)("tr", {
|
|
3064
|
+
parentName: "tbody"
|
|
3065
|
+
}, (0, _react2.mdx)("td", {
|
|
3066
|
+
parentName: "tr",
|
|
3067
|
+
"align": null
|
|
3068
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3069
|
+
parentName: "td"
|
|
3057
3070
|
}, "--reset-hard")), (0, _react2.mdx)("td", {
|
|
3058
3071
|
parentName: "tr",
|
|
3059
3072
|
"align": "center"
|
|
@@ -3627,13 +3640,28 @@ function MDXContent(_ref) {
|
|
|
3627
3640
|
"align": null
|
|
3628
3641
|
}, (0, _react2.mdx)("inlineCode", {
|
|
3629
3642
|
parentName: "td"
|
|
3643
|
+
}, "--scope <scope-name>")), (0, _react2.mdx)("td", {
|
|
3644
|
+
parentName: "tr",
|
|
3645
|
+
"align": "center"
|
|
3646
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3647
|
+
parentName: "td"
|
|
3648
|
+
}, "-s")), (0, _react2.mdx)("td", {
|
|
3649
|
+
parentName: "tr",
|
|
3650
|
+
"align": null
|
|
3651
|
+
}, "remote scope where this lane will be exported to, default to the defaultScope (can be changed later with \"bit lane change-scope\")")), (0, _react2.mdx)("tr", {
|
|
3652
|
+
parentName: "tbody"
|
|
3653
|
+
}, (0, _react2.mdx)("td", {
|
|
3654
|
+
parentName: "tr",
|
|
3655
|
+
"align": null
|
|
3656
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3657
|
+
parentName: "td"
|
|
3630
3658
|
}, "--remote-scope <scope-name>")), (0, _react2.mdx)("td", {
|
|
3631
3659
|
parentName: "tr",
|
|
3632
3660
|
"align": "center"
|
|
3633
3661
|
}), (0, _react2.mdx)("td", {
|
|
3634
3662
|
parentName: "tr",
|
|
3635
3663
|
"align": null
|
|
3636
|
-
}, "
|
|
3664
|
+
}, "DEPRECATED. use --scope")), (0, _react2.mdx)("tr", {
|
|
3637
3665
|
parentName: "tbody"
|
|
3638
3666
|
}, (0, _react2.mdx)("td", {
|
|
3639
3667
|
parentName: "tr",
|