@teambit/harmony.content.cli-reference 1.95.130 → 1.95.132
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 +10 -0
- package/cli-reference.mdx +2 -0
- package/dist/cli-reference.json +10 -0
- package/dist/cli-reference.mdx.js +27 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1679542267429.js → preview-1679887855248.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.132.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.130.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",
|
|
@@ -3971,6 +3976,11 @@
|
|
|
3971
3976
|
"r",
|
|
3972
3977
|
"refactor",
|
|
3973
3978
|
"update the import/require statements in all dependent components (in the same workspace)"
|
|
3979
|
+
],
|
|
3980
|
+
[
|
|
3981
|
+
"",
|
|
3982
|
+
"preserve",
|
|
3983
|
+
"avoid renaming files and variables/classes according to the new component name"
|
|
3974
3984
|
]
|
|
3975
3985
|
],
|
|
3976
3986
|
"description": "EXPERIMENTAL. rename component. if tagged/exported, create a new component and deprecate the original component",
|
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 |
|
|
@@ -1165,6 +1166,7 @@ for example: "http://localhost:3000", "file:///tmp/local-scope"
|
|
|
1165
1166
|
| `--scope <scope-name>` | `-s` | default scope for the newly created component |
|
|
1166
1167
|
| `--path <relative-path>` | `-p` | relative path in the workspace. by default the path is `<scope>/<namespace>/<name>` |
|
|
1167
1168
|
| `--refactor` | `-r` | update the import/require statements in all dependent components (in the same workspace) |
|
|
1169
|
+
| `--preserve` | | avoid renaming files and variables/classes according to the new component name |
|
|
1168
1170
|
|
|
1169
1171
|
---
|
|
1170
1172
|
|
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",
|
|
@@ -3971,6 +3976,11 @@
|
|
|
3971
3976
|
"r",
|
|
3972
3977
|
"refactor",
|
|
3973
3978
|
"update the import/require statements in all dependent components (in the same workspace)"
|
|
3979
|
+
],
|
|
3980
|
+
[
|
|
3981
|
+
"",
|
|
3982
|
+
"preserve",
|
|
3983
|
+
"avoid renaming files and variables/classes according to the new component name"
|
|
3974
3984
|
]
|
|
3975
3985
|
],
|
|
3976
3986
|
"description": "EXPERIMENTAL. rename component. if tagged/exported, create a new component and deprecate the original component",
|
|
@@ -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"
|
|
@@ -5445,7 +5458,20 @@ function MDXContent(_ref) {
|
|
|
5445
5458
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
5446
5459
|
parentName: "tr",
|
|
5447
5460
|
"align": null
|
|
5448
|
-
}, "update the import/require statements in all dependent components (in the same workspace)"))
|
|
5461
|
+
}, "update the import/require statements in all dependent components (in the same workspace)")), (0, _react2.mdx)("tr", {
|
|
5462
|
+
parentName: "tbody"
|
|
5463
|
+
}, (0, _react2.mdx)("td", {
|
|
5464
|
+
parentName: "tr",
|
|
5465
|
+
"align": null
|
|
5466
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5467
|
+
parentName: "td"
|
|
5468
|
+
}, "--preserve")), (0, _react2.mdx)("td", {
|
|
5469
|
+
parentName: "tr",
|
|
5470
|
+
"align": "center"
|
|
5471
|
+
}), (0, _react2.mdx)("td", {
|
|
5472
|
+
parentName: "tr",
|
|
5473
|
+
"align": null
|
|
5474
|
+
}, "avoid renaming files and variables/classes according to the new component name")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "reset"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5449
5475
|
parentName: "p"
|
|
5450
5476
|
}, "Description"), ": revert tagged or snapped versions for component(s)", (0, _react2.mdx)("br", {
|
|
5451
5477
|
parentName: "p"
|