@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.
- package/cli-reference.docs.mdx +1 -1
- package/cli-reference.json +525 -525
- package/cli-reference.mdx +18 -18
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +525 -525
- package/dist/cli-reference.mdx.js +73 -73
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1729653578123.js → preview-1729708420242.js} +2 -2
- package/package.json +2 -2
package/cli-reference.mdx
CHANGED
|
@@ -1840,6 +1840,24 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
|
|
|
1840
1840
|
| `scope-name` | name of the scope to set |
|
|
1841
1841
|
| `component-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. |
|
|
1842
1842
|
|
|
1843
|
+
### scope fork
|
|
1844
|
+
|
|
1845
|
+
**Usage**: `scope fork <original-scope> [new-scope] [pattern]`
|
|
1846
|
+
|
|
1847
|
+
**Description**: fork all components of the original-scope and refactor the source-code to use the new scope name
|
|
1848
|
+
optionally, provide [pattern] to limit the fork to specific components
|
|
1849
|
+
|
|
1850
|
+
| **Arg** | **Description** |
|
|
1851
|
+
| ---------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
1852
|
+
| `original-scope` | the original scope to fork |
|
|
1853
|
+
| `new-scope` | the new scope to fork to, default to the default-scope of the workspace |
|
|
1854
|
+
| `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. |
|
|
1855
|
+
|
|
1856
|
+
| **Option** | **Option alias** | **Description** |
|
|
1857
|
+
| -------------------------------- | :--------------: | -------------------------------------------------- |
|
|
1858
|
+
| `--ast` | | use ast to transform files instead of regex |
|
|
1859
|
+
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
1860
|
+
|
|
1843
1861
|
### scope rename
|
|
1844
1862
|
|
|
1845
1863
|
**Usage**: `scope rename <current-scope-name> <new-scope-name>`
|
|
@@ -1876,24 +1894,6 @@ as a result of this change
|
|
|
1876
1894
|
| `--refactor` | `-r` | update the import statements in all dependent components to the new package name (that contains the new owner name) |
|
|
1877
1895
|
| `--ast` | | use ast to transform files instead of regex |
|
|
1878
1896
|
|
|
1879
|
-
### scope fork
|
|
1880
|
-
|
|
1881
|
-
**Usage**: `scope fork <original-scope> [new-scope] [pattern]`
|
|
1882
|
-
|
|
1883
|
-
**Description**: fork all components of the original-scope and refactor the source-code to use the new scope name
|
|
1884
|
-
optionally, provide [pattern] to limit the fork to specific components
|
|
1885
|
-
|
|
1886
|
-
| **Arg** | **Description** |
|
|
1887
|
-
| ---------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
1888
|
-
| `original-scope` | the original scope to fork |
|
|
1889
|
-
| `new-scope` | the new scope to fork to, default to the default-scope of the workspace |
|
|
1890
|
-
| `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. |
|
|
1891
|
-
|
|
1892
|
-
| **Option** | **Option alias** | **Description** |
|
|
1893
|
-
| -------------------------------- | :--------------: | -------------------------------------------------- |
|
|
1894
|
-
| `--ast` | | use ast to transform files instead of regex |
|
|
1895
|
-
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
1896
|
-
|
|
1897
1897
|
---
|
|
1898
1898
|
|
|
1899
1899
|
## server
|