@teambit/harmony.content.cli-reference 1.95.122 → 1.95.126
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.json +130 -120
- package/cli-reference.mdx +3 -1
- package/dist/cli-reference.json +130 -120
- package/dist/cli-reference.mdx.js +28 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1677382720052.js → preview-1677900877836.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.126.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.122.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -1683,6 +1683,11 @@
|
|
|
1683
1683
|
],
|
|
1684
1684
|
[
|
|
1685
1685
|
"u",
|
|
1686
|
+
"update",
|
|
1687
|
+
"update all dependencies"
|
|
1688
|
+
],
|
|
1689
|
+
[
|
|
1690
|
+
"",
|
|
1686
1691
|
"update-existing [updateExisting]",
|
|
1687
1692
|
"DEPRECATED (not needed anymore, it is the default now). update existing dependencies version and types"
|
|
1688
1693
|
],
|
|
@@ -1868,126 +1873,6 @@
|
|
|
1868
1873
|
}
|
|
1869
1874
|
]
|
|
1870
1875
|
},
|
|
1871
|
-
{
|
|
1872
|
-
"name": "remove <component-pattern>",
|
|
1873
|
-
"alias": "rm",
|
|
1874
|
-
"options": [
|
|
1875
|
-
[
|
|
1876
|
-
"",
|
|
1877
|
-
"soft",
|
|
1878
|
-
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
1879
|
-
],
|
|
1880
|
-
[
|
|
1881
|
-
"r",
|
|
1882
|
-
"remote",
|
|
1883
|
-
"remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)"
|
|
1884
|
-
],
|
|
1885
|
-
[
|
|
1886
|
-
"",
|
|
1887
|
-
"from-lane",
|
|
1888
|
-
"revert to main if exists on currently checked out lane, otherwise, remove it"
|
|
1889
|
-
],
|
|
1890
|
-
[
|
|
1891
|
-
"t",
|
|
1892
|
-
"track",
|
|
1893
|
-
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
1894
|
-
],
|
|
1895
|
-
[
|
|
1896
|
-
"d",
|
|
1897
|
-
"delete-files",
|
|
1898
|
-
"DEPRECATED (this is now the default). delete local component files"
|
|
1899
|
-
],
|
|
1900
|
-
[
|
|
1901
|
-
"",
|
|
1902
|
-
"keep-files",
|
|
1903
|
-
"keep component files (just untrack the component)"
|
|
1904
|
-
],
|
|
1905
|
-
[
|
|
1906
|
-
"f",
|
|
1907
|
-
"force",
|
|
1908
|
-
"removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
1909
|
-
],
|
|
1910
|
-
[
|
|
1911
|
-
"s",
|
|
1912
|
-
"silent",
|
|
1913
|
-
"skip confirmation"
|
|
1914
|
-
]
|
|
1915
|
-
],
|
|
1916
|
-
"description": "remove component(s) from the workspace, or a remote scope",
|
|
1917
|
-
"extendedDescription": "",
|
|
1918
|
-
"group": "collaborate",
|
|
1919
|
-
"private": false,
|
|
1920
|
-
"remoteOp": true,
|
|
1921
|
-
"skipWorkspace": true,
|
|
1922
|
-
"arguments": [
|
|
1923
|
-
{
|
|
1924
|
-
"name": "component-pattern",
|
|
1925
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
1926
|
-
}
|
|
1927
|
-
]
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
"name": "resume-export <export-id> <remotes...>",
|
|
1931
|
-
"alias": "",
|
|
1932
|
-
"options": [],
|
|
1933
|
-
"description": "EXPERIMENTAL. resume failed export",
|
|
1934
|
-
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
|
|
1935
|
-
"group": "collaborate",
|
|
1936
|
-
"private": true,
|
|
1937
|
-
"remoteOp": true
|
|
1938
|
-
},
|
|
1939
|
-
{
|
|
1940
|
-
"name": "export [component-patterns...]",
|
|
1941
|
-
"alias": "e",
|
|
1942
|
-
"options": [
|
|
1943
|
-
[
|
|
1944
|
-
"e",
|
|
1945
|
-
"eject",
|
|
1946
|
-
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
1947
|
-
],
|
|
1948
|
-
[
|
|
1949
|
-
"a",
|
|
1950
|
-
"all",
|
|
1951
|
-
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
1952
|
-
],
|
|
1953
|
-
[
|
|
1954
|
-
"",
|
|
1955
|
-
"all-versions",
|
|
1956
|
-
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
1957
|
-
],
|
|
1958
|
-
[
|
|
1959
|
-
"",
|
|
1960
|
-
"origin-directly",
|
|
1961
|
-
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
1962
|
-
],
|
|
1963
|
-
[
|
|
1964
|
-
"",
|
|
1965
|
-
"resume <string>",
|
|
1966
|
-
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
1967
|
-
],
|
|
1968
|
-
[
|
|
1969
|
-
"",
|
|
1970
|
-
"ignore-missing-artifacts",
|
|
1971
|
-
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
1972
|
-
],
|
|
1973
|
-
[
|
|
1974
|
-
"j",
|
|
1975
|
-
"json",
|
|
1976
|
-
"show output in json format"
|
|
1977
|
-
]
|
|
1978
|
-
],
|
|
1979
|
-
"description": "export components from the workspace to remote scopes",
|
|
1980
|
-
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n you can use a pattern for multiple ids, such as bit export remote-scope \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
1981
|
-
"group": "collaborate",
|
|
1982
|
-
"private": false,
|
|
1983
|
-
"remoteOp": true,
|
|
1984
|
-
"arguments": [
|
|
1985
|
-
{
|
|
1986
|
-
"name": "component-patterns...",
|
|
1987
|
-
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
1988
|
-
}
|
|
1989
|
-
]
|
|
1990
|
-
},
|
|
1991
1876
|
{
|
|
1992
1877
|
"name": "import [component-patterns...]",
|
|
1993
1878
|
"alias": "",
|
|
@@ -2061,6 +1946,11 @@
|
|
|
2061
1946
|
"",
|
|
2062
1947
|
"fetch-deps",
|
|
2063
1948
|
"fetch dependencies objects"
|
|
1949
|
+
],
|
|
1950
|
+
[
|
|
1951
|
+
"",
|
|
1952
|
+
"track-only",
|
|
1953
|
+
"do not write any file, just create .bitmap entries of the imported components"
|
|
2064
1954
|
]
|
|
2065
1955
|
],
|
|
2066
1956
|
"description": "import components from their remote scopes to the local workspace",
|
|
@@ -2110,6 +2000,126 @@
|
|
|
2110
2000
|
"group": "ungrouped",
|
|
2111
2001
|
"private": true
|
|
2112
2002
|
},
|
|
2003
|
+
{
|
|
2004
|
+
"name": "remove <component-pattern>",
|
|
2005
|
+
"alias": "rm",
|
|
2006
|
+
"options": [
|
|
2007
|
+
[
|
|
2008
|
+
"",
|
|
2009
|
+
"soft",
|
|
2010
|
+
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2011
|
+
],
|
|
2012
|
+
[
|
|
2013
|
+
"r",
|
|
2014
|
+
"remote",
|
|
2015
|
+
"remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)"
|
|
2016
|
+
],
|
|
2017
|
+
[
|
|
2018
|
+
"",
|
|
2019
|
+
"from-lane",
|
|
2020
|
+
"revert to main if exists on currently checked out lane, otherwise, remove it"
|
|
2021
|
+
],
|
|
2022
|
+
[
|
|
2023
|
+
"t",
|
|
2024
|
+
"track",
|
|
2025
|
+
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
2026
|
+
],
|
|
2027
|
+
[
|
|
2028
|
+
"d",
|
|
2029
|
+
"delete-files",
|
|
2030
|
+
"DEPRECATED (this is now the default). delete local component files"
|
|
2031
|
+
],
|
|
2032
|
+
[
|
|
2033
|
+
"",
|
|
2034
|
+
"keep-files",
|
|
2035
|
+
"keep component files (just untrack the component)"
|
|
2036
|
+
],
|
|
2037
|
+
[
|
|
2038
|
+
"f",
|
|
2039
|
+
"force",
|
|
2040
|
+
"removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
2041
|
+
],
|
|
2042
|
+
[
|
|
2043
|
+
"s",
|
|
2044
|
+
"silent",
|
|
2045
|
+
"skip confirmation"
|
|
2046
|
+
]
|
|
2047
|
+
],
|
|
2048
|
+
"description": "remove component(s) from the workspace, or a remote scope",
|
|
2049
|
+
"extendedDescription": "",
|
|
2050
|
+
"group": "collaborate",
|
|
2051
|
+
"private": false,
|
|
2052
|
+
"remoteOp": true,
|
|
2053
|
+
"skipWorkspace": true,
|
|
2054
|
+
"arguments": [
|
|
2055
|
+
{
|
|
2056
|
+
"name": "component-pattern",
|
|
2057
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2058
|
+
}
|
|
2059
|
+
]
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"name": "resume-export <export-id> <remotes...>",
|
|
2063
|
+
"alias": "",
|
|
2064
|
+
"options": [],
|
|
2065
|
+
"description": "EXPERIMENTAL. resume failed export",
|
|
2066
|
+
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
|
|
2067
|
+
"group": "collaborate",
|
|
2068
|
+
"private": true,
|
|
2069
|
+
"remoteOp": true
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"name": "export [component-patterns...]",
|
|
2073
|
+
"alias": "e",
|
|
2074
|
+
"options": [
|
|
2075
|
+
[
|
|
2076
|
+
"e",
|
|
2077
|
+
"eject",
|
|
2078
|
+
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
2079
|
+
],
|
|
2080
|
+
[
|
|
2081
|
+
"a",
|
|
2082
|
+
"all",
|
|
2083
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
2084
|
+
],
|
|
2085
|
+
[
|
|
2086
|
+
"",
|
|
2087
|
+
"all-versions",
|
|
2088
|
+
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
2089
|
+
],
|
|
2090
|
+
[
|
|
2091
|
+
"",
|
|
2092
|
+
"origin-directly",
|
|
2093
|
+
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
2094
|
+
],
|
|
2095
|
+
[
|
|
2096
|
+
"",
|
|
2097
|
+
"resume <string>",
|
|
2098
|
+
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
2099
|
+
],
|
|
2100
|
+
[
|
|
2101
|
+
"",
|
|
2102
|
+
"ignore-missing-artifacts",
|
|
2103
|
+
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
2104
|
+
],
|
|
2105
|
+
[
|
|
2106
|
+
"j",
|
|
2107
|
+
"json",
|
|
2108
|
+
"show output in json format"
|
|
2109
|
+
]
|
|
2110
|
+
],
|
|
2111
|
+
"description": "export components from the workspace to remote scopes",
|
|
2112
|
+
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n you can use a pattern for multiple ids, such as bit export remote-scope \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
2113
|
+
"group": "collaborate",
|
|
2114
|
+
"private": false,
|
|
2115
|
+
"remoteOp": true,
|
|
2116
|
+
"arguments": [
|
|
2117
|
+
{
|
|
2118
|
+
"name": "component-patterns...",
|
|
2119
|
+
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
2120
|
+
}
|
|
2121
|
+
]
|
|
2122
|
+
},
|
|
2113
2123
|
{
|
|
2114
2124
|
"name": "insights [names...]",
|
|
2115
2125
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -692,6 +692,7 @@ you can use a pattern for multiple ids, such as bit import "utils/\*". (wrap the
|
|
|
692
692
|
| `--save-in-lane` | | EXPERIMENTAL. when checked out to a lane and the component is not on the remote-lane, save it in the lane (default to save on main) |
|
|
693
693
|
| `--all-history` | | relevant for fetching all components objects. avoid optimizations, fetch all history versions, always |
|
|
694
694
|
| `--fetch-deps` | | fetch dependencies objects |
|
|
695
|
+
| `--track-only` | | do not write any file, just create .bitmap entries of the imported components |
|
|
695
696
|
|
|
696
697
|
---
|
|
697
698
|
|
|
@@ -732,7 +733,8 @@ when no package is specified, all workspace dependencies are installed and all w
|
|
|
732
733
|
| --------------------------------------- | :--------------: | ------------------------------------------------------------------------------------------------------ |
|
|
733
734
|
| `--variants <variants>` | `-v` | add packages to specific variants |
|
|
734
735
|
| `--type [lifecycleType]` | `-t` | "runtime" (default) or "peer" (dev is not a valid option) |
|
|
735
|
-
| `--update
|
|
736
|
+
| `--update` | `-u` | update all dependencies |
|
|
737
|
+
| `--update-existing [updateExisting]` | | DEPRECATED (not needed anymore, it is the default now). update existing dependencies version and types |
|
|
736
738
|
| `--save-prefix [savePrefix]` | | set the prefix to use when adding dependency to workspace.jsonc |
|
|
737
739
|
| `--skip-dedupe [skipDedupe]` | | do not dedupe dependencies on installation |
|
|
738
740
|
| `--skip-import [skipImport]` | | do not import bit objects post installation |
|
package/dist/cli-reference.json
CHANGED
|
@@ -1683,6 +1683,11 @@
|
|
|
1683
1683
|
],
|
|
1684
1684
|
[
|
|
1685
1685
|
"u",
|
|
1686
|
+
"update",
|
|
1687
|
+
"update all dependencies"
|
|
1688
|
+
],
|
|
1689
|
+
[
|
|
1690
|
+
"",
|
|
1686
1691
|
"update-existing [updateExisting]",
|
|
1687
1692
|
"DEPRECATED (not needed anymore, it is the default now). update existing dependencies version and types"
|
|
1688
1693
|
],
|
|
@@ -1868,126 +1873,6 @@
|
|
|
1868
1873
|
}
|
|
1869
1874
|
]
|
|
1870
1875
|
},
|
|
1871
|
-
{
|
|
1872
|
-
"name": "remove <component-pattern>",
|
|
1873
|
-
"alias": "rm",
|
|
1874
|
-
"options": [
|
|
1875
|
-
[
|
|
1876
|
-
"",
|
|
1877
|
-
"soft",
|
|
1878
|
-
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
1879
|
-
],
|
|
1880
|
-
[
|
|
1881
|
-
"r",
|
|
1882
|
-
"remote",
|
|
1883
|
-
"remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)"
|
|
1884
|
-
],
|
|
1885
|
-
[
|
|
1886
|
-
"",
|
|
1887
|
-
"from-lane",
|
|
1888
|
-
"revert to main if exists on currently checked out lane, otherwise, remove it"
|
|
1889
|
-
],
|
|
1890
|
-
[
|
|
1891
|
-
"t",
|
|
1892
|
-
"track",
|
|
1893
|
-
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
1894
|
-
],
|
|
1895
|
-
[
|
|
1896
|
-
"d",
|
|
1897
|
-
"delete-files",
|
|
1898
|
-
"DEPRECATED (this is now the default). delete local component files"
|
|
1899
|
-
],
|
|
1900
|
-
[
|
|
1901
|
-
"",
|
|
1902
|
-
"keep-files",
|
|
1903
|
-
"keep component files (just untrack the component)"
|
|
1904
|
-
],
|
|
1905
|
-
[
|
|
1906
|
-
"f",
|
|
1907
|
-
"force",
|
|
1908
|
-
"removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
1909
|
-
],
|
|
1910
|
-
[
|
|
1911
|
-
"s",
|
|
1912
|
-
"silent",
|
|
1913
|
-
"skip confirmation"
|
|
1914
|
-
]
|
|
1915
|
-
],
|
|
1916
|
-
"description": "remove component(s) from the workspace, or a remote scope",
|
|
1917
|
-
"extendedDescription": "",
|
|
1918
|
-
"group": "collaborate",
|
|
1919
|
-
"private": false,
|
|
1920
|
-
"remoteOp": true,
|
|
1921
|
-
"skipWorkspace": true,
|
|
1922
|
-
"arguments": [
|
|
1923
|
-
{
|
|
1924
|
-
"name": "component-pattern",
|
|
1925
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
1926
|
-
}
|
|
1927
|
-
]
|
|
1928
|
-
},
|
|
1929
|
-
{
|
|
1930
|
-
"name": "resume-export <export-id> <remotes...>",
|
|
1931
|
-
"alias": "",
|
|
1932
|
-
"options": [],
|
|
1933
|
-
"description": "EXPERIMENTAL. resume failed export",
|
|
1934
|
-
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
|
|
1935
|
-
"group": "collaborate",
|
|
1936
|
-
"private": true,
|
|
1937
|
-
"remoteOp": true
|
|
1938
|
-
},
|
|
1939
|
-
{
|
|
1940
|
-
"name": "export [component-patterns...]",
|
|
1941
|
-
"alias": "e",
|
|
1942
|
-
"options": [
|
|
1943
|
-
[
|
|
1944
|
-
"e",
|
|
1945
|
-
"eject",
|
|
1946
|
-
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
1947
|
-
],
|
|
1948
|
-
[
|
|
1949
|
-
"a",
|
|
1950
|
-
"all",
|
|
1951
|
-
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
1952
|
-
],
|
|
1953
|
-
[
|
|
1954
|
-
"",
|
|
1955
|
-
"all-versions",
|
|
1956
|
-
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
1957
|
-
],
|
|
1958
|
-
[
|
|
1959
|
-
"",
|
|
1960
|
-
"origin-directly",
|
|
1961
|
-
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
1962
|
-
],
|
|
1963
|
-
[
|
|
1964
|
-
"",
|
|
1965
|
-
"resume <string>",
|
|
1966
|
-
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
1967
|
-
],
|
|
1968
|
-
[
|
|
1969
|
-
"",
|
|
1970
|
-
"ignore-missing-artifacts",
|
|
1971
|
-
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
1972
|
-
],
|
|
1973
|
-
[
|
|
1974
|
-
"j",
|
|
1975
|
-
"json",
|
|
1976
|
-
"show output in json format"
|
|
1977
|
-
]
|
|
1978
|
-
],
|
|
1979
|
-
"description": "export components from the workspace to remote scopes",
|
|
1980
|
-
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n you can use a pattern for multiple ids, such as bit export remote-scope \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
1981
|
-
"group": "collaborate",
|
|
1982
|
-
"private": false,
|
|
1983
|
-
"remoteOp": true,
|
|
1984
|
-
"arguments": [
|
|
1985
|
-
{
|
|
1986
|
-
"name": "component-patterns...",
|
|
1987
|
-
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
1988
|
-
}
|
|
1989
|
-
]
|
|
1990
|
-
},
|
|
1991
1876
|
{
|
|
1992
1877
|
"name": "import [component-patterns...]",
|
|
1993
1878
|
"alias": "",
|
|
@@ -2061,6 +1946,11 @@
|
|
|
2061
1946
|
"",
|
|
2062
1947
|
"fetch-deps",
|
|
2063
1948
|
"fetch dependencies objects"
|
|
1949
|
+
],
|
|
1950
|
+
[
|
|
1951
|
+
"",
|
|
1952
|
+
"track-only",
|
|
1953
|
+
"do not write any file, just create .bitmap entries of the imported components"
|
|
2064
1954
|
]
|
|
2065
1955
|
],
|
|
2066
1956
|
"description": "import components from their remote scopes to the local workspace",
|
|
@@ -2110,6 +2000,126 @@
|
|
|
2110
2000
|
"group": "ungrouped",
|
|
2111
2001
|
"private": true
|
|
2112
2002
|
},
|
|
2003
|
+
{
|
|
2004
|
+
"name": "remove <component-pattern>",
|
|
2005
|
+
"alias": "rm",
|
|
2006
|
+
"options": [
|
|
2007
|
+
[
|
|
2008
|
+
"",
|
|
2009
|
+
"soft",
|
|
2010
|
+
"EXPERIMENTAL. mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2011
|
+
],
|
|
2012
|
+
[
|
|
2013
|
+
"r",
|
|
2014
|
+
"remote",
|
|
2015
|
+
"remove a component completely from a remote scope (Careful! this is a permanent change. prefer --soft and tag+export)"
|
|
2016
|
+
],
|
|
2017
|
+
[
|
|
2018
|
+
"",
|
|
2019
|
+
"from-lane",
|
|
2020
|
+
"revert to main if exists on currently checked out lane, otherwise, remove it"
|
|
2021
|
+
],
|
|
2022
|
+
[
|
|
2023
|
+
"t",
|
|
2024
|
+
"track",
|
|
2025
|
+
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
2026
|
+
],
|
|
2027
|
+
[
|
|
2028
|
+
"d",
|
|
2029
|
+
"delete-files",
|
|
2030
|
+
"DEPRECATED (this is now the default). delete local component files"
|
|
2031
|
+
],
|
|
2032
|
+
[
|
|
2033
|
+
"",
|
|
2034
|
+
"keep-files",
|
|
2035
|
+
"keep component files (just untrack the component)"
|
|
2036
|
+
],
|
|
2037
|
+
[
|
|
2038
|
+
"f",
|
|
2039
|
+
"force",
|
|
2040
|
+
"removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
2041
|
+
],
|
|
2042
|
+
[
|
|
2043
|
+
"s",
|
|
2044
|
+
"silent",
|
|
2045
|
+
"skip confirmation"
|
|
2046
|
+
]
|
|
2047
|
+
],
|
|
2048
|
+
"description": "remove component(s) from the workspace, or a remote scope",
|
|
2049
|
+
"extendedDescription": "",
|
|
2050
|
+
"group": "collaborate",
|
|
2051
|
+
"private": false,
|
|
2052
|
+
"remoteOp": true,
|
|
2053
|
+
"skipWorkspace": true,
|
|
2054
|
+
"arguments": [
|
|
2055
|
+
{
|
|
2056
|
+
"name": "component-pattern",
|
|
2057
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nuse comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\"\nwrap the pattern with quotes"
|
|
2058
|
+
}
|
|
2059
|
+
]
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"name": "resume-export <export-id> <remotes...>",
|
|
2063
|
+
"alias": "",
|
|
2064
|
+
"options": [],
|
|
2065
|
+
"description": "EXPERIMENTAL. resume failed export",
|
|
2066
|
+
"extendedDescription": "resume failed export to persist the pending objects on the given remotes.\nthe export-id is the id the client got in the error message during the failure.\nalternatively, exporting to any one of the failed scopes, throws server-is-busy error with the export-id",
|
|
2067
|
+
"group": "collaborate",
|
|
2068
|
+
"private": true,
|
|
2069
|
+
"remoteOp": true
|
|
2070
|
+
},
|
|
2071
|
+
{
|
|
2072
|
+
"name": "export [component-patterns...]",
|
|
2073
|
+
"alias": "e",
|
|
2074
|
+
"options": [
|
|
2075
|
+
[
|
|
2076
|
+
"e",
|
|
2077
|
+
"eject",
|
|
2078
|
+
"replace the exported components with their corresponding packages (to use these components without further maintaining them)"
|
|
2079
|
+
],
|
|
2080
|
+
[
|
|
2081
|
+
"a",
|
|
2082
|
+
"all",
|
|
2083
|
+
"export all components, including non-staged (useful when components in the remote scope are corrupted or missing)"
|
|
2084
|
+
],
|
|
2085
|
+
[
|
|
2086
|
+
"",
|
|
2087
|
+
"all-versions",
|
|
2088
|
+
"export not only staged versions but all of them (useful when versions in the remote scope are corrupted or missing)"
|
|
2089
|
+
],
|
|
2090
|
+
[
|
|
2091
|
+
"",
|
|
2092
|
+
"origin-directly",
|
|
2093
|
+
"EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended!"
|
|
2094
|
+
],
|
|
2095
|
+
[
|
|
2096
|
+
"",
|
|
2097
|
+
"resume <string>",
|
|
2098
|
+
"in case the previous export failed and suggested to resume with an export-id, enter the id"
|
|
2099
|
+
],
|
|
2100
|
+
[
|
|
2101
|
+
"",
|
|
2102
|
+
"ignore-missing-artifacts",
|
|
2103
|
+
"EXPERIMENTAL. don't throw an error when artifact files are missing. not recommended, unless you're sure the artifacts are in the remote"
|
|
2104
|
+
],
|
|
2105
|
+
[
|
|
2106
|
+
"j",
|
|
2107
|
+
"json",
|
|
2108
|
+
"show output in json format"
|
|
2109
|
+
]
|
|
2110
|
+
],
|
|
2111
|
+
"description": "export components from the workspace to remote scopes",
|
|
2112
|
+
"extendedDescription": "bit export => export all staged components to their current scope, if checked out to a lane, export the lane as well\n `bit export [id...]` => export the given ids to their current scope\n you can use a pattern for multiple ids, such as bit export remote-scope \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
|
|
2113
|
+
"group": "collaborate",
|
|
2114
|
+
"private": false,
|
|
2115
|
+
"remoteOp": true,
|
|
2116
|
+
"arguments": [
|
|
2117
|
+
{
|
|
2118
|
+
"name": "component-patterns...",
|
|
2119
|
+
"description": "component IDs, component names, or component patterns (separated by space). Use patterns to export groups of components using a common scope or namespace. E.g., \"utils/*\" (wrap with double quotes)"
|
|
2120
|
+
}
|
|
2121
|
+
]
|
|
2122
|
+
},
|
|
2113
2123
|
{
|
|
2114
2124
|
"name": "insights [names...]",
|
|
2115
2125
|
"alias": "",
|
|
@@ -2918,7 +2918,20 @@ function MDXContent(_ref) {
|
|
|
2918
2918
|
}), (0, _react2.mdx)("td", {
|
|
2919
2919
|
parentName: "tr",
|
|
2920
2920
|
"align": null
|
|
2921
|
-
}, "fetch dependencies objects"))
|
|
2921
|
+
}, "fetch dependencies objects")), (0, _react2.mdx)("tr", {
|
|
2922
|
+
parentName: "tbody"
|
|
2923
|
+
}, (0, _react2.mdx)("td", {
|
|
2924
|
+
parentName: "tr",
|
|
2925
|
+
"align": null
|
|
2926
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2927
|
+
parentName: "td"
|
|
2928
|
+
}, "--track-only")), (0, _react2.mdx)("td", {
|
|
2929
|
+
parentName: "tr",
|
|
2930
|
+
"align": "center"
|
|
2931
|
+
}), (0, _react2.mdx)("td", {
|
|
2932
|
+
parentName: "tr",
|
|
2933
|
+
"align": null
|
|
2934
|
+
}, "do not write any file, just create .bitmap entries of the imported components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "init"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2922
2935
|
parentName: "p"
|
|
2923
2936
|
}, "Description"), ": create or reinitialize an empty workspace", (0, _react2.mdx)("br", {
|
|
2924
2937
|
parentName: "p"
|
|
@@ -3203,7 +3216,7 @@ function MDXContent(_ref) {
|
|
|
3203
3216
|
"align": null
|
|
3204
3217
|
}, (0, _react2.mdx)("inlineCode", {
|
|
3205
3218
|
parentName: "td"
|
|
3206
|
-
}, "--update
|
|
3219
|
+
}, "--update")), (0, _react2.mdx)("td", {
|
|
3207
3220
|
parentName: "tr",
|
|
3208
3221
|
"align": "center"
|
|
3209
3222
|
}, (0, _react2.mdx)("inlineCode", {
|
|
@@ -3211,6 +3224,19 @@ function MDXContent(_ref) {
|
|
|
3211
3224
|
}, "-u")), (0, _react2.mdx)("td", {
|
|
3212
3225
|
parentName: "tr",
|
|
3213
3226
|
"align": null
|
|
3227
|
+
}, "update all dependencies")), (0, _react2.mdx)("tr", {
|
|
3228
|
+
parentName: "tbody"
|
|
3229
|
+
}, (0, _react2.mdx)("td", {
|
|
3230
|
+
parentName: "tr",
|
|
3231
|
+
"align": null
|
|
3232
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3233
|
+
parentName: "td"
|
|
3234
|
+
}, "--update-existing [updateExisting]")), (0, _react2.mdx)("td", {
|
|
3235
|
+
parentName: "tr",
|
|
3236
|
+
"align": "center"
|
|
3237
|
+
}), (0, _react2.mdx)("td", {
|
|
3238
|
+
parentName: "tr",
|
|
3239
|
+
"align": null
|
|
3214
3240
|
}, "DEPRECATED (not needed anymore, it is the default now). update existing dependencies version and types")), (0, _react2.mdx)("tr", {
|
|
3215
3241
|
parentName: "tbody"
|
|
3216
3242
|
}, (0, _react2.mdx)("td", {
|