@teambit/harmony.content.cli-reference 1.95.138 → 1.95.140
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 +29 -14
- package/cli-reference.mdx +22 -42
- package/dist/cli-reference.json +29 -14
- package/dist/cli-reference.mdx.js +60 -154
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1682479861351.js → preview-1683084947241.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.140.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.138.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -573,6 +573,11 @@
|
|
|
573
573
|
"s",
|
|
574
574
|
"save [filePath]",
|
|
575
575
|
"save diagnoses to a file"
|
|
576
|
+
],
|
|
577
|
+
[
|
|
578
|
+
"a",
|
|
579
|
+
"archive [filePath]",
|
|
580
|
+
"archive the workspace including diagnosis info"
|
|
576
581
|
]
|
|
577
582
|
],
|
|
578
583
|
"description": "diagnose a bit workspace",
|
|
@@ -1282,6 +1287,11 @@
|
|
|
1282
1287
|
"s",
|
|
1283
1288
|
"scope <string>",
|
|
1284
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)"
|
|
1285
1295
|
]
|
|
1286
1296
|
],
|
|
1287
1297
|
"description": "Add any subset of files to be tracked as a component(s).",
|
|
@@ -1824,7 +1834,7 @@
|
|
|
1824
1834
|
]
|
|
1825
1835
|
],
|
|
1826
1836
|
"description": "create links in the node_modules directory, to core aspects and to components in the workspace",
|
|
1827
|
-
"extendedDescription": "
|
|
1837
|
+
"extendedDescription": "",
|
|
1828
1838
|
"group": "development",
|
|
1829
1839
|
"private": false,
|
|
1830
1840
|
"arguments": [
|
|
@@ -1990,7 +2000,7 @@
|
|
|
1990
2000
|
]
|
|
1991
2001
|
],
|
|
1992
2002
|
"description": "import components from their remote scopes to the local workspace",
|
|
1993
|
-
"extendedDescription": "
|
|
2003
|
+
"extendedDescription": "",
|
|
1994
2004
|
"group": "collaborate",
|
|
1995
2005
|
"private": false,
|
|
1996
2006
|
"remoteOp": true,
|
|
@@ -2043,12 +2053,22 @@
|
|
|
2043
2053
|
[
|
|
2044
2054
|
"",
|
|
2045
2055
|
"soft",
|
|
2046
|
-
"
|
|
2056
|
+
"DEPRECATED. use --delete instead"
|
|
2047
2057
|
],
|
|
2048
2058
|
[
|
|
2049
|
-
"
|
|
2059
|
+
"",
|
|
2060
|
+
"delete",
|
|
2061
|
+
"mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2062
|
+
],
|
|
2063
|
+
[
|
|
2064
|
+
"",
|
|
2050
2065
|
"remote",
|
|
2051
|
-
"
|
|
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"
|
|
2052
2072
|
],
|
|
2053
2073
|
[
|
|
2054
2074
|
"",
|
|
@@ -2060,11 +2080,6 @@
|
|
|
2060
2080
|
"track",
|
|
2061
2081
|
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
2062
2082
|
],
|
|
2063
|
-
[
|
|
2064
|
-
"d",
|
|
2065
|
-
"delete-files",
|
|
2066
|
-
"DEPRECATED (this is now the default). delete local component files"
|
|
2067
|
-
],
|
|
2068
2083
|
[
|
|
2069
2084
|
"",
|
|
2070
2085
|
"keep-files",
|
|
@@ -2410,7 +2425,7 @@
|
|
|
2410
2425
|
]
|
|
2411
2426
|
],
|
|
2412
2427
|
"description": "EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)",
|
|
2413
|
-
"extendedDescription": "
|
|
2428
|
+
"extendedDescription": "",
|
|
2414
2429
|
"group": "development",
|
|
2415
2430
|
"private": false,
|
|
2416
2431
|
"arguments": [
|
|
@@ -3760,10 +3775,10 @@
|
|
|
3760
3775
|
"json format"
|
|
3761
3776
|
]
|
|
3762
3777
|
],
|
|
3763
|
-
"description": "
|
|
3778
|
+
"description": "DEPRECATED. use bit ws-config write instead",
|
|
3764
3779
|
"extendedDescription": "",
|
|
3765
3780
|
"group": "development",
|
|
3766
|
-
"private":
|
|
3781
|
+
"private": true
|
|
3767
3782
|
},
|
|
3768
3783
|
{
|
|
3769
3784
|
"name": "aspect <sub-command>",
|
|
@@ -3942,7 +3957,7 @@
|
|
|
3942
3957
|
]
|
|
3943
3958
|
],
|
|
3944
3959
|
"description": "show components(s) version history",
|
|
3945
|
-
"extendedDescription": "
|
|
3960
|
+
"extendedDescription": "",
|
|
3946
3961
|
"group": "info",
|
|
3947
3962
|
"private": false,
|
|
3948
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
|
|
|
@@ -482,11 +483,12 @@ bit diff => compare all modified components to their model version
|
|
|
482
483
|
|
|
483
484
|
`bit doctor [diagnosis-name]`
|
|
484
485
|
|
|
485
|
-
| **Option**
|
|
486
|
-
|
|
|
487
|
-
| `--json`
|
|
488
|
-
| `--list`
|
|
489
|
-
| `--save [filePath]`
|
|
486
|
+
| **Option** | **Option alias** | **Description** |
|
|
487
|
+
| ---------------------- | :--------------: | ---------------------------------------------- |
|
|
488
|
+
| `--json` | `-j` | return diagnoses in json format |
|
|
489
|
+
| `--list` | | list all available diagnoses |
|
|
490
|
+
| `--save [filePath]` | `-s` | save diagnoses to a file |
|
|
491
|
+
| `--archive [filePath]` | `-a` | archive the workspace including diagnosis info |
|
|
490
492
|
|
|
491
493
|
---
|
|
492
494
|
|
|
@@ -675,9 +677,7 @@ bit export => export all staged components to their current scope, if checked ou
|
|
|
675
677
|
|
|
676
678
|
## import
|
|
677
679
|
|
|
678
|
-
**Description**: import components from their remote scopes to the local workspace
|
|
679
|
-
https://bit.dev/docs/components/importing-components
|
|
680
|
-
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
|
|
681
681
|
|
|
682
682
|
`bit import [component-patterns...]`
|
|
683
683
|
|
|
@@ -918,8 +918,7 @@ it will snap-merge these components to complete the merge. use "no-snap" to opt-
|
|
|
918
918
|
|
|
919
919
|
## link
|
|
920
920
|
|
|
921
|
-
**Description**: create links in the node_modules directory, to core aspects and to components in the workspace
|
|
922
|
-
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
|
|
923
922
|
|
|
924
923
|
`bit link [component-names...]`
|
|
925
924
|
|
|
@@ -968,8 +967,7 @@ https://bit.dev/docs/reference/cli-reference#list
|
|
|
968
967
|
|
|
969
968
|
## log
|
|
970
969
|
|
|
971
|
-
**Description**: show components(s) version history
|
|
972
|
-
https://bit.dev/docs/reference/cli-reference#log
|
|
970
|
+
**Description**: show components(s) version history
|
|
973
971
|
|
|
974
972
|
`bit log <id>`
|
|
975
973
|
|
|
@@ -1159,16 +1157,17 @@ for example: "http://localhost:3000", "file:///tmp/local-scope"
|
|
|
1159
1157
|
|
|
1160
1158
|
`bit remove <component-pattern>`
|
|
1161
1159
|
|
|
1162
|
-
| **Option**
|
|
1163
|
-
|
|
|
1164
|
-
| `--soft`
|
|
1165
|
-
| `--
|
|
1166
|
-
| `--
|
|
1167
|
-
| `--
|
|
1168
|
-
| `--
|
|
1169
|
-
| `--
|
|
1170
|
-
| `--
|
|
1171
|
-
| `--
|
|
1160
|
+
| **Option** | **Option alias** | **Description** |
|
|
1161
|
+
| -------------- | :--------------: | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1162
|
+
| `--soft` | | DEPRECATED. use --delete instead |
|
|
1163
|
+
| `--delete` | | mark the component as deleted. after tag/snap and export the remote will be updated |
|
|
1164
|
+
| `--remote` | | DEPRECATED. use --hard instead |
|
|
1165
|
+
| `--hard` | | remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete |
|
|
1166
|
+
| `--from-lane` | | revert to main if exists on currently checked out lane, otherwise, remove it |
|
|
1167
|
+
| `--track` | `-t` | keep tracking component in .bitmap (default = false), helps transform a tagged-component to new |
|
|
1168
|
+
| `--keep-files` | | keep component files (just untrack the component) |
|
|
1169
|
+
| `--force` | `-f` | removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt |
|
|
1170
|
+
| `--silent` | `-s` | skip confirmation |
|
|
1172
1171
|
|
|
1173
1172
|
---
|
|
1174
1173
|
|
|
@@ -1342,9 +1341,7 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
|
|
|
1342
1341
|
|
|
1343
1342
|
## snap
|
|
1344
1343
|
|
|
1345
|
-
**Description**: EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)
|
|
1346
|
-
https://bit.dev/components/snaps
|
|
1347
|
-
you can use a pattern for multiple ids, such as bit snap "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
1344
|
+
**Description**: EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)
|
|
1348
1345
|
|
|
1349
1346
|
`bit snap [component-pattern]`
|
|
1350
1347
|
|
|
@@ -1539,23 +1536,6 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
|
|
|
1539
1536
|
|
|
1540
1537
|
---
|
|
1541
1538
|
|
|
1542
|
-
## write-tsconfig
|
|
1543
|
-
|
|
1544
|
-
**Description**: EXPERIMENTAL. write tsconfig.json files in the component directories
|
|
1545
|
-
|
|
1546
|
-
`bit write-tsconfig`
|
|
1547
|
-
|
|
1548
|
-
| **Option** | **Option alias** | **Description** |
|
|
1549
|
-
| ------------------------- | :--------------: | --------------------------------------------------------------------------------------------- |
|
|
1550
|
-
| `--clean` | `-c` | delete tsconfig files from the workspace. highly recommended to run it with "--dry-run" first |
|
|
1551
|
-
| `--silent` | `-s` | do not prompt for confirmation |
|
|
1552
|
-
| `--no-dedupe` | | write tsconfig.json inside each one of the component's dir, avoid deduping |
|
|
1553
|
-
| `--dry-run` | | show the paths that tsconfig will be written per env |
|
|
1554
|
-
| `--dry-run-with-tsconfig` | | use with --json flag. show the tsconfig.json content and the paths it will be written per env |
|
|
1555
|
-
| `--json` | `-j` | json format |
|
|
1556
|
-
|
|
1557
|
-
---
|
|
1558
|
-
|
|
1559
1539
|
## ws-config
|
|
1560
1540
|
|
|
1561
1541
|
**Alias**: `workspace-config`
|
package/dist/cli-reference.json
CHANGED
|
@@ -573,6 +573,11 @@
|
|
|
573
573
|
"s",
|
|
574
574
|
"save [filePath]",
|
|
575
575
|
"save diagnoses to a file"
|
|
576
|
+
],
|
|
577
|
+
[
|
|
578
|
+
"a",
|
|
579
|
+
"archive [filePath]",
|
|
580
|
+
"archive the workspace including diagnosis info"
|
|
576
581
|
]
|
|
577
582
|
],
|
|
578
583
|
"description": "diagnose a bit workspace",
|
|
@@ -1282,6 +1287,11 @@
|
|
|
1282
1287
|
"s",
|
|
1283
1288
|
"scope <string>",
|
|
1284
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)"
|
|
1285
1295
|
]
|
|
1286
1296
|
],
|
|
1287
1297
|
"description": "Add any subset of files to be tracked as a component(s).",
|
|
@@ -1824,7 +1834,7 @@
|
|
|
1824
1834
|
]
|
|
1825
1835
|
],
|
|
1826
1836
|
"description": "create links in the node_modules directory, to core aspects and to components in the workspace",
|
|
1827
|
-
"extendedDescription": "
|
|
1837
|
+
"extendedDescription": "",
|
|
1828
1838
|
"group": "development",
|
|
1829
1839
|
"private": false,
|
|
1830
1840
|
"arguments": [
|
|
@@ -1990,7 +2000,7 @@
|
|
|
1990
2000
|
]
|
|
1991
2001
|
],
|
|
1992
2002
|
"description": "import components from their remote scopes to the local workspace",
|
|
1993
|
-
"extendedDescription": "
|
|
2003
|
+
"extendedDescription": "",
|
|
1994
2004
|
"group": "collaborate",
|
|
1995
2005
|
"private": false,
|
|
1996
2006
|
"remoteOp": true,
|
|
@@ -2043,12 +2053,22 @@
|
|
|
2043
2053
|
[
|
|
2044
2054
|
"",
|
|
2045
2055
|
"soft",
|
|
2046
|
-
"
|
|
2056
|
+
"DEPRECATED. use --delete instead"
|
|
2047
2057
|
],
|
|
2048
2058
|
[
|
|
2049
|
-
"
|
|
2059
|
+
"",
|
|
2060
|
+
"delete",
|
|
2061
|
+
"mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2062
|
+
],
|
|
2063
|
+
[
|
|
2064
|
+
"",
|
|
2050
2065
|
"remote",
|
|
2051
|
-
"
|
|
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"
|
|
2052
2072
|
],
|
|
2053
2073
|
[
|
|
2054
2074
|
"",
|
|
@@ -2060,11 +2080,6 @@
|
|
|
2060
2080
|
"track",
|
|
2061
2081
|
"keep tracking component in .bitmap (default = false), helps transform a tagged-component to new"
|
|
2062
2082
|
],
|
|
2063
|
-
[
|
|
2064
|
-
"d",
|
|
2065
|
-
"delete-files",
|
|
2066
|
-
"DEPRECATED (this is now the default). delete local component files"
|
|
2067
|
-
],
|
|
2068
2083
|
[
|
|
2069
2084
|
"",
|
|
2070
2085
|
"keep-files",
|
|
@@ -2410,7 +2425,7 @@
|
|
|
2410
2425
|
]
|
|
2411
2426
|
],
|
|
2412
2427
|
"description": "EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)",
|
|
2413
|
-
"extendedDescription": "
|
|
2428
|
+
"extendedDescription": "",
|
|
2414
2429
|
"group": "development",
|
|
2415
2430
|
"private": false,
|
|
2416
2431
|
"arguments": [
|
|
@@ -3760,10 +3775,10 @@
|
|
|
3760
3775
|
"json format"
|
|
3761
3776
|
]
|
|
3762
3777
|
],
|
|
3763
|
-
"description": "
|
|
3778
|
+
"description": "DEPRECATED. use bit ws-config write instead",
|
|
3764
3779
|
"extendedDescription": "",
|
|
3765
3780
|
"group": "development",
|
|
3766
|
-
"private":
|
|
3781
|
+
"private": true
|
|
3767
3782
|
},
|
|
3768
3783
|
{
|
|
3769
3784
|
"name": "aspect <sub-command>",
|
|
@@ -3942,7 +3957,7 @@
|
|
|
3942
3957
|
]
|
|
3943
3958
|
],
|
|
3944
3959
|
"description": "show components(s) version history",
|
|
3945
|
-
"extendedDescription": "
|
|
3960
|
+
"extendedDescription": "",
|
|
3946
3961
|
"group": "info",
|
|
3947
3962
|
"private": false,
|
|
3948
3963
|
"remoteOp": true,
|
|
@@ -143,7 +143,22 @@ function MDXContent(_ref) {
|
|
|
143
143
|
}, "-s")), (0, _react2.mdx)("td", {
|
|
144
144
|
parentName: "tr",
|
|
145
145
|
"align": null
|
|
146
|
-
}, "sets the component's scope-name. if not entered, the default-scope will be used"))
|
|
146
|
+
}, "sets the component's scope-name. if not entered, the default-scope will be used")), (0, _react2.mdx)("tr", {
|
|
147
|
+
parentName: "tbody"
|
|
148
|
+
}, (0, _react2.mdx)("td", {
|
|
149
|
+
parentName: "tr",
|
|
150
|
+
"align": null
|
|
151
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
152
|
+
parentName: "td"
|
|
153
|
+
}, "--env <string>")), (0, _react2.mdx)("td", {
|
|
154
|
+
parentName: "tr",
|
|
155
|
+
"align": "center"
|
|
156
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
157
|
+
parentName: "td"
|
|
158
|
+
}, "-e")), (0, _react2.mdx)("td", {
|
|
159
|
+
parentName: "tr",
|
|
160
|
+
"align": null
|
|
161
|
+
}, "set the component's environment. (overrides the env from variants if exists)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "app"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
147
162
|
parentName: "p"
|
|
148
163
|
}, "Description"), ": Manages apps"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
149
164
|
parentName: "p"
|
|
@@ -1978,7 +1993,22 @@ function MDXContent(_ref) {
|
|
|
1978
1993
|
}, "-s")), (0, _react2.mdx)("td", {
|
|
1979
1994
|
parentName: "tr",
|
|
1980
1995
|
"align": null
|
|
1981
|
-
}, "save diagnoses to a file"))
|
|
1996
|
+
}, "save diagnoses to a file")), (0, _react2.mdx)("tr", {
|
|
1997
|
+
parentName: "tbody"
|
|
1998
|
+
}, (0, _react2.mdx)("td", {
|
|
1999
|
+
parentName: "tr",
|
|
2000
|
+
"align": null
|
|
2001
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2002
|
+
parentName: "td"
|
|
2003
|
+
}, "--archive [filePath]")), (0, _react2.mdx)("td", {
|
|
2004
|
+
parentName: "tr",
|
|
2005
|
+
"align": "center"
|
|
2006
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2007
|
+
parentName: "td"
|
|
2008
|
+
}, "-a")), (0, _react2.mdx)("td", {
|
|
2009
|
+
parentName: "tr",
|
|
2010
|
+
"align": null
|
|
2011
|
+
}, "archive the workspace including diagnosis info")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "eject"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1982
2012
|
parentName: "p"
|
|
1983
2013
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
1984
2014
|
parentName: "p"
|
|
@@ -2739,14 +2769,7 @@ function MDXContent(_ref) {
|
|
|
2739
2769
|
"align": null
|
|
2740
2770
|
}, "show internal commands")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "import"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2741
2771
|
parentName: "p"
|
|
2742
|
-
}, "Description"), ": import components from their remote scopes to the local workspace", (0, _react2.mdx)("
|
|
2743
|
-
parentName: "p"
|
|
2744
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
2745
|
-
parentName: "p",
|
|
2746
|
-
"href": "https://bit.dev/docs/components/importing-components"
|
|
2747
|
-
}, "https://bit.dev/docs/components/importing-components"), (0, _react2.mdx)("br", {
|
|
2748
|
-
parentName: "p"
|
|
2749
|
-
}), "\n", "you can use a pattern for multiple ids, such as bit import \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2772
|
+
}, "Description"), ": import components from their remote scopes to the local workspace"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2750
2773
|
parentName: "p"
|
|
2751
2774
|
}, "bit import [component-patterns...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2752
2775
|
parentName: "table"
|
|
@@ -4245,12 +4268,7 @@ function MDXContent(_ref) {
|
|
|
4245
4268
|
"align": null
|
|
4246
4269
|
}, "show not merged lanes")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "link"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4247
4270
|
parentName: "p"
|
|
4248
|
-
}, "Description"), ": create links in the node_modules directory, to core aspects and to components in the workspace", (0, _react2.mdx)("
|
|
4249
|
-
parentName: "p"
|
|
4250
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
4251
|
-
parentName: "p",
|
|
4252
|
-
"href": "https://bit.dev/docs/workspace/component-links"
|
|
4253
|
-
}, "https://bit.dev/docs/workspace/component-links")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4271
|
+
}, "Description"), ": create links in the node_modules directory, to core aspects and to components in the workspace"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4254
4272
|
parentName: "p"
|
|
4255
4273
|
}, "bit link [component-names...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4256
4274
|
parentName: "table"
|
|
@@ -4538,12 +4556,7 @@ function MDXContent(_ref) {
|
|
|
4538
4556
|
"align": null
|
|
4539
4557
|
}, "show only specified namespace by using wildcards")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "log"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4540
4558
|
parentName: "p"
|
|
4541
|
-
}, "Description"), ": show components(s) version history", (0, _react2.mdx)("
|
|
4542
|
-
parentName: "p"
|
|
4543
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
4544
|
-
parentName: "p",
|
|
4545
|
-
"href": "https://bit.dev/docs/reference/cli-reference#log"
|
|
4546
|
-
}, "https://bit.dev/docs/reference/cli-reference#log")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4559
|
+
}, "Description"), ": show components(s) version history"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
4547
4560
|
parentName: "p"
|
|
4548
4561
|
}, "bit log <id>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4549
4562
|
parentName: "table"
|
|
@@ -5376,65 +5389,74 @@ function MDXContent(_ref) {
|
|
|
5376
5389
|
}), (0, _react2.mdx)("td", {
|
|
5377
5390
|
parentName: "tr",
|
|
5378
5391
|
"align": null
|
|
5379
|
-
}, "
|
|
5392
|
+
}, "DEPRECATED. use --delete instead")), (0, _react2.mdx)("tr", {
|
|
5380
5393
|
parentName: "tbody"
|
|
5381
5394
|
}, (0, _react2.mdx)("td", {
|
|
5382
5395
|
parentName: "tr",
|
|
5383
5396
|
"align": null
|
|
5384
5397
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5385
5398
|
parentName: "td"
|
|
5386
|
-
}, "--
|
|
5399
|
+
}, "--delete")), (0, _react2.mdx)("td", {
|
|
5387
5400
|
parentName: "tr",
|
|
5388
5401
|
"align": "center"
|
|
5389
|
-
}, (0, _react2.mdx)("
|
|
5390
|
-
parentName: "td"
|
|
5391
|
-
}, "-r")), (0, _react2.mdx)("td", {
|
|
5402
|
+
}), (0, _react2.mdx)("td", {
|
|
5392
5403
|
parentName: "tr",
|
|
5393
5404
|
"align": null
|
|
5394
|
-
}, "
|
|
5405
|
+
}, "mark the component as deleted. after tag/snap and export the remote will be updated")), (0, _react2.mdx)("tr", {
|
|
5395
5406
|
parentName: "tbody"
|
|
5396
5407
|
}, (0, _react2.mdx)("td", {
|
|
5397
5408
|
parentName: "tr",
|
|
5398
5409
|
"align": null
|
|
5399
5410
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5400
5411
|
parentName: "td"
|
|
5401
|
-
}, "--
|
|
5412
|
+
}, "--remote")), (0, _react2.mdx)("td", {
|
|
5402
5413
|
parentName: "tr",
|
|
5403
5414
|
"align": "center"
|
|
5404
5415
|
}), (0, _react2.mdx)("td", {
|
|
5405
5416
|
parentName: "tr",
|
|
5406
5417
|
"align": null
|
|
5407
|
-
}, "
|
|
5418
|
+
}, "DEPRECATED. use --hard instead")), (0, _react2.mdx)("tr", {
|
|
5408
5419
|
parentName: "tbody"
|
|
5409
5420
|
}, (0, _react2.mdx)("td", {
|
|
5410
5421
|
parentName: "tr",
|
|
5411
5422
|
"align": null
|
|
5412
5423
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5413
5424
|
parentName: "td"
|
|
5414
|
-
}, "--
|
|
5425
|
+
}, "--hard")), (0, _react2.mdx)("td", {
|
|
5415
5426
|
parentName: "tr",
|
|
5416
5427
|
"align": "center"
|
|
5428
|
+
}), (0, _react2.mdx)("td", {
|
|
5429
|
+
parentName: "tr",
|
|
5430
|
+
"align": null
|
|
5431
|
+
}, "remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete")), (0, _react2.mdx)("tr", {
|
|
5432
|
+
parentName: "tbody"
|
|
5433
|
+
}, (0, _react2.mdx)("td", {
|
|
5434
|
+
parentName: "tr",
|
|
5435
|
+
"align": null
|
|
5417
5436
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5418
5437
|
parentName: "td"
|
|
5419
|
-
}, "-
|
|
5438
|
+
}, "--from-lane")), (0, _react2.mdx)("td", {
|
|
5439
|
+
parentName: "tr",
|
|
5440
|
+
"align": "center"
|
|
5441
|
+
}), (0, _react2.mdx)("td", {
|
|
5420
5442
|
parentName: "tr",
|
|
5421
5443
|
"align": null
|
|
5422
|
-
}, "
|
|
5444
|
+
}, "revert to main if exists on currently checked out lane, otherwise, remove it")), (0, _react2.mdx)("tr", {
|
|
5423
5445
|
parentName: "tbody"
|
|
5424
5446
|
}, (0, _react2.mdx)("td", {
|
|
5425
5447
|
parentName: "tr",
|
|
5426
5448
|
"align": null
|
|
5427
5449
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5428
5450
|
parentName: "td"
|
|
5429
|
-
}, "--
|
|
5451
|
+
}, "--track")), (0, _react2.mdx)("td", {
|
|
5430
5452
|
parentName: "tr",
|
|
5431
5453
|
"align": "center"
|
|
5432
5454
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5433
5455
|
parentName: "td"
|
|
5434
|
-
}, "-
|
|
5456
|
+
}, "-t")), (0, _react2.mdx)("td", {
|
|
5435
5457
|
parentName: "tr",
|
|
5436
5458
|
"align": null
|
|
5437
|
-
}, "
|
|
5459
|
+
}, "keep tracking component in .bitmap (default = false), helps transform a tagged-component to new")), (0, _react2.mdx)("tr", {
|
|
5438
5460
|
parentName: "tbody"
|
|
5439
5461
|
}, (0, _react2.mdx)("td", {
|
|
5440
5462
|
parentName: "tr",
|
|
@@ -6062,14 +6084,7 @@ function MDXContent(_ref) {
|
|
|
6062
6084
|
"align": null
|
|
6063
6085
|
}, "compare current file system component to the latest tagged component ", "[default=latest]", ". only works in legacy.")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "snap"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6064
6086
|
parentName: "p"
|
|
6065
|
-
}, "Description"), ": EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)", (0, _react2.mdx)("
|
|
6066
|
-
parentName: "p"
|
|
6067
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
6068
|
-
parentName: "p",
|
|
6069
|
-
"href": "https://bit.dev/components/snaps"
|
|
6070
|
-
}, "https://bit.dev/components/snaps"), (0, _react2.mdx)("br", {
|
|
6071
|
-
parentName: "p"
|
|
6072
|
-
}), "\n", "you can use a pattern for multiple ids, such as bit snap \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6087
|
+
}, "Description"), ": EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
6073
6088
|
parentName: "p"
|
|
6074
6089
|
}, "bit snap [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6075
6090
|
parentName: "table"
|
|
@@ -7206,116 +7221,7 @@ function MDXContent(_ref) {
|
|
|
7206
7221
|
}, "-t")), (0, _react2.mdx)("td", {
|
|
7207
7222
|
parentName: "tr",
|
|
7208
7223
|
"align": null
|
|
7209
|
-
}, "EXPERIMENTAL. show errors/warnings for types. options are ", "[file, project]", " to investigate only changed file or entire project. defaults to project")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
7210
|
-
parentName: "p"
|
|
7211
|
-
}, "Description"), ": EXPERIMENTAL. write tsconfig.json files in the component directories"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7212
|
-
parentName: "p"
|
|
7213
|
-
}, "bit write-tsconfig")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7214
|
-
parentName: "table"
|
|
7215
|
-
}, (0, _react2.mdx)("tr", {
|
|
7216
|
-
parentName: "thead"
|
|
7217
|
-
}, (0, _react2.mdx)("th", {
|
|
7218
|
-
parentName: "tr",
|
|
7219
|
-
"align": null
|
|
7220
|
-
}, (0, _react2.mdx)("strong", {
|
|
7221
|
-
parentName: "th"
|
|
7222
|
-
}, "Option")), (0, _react2.mdx)("th", {
|
|
7223
|
-
parentName: "tr",
|
|
7224
|
-
"align": "center"
|
|
7225
|
-
}, (0, _react2.mdx)("strong", {
|
|
7226
|
-
parentName: "th"
|
|
7227
|
-
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
7228
|
-
parentName: "tr",
|
|
7229
|
-
"align": null
|
|
7230
|
-
}, (0, _react2.mdx)("strong", {
|
|
7231
|
-
parentName: "th"
|
|
7232
|
-
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
7233
|
-
parentName: "table"
|
|
7234
|
-
}, (0, _react2.mdx)("tr", {
|
|
7235
|
-
parentName: "tbody"
|
|
7236
|
-
}, (0, _react2.mdx)("td", {
|
|
7237
|
-
parentName: "tr",
|
|
7238
|
-
"align": null
|
|
7239
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7240
|
-
parentName: "td"
|
|
7241
|
-
}, "--clean")), (0, _react2.mdx)("td", {
|
|
7242
|
-
parentName: "tr",
|
|
7243
|
-
"align": "center"
|
|
7244
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7245
|
-
parentName: "td"
|
|
7246
|
-
}, "-c")), (0, _react2.mdx)("td", {
|
|
7247
|
-
parentName: "tr",
|
|
7248
|
-
"align": null
|
|
7249
|
-
}, "delete tsconfig files from the workspace. highly recommended to run it with \"--dry-run\" first")), (0, _react2.mdx)("tr", {
|
|
7250
|
-
parentName: "tbody"
|
|
7251
|
-
}, (0, _react2.mdx)("td", {
|
|
7252
|
-
parentName: "tr",
|
|
7253
|
-
"align": null
|
|
7254
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7255
|
-
parentName: "td"
|
|
7256
|
-
}, "--silent")), (0, _react2.mdx)("td", {
|
|
7257
|
-
parentName: "tr",
|
|
7258
|
-
"align": "center"
|
|
7259
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7260
|
-
parentName: "td"
|
|
7261
|
-
}, "-s")), (0, _react2.mdx)("td", {
|
|
7262
|
-
parentName: "tr",
|
|
7263
|
-
"align": null
|
|
7264
|
-
}, "do not prompt for confirmation")), (0, _react2.mdx)("tr", {
|
|
7265
|
-
parentName: "tbody"
|
|
7266
|
-
}, (0, _react2.mdx)("td", {
|
|
7267
|
-
parentName: "tr",
|
|
7268
|
-
"align": null
|
|
7269
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7270
|
-
parentName: "td"
|
|
7271
|
-
}, "--no-dedupe")), (0, _react2.mdx)("td", {
|
|
7272
|
-
parentName: "tr",
|
|
7273
|
-
"align": "center"
|
|
7274
|
-
}), (0, _react2.mdx)("td", {
|
|
7275
|
-
parentName: "tr",
|
|
7276
|
-
"align": null
|
|
7277
|
-
}, "write tsconfig.json inside each one of the component's dir, avoid deduping")), (0, _react2.mdx)("tr", {
|
|
7278
|
-
parentName: "tbody"
|
|
7279
|
-
}, (0, _react2.mdx)("td", {
|
|
7280
|
-
parentName: "tr",
|
|
7281
|
-
"align": null
|
|
7282
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7283
|
-
parentName: "td"
|
|
7284
|
-
}, "--dry-run")), (0, _react2.mdx)("td", {
|
|
7285
|
-
parentName: "tr",
|
|
7286
|
-
"align": "center"
|
|
7287
|
-
}), (0, _react2.mdx)("td", {
|
|
7288
|
-
parentName: "tr",
|
|
7289
|
-
"align": null
|
|
7290
|
-
}, "show the paths that tsconfig will be written per env")), (0, _react2.mdx)("tr", {
|
|
7291
|
-
parentName: "tbody"
|
|
7292
|
-
}, (0, _react2.mdx)("td", {
|
|
7293
|
-
parentName: "tr",
|
|
7294
|
-
"align": null
|
|
7295
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7296
|
-
parentName: "td"
|
|
7297
|
-
}, "--dry-run-with-tsconfig")), (0, _react2.mdx)("td", {
|
|
7298
|
-
parentName: "tr",
|
|
7299
|
-
"align": "center"
|
|
7300
|
-
}), (0, _react2.mdx)("td", {
|
|
7301
|
-
parentName: "tr",
|
|
7302
|
-
"align": null
|
|
7303
|
-
}, "use with --json flag. show the tsconfig.json content and the paths it will be written per env")), (0, _react2.mdx)("tr", {
|
|
7304
|
-
parentName: "tbody"
|
|
7305
|
-
}, (0, _react2.mdx)("td", {
|
|
7306
|
-
parentName: "tr",
|
|
7307
|
-
"align": null
|
|
7308
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7309
|
-
parentName: "td"
|
|
7310
|
-
}, "--json")), (0, _react2.mdx)("td", {
|
|
7311
|
-
parentName: "tr",
|
|
7312
|
-
"align": "center"
|
|
7313
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7314
|
-
parentName: "td"
|
|
7315
|
-
}, "-j")), (0, _react2.mdx)("td", {
|
|
7316
|
-
parentName: "tr",
|
|
7317
|
-
"align": null
|
|
7318
|
-
}, "json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "ws-config"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7224
|
+
}, "EXPERIMENTAL. show errors/warnings for types. options are ", "[file, project]", " to investigate only changed file or entire project. defaults to project")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "ws-config"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7319
7225
|
parentName: "p"
|
|
7320
7226
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
7321
7227
|
parentName: "p"
|