@teambit/harmony.content.cli-reference 1.95.155 → 1.95.157
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 +38 -17
- package/cli-reference.mdx +21 -5
- package/dist/cli-reference.json +38 -17
- package/dist/cli-reference.mdx.js +95 -43
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1686799133952.js → preview-1687418355028.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.157.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.155.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -1330,6 +1330,11 @@
|
|
|
1330
1330
|
"aspect <string>",
|
|
1331
1331
|
"aspect-id of the template. helpful when multiple aspects use the same template name"
|
|
1332
1332
|
],
|
|
1333
|
+
[
|
|
1334
|
+
"t",
|
|
1335
|
+
"template <string>",
|
|
1336
|
+
"env-id of the template. alias for --aspect."
|
|
1337
|
+
],
|
|
1333
1338
|
[
|
|
1334
1339
|
"p",
|
|
1335
1340
|
"path <string>",
|
|
@@ -1403,6 +1408,11 @@
|
|
|
1403
1408
|
"aspect <aspect-id>",
|
|
1404
1409
|
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
1405
1410
|
],
|
|
1411
|
+
[
|
|
1412
|
+
"t",
|
|
1413
|
+
"template <env-id>",
|
|
1414
|
+
"env-id of the template. alias for --env."
|
|
1415
|
+
],
|
|
1406
1416
|
[
|
|
1407
1417
|
"",
|
|
1408
1418
|
"env <env-id>",
|
|
@@ -1996,31 +2006,16 @@
|
|
|
1996
2006
|
"name": "remove <component-pattern>",
|
|
1997
2007
|
"alias": "rm",
|
|
1998
2008
|
"options": [
|
|
1999
|
-
[
|
|
2000
|
-
"",
|
|
2001
|
-
"soft",
|
|
2002
|
-
"DEPRECATED. use --delete instead"
|
|
2003
|
-
],
|
|
2004
2009
|
[
|
|
2005
2010
|
"",
|
|
2006
2011
|
"delete",
|
|
2007
2012
|
"mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2008
2013
|
],
|
|
2009
|
-
[
|
|
2010
|
-
"",
|
|
2011
|
-
"remote",
|
|
2012
|
-
"DEPRECATED. use --hard instead"
|
|
2013
|
-
],
|
|
2014
2014
|
[
|
|
2015
2015
|
"",
|
|
2016
2016
|
"hard",
|
|
2017
2017
|
"remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete"
|
|
2018
2018
|
],
|
|
2019
|
-
[
|
|
2020
|
-
"",
|
|
2021
|
-
"from-lane",
|
|
2022
|
-
"revert to main if exists on currently checked out lane, otherwise, remove it"
|
|
2023
|
-
],
|
|
2024
2019
|
[
|
|
2025
2020
|
"t",
|
|
2026
2021
|
"track",
|
|
@@ -2043,7 +2038,7 @@
|
|
|
2043
2038
|
]
|
|
2044
2039
|
],
|
|
2045
2040
|
"description": "remove component(s) from the workspace, or a remote scope",
|
|
2046
|
-
"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.\
|
|
2041
|
+
"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.\n\nto remove components from lanes, use \"bit lane remove-comp\".\n",
|
|
2047
2042
|
"group": "collaborate",
|
|
2048
2043
|
"private": false,
|
|
2049
2044
|
"remoteOp": true,
|
|
@@ -2770,7 +2765,7 @@
|
|
|
2770
2765
|
},
|
|
2771
2766
|
{
|
|
2772
2767
|
"name": "lane [lane-name]",
|
|
2773
|
-
"alias": "",
|
|
2768
|
+
"alias": "l",
|
|
2774
2769
|
"options": [
|
|
2775
2770
|
[
|
|
2776
2771
|
"d",
|
|
@@ -3072,6 +3067,32 @@
|
|
|
3072
3067
|
}
|
|
3073
3068
|
]
|
|
3074
3069
|
},
|
|
3070
|
+
{
|
|
3071
|
+
"name": "remove-comp <component-pattern>",
|
|
3072
|
+
"alias": "rc",
|
|
3073
|
+
"options": [
|
|
3074
|
+
[
|
|
3075
|
+
"",
|
|
3076
|
+
"workspace-only",
|
|
3077
|
+
"do not mark the components as removed. instead, remove them from the workspace only"
|
|
3078
|
+
],
|
|
3079
|
+
[
|
|
3080
|
+
"",
|
|
3081
|
+
"update-main",
|
|
3082
|
+
"NOT IMPLEMENTED YET. mark as removed on main after merging this lane into main"
|
|
3083
|
+
]
|
|
3084
|
+
],
|
|
3085
|
+
"description": "remove components when on a lane",
|
|
3086
|
+
"extendedDescription": "in case the components are part of the lane and the lane is exported, it marks the components as removed,\nand then after snap+export, the remote-lane gets updated as well. upon lane-merge, these components are skipped.\n\nin case the components are not part of the lane or the lane is new, it simply removes the components from the workspace",
|
|
3087
|
+
"group": "collaborate",
|
|
3088
|
+
"private": false,
|
|
3089
|
+
"arguments": [
|
|
3090
|
+
{
|
|
3091
|
+
"name": "component-pattern",
|
|
3092
|
+
"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"
|
|
3093
|
+
}
|
|
3094
|
+
]
|
|
3095
|
+
},
|
|
3075
3096
|
{
|
|
3076
3097
|
"name": "merge <lane> [pattern]",
|
|
3077
3098
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -357,6 +357,7 @@ https://bit.dev/docs/config/bit-config
|
|
|
357
357
|
| `--namespace <string>` | `-n` | sets the component's namespace and nested dirs inside the scope |
|
|
358
358
|
| `--scope <string>` | `-s` | sets the component's scope-name. if not entered, the default-scope will be used |
|
|
359
359
|
| `--aspect <string>` | `-a` | aspect-id of the template. helpful when multiple aspects use the same template name |
|
|
360
|
+
| `--template <string>` | `-t` | env-id of the template. alias for --aspect. |
|
|
360
361
|
| `--path <string>` | `-p` | relative path in the workspace. by default the path is `<scope>/<namespace>/<name>` |
|
|
361
362
|
| `--env <string>` | `-e` | set the component's environment. (overrides the env from variants and the template) |
|
|
362
363
|
|
|
@@ -753,6 +754,7 @@ when no package is specified, all workspace dependencies are installed and all w
|
|
|
753
754
|
|
|
754
755
|
## lane
|
|
755
756
|
|
|
757
|
+
**Alias**: `l`
|
|
756
758
|
**Description**: manage lanes
|
|
757
759
|
|
|
758
760
|
`bit lane [lane-name]`
|
|
@@ -879,6 +881,21 @@ bit lane diff from to => diff between "from" lane and "to" lane.
|
|
|
879
881
|
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
880
882
|
| `--pattern <component-pattern>` | `-p` | EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty |
|
|
881
883
|
|
|
884
|
+
### lane remove-comp
|
|
885
|
+
|
|
886
|
+
**Usage**: `lane remove-comp <component-pattern>`
|
|
887
|
+
|
|
888
|
+
**Description**: remove components when on a lane
|
|
889
|
+
in case the components are part of the lane and the lane is exported, it marks the components as removed,
|
|
890
|
+
and then after snap+export, the remote-lane gets updated as well. upon lane-merge, these components are skipped.
|
|
891
|
+
|
|
892
|
+
in case the components are not part of the lane or the lane is new, it simply removes the components from the workspace
|
|
893
|
+
|
|
894
|
+
| **Option** | **Option alias** | **Description** |
|
|
895
|
+
| ------------------ | :--------------: | ----------------------------------------------------------------------------------- |
|
|
896
|
+
| `--workspace-only` | | do not mark the components as removed. instead, remove them from the workspace only |
|
|
897
|
+
| `--update-main` | | NOT IMPLEMENTED YET. mark as removed on main after merging this lane into main |
|
|
898
|
+
|
|
882
899
|
### lane merge
|
|
883
900
|
|
|
884
901
|
**Usage**: `lane merge <lane> [pattern]`
|
|
@@ -1066,6 +1083,7 @@ move files or directories of component(s)
|
|
|
1066
1083
|
| **Option** | **Option alias** | **Description** |
|
|
1067
1084
|
| -------------------------------- | :--------------: | --------------------------------------------------------------------------------------------------------------- |
|
|
1068
1085
|
| `--aspect <aspect-id>` | `-a` | aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision |
|
|
1086
|
+
| `--template <env-id>` | `-t` | env-id of the template. alias for --env. |
|
|
1069
1087
|
| `--env <env-id>` | | env-id of the template |
|
|
1070
1088
|
| `--default-scope <scope-name>` | `-d` | set defaultScope in the new workspace.jsonc |
|
|
1071
1089
|
| `--standalone` | | DEPRECATED. use --skip-git instead |
|
|
@@ -1163,18 +1181,16 @@ for example: "http://localhost:3000", "file:///tmp/local-scope"
|
|
|
1163
1181
|
to remove components from your local workspace only, use "bit remove" (with no flags).
|
|
1164
1182
|
|
|
1165
1183
|
to remove a component from the remote scope, use "bit remove --delete", to mark the components as deleted.
|
|
1166
|
-
once tagged/snapped and exported, the remote scope will be updated and it'll be marked as deleted there as well.
|
|
1167
|
-
|
|
1184
|
+
once tagged/snapped and exported, the remote scope will be updated and it'll be marked as deleted there as well.
|
|
1185
|
+
|
|
1186
|
+
to remove components from lanes, use "bit lane remove-comp".
|
|
1168
1187
|
|
|
1169
1188
|
`bit remove <component-pattern>`
|
|
1170
1189
|
|
|
1171
1190
|
| **Option** | **Option alias** | **Description** |
|
|
1172
1191
|
| -------------- | :--------------: | ------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1173
|
-
| `--soft` | | DEPRECATED. use --delete instead |
|
|
1174
1192
|
| `--delete` | | mark the component as deleted. after tag/snap and export the remote will be updated |
|
|
1175
|
-
| `--remote` | | DEPRECATED. use --hard instead |
|
|
1176
1193
|
| `--hard` | | remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete |
|
|
1177
|
-
| `--from-lane` | | revert to main if exists on currently checked out lane, otherwise, remove it |
|
|
1178
1194
|
| `--track` | `-t` | keep tracking component in .bitmap (default = false), helps transform a tagged-component to new |
|
|
1179
1195
|
| `--keep-files` | | keep component files (just untrack the component) |
|
|
1180
1196
|
| `--force` | `-f` | removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt |
|
package/dist/cli-reference.json
CHANGED
|
@@ -1330,6 +1330,11 @@
|
|
|
1330
1330
|
"aspect <string>",
|
|
1331
1331
|
"aspect-id of the template. helpful when multiple aspects use the same template name"
|
|
1332
1332
|
],
|
|
1333
|
+
[
|
|
1334
|
+
"t",
|
|
1335
|
+
"template <string>",
|
|
1336
|
+
"env-id of the template. alias for --aspect."
|
|
1337
|
+
],
|
|
1333
1338
|
[
|
|
1334
1339
|
"p",
|
|
1335
1340
|
"path <string>",
|
|
@@ -1403,6 +1408,11 @@
|
|
|
1403
1408
|
"aspect <aspect-id>",
|
|
1404
1409
|
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
1405
1410
|
],
|
|
1411
|
+
[
|
|
1412
|
+
"t",
|
|
1413
|
+
"template <env-id>",
|
|
1414
|
+
"env-id of the template. alias for --env."
|
|
1415
|
+
],
|
|
1406
1416
|
[
|
|
1407
1417
|
"",
|
|
1408
1418
|
"env <env-id>",
|
|
@@ -1996,31 +2006,16 @@
|
|
|
1996
2006
|
"name": "remove <component-pattern>",
|
|
1997
2007
|
"alias": "rm",
|
|
1998
2008
|
"options": [
|
|
1999
|
-
[
|
|
2000
|
-
"",
|
|
2001
|
-
"soft",
|
|
2002
|
-
"DEPRECATED. use --delete instead"
|
|
2003
|
-
],
|
|
2004
2009
|
[
|
|
2005
2010
|
"",
|
|
2006
2011
|
"delete",
|
|
2007
2012
|
"mark the component as deleted. after tag/snap and export the remote will be updated"
|
|
2008
2013
|
],
|
|
2009
|
-
[
|
|
2010
|
-
"",
|
|
2011
|
-
"remote",
|
|
2012
|
-
"DEPRECATED. use --hard instead"
|
|
2013
|
-
],
|
|
2014
2014
|
[
|
|
2015
2015
|
"",
|
|
2016
2016
|
"hard",
|
|
2017
2017
|
"remove a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. prefer --delete"
|
|
2018
2018
|
],
|
|
2019
|
-
[
|
|
2020
|
-
"",
|
|
2021
|
-
"from-lane",
|
|
2022
|
-
"revert to main if exists on currently checked out lane, otherwise, remove it"
|
|
2023
|
-
],
|
|
2024
2019
|
[
|
|
2025
2020
|
"t",
|
|
2026
2021
|
"track",
|
|
@@ -2043,7 +2038,7 @@
|
|
|
2043
2038
|
]
|
|
2044
2039
|
],
|
|
2045
2040
|
"description": "remove component(s) from the workspace, or a remote scope",
|
|
2046
|
-
"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.\
|
|
2041
|
+
"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.\n\nto remove components from lanes, use \"bit lane remove-comp\".\n",
|
|
2047
2042
|
"group": "collaborate",
|
|
2048
2043
|
"private": false,
|
|
2049
2044
|
"remoteOp": true,
|
|
@@ -2770,7 +2765,7 @@
|
|
|
2770
2765
|
},
|
|
2771
2766
|
{
|
|
2772
2767
|
"name": "lane [lane-name]",
|
|
2773
|
-
"alias": "",
|
|
2768
|
+
"alias": "l",
|
|
2774
2769
|
"options": [
|
|
2775
2770
|
[
|
|
2776
2771
|
"d",
|
|
@@ -3072,6 +3067,32 @@
|
|
|
3072
3067
|
}
|
|
3073
3068
|
]
|
|
3074
3069
|
},
|
|
3070
|
+
{
|
|
3071
|
+
"name": "remove-comp <component-pattern>",
|
|
3072
|
+
"alias": "rc",
|
|
3073
|
+
"options": [
|
|
3074
|
+
[
|
|
3075
|
+
"",
|
|
3076
|
+
"workspace-only",
|
|
3077
|
+
"do not mark the components as removed. instead, remove them from the workspace only"
|
|
3078
|
+
],
|
|
3079
|
+
[
|
|
3080
|
+
"",
|
|
3081
|
+
"update-main",
|
|
3082
|
+
"NOT IMPLEMENTED YET. mark as removed on main after merging this lane into main"
|
|
3083
|
+
]
|
|
3084
|
+
],
|
|
3085
|
+
"description": "remove components when on a lane",
|
|
3086
|
+
"extendedDescription": "in case the components are part of the lane and the lane is exported, it marks the components as removed,\nand then after snap+export, the remote-lane gets updated as well. upon lane-merge, these components are skipped.\n\nin case the components are not part of the lane or the lane is new, it simply removes the components from the workspace",
|
|
3087
|
+
"group": "collaborate",
|
|
3088
|
+
"private": false,
|
|
3089
|
+
"arguments": [
|
|
3090
|
+
{
|
|
3091
|
+
"name": "component-pattern",
|
|
3092
|
+
"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"
|
|
3093
|
+
}
|
|
3094
|
+
]
|
|
3095
|
+
},
|
|
3075
3096
|
{
|
|
3076
3097
|
"name": "merge <lane> [pattern]",
|
|
3077
3098
|
"alias": "",
|
|
@@ -1542,6 +1542,21 @@ function MDXContent(_ref) {
|
|
|
1542
1542
|
"align": null
|
|
1543
1543
|
}, (0, _react2.mdx)("inlineCode", {
|
|
1544
1544
|
parentName: "td"
|
|
1545
|
+
}, "--template <string>")), (0, _react2.mdx)("td", {
|
|
1546
|
+
parentName: "tr",
|
|
1547
|
+
"align": "center"
|
|
1548
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
1549
|
+
parentName: "td"
|
|
1550
|
+
}, "-t")), (0, _react2.mdx)("td", {
|
|
1551
|
+
parentName: "tr",
|
|
1552
|
+
"align": null
|
|
1553
|
+
}, "env-id of the template. alias for --aspect.")), (0, _react2.mdx)("tr", {
|
|
1554
|
+
parentName: "tbody"
|
|
1555
|
+
}, (0, _react2.mdx)("td", {
|
|
1556
|
+
parentName: "tr",
|
|
1557
|
+
"align": null
|
|
1558
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
1559
|
+
parentName: "td"
|
|
1545
1560
|
}, "--path <string>")), (0, _react2.mdx)("td", {
|
|
1546
1561
|
parentName: "tr",
|
|
1547
1562
|
"align": "center"
|
|
@@ -3417,6 +3432,12 @@ function MDXContent(_ref) {
|
|
|
3417
3432
|
"align": null
|
|
3418
3433
|
}, "do not install optional dependencies (works with pnpm only)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "lane"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3419
3434
|
parentName: "p"
|
|
3435
|
+
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
3436
|
+
parentName: "p"
|
|
3437
|
+
}, "l"), (0, _react2.mdx)("br", {
|
|
3438
|
+
parentName: "p"
|
|
3439
|
+
}), "\n", (0, _react2.mdx)("strong", {
|
|
3440
|
+
parentName: "p"
|
|
3420
3441
|
}, "Description"), ": manage lanes"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
3421
3442
|
parentName: "p"
|
|
3422
3443
|
}, "bit lane [lane-name]")), (0, _react2.mdx)("h3", null, "lane list"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
@@ -3974,7 +3995,64 @@ function MDXContent(_ref) {
|
|
|
3974
3995
|
}, "-p")), (0, _react2.mdx)("td", {
|
|
3975
3996
|
parentName: "tr",
|
|
3976
3997
|
"align": null
|
|
3977
|
-
}, "EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty")))), (0, _react2.mdx)("h3", null, "lane
|
|
3998
|
+
}, "EXPERIMENTAL. switch only the specified component-pattern. works only when the workspace is empty")))), (0, _react2.mdx)("h3", null, "lane remove-comp"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3999
|
+
parentName: "p"
|
|
4000
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
4001
|
+
parentName: "p"
|
|
4002
|
+
}, "lane remove-comp <component-pattern>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4003
|
+
parentName: "p"
|
|
4004
|
+
}, "Description"), ": remove components when on a lane", (0, _react2.mdx)("br", {
|
|
4005
|
+
parentName: "p"
|
|
4006
|
+
}), "\n", "in case the components are part of the lane and the lane is exported, it marks the components as removed,", (0, _react2.mdx)("br", {
|
|
4007
|
+
parentName: "p"
|
|
4008
|
+
}), "\n", "and then after snap+export, the remote-lane gets updated as well. upon lane-merge, these components are skipped."), (0, _react2.mdx)("p", null, "in case the components are not 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", {
|
|
4009
|
+
parentName: "table"
|
|
4010
|
+
}, (0, _react2.mdx)("tr", {
|
|
4011
|
+
parentName: "thead"
|
|
4012
|
+
}, (0, _react2.mdx)("th", {
|
|
4013
|
+
parentName: "tr",
|
|
4014
|
+
"align": null
|
|
4015
|
+
}, (0, _react2.mdx)("strong", {
|
|
4016
|
+
parentName: "th"
|
|
4017
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
4018
|
+
parentName: "tr",
|
|
4019
|
+
"align": "center"
|
|
4020
|
+
}, (0, _react2.mdx)("strong", {
|
|
4021
|
+
parentName: "th"
|
|
4022
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
4023
|
+
parentName: "tr",
|
|
4024
|
+
"align": null
|
|
4025
|
+
}, (0, _react2.mdx)("strong", {
|
|
4026
|
+
parentName: "th"
|
|
4027
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
4028
|
+
parentName: "table"
|
|
4029
|
+
}, (0, _react2.mdx)("tr", {
|
|
4030
|
+
parentName: "tbody"
|
|
4031
|
+
}, (0, _react2.mdx)("td", {
|
|
4032
|
+
parentName: "tr",
|
|
4033
|
+
"align": null
|
|
4034
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4035
|
+
parentName: "td"
|
|
4036
|
+
}, "--workspace-only")), (0, _react2.mdx)("td", {
|
|
4037
|
+
parentName: "tr",
|
|
4038
|
+
"align": "center"
|
|
4039
|
+
}), (0, _react2.mdx)("td", {
|
|
4040
|
+
parentName: "tr",
|
|
4041
|
+
"align": null
|
|
4042
|
+
}, "do not mark the components as removed. instead, remove them from the workspace only")), (0, _react2.mdx)("tr", {
|
|
4043
|
+
parentName: "tbody"
|
|
4044
|
+
}, (0, _react2.mdx)("td", {
|
|
4045
|
+
parentName: "tr",
|
|
4046
|
+
"align": null
|
|
4047
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4048
|
+
parentName: "td"
|
|
4049
|
+
}, "--update-main")), (0, _react2.mdx)("td", {
|
|
4050
|
+
parentName: "tr",
|
|
4051
|
+
"align": "center"
|
|
4052
|
+
}), (0, _react2.mdx)("td", {
|
|
4053
|
+
parentName: "tr",
|
|
4054
|
+
"align": null
|
|
4055
|
+
}, "NOT IMPLEMENTED YET. mark as removed on main after merging this lane into main")))), (0, _react2.mdx)("h3", null, "lane merge"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3978
4056
|
parentName: "p"
|
|
3979
4057
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
3980
4058
|
parentName: "p"
|
|
@@ -5080,6 +5158,21 @@ function MDXContent(_ref) {
|
|
|
5080
5158
|
"align": null
|
|
5081
5159
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5082
5160
|
parentName: "td"
|
|
5161
|
+
}, "--template <env-id>")), (0, _react2.mdx)("td", {
|
|
5162
|
+
parentName: "tr",
|
|
5163
|
+
"align": "center"
|
|
5164
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5165
|
+
parentName: "td"
|
|
5166
|
+
}, "-t")), (0, _react2.mdx)("td", {
|
|
5167
|
+
parentName: "tr",
|
|
5168
|
+
"align": null
|
|
5169
|
+
}, "env-id of the template. alias for --env.")), (0, _react2.mdx)("tr", {
|
|
5170
|
+
parentName: "tbody"
|
|
5171
|
+
}, (0, _react2.mdx)("td", {
|
|
5172
|
+
parentName: "tr",
|
|
5173
|
+
"align": null
|
|
5174
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5175
|
+
parentName: "td"
|
|
5083
5176
|
}, "--env <env-id>")), (0, _react2.mdx)("td", {
|
|
5084
5177
|
parentName: "tr",
|
|
5085
5178
|
"align": "center"
|
|
@@ -5419,9 +5512,7 @@ function MDXContent(_ref) {
|
|
|
5419
5512
|
parentName: "p"
|
|
5420
5513
|
}), "\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", {
|
|
5421
5514
|
parentName: "p"
|
|
5422
|
-
}), "\n", "once tagged/snapped and exported, the remote scope will be updated and it'll be marked as deleted there as well.", (0, _react2.mdx)("
|
|
5423
|
-
parentName: "p"
|
|
5424
|
-
}), "\n", "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."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5515
|
+
}), "\n", "once tagged/snapped and exported, the remote scope will be updated and it'll be marked as deleted there as well."), (0, _react2.mdx)("p", null, "to remove components from lanes, use \"bit lane remove-comp\"."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
5425
5516
|
parentName: "p"
|
|
5426
5517
|
}, "bit remove <component-pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
5427
5518
|
parentName: "table"
|
|
@@ -5451,19 +5542,6 @@ function MDXContent(_ref) {
|
|
|
5451
5542
|
"align": null
|
|
5452
5543
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5453
5544
|
parentName: "td"
|
|
5454
|
-
}, "--soft")), (0, _react2.mdx)("td", {
|
|
5455
|
-
parentName: "tr",
|
|
5456
|
-
"align": "center"
|
|
5457
|
-
}), (0, _react2.mdx)("td", {
|
|
5458
|
-
parentName: "tr",
|
|
5459
|
-
"align": null
|
|
5460
|
-
}, "DEPRECATED. use --delete instead")), (0, _react2.mdx)("tr", {
|
|
5461
|
-
parentName: "tbody"
|
|
5462
|
-
}, (0, _react2.mdx)("td", {
|
|
5463
|
-
parentName: "tr",
|
|
5464
|
-
"align": null
|
|
5465
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
5466
|
-
parentName: "td"
|
|
5467
5545
|
}, "--delete")), (0, _react2.mdx)("td", {
|
|
5468
5546
|
parentName: "tr",
|
|
5469
5547
|
"align": "center"
|
|
@@ -5477,19 +5555,6 @@ function MDXContent(_ref) {
|
|
|
5477
5555
|
"align": null
|
|
5478
5556
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5479
5557
|
parentName: "td"
|
|
5480
|
-
}, "--remote")), (0, _react2.mdx)("td", {
|
|
5481
|
-
parentName: "tr",
|
|
5482
|
-
"align": "center"
|
|
5483
|
-
}), (0, _react2.mdx)("td", {
|
|
5484
|
-
parentName: "tr",
|
|
5485
|
-
"align": null
|
|
5486
|
-
}, "DEPRECATED. use --hard instead")), (0, _react2.mdx)("tr", {
|
|
5487
|
-
parentName: "tbody"
|
|
5488
|
-
}, (0, _react2.mdx)("td", {
|
|
5489
|
-
parentName: "tr",
|
|
5490
|
-
"align": null
|
|
5491
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
5492
|
-
parentName: "td"
|
|
5493
5558
|
}, "--hard")), (0, _react2.mdx)("td", {
|
|
5494
5559
|
parentName: "tr",
|
|
5495
5560
|
"align": "center"
|
|
@@ -5503,19 +5568,6 @@ function MDXContent(_ref) {
|
|
|
5503
5568
|
"align": null
|
|
5504
5569
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5505
5570
|
parentName: "td"
|
|
5506
|
-
}, "--from-lane")), (0, _react2.mdx)("td", {
|
|
5507
|
-
parentName: "tr",
|
|
5508
|
-
"align": "center"
|
|
5509
|
-
}), (0, _react2.mdx)("td", {
|
|
5510
|
-
parentName: "tr",
|
|
5511
|
-
"align": null
|
|
5512
|
-
}, "revert to main if exists on currently checked out lane, otherwise, remove it")), (0, _react2.mdx)("tr", {
|
|
5513
|
-
parentName: "tbody"
|
|
5514
|
-
}, (0, _react2.mdx)("td", {
|
|
5515
|
-
parentName: "tr",
|
|
5516
|
-
"align": null
|
|
5517
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
5518
|
-
parentName: "td"
|
|
5519
5571
|
}, "--track")), (0, _react2.mdx)("td", {
|
|
5520
5572
|
parentName: "tr",
|
|
5521
5573
|
"align": "center"
|