@teambit/harmony.content.cli-reference 2.0.515 → 2.0.516
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-1736306355320.js} +2 -2
- package/package.json +2 -2
package/cli-reference.mdx
CHANGED
|
@@ -43,7 +43,7 @@ Learn the recommended workflow for tracking directories as components, in the li
|
|
|
43
43
|
**Alias**: `apps`
|
|
44
44
|
**Description**: Manages apps
|
|
45
45
|
|
|
46
|
-
`bit app
|
|
46
|
+
`bit app [sub-command]`
|
|
47
47
|
|
|
48
48
|
### app list
|
|
49
49
|
|
|
@@ -1892,24 +1892,6 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
|
|
|
1892
1892
|
| `scope-name` | name of the scope to set |
|
|
1893
1893
|
| `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. |
|
|
1894
1894
|
|
|
1895
|
-
### scope fork
|
|
1896
|
-
|
|
1897
|
-
**Usage**: `scope fork <original-scope> [new-scope] [pattern]`
|
|
1898
|
-
|
|
1899
|
-
**Description**: fork all components of the original-scope and refactor the source-code to use the new scope name
|
|
1900
|
-
optionally, provide [pattern] to limit the fork to specific components
|
|
1901
|
-
|
|
1902
|
-
| **Arg** | **Description** |
|
|
1903
|
-
| ---------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
1904
|
-
| `original-scope` | the original scope to fork |
|
|
1905
|
-
| `new-scope` | the new scope to fork to, default to the default-scope of the workspace |
|
|
1906
|
-
| `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. |
|
|
1907
|
-
|
|
1908
|
-
| **Option** | **Option alias** | **Description** |
|
|
1909
|
-
| -------------------------------- | :--------------: | -------------------------------------------------- |
|
|
1910
|
-
| `--ast` | | use ast to transform files instead of regex |
|
|
1911
|
-
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
1912
|
-
|
|
1913
1895
|
### scope rename
|
|
1914
1896
|
|
|
1915
1897
|
**Usage**: `scope rename <current-scope-name> <new-scope-name>`
|
|
@@ -1946,6 +1928,24 @@ as a result of this change
|
|
|
1946
1928
|
| `--refactor` | `-r` | update the import statements in all dependent components to the new package name (that contains the new owner name) |
|
|
1947
1929
|
| `--ast` | | use ast to transform files instead of regex |
|
|
1948
1930
|
|
|
1931
|
+
### scope fork
|
|
1932
|
+
|
|
1933
|
+
**Usage**: `scope fork <original-scope> [new-scope] [pattern]`
|
|
1934
|
+
|
|
1935
|
+
**Description**: fork all components of the original-scope and refactor the source-code to use the new scope name
|
|
1936
|
+
optionally, provide [pattern] to limit the fork to specific components
|
|
1937
|
+
|
|
1938
|
+
| **Arg** | **Description** |
|
|
1939
|
+
| ---------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
1940
|
+
| `original-scope` | the original scope to fork |
|
|
1941
|
+
| `new-scope` | the new scope to fork to, default to the default-scope of the workspace |
|
|
1942
|
+
| `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. |
|
|
1943
|
+
|
|
1944
|
+
| **Option** | **Option alias** | **Description** |
|
|
1945
|
+
| -------------------------------- | :--------------: | -------------------------------------------------- |
|
|
1946
|
+
| `--ast` | | use ast to transform files instead of regex |
|
|
1947
|
+
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
1948
|
+
|
|
1949
1949
|
---
|
|
1950
1950
|
|
|
1951
1951
|
## server
|