@teambit/harmony.content.cli-reference 2.0.515 → 2.0.517
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.docs.mdx +1 -1
- package/cli-reference.json +1929 -2014
- package/cli-reference.mdx +19 -19
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +1929 -2014
- package/dist/cli-reference.mdx.js +74 -74
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1736219851589.js → preview-1736392719731.js} +2 -2
- package/package.json +2 -2
|
@@ -183,7 +183,7 @@ function MDXContent(_ref) {
|
|
|
183
183
|
parentName: "p"
|
|
184
184
|
}, "Description"), ": Manages apps"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
185
185
|
parentName: "p"
|
|
186
|
-
}, "bit app
|
|
186
|
+
}, "bit app [sub-command]")), (0, _react2.mdx)("h3", null, "app list"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
187
187
|
parentName: "p"
|
|
188
188
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
189
189
|
parentName: "p"
|
|
@@ -9780,15 +9780,23 @@ function MDXContent(_ref) {
|
|
|
9780
9780
|
parentName: "td"
|
|
9781
9781
|
}, "bit pattern --help"), " to understand patterns better and ", (0, _react2.mdx)("inlineCode", {
|
|
9782
9782
|
parentName: "td"
|
|
9783
|
-
}, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("h3", null, "scope
|
|
9783
|
+
}, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("h3", null, "scope rename"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
9784
9784
|
parentName: "p"
|
|
9785
9785
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
9786
9786
|
parentName: "p"
|
|
9787
|
-
}, "scope
|
|
9787
|
+
}, "scope rename <current-scope-name> <new-scope-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
9788
9788
|
parentName: "p"
|
|
9789
|
-
}, "Description"), ":
|
|
9789
|
+
}, "Description"), ": rename the scope name for all components with the specified 'current scope name'. if exported, create new components and delete the original ones", (0, _react2.mdx)("br", {
|
|
9790
9790
|
parentName: "p"
|
|
9791
|
-
}), "\n", "
|
|
9791
|
+
}), "\n", "Note: if ", (0, _react2.mdx)("inlineCode", {
|
|
9792
|
+
parentName: "p"
|
|
9793
|
+
}, "<current-scope-name>"), " is also the defaultScope for the workspace, this command will set ", (0, _react2.mdx)("inlineCode", {
|
|
9794
|
+
parentName: "p"
|
|
9795
|
+
}, "<new-scope-name>"), (0, _react2.mdx)("br", {
|
|
9796
|
+
parentName: "p"
|
|
9797
|
+
}), "\n", "as the defaultScope instead, and that will then be set for all components by default. You may see updates in your .bitmap file", (0, _react2.mdx)("br", {
|
|
9798
|
+
parentName: "p"
|
|
9799
|
+
}), "\n", "as a result of this change"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9792
9800
|
parentName: "table"
|
|
9793
9801
|
}, (0, _react2.mdx)("tr", {
|
|
9794
9802
|
parentName: "thead"
|
|
@@ -9811,34 +9819,20 @@ function MDXContent(_ref) {
|
|
|
9811
9819
|
"align": null
|
|
9812
9820
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9813
9821
|
parentName: "td"
|
|
9814
|
-
}, "
|
|
9815
|
-
parentName: "tr",
|
|
9816
|
-
"align": "center"
|
|
9817
|
-
}, "the original scope to fork")), (0, _react2.mdx)("tr", {
|
|
9818
|
-
parentName: "tbody"
|
|
9819
|
-
}, (0, _react2.mdx)("td", {
|
|
9820
|
-
parentName: "tr",
|
|
9821
|
-
"align": null
|
|
9822
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
9823
|
-
parentName: "td"
|
|
9824
|
-
}, "new-scope")), (0, _react2.mdx)("td", {
|
|
9822
|
+
}, "current-scope-name")), (0, _react2.mdx)("td", {
|
|
9825
9823
|
parentName: "tr",
|
|
9826
9824
|
"align": "center"
|
|
9827
|
-
}, "the
|
|
9825
|
+
}, "the scope name to be replaced by another scope name")), (0, _react2.mdx)("tr", {
|
|
9828
9826
|
parentName: "tbody"
|
|
9829
9827
|
}, (0, _react2.mdx)("td", {
|
|
9830
9828
|
parentName: "tr",
|
|
9831
9829
|
"align": null
|
|
9832
9830
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9833
9831
|
parentName: "td"
|
|
9834
|
-
}, "
|
|
9832
|
+
}, "new-scope-name")), (0, _react2.mdx)("td", {
|
|
9835
9833
|
parentName: "tr",
|
|
9836
9834
|
"align": "center"
|
|
9837
|
-
}, "
|
|
9838
|
-
parentName: "td"
|
|
9839
|
-
}, "bit pattern --help"), " to understand patterns better and ", (0, _react2.mdx)("inlineCode", {
|
|
9840
|
-
parentName: "td"
|
|
9841
|
-
}, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9835
|
+
}, "a new scope name to replace the current scope name")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9842
9836
|
parentName: "table"
|
|
9843
9837
|
}, (0, _react2.mdx)("tr", {
|
|
9844
9838
|
parentName: "thead"
|
|
@@ -9866,44 +9860,47 @@ function MDXContent(_ref) {
|
|
|
9866
9860
|
"align": null
|
|
9867
9861
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9868
9862
|
parentName: "td"
|
|
9869
|
-
}, "--
|
|
9863
|
+
}, "--preserve")), (0, _react2.mdx)("td", {
|
|
9870
9864
|
parentName: "tr",
|
|
9871
9865
|
"align": "center"
|
|
9872
9866
|
}), (0, _react2.mdx)("td", {
|
|
9873
9867
|
parentName: "tr",
|
|
9874
9868
|
"align": null
|
|
9875
|
-
}, "
|
|
9869
|
+
}, "avoid renaming files and variables/classes according to the new scope name")), (0, _react2.mdx)("tr", {
|
|
9876
9870
|
parentName: "tbody"
|
|
9877
9871
|
}, (0, _react2.mdx)("td", {
|
|
9878
9872
|
parentName: "tr",
|
|
9879
9873
|
"align": null
|
|
9880
9874
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9881
9875
|
parentName: "td"
|
|
9882
|
-
}, "--
|
|
9876
|
+
}, "--refactor")), (0, _react2.mdx)("td", {
|
|
9883
9877
|
parentName: "tr",
|
|
9884
9878
|
"align": "center"
|
|
9885
9879
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9886
9880
|
parentName: "td"
|
|
9887
|
-
}, "-
|
|
9881
|
+
}, "-r")), (0, _react2.mdx)("td", {
|
|
9888
9882
|
parentName: "tr",
|
|
9889
9883
|
"align": null
|
|
9890
|
-
}, "
|
|
9884
|
+
}, "update the import statements in all dependent components to the new package name (i.e. with the new scope name)")), (0, _react2.mdx)("tr", {
|
|
9885
|
+
parentName: "tbody"
|
|
9886
|
+
}, (0, _react2.mdx)("td", {
|
|
9887
|
+
parentName: "tr",
|
|
9888
|
+
"align": null
|
|
9889
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
9890
|
+
parentName: "td"
|
|
9891
|
+
}, "--deprecate")), (0, _react2.mdx)("td", {
|
|
9892
|
+
parentName: "tr",
|
|
9893
|
+
"align": "center"
|
|
9894
|
+
}), (0, _react2.mdx)("td", {
|
|
9895
|
+
parentName: "tr",
|
|
9896
|
+
"align": null
|
|
9897
|
+
}, "for exported components, instead of deleting the original components, deprecating them")))), (0, _react2.mdx)("h3", null, "scope rename-owner"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
9891
9898
|
parentName: "p"
|
|
9892
9899
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
9893
9900
|
parentName: "p"
|
|
9894
|
-
}, "scope rename <current-
|
|
9895
|
-
parentName: "p"
|
|
9896
|
-
}, "Description"), ": rename the scope name for all components with the specified 'current scope name'. if exported, create new components and delete the original ones", (0, _react2.mdx)("br", {
|
|
9897
|
-
parentName: "p"
|
|
9898
|
-
}), "\n", "Note: if ", (0, _react2.mdx)("inlineCode", {
|
|
9899
|
-
parentName: "p"
|
|
9900
|
-
}, "<current-scope-name>"), " is also the defaultScope for the workspace, this command will set ", (0, _react2.mdx)("inlineCode", {
|
|
9901
|
-
parentName: "p"
|
|
9902
|
-
}, "<new-scope-name>"), (0, _react2.mdx)("br", {
|
|
9903
|
-
parentName: "p"
|
|
9904
|
-
}), "\n", "as the defaultScope instead, and that will then be set for all components by default. You may see updates in your .bitmap file", (0, _react2.mdx)("br", {
|
|
9901
|
+
}, "scope rename-owner <current-owner-name> <new-owner-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
9905
9902
|
parentName: "p"
|
|
9906
|
-
}
|
|
9903
|
+
}, "Description"), ": Renames the owner part of the scope-name for all components with the specified 'current owner name'"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9907
9904
|
parentName: "table"
|
|
9908
9905
|
}, (0, _react2.mdx)("tr", {
|
|
9909
9906
|
parentName: "thead"
|
|
@@ -9926,20 +9923,20 @@ function MDXContent(_ref) {
|
|
|
9926
9923
|
"align": null
|
|
9927
9924
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9928
9925
|
parentName: "td"
|
|
9929
|
-
}, "current-
|
|
9926
|
+
}, "current-owner-name")), (0, _react2.mdx)("td", {
|
|
9930
9927
|
parentName: "tr",
|
|
9931
9928
|
"align": "center"
|
|
9932
|
-
}, "the
|
|
9929
|
+
}, "the owner name to be replaced by another owner name")), (0, _react2.mdx)("tr", {
|
|
9933
9930
|
parentName: "tbody"
|
|
9934
9931
|
}, (0, _react2.mdx)("td", {
|
|
9935
9932
|
parentName: "tr",
|
|
9936
9933
|
"align": null
|
|
9937
9934
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9938
9935
|
parentName: "td"
|
|
9939
|
-
}, "new-
|
|
9936
|
+
}, "new-owner-name")), (0, _react2.mdx)("td", {
|
|
9940
9937
|
parentName: "tr",
|
|
9941
9938
|
"align": "center"
|
|
9942
|
-
}, "a new
|
|
9939
|
+
}, "a new owner name to replace the current owner name")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
9943
9940
|
parentName: "table"
|
|
9944
9941
|
}, (0, _react2.mdx)("tr", {
|
|
9945
9942
|
parentName: "thead"
|
|
@@ -9967,19 +9964,6 @@ function MDXContent(_ref) {
|
|
|
9967
9964
|
"align": null
|
|
9968
9965
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9969
9966
|
parentName: "td"
|
|
9970
|
-
}, "--preserve")), (0, _react2.mdx)("td", {
|
|
9971
|
-
parentName: "tr",
|
|
9972
|
-
"align": "center"
|
|
9973
|
-
}), (0, _react2.mdx)("td", {
|
|
9974
|
-
parentName: "tr",
|
|
9975
|
-
"align": null
|
|
9976
|
-
}, "avoid renaming files and variables/classes according to the new scope name")), (0, _react2.mdx)("tr", {
|
|
9977
|
-
parentName: "tbody"
|
|
9978
|
-
}, (0, _react2.mdx)("td", {
|
|
9979
|
-
parentName: "tr",
|
|
9980
|
-
"align": null
|
|
9981
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
9982
|
-
parentName: "td"
|
|
9983
9967
|
}, "--refactor")), (0, _react2.mdx)("td", {
|
|
9984
9968
|
parentName: "tr",
|
|
9985
9969
|
"align": "center"
|
|
@@ -9988,26 +9972,28 @@ function MDXContent(_ref) {
|
|
|
9988
9972
|
}, "-r")), (0, _react2.mdx)("td", {
|
|
9989
9973
|
parentName: "tr",
|
|
9990
9974
|
"align": null
|
|
9991
|
-
}, "update the import statements in all dependent components to the new package name (
|
|
9975
|
+
}, "update the import statements in all dependent components to the new package name (that contains the new owner name)")), (0, _react2.mdx)("tr", {
|
|
9992
9976
|
parentName: "tbody"
|
|
9993
9977
|
}, (0, _react2.mdx)("td", {
|
|
9994
9978
|
parentName: "tr",
|
|
9995
9979
|
"align": null
|
|
9996
9980
|
}, (0, _react2.mdx)("inlineCode", {
|
|
9997
9981
|
parentName: "td"
|
|
9998
|
-
}, "--
|
|
9982
|
+
}, "--ast")), (0, _react2.mdx)("td", {
|
|
9999
9983
|
parentName: "tr",
|
|
10000
9984
|
"align": "center"
|
|
10001
9985
|
}), (0, _react2.mdx)("td", {
|
|
10002
9986
|
parentName: "tr",
|
|
10003
9987
|
"align": null
|
|
10004
|
-
}, "
|
|
9988
|
+
}, "use ast to transform files instead of regex")))), (0, _react2.mdx)("h3", null, "scope fork"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10005
9989
|
parentName: "p"
|
|
10006
9990
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
10007
9991
|
parentName: "p"
|
|
10008
|
-
}, "scope
|
|
9992
|
+
}, "scope fork <original-scope> [new-scope] [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10009
9993
|
parentName: "p"
|
|
10010
|
-
}, "Description"), ":
|
|
9994
|
+
}, "Description"), ": fork all components of the original-scope and refactor the source-code to use the new scope name", (0, _react2.mdx)("br", {
|
|
9995
|
+
parentName: "p"
|
|
9996
|
+
}), "\n", "optionally, provide ", "[pattern]", " to limit the fork to specific components"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
10011
9997
|
parentName: "table"
|
|
10012
9998
|
}, (0, _react2.mdx)("tr", {
|
|
10013
9999
|
parentName: "thead"
|
|
@@ -10030,20 +10016,34 @@ function MDXContent(_ref) {
|
|
|
10030
10016
|
"align": null
|
|
10031
10017
|
}, (0, _react2.mdx)("inlineCode", {
|
|
10032
10018
|
parentName: "td"
|
|
10033
|
-
}, "
|
|
10019
|
+
}, "original-scope")), (0, _react2.mdx)("td", {
|
|
10034
10020
|
parentName: "tr",
|
|
10035
10021
|
"align": "center"
|
|
10036
|
-
}, "the
|
|
10022
|
+
}, "the original scope to fork")), (0, _react2.mdx)("tr", {
|
|
10037
10023
|
parentName: "tbody"
|
|
10038
10024
|
}, (0, _react2.mdx)("td", {
|
|
10039
10025
|
parentName: "tr",
|
|
10040
10026
|
"align": null
|
|
10041
10027
|
}, (0, _react2.mdx)("inlineCode", {
|
|
10042
10028
|
parentName: "td"
|
|
10043
|
-
}, "new-
|
|
10029
|
+
}, "new-scope")), (0, _react2.mdx)("td", {
|
|
10044
10030
|
parentName: "tr",
|
|
10045
10031
|
"align": "center"
|
|
10046
|
-
}, "
|
|
10032
|
+
}, "the new scope to fork to, default to the default-scope of the workspace")), (0, _react2.mdx)("tr", {
|
|
10033
|
+
parentName: "tbody"
|
|
10034
|
+
}, (0, _react2.mdx)("td", {
|
|
10035
|
+
parentName: "tr",
|
|
10036
|
+
"align": null
|
|
10037
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
10038
|
+
parentName: "td"
|
|
10039
|
+
}, "pattern")), (0, _react2.mdx)("td", {
|
|
10040
|
+
parentName: "tr",
|
|
10041
|
+
"align": "center"
|
|
10042
|
+
}, "component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use ", (0, _react2.mdx)("inlineCode", {
|
|
10043
|
+
parentName: "td"
|
|
10044
|
+
}, "bit pattern --help"), " to understand patterns better and ", (0, _react2.mdx)("inlineCode", {
|
|
10045
|
+
parentName: "td"
|
|
10046
|
+
}, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
10047
10047
|
parentName: "table"
|
|
10048
10048
|
}, (0, _react2.mdx)("tr", {
|
|
10049
10049
|
parentName: "thead"
|
|
@@ -10071,28 +10071,28 @@ function MDXContent(_ref) {
|
|
|
10071
10071
|
"align": null
|
|
10072
10072
|
}, (0, _react2.mdx)("inlineCode", {
|
|
10073
10073
|
parentName: "td"
|
|
10074
|
-
}, "--
|
|
10074
|
+
}, "--ast")), (0, _react2.mdx)("td", {
|
|
10075
10075
|
parentName: "tr",
|
|
10076
10076
|
"align": "center"
|
|
10077
|
-
}, (0, _react2.mdx)("
|
|
10078
|
-
parentName: "td"
|
|
10079
|
-
}, "-r")), (0, _react2.mdx)("td", {
|
|
10077
|
+
}), (0, _react2.mdx)("td", {
|
|
10080
10078
|
parentName: "tr",
|
|
10081
10079
|
"align": null
|
|
10082
|
-
}, "
|
|
10080
|
+
}, "use ast to transform files instead of regex")), (0, _react2.mdx)("tr", {
|
|
10083
10081
|
parentName: "tbody"
|
|
10084
10082
|
}, (0, _react2.mdx)("td", {
|
|
10085
10083
|
parentName: "tr",
|
|
10086
10084
|
"align": null
|
|
10087
10085
|
}, (0, _react2.mdx)("inlineCode", {
|
|
10088
10086
|
parentName: "td"
|
|
10089
|
-
}, "--
|
|
10087
|
+
}, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
|
|
10090
10088
|
parentName: "tr",
|
|
10091
10089
|
"align": "center"
|
|
10092
|
-
}
|
|
10090
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
10091
|
+
parentName: "td"
|
|
10092
|
+
}, "-x")), (0, _react2.mdx)("td", {
|
|
10093
10093
|
parentName: "tr",
|
|
10094
10094
|
"align": null
|
|
10095
|
-
}, "
|
|
10095
|
+
}, "do not install packages of the imported components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "server"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10096
10096
|
parentName: "p"
|
|
10097
10097
|
}, "Description"), ": communicate with bit cli program via http requests"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
10098
10098
|
parentName: "p"
|