@teambit/harmony.content.cli-reference 2.0.444 → 2.0.446

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.
@@ -9517,23 +9517,15 @@ function MDXContent(_ref) {
9517
9517
  parentName: "td"
9518
9518
  }, "bit pattern --help"), " to understand patterns better and ", (0, _react2.mdx)("inlineCode", {
9519
9519
  parentName: "td"
9520
- }, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("h3", null, "scope rename"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9520
+ }, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("h3", null, "scope fork"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9521
9521
  parentName: "p"
9522
9522
  }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
9523
9523
  parentName: "p"
9524
- }, "scope rename <current-scope-name> <new-scope-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9525
- parentName: "p"
9526
- }, "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", {
9527
- parentName: "p"
9528
- }), "\n", "Note: if ", (0, _react2.mdx)("inlineCode", {
9529
- parentName: "p"
9530
- }, "<current-scope-name>"), " is also the defaultScope for the workspace, this command will set ", (0, _react2.mdx)("inlineCode", {
9531
- parentName: "p"
9532
- }, "<new-scope-name>"), (0, _react2.mdx)("br", {
9524
+ }, "scope fork <original-scope> [new-scope] [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9533
9525
  parentName: "p"
9534
- }), "\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", {
9526
+ }, "Description"), ": fork all components of the original-scope and refactor the source-code to use the new scope name", (0, _react2.mdx)("br", {
9535
9527
  parentName: "p"
9536
- }), "\n", "as a result of this change"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9528
+ }), "\n", "optionally, provide ", "[pattern]", " to limit the fork to specific components"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9537
9529
  parentName: "table"
9538
9530
  }, (0, _react2.mdx)("tr", {
9539
9531
  parentName: "thead"
@@ -9556,20 +9548,34 @@ function MDXContent(_ref) {
9556
9548
  "align": null
9557
9549
  }, (0, _react2.mdx)("inlineCode", {
9558
9550
  parentName: "td"
9559
- }, "current-scope-name")), (0, _react2.mdx)("td", {
9551
+ }, "original-scope")), (0, _react2.mdx)("td", {
9560
9552
  parentName: "tr",
9561
9553
  "align": "center"
9562
- }, "the scope name to be replaced by another scope name")), (0, _react2.mdx)("tr", {
9554
+ }, "the original scope to fork")), (0, _react2.mdx)("tr", {
9563
9555
  parentName: "tbody"
9564
9556
  }, (0, _react2.mdx)("td", {
9565
9557
  parentName: "tr",
9566
9558
  "align": null
9567
9559
  }, (0, _react2.mdx)("inlineCode", {
9568
9560
  parentName: "td"
9569
- }, "new-scope-name")), (0, _react2.mdx)("td", {
9561
+ }, "new-scope")), (0, _react2.mdx)("td", {
9570
9562
  parentName: "tr",
9571
9563
  "align": "center"
9572
- }, "a new scope name to replace the current scope name")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9564
+ }, "the new scope to fork to, default to the default-scope of the workspace")), (0, _react2.mdx)("tr", {
9565
+ parentName: "tbody"
9566
+ }, (0, _react2.mdx)("td", {
9567
+ parentName: "tr",
9568
+ "align": null
9569
+ }, (0, _react2.mdx)("inlineCode", {
9570
+ parentName: "td"
9571
+ }, "pattern")), (0, _react2.mdx)("td", {
9572
+ parentName: "tr",
9573
+ "align": "center"
9574
+ }, "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", {
9575
+ parentName: "td"
9576
+ }, "bit pattern --help"), " to understand patterns better and ", (0, _react2.mdx)("inlineCode", {
9577
+ parentName: "td"
9578
+ }, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9573
9579
  parentName: "table"
9574
9580
  }, (0, _react2.mdx)("tr", {
9575
9581
  parentName: "thead"
@@ -9597,47 +9603,44 @@ function MDXContent(_ref) {
9597
9603
  "align": null
9598
9604
  }, (0, _react2.mdx)("inlineCode", {
9599
9605
  parentName: "td"
9600
- }, "--preserve")), (0, _react2.mdx)("td", {
9606
+ }, "--ast")), (0, _react2.mdx)("td", {
9601
9607
  parentName: "tr",
9602
9608
  "align": "center"
9603
9609
  }), (0, _react2.mdx)("td", {
9604
9610
  parentName: "tr",
9605
9611
  "align": null
9606
- }, "avoid renaming files and variables/classes according to the new scope name")), (0, _react2.mdx)("tr", {
9612
+ }, "use ast to transform files instead of regex")), (0, _react2.mdx)("tr", {
9607
9613
  parentName: "tbody"
9608
9614
  }, (0, _react2.mdx)("td", {
9609
9615
  parentName: "tr",
9610
9616
  "align": null
9611
9617
  }, (0, _react2.mdx)("inlineCode", {
9612
9618
  parentName: "td"
9613
- }, "--refactor")), (0, _react2.mdx)("td", {
9619
+ }, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
9614
9620
  parentName: "tr",
9615
9621
  "align": "center"
9616
9622
  }, (0, _react2.mdx)("inlineCode", {
9617
9623
  parentName: "td"
9618
- }, "-r")), (0, _react2.mdx)("td", {
9619
- parentName: "tr",
9620
- "align": null
9621
- }, "update the import statements in all dependent components to the new package name (i.e. with the new scope name)")), (0, _react2.mdx)("tr", {
9622
- parentName: "tbody"
9623
- }, (0, _react2.mdx)("td", {
9624
- parentName: "tr",
9625
- "align": null
9626
- }, (0, _react2.mdx)("inlineCode", {
9627
- parentName: "td"
9628
- }, "--deprecate")), (0, _react2.mdx)("td", {
9629
- parentName: "tr",
9630
- "align": "center"
9631
- }), (0, _react2.mdx)("td", {
9624
+ }, "-x")), (0, _react2.mdx)("td", {
9632
9625
  parentName: "tr",
9633
9626
  "align": null
9634
- }, "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", {
9627
+ }, "do not install packages of the imported components")))), (0, _react2.mdx)("h3", null, "scope rename"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9635
9628
  parentName: "p"
9636
9629
  }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
9637
9630
  parentName: "p"
9638
- }, "scope rename-owner <current-owner-name> <new-owner-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9631
+ }, "scope rename <current-scope-name> <new-scope-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9639
9632
  parentName: "p"
9640
- }, "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", {
9633
+ }, "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", {
9634
+ parentName: "p"
9635
+ }), "\n", "Note: if ", (0, _react2.mdx)("inlineCode", {
9636
+ parentName: "p"
9637
+ }, "<current-scope-name>"), " is also the defaultScope for the workspace, this command will set ", (0, _react2.mdx)("inlineCode", {
9638
+ parentName: "p"
9639
+ }, "<new-scope-name>"), (0, _react2.mdx)("br", {
9640
+ parentName: "p"
9641
+ }), "\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", {
9642
+ parentName: "p"
9643
+ }), "\n", "as a result of this change"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9641
9644
  parentName: "table"
9642
9645
  }, (0, _react2.mdx)("tr", {
9643
9646
  parentName: "thead"
@@ -9660,20 +9663,20 @@ function MDXContent(_ref) {
9660
9663
  "align": null
9661
9664
  }, (0, _react2.mdx)("inlineCode", {
9662
9665
  parentName: "td"
9663
- }, "current-owner-name")), (0, _react2.mdx)("td", {
9666
+ }, "current-scope-name")), (0, _react2.mdx)("td", {
9664
9667
  parentName: "tr",
9665
9668
  "align": "center"
9666
- }, "the owner name to be replaced by another owner name")), (0, _react2.mdx)("tr", {
9669
+ }, "the scope name to be replaced by another scope name")), (0, _react2.mdx)("tr", {
9667
9670
  parentName: "tbody"
9668
9671
  }, (0, _react2.mdx)("td", {
9669
9672
  parentName: "tr",
9670
9673
  "align": null
9671
9674
  }, (0, _react2.mdx)("inlineCode", {
9672
9675
  parentName: "td"
9673
- }, "new-owner-name")), (0, _react2.mdx)("td", {
9676
+ }, "new-scope-name")), (0, _react2.mdx)("td", {
9674
9677
  parentName: "tr",
9675
9678
  "align": "center"
9676
- }, "a new owner name to replace the current owner name")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9679
+ }, "a new scope name to replace the current scope name")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9677
9680
  parentName: "table"
9678
9681
  }, (0, _react2.mdx)("tr", {
9679
9682
  parentName: "thead"
@@ -9701,6 +9704,19 @@ function MDXContent(_ref) {
9701
9704
  "align": null
9702
9705
  }, (0, _react2.mdx)("inlineCode", {
9703
9706
  parentName: "td"
9707
+ }, "--preserve")), (0, _react2.mdx)("td", {
9708
+ parentName: "tr",
9709
+ "align": "center"
9710
+ }), (0, _react2.mdx)("td", {
9711
+ parentName: "tr",
9712
+ "align": null
9713
+ }, "avoid renaming files and variables/classes according to the new scope name")), (0, _react2.mdx)("tr", {
9714
+ parentName: "tbody"
9715
+ }, (0, _react2.mdx)("td", {
9716
+ parentName: "tr",
9717
+ "align": null
9718
+ }, (0, _react2.mdx)("inlineCode", {
9719
+ parentName: "td"
9704
9720
  }, "--refactor")), (0, _react2.mdx)("td", {
9705
9721
  parentName: "tr",
9706
9722
  "align": "center"
@@ -9709,28 +9725,26 @@ function MDXContent(_ref) {
9709
9725
  }, "-r")), (0, _react2.mdx)("td", {
9710
9726
  parentName: "tr",
9711
9727
  "align": null
9712
- }, "update the import statements in all dependent components to the new package name (that contains the new owner name)")), (0, _react2.mdx)("tr", {
9728
+ }, "update the import statements in all dependent components to the new package name (i.e. with the new scope name)")), (0, _react2.mdx)("tr", {
9713
9729
  parentName: "tbody"
9714
9730
  }, (0, _react2.mdx)("td", {
9715
9731
  parentName: "tr",
9716
9732
  "align": null
9717
9733
  }, (0, _react2.mdx)("inlineCode", {
9718
9734
  parentName: "td"
9719
- }, "--ast")), (0, _react2.mdx)("td", {
9735
+ }, "--deprecate")), (0, _react2.mdx)("td", {
9720
9736
  parentName: "tr",
9721
9737
  "align": "center"
9722
9738
  }), (0, _react2.mdx)("td", {
9723
9739
  parentName: "tr",
9724
9740
  "align": null
9725
- }, "use ast to transform files instead of regex")))), (0, _react2.mdx)("h3", null, "scope fork"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9741
+ }, "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", {
9726
9742
  parentName: "p"
9727
9743
  }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
9728
9744
  parentName: "p"
9729
- }, "scope fork <original-scope> [new-scope] [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9730
- parentName: "p"
9731
- }, "Description"), ": fork all components of the original-scope and refactor the source-code to use the new scope name", (0, _react2.mdx)("br", {
9745
+ }, "scope rename-owner <current-owner-name> <new-owner-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9732
9746
  parentName: "p"
9733
- }), "\n", "optionally, provide ", "[pattern]", " to limit the fork to specific components"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9747
+ }, "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", {
9734
9748
  parentName: "table"
9735
9749
  }, (0, _react2.mdx)("tr", {
9736
9750
  parentName: "thead"
@@ -9753,34 +9767,20 @@ function MDXContent(_ref) {
9753
9767
  "align": null
9754
9768
  }, (0, _react2.mdx)("inlineCode", {
9755
9769
  parentName: "td"
9756
- }, "original-scope")), (0, _react2.mdx)("td", {
9757
- parentName: "tr",
9758
- "align": "center"
9759
- }, "the original scope to fork")), (0, _react2.mdx)("tr", {
9760
- parentName: "tbody"
9761
- }, (0, _react2.mdx)("td", {
9762
- parentName: "tr",
9763
- "align": null
9764
- }, (0, _react2.mdx)("inlineCode", {
9765
- parentName: "td"
9766
- }, "new-scope")), (0, _react2.mdx)("td", {
9770
+ }, "current-owner-name")), (0, _react2.mdx)("td", {
9767
9771
  parentName: "tr",
9768
9772
  "align": "center"
9769
- }, "the new scope to fork to, default to the default-scope of the workspace")), (0, _react2.mdx)("tr", {
9773
+ }, "the owner name to be replaced by another owner name")), (0, _react2.mdx)("tr", {
9770
9774
  parentName: "tbody"
9771
9775
  }, (0, _react2.mdx)("td", {
9772
9776
  parentName: "tr",
9773
9777
  "align": null
9774
9778
  }, (0, _react2.mdx)("inlineCode", {
9775
9779
  parentName: "td"
9776
- }, "pattern")), (0, _react2.mdx)("td", {
9780
+ }, "new-owner-name")), (0, _react2.mdx)("td", {
9777
9781
  parentName: "tr",
9778
9782
  "align": "center"
9779
- }, "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", {
9780
- parentName: "td"
9781
- }, "bit pattern --help"), " to understand patterns better and ", (0, _react2.mdx)("inlineCode", {
9782
- parentName: "td"
9783
- }, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9783
+ }, "a new owner name to replace the current owner name")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
9784
9784
  parentName: "table"
9785
9785
  }, (0, _react2.mdx)("tr", {
9786
9786
  parentName: "thead"
@@ -9808,28 +9808,28 @@ function MDXContent(_ref) {
9808
9808
  "align": null
9809
9809
  }, (0, _react2.mdx)("inlineCode", {
9810
9810
  parentName: "td"
9811
- }, "--ast")), (0, _react2.mdx)("td", {
9811
+ }, "--refactor")), (0, _react2.mdx)("td", {
9812
9812
  parentName: "tr",
9813
9813
  "align": "center"
9814
- }), (0, _react2.mdx)("td", {
9814
+ }, (0, _react2.mdx)("inlineCode", {
9815
+ parentName: "td"
9816
+ }, "-r")), (0, _react2.mdx)("td", {
9815
9817
  parentName: "tr",
9816
9818
  "align": null
9817
- }, "use ast to transform files instead of regex")), (0, _react2.mdx)("tr", {
9819
+ }, "update the import statements in all dependent components to the new package name (that contains the new owner name)")), (0, _react2.mdx)("tr", {
9818
9820
  parentName: "tbody"
9819
9821
  }, (0, _react2.mdx)("td", {
9820
9822
  parentName: "tr",
9821
9823
  "align": null
9822
9824
  }, (0, _react2.mdx)("inlineCode", {
9823
9825
  parentName: "td"
9824
- }, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
9826
+ }, "--ast")), (0, _react2.mdx)("td", {
9825
9827
  parentName: "tr",
9826
9828
  "align": "center"
9827
- }, (0, _react2.mdx)("inlineCode", {
9828
- parentName: "td"
9829
- }, "-x")), (0, _react2.mdx)("td", {
9829
+ }), (0, _react2.mdx)("td", {
9830
9830
  parentName: "tr",
9831
9831
  "align": null
9832
- }, "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", {
9832
+ }, "use ast to transform files instead of regex")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "server"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9833
9833
  parentName: "p"
9834
9834
  }, "Description"), ": communicate with bit cli program via http requests"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
9835
9835
  parentName: "p"