@teambit/harmony.content.cli-reference 1.95.139 → 1.95.141
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 +100 -90
- package/cli-reference.mdx +22 -38
- package/dist/cli-reference.json +100 -90
- package/dist/cli-reference.mdx.js +51 -154
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1682566814488.js → preview-1683430915272.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.141.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.139.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -1287,6 +1287,11 @@
|
|
|
1287
1287
|
"s",
|
|
1288
1288
|
"scope <string>",
|
|
1289
1289
|
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
1290
|
+
],
|
|
1291
|
+
[
|
|
1292
|
+
"e",
|
|
1293
|
+
"env <string>",
|
|
1294
|
+
"set the component's environment. (overrides the env from variants if exists)"
|
|
1290
1295
|
]
|
|
1291
1296
|
],
|
|
1292
1297
|
"description": "Add any subset of files to be tracked as a component(s).",
|
|
@@ -1829,7 +1834,7 @@
|
|
|
1829
1834
|
]
|
|
1830
1835
|
],
|
|
1831
1836
|
"description": "create links in the node_modules directory, to core aspects and to components in the workspace",
|
|
1832
|
-
"extendedDescription": "
|
|
1837
|
+
"extendedDescription": "",
|
|
1833
1838
|
"group": "development",
|
|
1834
1839
|
"private": false,
|
|
1835
1840
|
"arguments": [
|
|
@@ -1839,81 +1844,6 @@
|
|
|
1839
1844
|
}
|
|
1840
1845
|
]
|
|
1841
1846
|
},
|
|
1842
|
-
{
|
|
1843
|
-
"name": "checkout <to> [component-pattern]",
|
|
1844
|
-
"alias": "U",
|
|
1845
|
-
"options": [
|
|
1846
|
-
[
|
|
1847
|
-
"i",
|
|
1848
|
-
"interactive-merge",
|
|
1849
|
-
"when a component is modified and the merge process found conflicts, display options to resolve them"
|
|
1850
|
-
],
|
|
1851
|
-
[
|
|
1852
|
-
"o",
|
|
1853
|
-
"ours",
|
|
1854
|
-
"in case of a conflict, override the used version with the current modification"
|
|
1855
|
-
],
|
|
1856
|
-
[
|
|
1857
|
-
"t",
|
|
1858
|
-
"theirs",
|
|
1859
|
-
"in case of a conflict, override the current modification with the specified version"
|
|
1860
|
-
],
|
|
1861
|
-
[
|
|
1862
|
-
"m",
|
|
1863
|
-
"manual",
|
|
1864
|
-
"in case of a conflict, leave the files with a conflict state to resolve them manually later"
|
|
1865
|
-
],
|
|
1866
|
-
[
|
|
1867
|
-
"r",
|
|
1868
|
-
"reset",
|
|
1869
|
-
"revert changes that were not snapped/tagged"
|
|
1870
|
-
],
|
|
1871
|
-
[
|
|
1872
|
-
"a",
|
|
1873
|
-
"all",
|
|
1874
|
-
"all components"
|
|
1875
|
-
],
|
|
1876
|
-
[
|
|
1877
|
-
"e",
|
|
1878
|
-
"workspace-only",
|
|
1879
|
-
"when on a lane, avoid introducing new components from the remote lane that do not exist locally"
|
|
1880
|
-
],
|
|
1881
|
-
[
|
|
1882
|
-
"v",
|
|
1883
|
-
"verbose",
|
|
1884
|
-
"showing verbose output for inspection"
|
|
1885
|
-
],
|
|
1886
|
-
[
|
|
1887
|
-
"",
|
|
1888
|
-
"reset",
|
|
1889
|
-
"DEPRECATED. run \"bit checkout reset\" instead"
|
|
1890
|
-
],
|
|
1891
|
-
[
|
|
1892
|
-
"",
|
|
1893
|
-
"skip-npm-install",
|
|
1894
|
-
"DEPRECATED. use \"--skip-dependency-installation\" instead"
|
|
1895
|
-
],
|
|
1896
|
-
[
|
|
1897
|
-
"x",
|
|
1898
|
-
"skip-dependency-installation",
|
|
1899
|
-
"do not install packages of the imported components"
|
|
1900
|
-
]
|
|
1901
|
-
],
|
|
1902
|
-
"description": "switch between component versions or remove local changes",
|
|
1903
|
-
"extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
|
|
1904
|
-
"group": "development",
|
|
1905
|
-
"private": false,
|
|
1906
|
-
"arguments": [
|
|
1907
|
-
{
|
|
1908
|
-
"name": "to",
|
|
1909
|
-
"description": "permitted values: [head, latest, reset, specific-version]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
|
|
1910
|
-
},
|
|
1911
|
-
{
|
|
1912
|
-
"name": "component-pattern",
|
|
1913
|
-
"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"
|
|
1914
|
-
}
|
|
1915
|
-
]
|
|
1916
|
-
},
|
|
1917
1847
|
{
|
|
1918
1848
|
"name": "import [component-patterns...]",
|
|
1919
1849
|
"alias": "",
|
|
@@ -1995,7 +1925,7 @@
|
|
|
1995
1925
|
]
|
|
1996
1926
|
],
|
|
1997
1927
|
"description": "import components from their remote scopes to the local workspace",
|
|
1998
|
-
"extendedDescription": "
|
|
1928
|
+
"extendedDescription": "",
|
|
1999
1929
|
"group": "collaborate",
|
|
2000
1930
|
"private": false,
|
|
2001
1931
|
"remoteOp": true,
|
|
@@ -2041,6 +1971,81 @@
|
|
|
2041
1971
|
"group": "ungrouped",
|
|
2042
1972
|
"private": true
|
|
2043
1973
|
},
|
|
1974
|
+
{
|
|
1975
|
+
"name": "checkout <to> [component-pattern]",
|
|
1976
|
+
"alias": "U",
|
|
1977
|
+
"options": [
|
|
1978
|
+
[
|
|
1979
|
+
"i",
|
|
1980
|
+
"interactive-merge",
|
|
1981
|
+
"when a component is modified and the merge process found conflicts, display options to resolve them"
|
|
1982
|
+
],
|
|
1983
|
+
[
|
|
1984
|
+
"o",
|
|
1985
|
+
"ours",
|
|
1986
|
+
"in case of a conflict, override the used version with the current modification"
|
|
1987
|
+
],
|
|
1988
|
+
[
|
|
1989
|
+
"t",
|
|
1990
|
+
"theirs",
|
|
1991
|
+
"in case of a conflict, override the current modification with the specified version"
|
|
1992
|
+
],
|
|
1993
|
+
[
|
|
1994
|
+
"m",
|
|
1995
|
+
"manual",
|
|
1996
|
+
"in case of a conflict, leave the files with a conflict state to resolve them manually later"
|
|
1997
|
+
],
|
|
1998
|
+
[
|
|
1999
|
+
"r",
|
|
2000
|
+
"reset",
|
|
2001
|
+
"revert changes that were not snapped/tagged"
|
|
2002
|
+
],
|
|
2003
|
+
[
|
|
2004
|
+
"a",
|
|
2005
|
+
"all",
|
|
2006
|
+
"all components"
|
|
2007
|
+
],
|
|
2008
|
+
[
|
|
2009
|
+
"e",
|
|
2010
|
+
"workspace-only",
|
|
2011
|
+
"when on a lane, avoid introducing new components from the remote lane that do not exist locally"
|
|
2012
|
+
],
|
|
2013
|
+
[
|
|
2014
|
+
"v",
|
|
2015
|
+
"verbose",
|
|
2016
|
+
"showing verbose output for inspection"
|
|
2017
|
+
],
|
|
2018
|
+
[
|
|
2019
|
+
"",
|
|
2020
|
+
"reset",
|
|
2021
|
+
"DEPRECATED. run \"bit checkout reset\" instead"
|
|
2022
|
+
],
|
|
2023
|
+
[
|
|
2024
|
+
"",
|
|
2025
|
+
"skip-npm-install",
|
|
2026
|
+
"DEPRECATED. use \"--skip-dependency-installation\" instead"
|
|
2027
|
+
],
|
|
2028
|
+
[
|
|
2029
|
+
"x",
|
|
2030
|
+
"skip-dependency-installation",
|
|
2031
|
+
"do not install packages of the imported components"
|
|
2032
|
+
]
|
|
2033
|
+
],
|
|
2034
|
+
"description": "switch between component versions or remove local changes",
|
|
2035
|
+
"extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
|
|
2036
|
+
"group": "development",
|
|
2037
|
+
"private": false,
|
|
2038
|
+
"arguments": [
|
|
2039
|
+
{
|
|
2040
|
+
"name": "to",
|
|
2041
|
+
"description": "permitted values: [head, latest, reset, specific-version]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"name": "component-pattern",
|
|
2045
|
+
"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"
|
|
2046
|
+
}
|
|
2047
|
+
]
|
|
2048
|
+
},
|
|
2044
2049
|
{
|
|
2045
2050
|
"name": "remove <component-pattern>",
|
|
2046
2051
|
"alias": "rm",
|
|
@@ -2048,12 +2053,22 @@
|
|
|
2048
2053
|
[
|
|
2049
2054
|
"",
|
|
2050
2055
|
"soft",
|
|
2051
|
-
"
|
|
2056
|
+
"DEPRECATED. use --delete instead"
|
|
2052
2057
|
],
|
|
2053
2058
|
[
|
|
2054
|
-
"
|
|
2059
|
+
"",
|
|
2060
|
+
"delete",
|
|
2061
|
+
"mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2062
|
+
],
|
|
2063
|
+
[
|
|
2064
|
+
"",
|
|
2055
2065
|
"remote",
|
|
2056
|
-
"
|
|
2066
|
+
"DEPRECATED. use --hard instead"
|
|
2067
|
+
],
|
|
2068
|
+
[
|
|
2069
|
+
"",
|
|
2070
|
+
"hard",
|
|
2071
|
+
"remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete"
|
|
2057
2072
|
],
|
|
2058
2073
|
[
|
|
2059
2074
|
"",
|
|
@@ -2065,11 +2080,6 @@
|
|
|
2065
2080
|
"track",
|
|
2066
2081
|
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
2067
2082
|
],
|
|
2068
|
-
[
|
|
2069
|
-
"d",
|
|
2070
|
-
"delete-files",
|
|
2071
|
-
"DEPRECATED (this is now the default). delete local component files"
|
|
2072
|
-
],
|
|
2073
2083
|
[
|
|
2074
2084
|
"",
|
|
2075
2085
|
"keep-files",
|
|
@@ -2087,7 +2097,7 @@
|
|
|
2087
2097
|
]
|
|
2088
2098
|
],
|
|
2089
2099
|
"description": "remove component(s) from the workspace, or a remote scope",
|
|
2090
|
-
"extendedDescription": "",
|
|
2100
|
+
"extendedDescription": "to remove components from your local workspace only, use \"bit remove\" (with no flags).\n\nto remove a component from the remote scope, use \"bit remove --delete\", to mark the components as deleted.\nonce tagged/snapped and exported, the remote scope will be updated and it'll be marked as deleted there as well.\nin case this is running on a lane, it'll mark the component as deleted on the lane only, which tells bit not to merge them. the main will not be affected.\n",
|
|
2091
2101
|
"group": "collaborate",
|
|
2092
2102
|
"private": false,
|
|
2093
2103
|
"remoteOp": true,
|
|
@@ -2415,7 +2425,7 @@
|
|
|
2415
2425
|
]
|
|
2416
2426
|
],
|
|
2417
2427
|
"description": "EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)",
|
|
2418
|
-
"extendedDescription": "
|
|
2428
|
+
"extendedDescription": "",
|
|
2419
2429
|
"group": "development",
|
|
2420
2430
|
"private": false,
|
|
2421
2431
|
"arguments": [
|
|
@@ -3765,10 +3775,10 @@
|
|
|
3765
3775
|
"json format"
|
|
3766
3776
|
]
|
|
3767
3777
|
],
|
|
3768
|
-
"description": "
|
|
3778
|
+
"description": "DEPRECATED. use bit ws-config write instead",
|
|
3769
3779
|
"extendedDescription": "",
|
|
3770
3780
|
"group": "development",
|
|
3771
|
-
"private":
|
|
3781
|
+
"private": true
|
|
3772
3782
|
},
|
|
3773
3783
|
{
|
|
3774
3784
|
"name": "aspect <sub-command>",
|
|
@@ -3947,7 +3957,7 @@
|
|
|
3947
3957
|
]
|
|
3948
3958
|
],
|
|
3949
3959
|
"description": "show components(s) version history",
|
|
3950
|
-
"extendedDescription": "
|
|
3960
|
+
"extendedDescription": "",
|
|
3951
3961
|
"group": "info",
|
|
3952
3962
|
"private": false,
|
|
3953
3963
|
"remoteOp": true,
|
package/cli-reference.mdx
CHANGED
|
@@ -33,6 +33,7 @@ Learn the recommended workflow for tracking directories as components, in the li
|
|
|
33
33
|
| `--namespace <namespace>` | `-n` | organize component in a namespace |
|
|
34
34
|
| `--override <boolean>` | `-o` | override existing component if exists (default = false) |
|
|
35
35
|
| `--scope <string>` | `-s` | sets the component's scope-name. if not entered, the default-scope will be used |
|
|
36
|
+
| `--env <string>` | `-e` | set the component's environment. (overrides the env from variants if exists) |
|
|
36
37
|
|
|
37
38
|
---
|
|
38
39
|
|
|
@@ -676,9 +677,7 @@ bit export => export all staged components to their current scope, if checked ou
|
|
|
676
677
|
|
|
677
678
|
## import
|
|
678
679
|
|
|
679
|
-
**Description**: import components from their remote scopes to the local workspace
|
|
680
|
-
https://bit.dev/docs/components/importing-components
|
|
681
|
-
you can use a pattern for multiple ids, such as bit import "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
680
|
+
**Description**: import components from their remote scopes to the local workspace
|
|
682
681
|
|
|
683
682
|
`bit import [component-patterns...]`
|
|
684
683
|
|
|
@@ -919,8 +918,7 @@ it will snap-merge these components to complete the merge. use "no-snap" to opt-
|
|
|
919
918
|
|
|
920
919
|
## link
|
|
921
920
|
|
|
922
|
-
**Description**: create links in the node_modules directory, to core aspects and to components in the workspace
|
|
923
|
-
https://bit.dev/docs/workspace/component-links
|
|
921
|
+
**Description**: create links in the node_modules directory, to core aspects and to components in the workspace
|
|
924
922
|
|
|
925
923
|
`bit link [component-names...]`
|
|
926
924
|
|
|
@@ -969,8 +967,7 @@ https://bit.dev/docs/reference/cli-reference#list
|
|
|
969
967
|
|
|
970
968
|
## log
|
|
971
969
|
|
|
972
|
-
**Description**: show components(s) version history
|
|
973
|
-
https://bit.dev/docs/reference/cli-reference#log
|
|
970
|
+
**Description**: show components(s) version history
|
|
974
971
|
|
|
975
972
|
`bit log <id>`
|
|
976
973
|
|
|
@@ -1156,20 +1153,26 @@ for example: "http://localhost:3000", "file:///tmp/local-scope"
|
|
|
1156
1153
|
## remove
|
|
1157
1154
|
|
|
1158
1155
|
**Alias**: `rm`
|
|
1159
|
-
**Description**: remove component(s) from the workspace, or a remote scope
|
|
1156
|
+
**Description**: remove component(s) from the workspace, or a remote scope
|
|
1157
|
+
to remove components from your local workspace only, use "bit remove" (with no flags).
|
|
1158
|
+
|
|
1159
|
+
to remove a component from the remote scope, use "bit remove --delete", to mark the components as deleted.
|
|
1160
|
+
once tagged/snapped and exported, the remote scope will be updated and it'll be marked as deleted there as well.
|
|
1161
|
+
in case this is running on a lane, it'll mark the component as deleted on the lane only, which tells bit not to merge them. the main will not be affected.
|
|
1160
1162
|
|
|
1161
1163
|
`bit remove <component-pattern>`
|
|
1162
1164
|
|
|
1163
|
-
| **Option**
|
|
1164
|
-
|
|
|
1165
|
-
| `--soft`
|
|
1166
|
-
| `--
|
|
1167
|
-
| `--
|
|
1168
|
-
| `--
|
|
1169
|
-
| `--
|
|
1170
|
-
| `--
|
|
1171
|
-
| `--
|
|
1172
|
-
| `--
|
|
1165
|
+
| **Option** | **Option alias** | **Description** |
|
|
1166
|
+
| -------------- | :--------------: | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1167
|
+
| `--soft` | | DEPRECATED. use --delete instead |
|
|
1168
|
+
| `--delete` | | mark the component as deleted. after tag/snap and export the remote will be updated |
|
|
1169
|
+
| `--remote` | | DEPRECATED. use --hard instead |
|
|
1170
|
+
| `--hard` | | remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete |
|
|
1171
|
+
| `--from-lane` | | revert to main if exists on currently checked out lane, otherwise, remove it |
|
|
1172
|
+
| `--track` | `-t` | keep tracking component in .bitmap (default = false), helps transform a tagged-component to new |
|
|
1173
|
+
| `--keep-files` | | keep component files (just untrack the component) |
|
|
1174
|
+
| `--force` | `-f` | removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt |
|
|
1175
|
+
| `--silent` | `-s` | skip confirmation |
|
|
1173
1176
|
|
|
1174
1177
|
---
|
|
1175
1178
|
|
|
@@ -1343,9 +1346,7 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
|
|
|
1343
1346
|
|
|
1344
1347
|
## snap
|
|
1345
1348
|
|
|
1346
|
-
**Description**: EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)
|
|
1347
|
-
https://bit.dev/components/snaps
|
|
1348
|
-
you can use a pattern for multiple ids, such as bit snap "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
1349
|
+
**Description**: EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)
|
|
1349
1350
|
|
|
1350
1351
|
`bit snap [component-pattern]`
|
|
1351
1352
|
|
|
@@ -1540,23 +1541,6 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
|
|
|
1540
1541
|
|
|
1541
1542
|
---
|
|
1542
1543
|
|
|
1543
|
-
## write-tsconfig
|
|
1544
|
-
|
|
1545
|
-
**Description**: EXPERIMENTAL. write tsconfig.json files in the component directories
|
|
1546
|
-
|
|
1547
|
-
`bit write-tsconfig`
|
|
1548
|
-
|
|
1549
|
-
| **Option** | **Option alias** | **Description** |
|
|
1550
|
-
| ------------------------- | :--------------: | --------------------------------------------------------------------------------------------- |
|
|
1551
|
-
| `--clean` | `-c` | delete tsconfig files from the workspace. highly recommended to run it with "--dry-run" first |
|
|
1552
|
-
| `--silent` | `-s` | do not prompt for confirmation |
|
|
1553
|
-
| `--no-dedupe` | | write tsconfig.json inside each one of the component's dir, avoid deduping |
|
|
1554
|
-
| `--dry-run` | | show the paths that tsconfig will be written per env |
|
|
1555
|
-
| `--dry-run-with-tsconfig` | | use with --json flag. show the tsconfig.json content and the paths it will be written per env |
|
|
1556
|
-
| `--json` | `-j` | json format |
|
|
1557
|
-
|
|
1558
|
-
---
|
|
1559
|
-
|
|
1560
1544
|
## ws-config
|
|
1561
1545
|
|
|
1562
1546
|
**Alias**: `workspace-config`
|
package/dist/cli-reference.json
CHANGED
|
@@ -1287,6 +1287,11 @@
|
|
|
1287
1287
|
"s",
|
|
1288
1288
|
"scope <string>",
|
|
1289
1289
|
"sets the component's scope-name. if not entered, the default-scope will be used"
|
|
1290
|
+
],
|
|
1291
|
+
[
|
|
1292
|
+
"e",
|
|
1293
|
+
"env <string>",
|
|
1294
|
+
"set the component's environment. (overrides the env from variants if exists)"
|
|
1290
1295
|
]
|
|
1291
1296
|
],
|
|
1292
1297
|
"description": "Add any subset of files to be tracked as a component(s).",
|
|
@@ -1829,7 +1834,7 @@
|
|
|
1829
1834
|
]
|
|
1830
1835
|
],
|
|
1831
1836
|
"description": "create links in the node_modules directory, to core aspects and to components in the workspace",
|
|
1832
|
-
"extendedDescription": "
|
|
1837
|
+
"extendedDescription": "",
|
|
1833
1838
|
"group": "development",
|
|
1834
1839
|
"private": false,
|
|
1835
1840
|
"arguments": [
|
|
@@ -1839,81 +1844,6 @@
|
|
|
1839
1844
|
}
|
|
1840
1845
|
]
|
|
1841
1846
|
},
|
|
1842
|
-
{
|
|
1843
|
-
"name": "checkout <to> [component-pattern]",
|
|
1844
|
-
"alias": "U",
|
|
1845
|
-
"options": [
|
|
1846
|
-
[
|
|
1847
|
-
"i",
|
|
1848
|
-
"interactive-merge",
|
|
1849
|
-
"when a component is modified and the merge process found conflicts, display options to resolve them"
|
|
1850
|
-
],
|
|
1851
|
-
[
|
|
1852
|
-
"o",
|
|
1853
|
-
"ours",
|
|
1854
|
-
"in case of a conflict, override the used version with the current modification"
|
|
1855
|
-
],
|
|
1856
|
-
[
|
|
1857
|
-
"t",
|
|
1858
|
-
"theirs",
|
|
1859
|
-
"in case of a conflict, override the current modification with the specified version"
|
|
1860
|
-
],
|
|
1861
|
-
[
|
|
1862
|
-
"m",
|
|
1863
|
-
"manual",
|
|
1864
|
-
"in case of a conflict, leave the files with a conflict state to resolve them manually later"
|
|
1865
|
-
],
|
|
1866
|
-
[
|
|
1867
|
-
"r",
|
|
1868
|
-
"reset",
|
|
1869
|
-
"revert changes that were not snapped/tagged"
|
|
1870
|
-
],
|
|
1871
|
-
[
|
|
1872
|
-
"a",
|
|
1873
|
-
"all",
|
|
1874
|
-
"all components"
|
|
1875
|
-
],
|
|
1876
|
-
[
|
|
1877
|
-
"e",
|
|
1878
|
-
"workspace-only",
|
|
1879
|
-
"when on a lane, avoid introducing new components from the remote lane that do not exist locally"
|
|
1880
|
-
],
|
|
1881
|
-
[
|
|
1882
|
-
"v",
|
|
1883
|
-
"verbose",
|
|
1884
|
-
"showing verbose output for inspection"
|
|
1885
|
-
],
|
|
1886
|
-
[
|
|
1887
|
-
"",
|
|
1888
|
-
"reset",
|
|
1889
|
-
"DEPRECATED. run \"bit checkout reset\" instead"
|
|
1890
|
-
],
|
|
1891
|
-
[
|
|
1892
|
-
"",
|
|
1893
|
-
"skip-npm-install",
|
|
1894
|
-
"DEPRECATED. use \"--skip-dependency-installation\" instead"
|
|
1895
|
-
],
|
|
1896
|
-
[
|
|
1897
|
-
"x",
|
|
1898
|
-
"skip-dependency-installation",
|
|
1899
|
-
"do not install packages of the imported components"
|
|
1900
|
-
]
|
|
1901
|
-
],
|
|
1902
|
-
"description": "switch between component versions or remove local changes",
|
|
1903
|
-
"extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
|
|
1904
|
-
"group": "development",
|
|
1905
|
-
"private": false,
|
|
1906
|
-
"arguments": [
|
|
1907
|
-
{
|
|
1908
|
-
"name": "to",
|
|
1909
|
-
"description": "permitted values: [head, latest, reset, specific-version]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
|
|
1910
|
-
},
|
|
1911
|
-
{
|
|
1912
|
-
"name": "component-pattern",
|
|
1913
|
-
"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"
|
|
1914
|
-
}
|
|
1915
|
-
]
|
|
1916
|
-
},
|
|
1917
1847
|
{
|
|
1918
1848
|
"name": "import [component-patterns...]",
|
|
1919
1849
|
"alias": "",
|
|
@@ -1995,7 +1925,7 @@
|
|
|
1995
1925
|
]
|
|
1996
1926
|
],
|
|
1997
1927
|
"description": "import components from their remote scopes to the local workspace",
|
|
1998
|
-
"extendedDescription": "
|
|
1928
|
+
"extendedDescription": "",
|
|
1999
1929
|
"group": "collaborate",
|
|
2000
1930
|
"private": false,
|
|
2001
1931
|
"remoteOp": true,
|
|
@@ -2041,6 +1971,81 @@
|
|
|
2041
1971
|
"group": "ungrouped",
|
|
2042
1972
|
"private": true
|
|
2043
1973
|
},
|
|
1974
|
+
{
|
|
1975
|
+
"name": "checkout <to> [component-pattern]",
|
|
1976
|
+
"alias": "U",
|
|
1977
|
+
"options": [
|
|
1978
|
+
[
|
|
1979
|
+
"i",
|
|
1980
|
+
"interactive-merge",
|
|
1981
|
+
"when a component is modified and the merge process found conflicts, display options to resolve them"
|
|
1982
|
+
],
|
|
1983
|
+
[
|
|
1984
|
+
"o",
|
|
1985
|
+
"ours",
|
|
1986
|
+
"in case of a conflict, override the used version with the current modification"
|
|
1987
|
+
],
|
|
1988
|
+
[
|
|
1989
|
+
"t",
|
|
1990
|
+
"theirs",
|
|
1991
|
+
"in case of a conflict, override the current modification with the specified version"
|
|
1992
|
+
],
|
|
1993
|
+
[
|
|
1994
|
+
"m",
|
|
1995
|
+
"manual",
|
|
1996
|
+
"in case of a conflict, leave the files with a conflict state to resolve them manually later"
|
|
1997
|
+
],
|
|
1998
|
+
[
|
|
1999
|
+
"r",
|
|
2000
|
+
"reset",
|
|
2001
|
+
"revert changes that were not snapped/tagged"
|
|
2002
|
+
],
|
|
2003
|
+
[
|
|
2004
|
+
"a",
|
|
2005
|
+
"all",
|
|
2006
|
+
"all components"
|
|
2007
|
+
],
|
|
2008
|
+
[
|
|
2009
|
+
"e",
|
|
2010
|
+
"workspace-only",
|
|
2011
|
+
"when on a lane, avoid introducing new components from the remote lane that do not exist locally"
|
|
2012
|
+
],
|
|
2013
|
+
[
|
|
2014
|
+
"v",
|
|
2015
|
+
"verbose",
|
|
2016
|
+
"showing verbose output for inspection"
|
|
2017
|
+
],
|
|
2018
|
+
[
|
|
2019
|
+
"",
|
|
2020
|
+
"reset",
|
|
2021
|
+
"DEPRECATED. run \"bit checkout reset\" instead"
|
|
2022
|
+
],
|
|
2023
|
+
[
|
|
2024
|
+
"",
|
|
2025
|
+
"skip-npm-install",
|
|
2026
|
+
"DEPRECATED. use \"--skip-dependency-installation\" instead"
|
|
2027
|
+
],
|
|
2028
|
+
[
|
|
2029
|
+
"x",
|
|
2030
|
+
"skip-dependency-installation",
|
|
2031
|
+
"do not install packages of the imported components"
|
|
2032
|
+
]
|
|
2033
|
+
],
|
|
2034
|
+
"description": "switch between component versions or remove local changes",
|
|
2035
|
+
"extendedDescription": "\n `bit checkout <version> [component-pattern]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head [component-pattern]` => checkout to the last snap/tag, omit [component-pattern] to checkout head for all\n `bit checkout latest [component-pattern]` => checkout to the latest satisfying semver tag, omit [component-pattern] to checkout latest for all\n `bit checkout reset [component-pattern]` => remove local modifications from the specified ids (or all components when --all is used)",
|
|
2036
|
+
"group": "development",
|
|
2037
|
+
"private": false,
|
|
2038
|
+
"arguments": [
|
|
2039
|
+
{
|
|
2040
|
+
"name": "to",
|
|
2041
|
+
"description": "permitted values: [head, latest, reset, specific-version]. 'head' - last snap/tag. 'latest' - semver latest tag. 'reset' - removes local changes"
|
|
2042
|
+
},
|
|
2043
|
+
{
|
|
2044
|
+
"name": "component-pattern",
|
|
2045
|
+
"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"
|
|
2046
|
+
}
|
|
2047
|
+
]
|
|
2048
|
+
},
|
|
2044
2049
|
{
|
|
2045
2050
|
"name": "remove <component-pattern>",
|
|
2046
2051
|
"alias": "rm",
|
|
@@ -2048,12 +2053,22 @@
|
|
|
2048
2053
|
[
|
|
2049
2054
|
"",
|
|
2050
2055
|
"soft",
|
|
2051
|
-
"
|
|
2056
|
+
"DEPRECATED. use --delete instead"
|
|
2052
2057
|
],
|
|
2053
2058
|
[
|
|
2054
|
-
"
|
|
2059
|
+
"",
|
|
2060
|
+
"delete",
|
|
2061
|
+
"mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2062
|
+
],
|
|
2063
|
+
[
|
|
2064
|
+
"",
|
|
2055
2065
|
"remote",
|
|
2056
|
-
"
|
|
2066
|
+
"DEPRECATED. use --hard instead"
|
|
2067
|
+
],
|
|
2068
|
+
[
|
|
2069
|
+
"",
|
|
2070
|
+
"hard",
|
|
2071
|
+
"remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete"
|
|
2057
2072
|
],
|
|
2058
2073
|
[
|
|
2059
2074
|
"",
|
|
@@ -2065,11 +2080,6 @@
|
|
|
2065
2080
|
"track",
|
|
2066
2081
|
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
2067
2082
|
],
|
|
2068
|
-
[
|
|
2069
|
-
"d",
|
|
2070
|
-
"delete-files",
|
|
2071
|
-
"DEPRECATED (this is now the default). delete local component files"
|
|
2072
|
-
],
|
|
2073
2083
|
[
|
|
2074
2084
|
"",
|
|
2075
2085
|
"keep-files",
|
|
@@ -2087,7 +2097,7 @@
|
|
|
2087
2097
|
]
|
|
2088
2098
|
],
|
|
2089
2099
|
"description": "remove component(s) from the workspace, or a remote scope",
|
|
2090
|
-
"extendedDescription": "",
|
|
2100
|
+
"extendedDescription": "to remove components from your local workspace only, use \"bit remove\" (with no flags).\n\nto remove a component from the remote scope, use \"bit remove --delete\", to mark the components as deleted.\nonce tagged/snapped and exported, the remote scope will be updated and it'll be marked as deleted there as well.\nin case this is running on a lane, it'll mark the component as deleted on the lane only, which tells bit not to merge them. the main will not be affected.\n",
|
|
2091
2101
|
"group": "collaborate",
|
|
2092
2102
|
"private": false,
|
|
2093
2103
|
"remoteOp": true,
|
|
@@ -2415,7 +2425,7 @@
|
|
|
2415
2425
|
]
|
|
2416
2426
|
],
|
|
2417
2427
|
"description": "EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)",
|
|
2418
|
-
"extendedDescription": "
|
|
2428
|
+
"extendedDescription": "",
|
|
2419
2429
|
"group": "development",
|
|
2420
2430
|
"private": false,
|
|
2421
2431
|
"arguments": [
|
|
@@ -3765,10 +3775,10 @@
|
|
|
3765
3775
|
"json format"
|
|
3766
3776
|
]
|
|
3767
3777
|
],
|
|
3768
|
-
"description": "
|
|
3778
|
+
"description": "DEPRECATED. use bit ws-config write instead",
|
|
3769
3779
|
"extendedDescription": "",
|
|
3770
3780
|
"group": "development",
|
|
3771
|
-
"private":
|
|
3781
|
+
"private": true
|
|
3772
3782
|
},
|
|
3773
3783
|
{
|
|
3774
3784
|
"name": "aspect <sub-command>",
|
|
@@ -3947,7 +3957,7 @@
|
|
|
3947
3957
|
]
|
|
3948
3958
|
],
|
|
3949
3959
|
"description": "show components(s) version history",
|
|
3950
|
-
"extendedDescription": "
|
|
3960
|
+
"extendedDescription": "",
|
|
3951
3961
|
"group": "info",
|
|
3952
3962
|
"private": false,
|
|
3953
3963
|
"remoteOp": true,
|