@teambit/harmony.content.cli-reference 1.95.205 → 1.95.207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli-reference.docs.mdx +1 -1
- package/cli-reference.json +54 -16
- package/cli-reference.mdx +32 -22
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +54 -16
- package/dist/cli-reference.mdx.js +131 -44
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1692415056433.js → preview-1692674301863.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.207.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.205.tgz +0 -0
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -367,6 +367,11 @@
|
|
|
367
367
|
"g",
|
|
368
368
|
"graph",
|
|
369
369
|
"generate graph image (arrows color: {\"parent\":\"green\",\"unrelated\":\"red\",\"squashed\":\"blue\"})"
|
|
370
|
+
],
|
|
371
|
+
[
|
|
372
|
+
"",
|
|
373
|
+
"mark <string>",
|
|
374
|
+
"relevant for --graph only. paint the given node-ids in the graph in red color, for multiple, separate by commas"
|
|
370
375
|
]
|
|
371
376
|
],
|
|
372
377
|
"description": "cat version-history object by component-id",
|
|
@@ -481,8 +486,8 @@
|
|
|
481
486
|
"options": [
|
|
482
487
|
[
|
|
483
488
|
"d",
|
|
484
|
-
"
|
|
485
|
-
"
|
|
489
|
+
"cloud-domain <domain>",
|
|
490
|
+
"login cloud domain (default bit.cloud)"
|
|
486
491
|
],
|
|
487
492
|
[
|
|
488
493
|
"p",
|
|
@@ -2053,16 +2058,6 @@
|
|
|
2053
2058
|
"name": "remove <component-pattern>",
|
|
2054
2059
|
"alias": "rm",
|
|
2055
2060
|
"options": [
|
|
2056
|
-
[
|
|
2057
|
-
"",
|
|
2058
|
-
"delete",
|
|
2059
|
-
"mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2060
|
-
],
|
|
2061
|
-
[
|
|
2062
|
-
"",
|
|
2063
|
-
"hard",
|
|
2064
|
-
"remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete"
|
|
2065
|
-
],
|
|
2066
2061
|
[
|
|
2067
2062
|
"t",
|
|
2068
2063
|
"track",
|
|
@@ -2073,6 +2068,44 @@
|
|
|
2073
2068
|
"keep-files",
|
|
2074
2069
|
"keep component files (just untrack the component)"
|
|
2075
2070
|
],
|
|
2071
|
+
[
|
|
2072
|
+
"f",
|
|
2073
|
+
"force",
|
|
2074
|
+
"removes the component from the scope, even if used as a dependency. WARNING: you will need to fix the components that depend on this component"
|
|
2075
|
+
],
|
|
2076
|
+
[
|
|
2077
|
+
"s",
|
|
2078
|
+
"silent",
|
|
2079
|
+
"skip confirmation"
|
|
2080
|
+
]
|
|
2081
|
+
],
|
|
2082
|
+
"description": "remove component(s) from the local workspace",
|
|
2083
|
+
"extendedDescription": "to mark components as deleted on the remote scope, use \"bit delete\".",
|
|
2084
|
+
"group": "collaborate",
|
|
2085
|
+
"private": false,
|
|
2086
|
+
"remoteOp": true,
|
|
2087
|
+
"skipWorkspace": true,
|
|
2088
|
+
"arguments": [
|
|
2089
|
+
{
|
|
2090
|
+
"name": "component-pattern",
|
|
2091
|
+
"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"
|
|
2092
|
+
}
|
|
2093
|
+
]
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
"name": "delete <component-pattern>",
|
|
2097
|
+
"alias": "",
|
|
2098
|
+
"options": [
|
|
2099
|
+
[
|
|
2100
|
+
"",
|
|
2101
|
+
"lane",
|
|
2102
|
+
"when on a lane, delete the component from this lane only. avoid merging it to main or other lanes"
|
|
2103
|
+
],
|
|
2104
|
+
[
|
|
2105
|
+
"",
|
|
2106
|
+
"update-main",
|
|
2107
|
+
"EXPERIMENTAL. delete component/s on the main lane after merging this lane into main"
|
|
2108
|
+
],
|
|
2076
2109
|
[
|
|
2077
2110
|
"f",
|
|
2078
2111
|
"force",
|
|
@@ -2082,10 +2115,15 @@
|
|
|
2082
2115
|
"s",
|
|
2083
2116
|
"silent",
|
|
2084
2117
|
"skip confirmation"
|
|
2118
|
+
],
|
|
2119
|
+
[
|
|
2120
|
+
"",
|
|
2121
|
+
"hard",
|
|
2122
|
+
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents."
|
|
2085
2123
|
]
|
|
2086
2124
|
],
|
|
2087
|
-
"description": "
|
|
2088
|
-
"extendedDescription": "to remove components from your local workspace only, use \"bit remove\"
|
|
2125
|
+
"description": "mark components as deleted on the remote",
|
|
2126
|
+
"extendedDescription": "to remove components from your local workspace only, use \"bit remove\" command.\nthis command marks the components as deleted, and after snap/tag and export they will be marked as deleted from the remote scope as well.\n",
|
|
2089
2127
|
"group": "collaborate",
|
|
2090
2128
|
"private": false,
|
|
2091
2129
|
"remoteOp": true,
|
|
@@ -3265,8 +3303,8 @@
|
|
|
3265
3303
|
"EXPERIMENTAL. remove, i.e. delete, component/s on the main lane after merging this lane into main"
|
|
3266
3304
|
]
|
|
3267
3305
|
],
|
|
3268
|
-
"description": "remove components when on a lane",
|
|
3269
|
-
"extendedDescription": "
|
|
3306
|
+
"description": "DEPRECATED. remove components when on a lane",
|
|
3307
|
+
"extendedDescription": "",
|
|
3270
3308
|
"group": "collaborate",
|
|
3271
3309
|
"private": false,
|
|
3272
3310
|
"arguments": [
|
package/cli-reference.mdx
CHANGED
|
@@ -423,6 +423,28 @@ https://bit.dev/docs/config/bit-config
|
|
|
423
423
|
|
|
424
424
|
---
|
|
425
425
|
|
|
426
|
+
## delete
|
|
427
|
+
|
|
428
|
+
**Description**: mark components as deleted on the remote
|
|
429
|
+
to remove components from your local workspace only, use "bit remove" command.
|
|
430
|
+
this command marks the components as deleted, and after snap/tag and export they will be marked as deleted from the remote scope as well.
|
|
431
|
+
|
|
432
|
+
`bit delete <component-pattern>`
|
|
433
|
+
|
|
434
|
+
| **Arg** | **Description** |
|
|
435
|
+
| ------------------- | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
436
|
+
| `component-pattern` | component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button" wrap the pattern with quotes |
|
|
437
|
+
|
|
438
|
+
| **Option** | **Option alias** | **Description** |
|
|
439
|
+
| --------------- | :--------------: | -------------------------------------------------------------------------------------------------------------------------------------- |
|
|
440
|
+
| `--lane` | | when on a lane, delete the component from this lane only. avoid merging it to main or other lanes |
|
|
441
|
+
| `--update-main` | | EXPERIMENTAL. delete component/s on the main lane after merging this lane into main |
|
|
442
|
+
| `--force` | `-f` | removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt |
|
|
443
|
+
| `--silent` | `-s` | skip confirmation |
|
|
444
|
+
| `--hard` | | NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. |
|
|
445
|
+
|
|
446
|
+
---
|
|
447
|
+
|
|
426
448
|
## dependents
|
|
427
449
|
|
|
428
450
|
**Description**: show dependents of the given component
|
|
@@ -1094,12 +1116,7 @@ bit lane diff from to => diff between "from" lane and "to" lane.
|
|
|
1094
1116
|
|
|
1095
1117
|
**Usage**: `lane remove-comp <component-pattern>`
|
|
1096
1118
|
|
|
1097
|
-
**Description**: remove components when on a lane
|
|
1098
|
-
in case the components are part of the lane and the lane is exported, it marks the components as
|
|
1099
|
-
removed from the lane, and then after snap+export, the remote-lane gets updated as well.
|
|
1100
|
-
upon lane-merge, these removed components are skipped and any changes for removed components won't be merged to main.
|
|
1101
|
-
|
|
1102
|
-
in case the components are not yet part of the lane or the lane is new, it simply removes the components from the workspace
|
|
1119
|
+
**Description**: DEPRECATED. remove components when on a lane
|
|
1103
1120
|
|
|
1104
1121
|
| **Arg** | **Description** |
|
|
1105
1122
|
| ------------------- | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
@@ -1267,7 +1284,7 @@ also, checkout the workspace components according to the restored lane state
|
|
|
1267
1284
|
|
|
1268
1285
|
| **Option** | **Option alias** | **Description** |
|
|
1269
1286
|
| --------------------------- | :--------------: | ---------------------------------------------------------------------------------------------------- |
|
|
1270
|
-
| `--
|
|
1287
|
+
| `--cloud-domain <domain>` | `-d` | login cloud domain (default bit.cloud) |
|
|
1271
1288
|
| `--port <port>` | `-p` | port number to open for localhost server (default 8085) |
|
|
1272
1289
|
| `--suppress-browser-launch` | | do not open a browser for authentication |
|
|
1273
1290
|
| `--npmrc-path <path>` | | path to npmrc file to configure bit.cloud registry |
|
|
@@ -1453,13 +1470,8 @@ for example: "http://localhost:3000", "file:///tmp/local-scope"
|
|
|
1453
1470
|
## remove
|
|
1454
1471
|
|
|
1455
1472
|
**Alias**: `rm`
|
|
1456
|
-
**Description**: remove component(s) from the workspace
|
|
1457
|
-
to
|
|
1458
|
-
|
|
1459
|
-
to remove a component from the remote scope, use "bit remove --delete", to mark the components as deleted.
|
|
1460
|
-
once tagged/snapped and exported, the remote scope will be updated and it'll be marked as deleted there as well.
|
|
1461
|
-
|
|
1462
|
-
to remove components from a lane, use "bit lane remove-comp".
|
|
1473
|
+
**Description**: remove component(s) from the local workspace
|
|
1474
|
+
to mark components as deleted on the remote scope, use "bit delete".
|
|
1463
1475
|
|
|
1464
1476
|
`bit remove <component-pattern>`
|
|
1465
1477
|
|
|
@@ -1467,14 +1479,12 @@ to remove components from a lane, use "bit lane remove-comp".
|
|
|
1467
1479
|
| ------------------- | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
1468
1480
|
| `component-pattern` | component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button" wrap the pattern with quotes |
|
|
1469
1481
|
|
|
1470
|
-
| **Option** | **Option alias** | **Description**
|
|
1471
|
-
| -------------- | :--------------: |
|
|
1472
|
-
| `--
|
|
1473
|
-
| `--
|
|
1474
|
-
| `--
|
|
1475
|
-
| `--
|
|
1476
|
-
| `--force` | `-f` | removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt |
|
|
1477
|
-
| `--silent` | `-s` | skip confirmation |
|
|
1482
|
+
| **Option** | **Option alias** | **Description** |
|
|
1483
|
+
| -------------- | :--------------: | ---------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1484
|
+
| `--track` | `-t` | keep tracking component in .bitmap (default = false), helps transform a tagged-component to new |
|
|
1485
|
+
| `--keep-files` | | keep component files (just untrack the component) |
|
|
1486
|
+
| `--force` | `-f` | removes the component from the scope, even if used as a dependency. WARNING: you will need to fix the components that depend on this component |
|
|
1487
|
+
| `--silent` | `-s` | skip confirmation |
|
|
1478
1488
|
|
|
1479
1489
|
---
|
|
1480
1490
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -367,6 +367,11 @@
|
|
|
367
367
|
"g",
|
|
368
368
|
"graph",
|
|
369
369
|
"generate graph image (arrows color: {\"parent\":\"green\",\"unrelated\":\"red\",\"squashed\":\"blue\"})"
|
|
370
|
+
],
|
|
371
|
+
[
|
|
372
|
+
"",
|
|
373
|
+
"mark <string>",
|
|
374
|
+
"relevant for --graph only. paint the given node-ids in the graph in red color, for multiple, separate by commas"
|
|
370
375
|
]
|
|
371
376
|
],
|
|
372
377
|
"description": "cat version-history object by component-id",
|
|
@@ -481,8 +486,8 @@
|
|
|
481
486
|
"options": [
|
|
482
487
|
[
|
|
483
488
|
"d",
|
|
484
|
-
"
|
|
485
|
-
"
|
|
489
|
+
"cloud-domain <domain>",
|
|
490
|
+
"login cloud domain (default bit.cloud)"
|
|
486
491
|
],
|
|
487
492
|
[
|
|
488
493
|
"p",
|
|
@@ -2053,16 +2058,6 @@
|
|
|
2053
2058
|
"name": "remove <component-pattern>",
|
|
2054
2059
|
"alias": "rm",
|
|
2055
2060
|
"options": [
|
|
2056
|
-
[
|
|
2057
|
-
"",
|
|
2058
|
-
"delete",
|
|
2059
|
-
"mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2060
|
-
],
|
|
2061
|
-
[
|
|
2062
|
-
"",
|
|
2063
|
-
"hard",
|
|
2064
|
-
"remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete"
|
|
2065
|
-
],
|
|
2066
2061
|
[
|
|
2067
2062
|
"t",
|
|
2068
2063
|
"track",
|
|
@@ -2073,6 +2068,44 @@
|
|
|
2073
2068
|
"keep-files",
|
|
2074
2069
|
"keep component files (just untrack the component)"
|
|
2075
2070
|
],
|
|
2071
|
+
[
|
|
2072
|
+
"f",
|
|
2073
|
+
"force",
|
|
2074
|
+
"removes the component from the scope, even if used as a dependency. WARNING: you will need to fix the components that depend on this component"
|
|
2075
|
+
],
|
|
2076
|
+
[
|
|
2077
|
+
"s",
|
|
2078
|
+
"silent",
|
|
2079
|
+
"skip confirmation"
|
|
2080
|
+
]
|
|
2081
|
+
],
|
|
2082
|
+
"description": "remove component(s) from the local workspace",
|
|
2083
|
+
"extendedDescription": "to mark components as deleted on the remote scope, use \"bit delete\".",
|
|
2084
|
+
"group": "collaborate",
|
|
2085
|
+
"private": false,
|
|
2086
|
+
"remoteOp": true,
|
|
2087
|
+
"skipWorkspace": true,
|
|
2088
|
+
"arguments": [
|
|
2089
|
+
{
|
|
2090
|
+
"name": "component-pattern",
|
|
2091
|
+
"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"
|
|
2092
|
+
}
|
|
2093
|
+
]
|
|
2094
|
+
},
|
|
2095
|
+
{
|
|
2096
|
+
"name": "delete <component-pattern>",
|
|
2097
|
+
"alias": "",
|
|
2098
|
+
"options": [
|
|
2099
|
+
[
|
|
2100
|
+
"",
|
|
2101
|
+
"lane",
|
|
2102
|
+
"when on a lane, delete the component from this lane only. avoid merging it to main or other lanes"
|
|
2103
|
+
],
|
|
2104
|
+
[
|
|
2105
|
+
"",
|
|
2106
|
+
"update-main",
|
|
2107
|
+
"EXPERIMENTAL. delete component/s on the main lane after merging this lane into main"
|
|
2108
|
+
],
|
|
2076
2109
|
[
|
|
2077
2110
|
"f",
|
|
2078
2111
|
"force",
|
|
@@ -2082,10 +2115,15 @@
|
|
|
2082
2115
|
"s",
|
|
2083
2116
|
"silent",
|
|
2084
2117
|
"skip confirmation"
|
|
2118
|
+
],
|
|
2119
|
+
[
|
|
2120
|
+
"",
|
|
2121
|
+
"hard",
|
|
2122
|
+
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents."
|
|
2085
2123
|
]
|
|
2086
2124
|
],
|
|
2087
|
-
"description": "
|
|
2088
|
-
"extendedDescription": "to remove components from your local workspace only, use \"bit remove\"
|
|
2125
|
+
"description": "mark components as deleted on the remote",
|
|
2126
|
+
"extendedDescription": "to remove components from your local workspace only, use \"bit remove\" command.\nthis command marks the components as deleted, and after snap/tag and export they will be marked as deleted from the remote scope as well.\n",
|
|
2089
2127
|
"group": "collaborate",
|
|
2090
2128
|
"private": false,
|
|
2091
2129
|
"remoteOp": true,
|
|
@@ -3265,8 +3303,8 @@
|
|
|
3265
3303
|
"EXPERIMENTAL. remove, i.e. delete, component/s on the main lane after merging this lane into main"
|
|
3266
3304
|
]
|
|
3267
3305
|
],
|
|
3268
|
-
"description": "remove components when on a lane",
|
|
3269
|
-
"extendedDescription": "
|
|
3306
|
+
"description": "DEPRECATED. remove components when on a lane",
|
|
3307
|
+
"extendedDescription": "",
|
|
3270
3308
|
"group": "collaborate",
|
|
3271
3309
|
"private": false,
|
|
3272
3310
|
"arguments": [
|
|
@@ -2009,7 +2009,131 @@ function MDXContent(_ref) {
|
|
|
2009
2009
|
}, "-e")), (0, _react2.mdx)("td", {
|
|
2010
2010
|
parentName: "tr",
|
|
2011
2011
|
"align": null
|
|
2012
|
-
}, "set the component's environment. (overrides the env from variants and the template)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "
|
|
2012
|
+
}, "set the component's environment. (overrides the env from variants and the template)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "delete"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2013
|
+
parentName: "p"
|
|
2014
|
+
}, "Description"), ": mark components as deleted on the remote", (0, _react2.mdx)("br", {
|
|
2015
|
+
parentName: "p"
|
|
2016
|
+
}), "\n", "to remove components from your local workspace only, use \"bit remove\" command.", (0, _react2.mdx)("br", {
|
|
2017
|
+
parentName: "p"
|
|
2018
|
+
}), "\n", "this command marks the components as deleted, and after snap/tag and export they will be marked as deleted from the remote scope as well."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2019
|
+
parentName: "p"
|
|
2020
|
+
}, "bit delete <component-pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2021
|
+
parentName: "table"
|
|
2022
|
+
}, (0, _react2.mdx)("tr", {
|
|
2023
|
+
parentName: "thead"
|
|
2024
|
+
}, (0, _react2.mdx)("th", {
|
|
2025
|
+
parentName: "tr",
|
|
2026
|
+
"align": null
|
|
2027
|
+
}, (0, _react2.mdx)("strong", {
|
|
2028
|
+
parentName: "th"
|
|
2029
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
2030
|
+
parentName: "tr",
|
|
2031
|
+
"align": "center"
|
|
2032
|
+
}, (0, _react2.mdx)("strong", {
|
|
2033
|
+
parentName: "th"
|
|
2034
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
2035
|
+
parentName: "table"
|
|
2036
|
+
}, (0, _react2.mdx)("tr", {
|
|
2037
|
+
parentName: "tbody"
|
|
2038
|
+
}, (0, _react2.mdx)("td", {
|
|
2039
|
+
parentName: "tr",
|
|
2040
|
+
"align": null
|
|
2041
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2042
|
+
parentName: "td"
|
|
2043
|
+
}, "component-pattern")), (0, _react2.mdx)("td", {
|
|
2044
|
+
parentName: "tr",
|
|
2045
|
+
"align": "center"
|
|
2046
|
+
}, "component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\" wrap the pattern with quotes")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2047
|
+
parentName: "table"
|
|
2048
|
+
}, (0, _react2.mdx)("tr", {
|
|
2049
|
+
parentName: "thead"
|
|
2050
|
+
}, (0, _react2.mdx)("th", {
|
|
2051
|
+
parentName: "tr",
|
|
2052
|
+
"align": null
|
|
2053
|
+
}, (0, _react2.mdx)("strong", {
|
|
2054
|
+
parentName: "th"
|
|
2055
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
2056
|
+
parentName: "tr",
|
|
2057
|
+
"align": "center"
|
|
2058
|
+
}, (0, _react2.mdx)("strong", {
|
|
2059
|
+
parentName: "th"
|
|
2060
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
2061
|
+
parentName: "tr",
|
|
2062
|
+
"align": null
|
|
2063
|
+
}, (0, _react2.mdx)("strong", {
|
|
2064
|
+
parentName: "th"
|
|
2065
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
2066
|
+
parentName: "table"
|
|
2067
|
+
}, (0, _react2.mdx)("tr", {
|
|
2068
|
+
parentName: "tbody"
|
|
2069
|
+
}, (0, _react2.mdx)("td", {
|
|
2070
|
+
parentName: "tr",
|
|
2071
|
+
"align": null
|
|
2072
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2073
|
+
parentName: "td"
|
|
2074
|
+
}, "--lane")), (0, _react2.mdx)("td", {
|
|
2075
|
+
parentName: "tr",
|
|
2076
|
+
"align": "center"
|
|
2077
|
+
}), (0, _react2.mdx)("td", {
|
|
2078
|
+
parentName: "tr",
|
|
2079
|
+
"align": null
|
|
2080
|
+
}, "when on a lane, delete the component from this lane only. avoid merging it to main or other lanes")), (0, _react2.mdx)("tr", {
|
|
2081
|
+
parentName: "tbody"
|
|
2082
|
+
}, (0, _react2.mdx)("td", {
|
|
2083
|
+
parentName: "tr",
|
|
2084
|
+
"align": null
|
|
2085
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2086
|
+
parentName: "td"
|
|
2087
|
+
}, "--update-main")), (0, _react2.mdx)("td", {
|
|
2088
|
+
parentName: "tr",
|
|
2089
|
+
"align": "center"
|
|
2090
|
+
}), (0, _react2.mdx)("td", {
|
|
2091
|
+
parentName: "tr",
|
|
2092
|
+
"align": null
|
|
2093
|
+
}, "EXPERIMENTAL. delete component/s on the main lane after merging this lane into main")), (0, _react2.mdx)("tr", {
|
|
2094
|
+
parentName: "tbody"
|
|
2095
|
+
}, (0, _react2.mdx)("td", {
|
|
2096
|
+
parentName: "tr",
|
|
2097
|
+
"align": null
|
|
2098
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2099
|
+
parentName: "td"
|
|
2100
|
+
}, "--force")), (0, _react2.mdx)("td", {
|
|
2101
|
+
parentName: "tr",
|
|
2102
|
+
"align": "center"
|
|
2103
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2104
|
+
parentName: "td"
|
|
2105
|
+
}, "-f")), (0, _react2.mdx)("td", {
|
|
2106
|
+
parentName: "tr",
|
|
2107
|
+
"align": null
|
|
2108
|
+
}, "removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt")), (0, _react2.mdx)("tr", {
|
|
2109
|
+
parentName: "tbody"
|
|
2110
|
+
}, (0, _react2.mdx)("td", {
|
|
2111
|
+
parentName: "tr",
|
|
2112
|
+
"align": null
|
|
2113
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2114
|
+
parentName: "td"
|
|
2115
|
+
}, "--silent")), (0, _react2.mdx)("td", {
|
|
2116
|
+
parentName: "tr",
|
|
2117
|
+
"align": "center"
|
|
2118
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2119
|
+
parentName: "td"
|
|
2120
|
+
}, "-s")), (0, _react2.mdx)("td", {
|
|
2121
|
+
parentName: "tr",
|
|
2122
|
+
"align": null
|
|
2123
|
+
}, "skip confirmation")), (0, _react2.mdx)("tr", {
|
|
2124
|
+
parentName: "tbody"
|
|
2125
|
+
}, (0, _react2.mdx)("td", {
|
|
2126
|
+
parentName: "tr",
|
|
2127
|
+
"align": null
|
|
2128
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2129
|
+
parentName: "td"
|
|
2130
|
+
}, "--hard")), (0, _react2.mdx)("td", {
|
|
2131
|
+
parentName: "tr",
|
|
2132
|
+
"align": "center"
|
|
2133
|
+
}), (0, _react2.mdx)("td", {
|
|
2134
|
+
parentName: "tr",
|
|
2135
|
+
"align": null
|
|
2136
|
+
}, "NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents.")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "dependents"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2013
2137
|
parentName: "p"
|
|
2014
2138
|
}, "Description"), ": show dependents of the given component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2015
2139
|
parentName: "p"
|
|
@@ -5295,13 +5419,7 @@ function MDXContent(_ref) {
|
|
|
5295
5419
|
parentName: "p"
|
|
5296
5420
|
}, "lane remove-comp <component-pattern>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
5297
5421
|
parentName: "p"
|
|
5298
|
-
}, "Description"), ": remove components when on a lane", (0, _react2.mdx)("
|
|
5299
|
-
parentName: "p"
|
|
5300
|
-
}), "\n", "in case the components are part of the lane and the lane is exported, it marks the components as", (0, _react2.mdx)("br", {
|
|
5301
|
-
parentName: "p"
|
|
5302
|
-
}), "\n", "removed from the lane, and then after snap+export, the remote-lane gets updated as well.", (0, _react2.mdx)("br", {
|
|
5303
|
-
parentName: "p"
|
|
5304
|
-
}), "\n", "upon lane-merge, these removed components are skipped and any changes for removed components won't be merged to main."), (0, _react2.mdx)("p", null, "in case the components are not yet part of the lane or the lane is new, it simply removes the components from the workspace"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5422
|
+
}, "Description"), ": DEPRECATED. remove components when on a lane"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5305
5423
|
parentName: "table"
|
|
5306
5424
|
}, (0, _react2.mdx)("tr", {
|
|
5307
5425
|
parentName: "thead"
|
|
@@ -6376,7 +6494,7 @@ function MDXContent(_ref) {
|
|
|
6376
6494
|
"align": null
|
|
6377
6495
|
}, (0, _react2.mdx)("inlineCode", {
|
|
6378
6496
|
parentName: "td"
|
|
6379
|
-
}, "--
|
|
6497
|
+
}, "--cloud-domain <domain>")), (0, _react2.mdx)("td", {
|
|
6380
6498
|
parentName: "tr",
|
|
6381
6499
|
"align": "center"
|
|
6382
6500
|
}, (0, _react2.mdx)("inlineCode", {
|
|
@@ -6384,10 +6502,7 @@ function MDXContent(_ref) {
|
|
|
6384
6502
|
}, "-d")), (0, _react2.mdx)("td", {
|
|
6385
6503
|
parentName: "tr",
|
|
6386
6504
|
"align": null
|
|
6387
|
-
}, "
|
|
6388
|
-
parentName: "td",
|
|
6389
|
-
"href": "https://bit.cloud"
|
|
6390
|
-
}, "https://bit.cloud"), ")")), (0, _react2.mdx)("tr", {
|
|
6505
|
+
}, "login cloud domain (default bit.cloud)")), (0, _react2.mdx)("tr", {
|
|
6391
6506
|
parentName: "tbody"
|
|
6392
6507
|
}, (0, _react2.mdx)("td", {
|
|
6393
6508
|
parentName: "tr",
|
|
@@ -7207,11 +7322,9 @@ function MDXContent(_ref) {
|
|
|
7207
7322
|
parentName: "p"
|
|
7208
7323
|
}), "\n", (0, _react2.mdx)("strong", {
|
|
7209
7324
|
parentName: "p"
|
|
7210
|
-
}, "Description"), ": remove component(s) from the workspace
|
|
7211
|
-
parentName: "p"
|
|
7212
|
-
}), "\n", "to remove components from your local workspace only, use \"bit remove\" (with no flags)."), (0, _react2.mdx)("p", null, "to remove a component from the remote scope, use \"bit remove --delete\", to mark the components as deleted.", (0, _react2.mdx)("br", {
|
|
7325
|
+
}, "Description"), ": remove component(s) from the local workspace", (0, _react2.mdx)("br", {
|
|
7213
7326
|
parentName: "p"
|
|
7214
|
-
}), "\n", "
|
|
7327
|
+
}), "\n", "to mark components as deleted on the remote scope, use \"bit delete\"."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7215
7328
|
parentName: "p"
|
|
7216
7329
|
}, "bit remove <component-pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7217
7330
|
parentName: "table"
|
|
@@ -7267,32 +7380,6 @@ function MDXContent(_ref) {
|
|
|
7267
7380
|
"align": null
|
|
7268
7381
|
}, (0, _react2.mdx)("inlineCode", {
|
|
7269
7382
|
parentName: "td"
|
|
7270
|
-
}, "--delete")), (0, _react2.mdx)("td", {
|
|
7271
|
-
parentName: "tr",
|
|
7272
|
-
"align": "center"
|
|
7273
|
-
}), (0, _react2.mdx)("td", {
|
|
7274
|
-
parentName: "tr",
|
|
7275
|
-
"align": null
|
|
7276
|
-
}, "mark the component as deleted. after tag/snap and export the remote will be updated")), (0, _react2.mdx)("tr", {
|
|
7277
|
-
parentName: "tbody"
|
|
7278
|
-
}, (0, _react2.mdx)("td", {
|
|
7279
|
-
parentName: "tr",
|
|
7280
|
-
"align": null
|
|
7281
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7282
|
-
parentName: "td"
|
|
7283
|
-
}, "--hard")), (0, _react2.mdx)("td", {
|
|
7284
|
-
parentName: "tr",
|
|
7285
|
-
"align": "center"
|
|
7286
|
-
}), (0, _react2.mdx)("td", {
|
|
7287
|
-
parentName: "tr",
|
|
7288
|
-
"align": null
|
|
7289
|
-
}, "remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete")), (0, _react2.mdx)("tr", {
|
|
7290
|
-
parentName: "tbody"
|
|
7291
|
-
}, (0, _react2.mdx)("td", {
|
|
7292
|
-
parentName: "tr",
|
|
7293
|
-
"align": null
|
|
7294
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
7295
|
-
parentName: "td"
|
|
7296
7383
|
}, "--track")), (0, _react2.mdx)("td", {
|
|
7297
7384
|
parentName: "tr",
|
|
7298
7385
|
"align": "center"
|
|
@@ -7329,7 +7416,7 @@ function MDXContent(_ref) {
|
|
|
7329
7416
|
}, "-f")), (0, _react2.mdx)("td", {
|
|
7330
7417
|
parentName: "tr",
|
|
7331
7418
|
"align": null
|
|
7332
|
-
}, "removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component
|
|
7419
|
+
}, "removes the component from the scope, even if used as a dependency. WARNING: you will need to fix the components that depend on this component")), (0, _react2.mdx)("tr", {
|
|
7333
7420
|
parentName: "tbody"
|
|
7334
7421
|
}, (0, _react2.mdx)("td", {
|
|
7335
7422
|
parentName: "tr",
|