@teambit/harmony.content.cli-reference 1.95.130 → 1.95.131

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.
@@ -3971,6 +3971,11 @@
3971
3971
  "r",
3972
3972
  "refactor",
3973
3973
  "update the import/require statements in all dependent components (in the same workspace)"
3974
+ ],
3975
+ [
3976
+ "",
3977
+ "preserve",
3978
+ "avoid renaming files and variables/classes according to the new component name"
3974
3979
  ]
3975
3980
  ],
3976
3981
  "description": "EXPERIMENTAL. rename component. if tagged/exported, create a new component and deprecate the original component",
package/cli-reference.mdx CHANGED
@@ -1165,6 +1165,7 @@ for example: "http://localhost:3000", "file:///tmp/local-scope"
1165
1165
  | `--scope <scope-name>` | `-s` | default scope for the newly created component |
1166
1166
  | `--path <relative-path>` | `-p` | relative path in the workspace. by default the path is `<scope>/<namespace>/<name>` |
1167
1167
  | `--refactor` | `-r` | update the import/require statements in all dependent components (in the same workspace) |
1168
+ | `--preserve` | | avoid renaming files and variables/classes according to the new component name |
1168
1169
 
1169
1170
  ---
1170
1171
 
@@ -3971,6 +3971,11 @@
3971
3971
  "r",
3972
3972
  "refactor",
3973
3973
  "update the import/require statements in all dependent components (in the same workspace)"
3974
+ ],
3975
+ [
3976
+ "",
3977
+ "preserve",
3978
+ "avoid renaming files and variables/classes according to the new component name"
3974
3979
  ]
3975
3980
  ],
3976
3981
  "description": "EXPERIMENTAL. rename component. if tagged/exported, create a new component and deprecate the original component",
@@ -5445,7 +5445,20 @@ function MDXContent(_ref) {
5445
5445
  }, "-r")), (0, _react2.mdx)("td", {
5446
5446
  parentName: "tr",
5447
5447
  "align": null
5448
- }, "update the import/require statements in all dependent components (in the same workspace)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "reset"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
5448
+ }, "update the import/require statements in all dependent components (in the same workspace)")), (0, _react2.mdx)("tr", {
5449
+ parentName: "tbody"
5450
+ }, (0, _react2.mdx)("td", {
5451
+ parentName: "tr",
5452
+ "align": null
5453
+ }, (0, _react2.mdx)("inlineCode", {
5454
+ parentName: "td"
5455
+ }, "--preserve")), (0, _react2.mdx)("td", {
5456
+ parentName: "tr",
5457
+ "align": "center"
5458
+ }), (0, _react2.mdx)("td", {
5459
+ parentName: "tr",
5460
+ "align": null
5461
+ }, "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
5462
  parentName: "p"
5450
5463
  }, "Description"), ": revert tagged or snapped versions for component(s)", (0, _react2.mdx)("br", {
5451
5464
  parentName: "p"