@teambit/harmony.content.cli-reference 2.0.277 → 2.0.279

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.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.6.162'
2
+ description: 'Bit command synopses. Bit version: 1.6.164'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -58,11 +58,6 @@
58
58
  "default-scope <default-scope>",
59
59
  "set the default scope for components in the workspace"
60
60
  ],
61
- [
62
- "p",
63
- "package-manager <package-manager>",
64
- "set the package manager (npm or yarn) to be used in the workspace"
65
- ],
66
61
  [
67
62
  "f",
68
63
  "force",
@@ -854,7 +849,7 @@
854
849
  ]
855
850
  },
856
851
  {
857
- "name": "fork <original-scope> <new-scope> [pattern]",
852
+ "name": "fork <original-scope> [new-scope] [pattern]",
858
853
  "options": [
859
854
  [
860
855
  "",
@@ -877,7 +872,7 @@
877
872
  },
878
873
  {
879
874
  "name": "new-scope",
880
- "description": "the new scope to fork to"
875
+ "description": "the new scope to fork to, default to the default-scope of the workspace"
881
876
  },
882
877
  {
883
878
  "name": "pattern",
package/cli-reference.mdx CHANGED
@@ -957,7 +957,6 @@ if the current directory is already a workspace, it validates that bit files are
957
957
  | `--reset-scope` | | removes local scope (.bit or .git/bit). tags/snaps that have not been exported will be lost. workspace is left intact |
958
958
  | `--default-directory <default-directory>` | `-d` | set the default directory pattern to import/create components into |
959
959
  | `--default-scope <default-scope>` | | set the default scope for components in the workspace |
960
- | `--package-manager <package-manager>` | `-p` | set the package manager (npm or yarn) to be used in the workspace |
961
960
  | `--force` | `-f` | force workspace initialization without clearing local objects |
962
961
 
963
962
  ---
@@ -1785,7 +1784,7 @@ as a result of this change
1785
1784
 
1786
1785
  ### scope fork
1787
1786
 
1788
- **Usage**: `scope fork <original-scope> <new-scope> [pattern]`
1787
+ **Usage**: `scope fork <original-scope> [new-scope] [pattern]`
1789
1788
 
1790
1789
  **Description**: fork all components of the original-scope and refactor the source-code to use the new scope name
1791
1790
  optionally, provide [pattern] to limit the fork to specific components
@@ -1793,7 +1792,7 @@ optionally, provide [pattern] to limit the fork to specific components
1793
1792
  | **Arg** | **Description** |
1794
1793
  | ---------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
1795
1794
  | `original-scope` | the original scope to fork |
1796
- | `new-scope` | the new scope to fork to |
1795
+ | `new-scope` | the new scope to fork to, default to the default-scope of the workspace |
1797
1796
  | `pattern` | 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 `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
1798
1797
 
1799
1798
  | **Option** | **Option alias** | **Description** |
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.6.162'
2
+ description: 'Bit command synopses. Bit version: 1.6.164'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -58,11 +58,6 @@
58
58
  "default-scope <default-scope>",
59
59
  "set the default scope for components in the workspace"
60
60
  ],
61
- [
62
- "p",
63
- "package-manager <package-manager>",
64
- "set the package manager (npm or yarn) to be used in the workspace"
65
- ],
66
61
  [
67
62
  "f",
68
63
  "force",
@@ -854,7 +849,7 @@
854
849
  ]
855
850
  },
856
851
  {
857
- "name": "fork <original-scope> <new-scope> [pattern]",
852
+ "name": "fork <original-scope> [new-scope] [pattern]",
858
853
  "options": [
859
854
  [
860
855
  "",
@@ -877,7 +872,7 @@
877
872
  },
878
873
  {
879
874
  "name": "new-scope",
880
- "description": "the new scope to fork to"
875
+ "description": "the new scope to fork to, default to the default-scope of the workspace"
881
876
  },
882
877
  {
883
878
  "name": "pattern",
@@ -4874,21 +4874,6 @@ function MDXContent(_ref) {
4874
4874
  "align": null
4875
4875
  }, (0, _react2.mdx)("inlineCode", {
4876
4876
  parentName: "td"
4877
- }, "--package-manager <package-manager>")), (0, _react2.mdx)("td", {
4878
- parentName: "tr",
4879
- "align": "center"
4880
- }, (0, _react2.mdx)("inlineCode", {
4881
- parentName: "td"
4882
- }, "-p")), (0, _react2.mdx)("td", {
4883
- parentName: "tr",
4884
- "align": null
4885
- }, "set the package manager (npm or yarn) to be used in the workspace")), (0, _react2.mdx)("tr", {
4886
- parentName: "tbody"
4887
- }, (0, _react2.mdx)("td", {
4888
- parentName: "tr",
4889
- "align": null
4890
- }, (0, _react2.mdx)("inlineCode", {
4891
- parentName: "td"
4892
4877
  }, "--force")), (0, _react2.mdx)("td", {
4893
4878
  parentName: "tr",
4894
4879
  "align": "center"
@@ -9240,7 +9225,7 @@ function MDXContent(_ref) {
9240
9225
  parentName: "p"
9241
9226
  }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
9242
9227
  parentName: "p"
9243
- }, "scope fork <original-scope> <new-scope> [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9228
+ }, "scope fork <original-scope> [new-scope] [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
9244
9229
  parentName: "p"
9245
9230
  }, "Description"), ": fork all components of the original-scope and refactor the source-code to use the new scope name", (0, _react2.mdx)("br", {
9246
9231
  parentName: "p"
@@ -9280,7 +9265,7 @@ function MDXContent(_ref) {
9280
9265
  }, "new-scope")), (0, _react2.mdx)("td", {
9281
9266
  parentName: "tr",
9282
9267
  "align": "center"
9283
- }, "the new scope to fork to")), (0, _react2.mdx)("tr", {
9268
+ }, "the new scope to fork to, default to the default-scope of the workspace")), (0, _react2.mdx)("tr", {
9284
9269
  parentName: "tbody"
9285
9270
  }, (0, _react2.mdx)("td", {
9286
9271
  parentName: "tr",