@teambit/harmony.content.cli-reference 1.95.139 → 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 +24 -14
- package/cli-reference.mdx +16 -37
- package/dist/cli-reference.json +24 -14
- package/dist/cli-reference.mdx.js +44 -153
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1682566814488.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.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": [
|
|
@@ -1995,7 +2000,7 @@
|
|
|
1995
2000
|
]
|
|
1996
2001
|
],
|
|
1997
2002
|
"description": "import components from their remote scopes to the local workspace",
|
|
1998
|
-
"extendedDescription": "
|
|
2003
|
+
"extendedDescription": "",
|
|
1999
2004
|
"group": "collaborate",
|
|
2000
2005
|
"private": false,
|
|
2001
2006
|
"remoteOp": true,
|
|
@@ -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",
|
|
@@ -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
|
|
|
@@ -1160,16 +1157,17 @@ for example: "http://localhost:3000", "file:///tmp/local-scope"
|
|
|
1160
1157
|
|
|
1161
1158
|
`bit remove <component-pattern>`
|
|
1162
1159
|
|
|
1163
|
-
| **Option**
|
|
1164
|
-
|
|
|
1165
|
-
| `--soft`
|
|
1166
|
-
| `--
|
|
1167
|
-
| `--
|
|
1168
|
-
| `--
|
|
1169
|
-
| `--
|
|
1170
|
-
| `--
|
|
1171
|
-
| `--
|
|
1172
|
-
| `--
|
|
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 |
|
|
1173
1171
|
|
|
1174
1172
|
---
|
|
1175
1173
|
|
|
@@ -1343,9 +1341,7 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
|
|
|
1343
1341
|
|
|
1344
1342
|
## snap
|
|
1345
1343
|
|
|
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)
|
|
1344
|
+
**Description**: EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)
|
|
1349
1345
|
|
|
1350
1346
|
`bit snap [component-pattern]`
|
|
1351
1347
|
|
|
@@ -1540,23 +1536,6 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
|
|
|
1540
1536
|
|
|
1541
1537
|
---
|
|
1542
1538
|
|
|
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
1539
|
## ws-config
|
|
1561
1540
|
|
|
1562
1541
|
**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": [
|
|
@@ -1995,7 +2000,7 @@
|
|
|
1995
2000
|
]
|
|
1996
2001
|
],
|
|
1997
2002
|
"description": "import components from their remote scopes to the local workspace",
|
|
1998
|
-
"extendedDescription": "
|
|
2003
|
+
"extendedDescription": "",
|
|
1999
2004
|
"group": "collaborate",
|
|
2000
2005
|
"private": false,
|
|
2001
2006
|
"remoteOp": true,
|
|
@@ -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",
|
|
@@ -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,
|
|
@@ -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"
|
|
@@ -2754,14 +2769,7 @@ function MDXContent(_ref) {
|
|
|
2754
2769
|
"align": null
|
|
2755
2770
|
}, "show internal commands")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "import"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2756
2771
|
parentName: "p"
|
|
2757
|
-
}, "Description"), ": import components from their remote scopes to the local workspace", (0, _react2.mdx)("
|
|
2758
|
-
parentName: "p"
|
|
2759
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
2760
|
-
parentName: "p",
|
|
2761
|
-
"href": "https://bit.dev/docs/components/importing-components"
|
|
2762
|
-
}, "https://bit.dev/docs/components/importing-components"), (0, _react2.mdx)("br", {
|
|
2763
|
-
parentName: "p"
|
|
2764
|
-
}), "\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", {
|
|
2765
2773
|
parentName: "p"
|
|
2766
2774
|
}, "bit import [component-patterns...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2767
2775
|
parentName: "table"
|
|
@@ -4260,12 +4268,7 @@ function MDXContent(_ref) {
|
|
|
4260
4268
|
"align": null
|
|
4261
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", {
|
|
4262
4270
|
parentName: "p"
|
|
4263
|
-
}, "Description"), ": create links in the node_modules directory, to core aspects and to components in the workspace", (0, _react2.mdx)("
|
|
4264
|
-
parentName: "p"
|
|
4265
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
4266
|
-
parentName: "p",
|
|
4267
|
-
"href": "https://bit.dev/docs/workspace/component-links"
|
|
4268
|
-
}, "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", {
|
|
4269
4272
|
parentName: "p"
|
|
4270
4273
|
}, "bit link [component-names...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4271
4274
|
parentName: "table"
|
|
@@ -4553,12 +4556,7 @@ function MDXContent(_ref) {
|
|
|
4553
4556
|
"align": null
|
|
4554
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", {
|
|
4555
4558
|
parentName: "p"
|
|
4556
|
-
}, "Description"), ": show components(s) version history", (0, _react2.mdx)("
|
|
4557
|
-
parentName: "p"
|
|
4558
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
4559
|
-
parentName: "p",
|
|
4560
|
-
"href": "https://bit.dev/docs/reference/cli-reference#log"
|
|
4561
|
-
}, "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", {
|
|
4562
4560
|
parentName: "p"
|
|
4563
4561
|
}, "bit log <id>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
4564
4562
|
parentName: "table"
|
|
@@ -5391,65 +5389,74 @@ function MDXContent(_ref) {
|
|
|
5391
5389
|
}), (0, _react2.mdx)("td", {
|
|
5392
5390
|
parentName: "tr",
|
|
5393
5391
|
"align": null
|
|
5394
|
-
}, "
|
|
5392
|
+
}, "DEPRECATED. use --delete instead")), (0, _react2.mdx)("tr", {
|
|
5395
5393
|
parentName: "tbody"
|
|
5396
5394
|
}, (0, _react2.mdx)("td", {
|
|
5397
5395
|
parentName: "tr",
|
|
5398
5396
|
"align": null
|
|
5399
5397
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5400
5398
|
parentName: "td"
|
|
5401
|
-
}, "--
|
|
5399
|
+
}, "--delete")), (0, _react2.mdx)("td", {
|
|
5402
5400
|
parentName: "tr",
|
|
5403
5401
|
"align": "center"
|
|
5404
|
-
}, (0, _react2.mdx)("
|
|
5405
|
-
parentName: "td"
|
|
5406
|
-
}, "-r")), (0, _react2.mdx)("td", {
|
|
5402
|
+
}), (0, _react2.mdx)("td", {
|
|
5407
5403
|
parentName: "tr",
|
|
5408
5404
|
"align": null
|
|
5409
|
-
}, "
|
|
5405
|
+
}, "mark the component as deleted. after tag/snap and export the remote will be updated")), (0, _react2.mdx)("tr", {
|
|
5410
5406
|
parentName: "tbody"
|
|
5411
5407
|
}, (0, _react2.mdx)("td", {
|
|
5412
5408
|
parentName: "tr",
|
|
5413
5409
|
"align": null
|
|
5414
5410
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5415
5411
|
parentName: "td"
|
|
5416
|
-
}, "--
|
|
5412
|
+
}, "--remote")), (0, _react2.mdx)("td", {
|
|
5417
5413
|
parentName: "tr",
|
|
5418
5414
|
"align": "center"
|
|
5419
5415
|
}), (0, _react2.mdx)("td", {
|
|
5420
5416
|
parentName: "tr",
|
|
5421
5417
|
"align": null
|
|
5422
|
-
}, "
|
|
5418
|
+
}, "DEPRECATED. use --hard instead")), (0, _react2.mdx)("tr", {
|
|
5423
5419
|
parentName: "tbody"
|
|
5424
5420
|
}, (0, _react2.mdx)("td", {
|
|
5425
5421
|
parentName: "tr",
|
|
5426
5422
|
"align": null
|
|
5427
5423
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5428
5424
|
parentName: "td"
|
|
5429
|
-
}, "--
|
|
5425
|
+
}, "--hard")), (0, _react2.mdx)("td", {
|
|
5430
5426
|
parentName: "tr",
|
|
5431
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
|
|
5432
5436
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5433
5437
|
parentName: "td"
|
|
5434
|
-
}, "-
|
|
5438
|
+
}, "--from-lane")), (0, _react2.mdx)("td", {
|
|
5439
|
+
parentName: "tr",
|
|
5440
|
+
"align": "center"
|
|
5441
|
+
}), (0, _react2.mdx)("td", {
|
|
5435
5442
|
parentName: "tr",
|
|
5436
5443
|
"align": null
|
|
5437
|
-
}, "
|
|
5444
|
+
}, "revert to main if exists on currently checked out lane, otherwise, remove it")), (0, _react2.mdx)("tr", {
|
|
5438
5445
|
parentName: "tbody"
|
|
5439
5446
|
}, (0, _react2.mdx)("td", {
|
|
5440
5447
|
parentName: "tr",
|
|
5441
5448
|
"align": null
|
|
5442
5449
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5443
5450
|
parentName: "td"
|
|
5444
|
-
}, "--
|
|
5451
|
+
}, "--track")), (0, _react2.mdx)("td", {
|
|
5445
5452
|
parentName: "tr",
|
|
5446
5453
|
"align": "center"
|
|
5447
5454
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5448
5455
|
parentName: "td"
|
|
5449
|
-
}, "-
|
|
5456
|
+
}, "-t")), (0, _react2.mdx)("td", {
|
|
5450
5457
|
parentName: "tr",
|
|
5451
5458
|
"align": null
|
|
5452
|
-
}, "
|
|
5459
|
+
}, "keep tracking component in .bitmap (default = false), helps transform a tagged-component to new")), (0, _react2.mdx)("tr", {
|
|
5453
5460
|
parentName: "tbody"
|
|
5454
5461
|
}, (0, _react2.mdx)("td", {
|
|
5455
5462
|
parentName: "tr",
|
|
@@ -6077,14 +6084,7 @@ function MDXContent(_ref) {
|
|
|
6077
6084
|
"align": null
|
|
6078
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", {
|
|
6079
6086
|
parentName: "p"
|
|
6080
|
-
}, "Description"), ": EXPERIMENTAL. create an immutable and exportable component snapshot (no release version)", (0, _react2.mdx)("
|
|
6081
|
-
parentName: "p"
|
|
6082
|
-
}), "\n", (0, _react2.mdx)("a", {
|
|
6083
|
-
parentName: "p",
|
|
6084
|
-
"href": "https://bit.dev/components/snaps"
|
|
6085
|
-
}, "https://bit.dev/components/snaps"), (0, _react2.mdx)("br", {
|
|
6086
|
-
parentName: "p"
|
|
6087
|
-
}), "\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", {
|
|
6088
6088
|
parentName: "p"
|
|
6089
6089
|
}, "bit snap [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6090
6090
|
parentName: "table"
|
|
@@ -7221,116 +7221,7 @@ function MDXContent(_ref) {
|
|
|
7221
7221
|
}, "-t")), (0, _react2.mdx)("td", {
|
|
7222
7222
|
parentName: "tr",
|
|
7223
7223
|
"align": null
|
|
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, "
|
|
7225
|
-
parentName: "p"
|
|
7226
|
-
}, "Description"), ": EXPERIMENTAL. write tsconfig.json files in the component directories"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7227
|
-
parentName: "p"
|
|
7228
|
-
}, "bit write-tsconfig")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7229
|
-
parentName: "table"
|
|
7230
|
-
}, (0, _react2.mdx)("tr", {
|
|
7231
|
-
parentName: "thead"
|
|
7232
|
-
}, (0, _react2.mdx)("th", {
|
|
7233
|
-
parentName: "tr",
|
|
7234
|
-
"align": null
|
|
7235
|
-
}, (0, _react2.mdx)("strong", {
|
|
7236
|
-
parentName: "th"
|
|
7237
|
-
}, "Option")), (0, _react2.mdx)("th", {
|
|
7238
|
-
parentName: "tr",
|
|
7239
|
-
"align": "center"
|
|
7240
|
-
}, (0, _react2.mdx)("strong", {
|
|
7241
|
-
parentName: "th"
|
|
7242
|
-
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
7243
|
-
parentName: "tr",
|
|
7244
|
-
"align": null
|
|
7245
|
-
}, (0, _react2.mdx)("strong", {
|
|
7246
|
-
parentName: "th"
|
|
7247
|
-
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
7248
|
-
parentName: "table"
|
|
7249
|
-
}, (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
|
-
}, "--clean")), (0, _react2.mdx)("td", {
|
|
7257
|
-
parentName: "tr",
|
|
7258
|
-
"align": "center"
|
|
7259
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7260
|
-
parentName: "td"
|
|
7261
|
-
}, "-c")), (0, _react2.mdx)("td", {
|
|
7262
|
-
parentName: "tr",
|
|
7263
|
-
"align": null
|
|
7264
|
-
}, "delete tsconfig files from the workspace. highly recommended to run it with \"--dry-run\" first")), (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
|
-
}, "--silent")), (0, _react2.mdx)("td", {
|
|
7272
|
-
parentName: "tr",
|
|
7273
|
-
"align": "center"
|
|
7274
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7275
|
-
parentName: "td"
|
|
7276
|
-
}, "-s")), (0, _react2.mdx)("td", {
|
|
7277
|
-
parentName: "tr",
|
|
7278
|
-
"align": null
|
|
7279
|
-
}, "do not prompt for confirmation")), (0, _react2.mdx)("tr", {
|
|
7280
|
-
parentName: "tbody"
|
|
7281
|
-
}, (0, _react2.mdx)("td", {
|
|
7282
|
-
parentName: "tr",
|
|
7283
|
-
"align": null
|
|
7284
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7285
|
-
parentName: "td"
|
|
7286
|
-
}, "--no-dedupe")), (0, _react2.mdx)("td", {
|
|
7287
|
-
parentName: "tr",
|
|
7288
|
-
"align": "center"
|
|
7289
|
-
}), (0, _react2.mdx)("td", {
|
|
7290
|
-
parentName: "tr",
|
|
7291
|
-
"align": null
|
|
7292
|
-
}, "write tsconfig.json inside each one of the component's dir, avoid deduping")), (0, _react2.mdx)("tr", {
|
|
7293
|
-
parentName: "tbody"
|
|
7294
|
-
}, (0, _react2.mdx)("td", {
|
|
7295
|
-
parentName: "tr",
|
|
7296
|
-
"align": null
|
|
7297
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7298
|
-
parentName: "td"
|
|
7299
|
-
}, "--dry-run")), (0, _react2.mdx)("td", {
|
|
7300
|
-
parentName: "tr",
|
|
7301
|
-
"align": "center"
|
|
7302
|
-
}), (0, _react2.mdx)("td", {
|
|
7303
|
-
parentName: "tr",
|
|
7304
|
-
"align": null
|
|
7305
|
-
}, "show the paths that tsconfig will be written per env")), (0, _react2.mdx)("tr", {
|
|
7306
|
-
parentName: "tbody"
|
|
7307
|
-
}, (0, _react2.mdx)("td", {
|
|
7308
|
-
parentName: "tr",
|
|
7309
|
-
"align": null
|
|
7310
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7311
|
-
parentName: "td"
|
|
7312
|
-
}, "--dry-run-with-tsconfig")), (0, _react2.mdx)("td", {
|
|
7313
|
-
parentName: "tr",
|
|
7314
|
-
"align": "center"
|
|
7315
|
-
}), (0, _react2.mdx)("td", {
|
|
7316
|
-
parentName: "tr",
|
|
7317
|
-
"align": null
|
|
7318
|
-
}, "use with --json flag. show the tsconfig.json content and the paths it will be written per env")), (0, _react2.mdx)("tr", {
|
|
7319
|
-
parentName: "tbody"
|
|
7320
|
-
}, (0, _react2.mdx)("td", {
|
|
7321
|
-
parentName: "tr",
|
|
7322
|
-
"align": null
|
|
7323
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7324
|
-
parentName: "td"
|
|
7325
|
-
}, "--json")), (0, _react2.mdx)("td", {
|
|
7326
|
-
parentName: "tr",
|
|
7327
|
-
"align": "center"
|
|
7328
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7329
|
-
parentName: "td"
|
|
7330
|
-
}, "-j")), (0, _react2.mdx)("td", {
|
|
7331
|
-
parentName: "tr",
|
|
7332
|
-
"align": null
|
|
7333
|
-
}, "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", {
|
|
7334
7225
|
parentName: "p"
|
|
7335
7226
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
7336
7227
|
parentName: "p"
|