@teambit/harmony.content.cli-reference 1.95.206 → 1.95.208
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 +182 -144
- package/cli-reference.mdx +32 -22
- package/dist/cli-reference.composition.d.ts +2 -2
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +182 -144
- package/dist/cli-reference.mdx.js +131 -44
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1692501406203.js → preview-1692781025298.js} +2 -2
- package/package.json +2 -2
- package/.bit-capsule-ready +0 -0
- package/package-tar/teambit-harmony.content.cli-reference-1.95.206.tgz +0 -0
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",
|
|
@@ -1273,29 +1278,110 @@
|
|
|
1273
1278
|
]
|
|
1274
1279
|
},
|
|
1275
1280
|
{
|
|
1276
|
-
"name": "
|
|
1277
|
-
"alias": "",
|
|
1278
|
-
"options": [
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
"verbose",
|
|
1282
|
-
"show all watch events and compiler verbose output"
|
|
1283
|
-
],
|
|
1284
|
-
[
|
|
1285
|
-
"",
|
|
1286
|
-
"skip-pre-compilation",
|
|
1287
|
-
"skip compilation step before starting to watch"
|
|
1288
|
-
],
|
|
1289
|
-
[
|
|
1290
|
-
"t",
|
|
1291
|
-
"check-types [string]",
|
|
1292
|
-
"EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
|
|
1293
|
-
]
|
|
1294
|
-
],
|
|
1295
|
-
"description": "automatically recompile modified components (on save)",
|
|
1296
|
-
"extendedDescription": "by default, the watcher doesn't use polling, to keep the CPU idle.\nin some rare cases, this could result in missing file events. to fix it, try to prefix this command with CHOKIDAR_USEPOLLING=true\nalternatively, restarting the computer could also help.",
|
|
1281
|
+
"name": "ws-config <sub-command>",
|
|
1282
|
+
"alias": "workspace-config",
|
|
1283
|
+
"options": [],
|
|
1284
|
+
"description": "manage workspace config files",
|
|
1285
|
+
"extendedDescription": "",
|
|
1297
1286
|
"group": "development",
|
|
1298
|
-
"private": false
|
|
1287
|
+
"private": false,
|
|
1288
|
+
"commands": [
|
|
1289
|
+
{
|
|
1290
|
+
"name": "write",
|
|
1291
|
+
"alias": "",
|
|
1292
|
+
"options": [
|
|
1293
|
+
[
|
|
1294
|
+
"c",
|
|
1295
|
+
"clean",
|
|
1296
|
+
"delete existing config files from the workspace. highly recommended to run it with \"--dry-run\" first"
|
|
1297
|
+
],
|
|
1298
|
+
[
|
|
1299
|
+
"w",
|
|
1300
|
+
"writers <writers>",
|
|
1301
|
+
"only write config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers"
|
|
1302
|
+
],
|
|
1303
|
+
[
|
|
1304
|
+
"s",
|
|
1305
|
+
"silent",
|
|
1306
|
+
"do not prompt for confirmation"
|
|
1307
|
+
],
|
|
1308
|
+
[
|
|
1309
|
+
"",
|
|
1310
|
+
"no-dedupe",
|
|
1311
|
+
"write configs inside each one of the component's dir, avoid deduping"
|
|
1312
|
+
],
|
|
1313
|
+
[
|
|
1314
|
+
"",
|
|
1315
|
+
"dry-run",
|
|
1316
|
+
"show the paths that configs will be written per env"
|
|
1317
|
+
],
|
|
1318
|
+
[
|
|
1319
|
+
"",
|
|
1320
|
+
"dry-run-with-content",
|
|
1321
|
+
"use with --json flag. show the config content and the paths that will be written per env"
|
|
1322
|
+
],
|
|
1323
|
+
[
|
|
1324
|
+
"v",
|
|
1325
|
+
"verbose",
|
|
1326
|
+
"showing verbose output for writing"
|
|
1327
|
+
],
|
|
1328
|
+
[
|
|
1329
|
+
"j",
|
|
1330
|
+
"json",
|
|
1331
|
+
"json format"
|
|
1332
|
+
]
|
|
1333
|
+
],
|
|
1334
|
+
"description": "EXPERIMENTAL. write config files in the workspace. useful for IDEs",
|
|
1335
|
+
"extendedDescription": "",
|
|
1336
|
+
"group": "development",
|
|
1337
|
+
"private": false
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"name": "clean",
|
|
1341
|
+
"alias": "",
|
|
1342
|
+
"options": [
|
|
1343
|
+
[
|
|
1344
|
+
"s",
|
|
1345
|
+
"silent",
|
|
1346
|
+
"do not prompt for confirmation"
|
|
1347
|
+
],
|
|
1348
|
+
[
|
|
1349
|
+
"w",
|
|
1350
|
+
"writers <writers>",
|
|
1351
|
+
"only clean config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers"
|
|
1352
|
+
],
|
|
1353
|
+
[
|
|
1354
|
+
"",
|
|
1355
|
+
"dry-run",
|
|
1356
|
+
"show the paths of configs that will be cleaned"
|
|
1357
|
+
],
|
|
1358
|
+
[
|
|
1359
|
+
"j",
|
|
1360
|
+
"json",
|
|
1361
|
+
"json format"
|
|
1362
|
+
]
|
|
1363
|
+
],
|
|
1364
|
+
"description": "EXPERIMENTAL. clean (delete) written config files in the workspace. useful for IDEs",
|
|
1365
|
+
"extendedDescription": "",
|
|
1366
|
+
"group": "development",
|
|
1367
|
+
"private": false
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"name": "list",
|
|
1371
|
+
"alias": "",
|
|
1372
|
+
"options": [
|
|
1373
|
+
[
|
|
1374
|
+
"j",
|
|
1375
|
+
"json",
|
|
1376
|
+
"json format"
|
|
1377
|
+
]
|
|
1378
|
+
],
|
|
1379
|
+
"description": "EXPERIMENTAL. list config writers",
|
|
1380
|
+
"extendedDescription": "",
|
|
1381
|
+
"group": "development",
|
|
1382
|
+
"private": false
|
|
1383
|
+
}
|
|
1384
|
+
]
|
|
1299
1385
|
},
|
|
1300
1386
|
{
|
|
1301
1387
|
"name": "add [path...]",
|
|
@@ -1490,6 +1576,31 @@
|
|
|
1490
1576
|
}
|
|
1491
1577
|
]
|
|
1492
1578
|
},
|
|
1579
|
+
{
|
|
1580
|
+
"name": "watch",
|
|
1581
|
+
"alias": "",
|
|
1582
|
+
"options": [
|
|
1583
|
+
[
|
|
1584
|
+
"v",
|
|
1585
|
+
"verbose",
|
|
1586
|
+
"show all watch events and compiler verbose output"
|
|
1587
|
+
],
|
|
1588
|
+
[
|
|
1589
|
+
"",
|
|
1590
|
+
"skip-pre-compilation",
|
|
1591
|
+
"skip compilation step before starting to watch"
|
|
1592
|
+
],
|
|
1593
|
+
[
|
|
1594
|
+
"t",
|
|
1595
|
+
"check-types [string]",
|
|
1596
|
+
"EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
|
|
1597
|
+
]
|
|
1598
|
+
],
|
|
1599
|
+
"description": "automatically recompile modified components (on save)",
|
|
1600
|
+
"extendedDescription": "by default, the watcher doesn't use polling, to keep the CPU idle.\nin some rare cases, this could result in missing file events. to fix it, try to prefix this command with CHOKIDAR_USEPOLLING=true\nalternatively, restarting the computer could also help.",
|
|
1601
|
+
"group": "development",
|
|
1602
|
+
"private": false
|
|
1603
|
+
},
|
|
1493
1604
|
{
|
|
1494
1605
|
"name": "build [component-pattern]",
|
|
1495
1606
|
"alias": "",
|
|
@@ -2053,16 +2164,6 @@
|
|
|
2053
2164
|
"name": "remove <component-pattern>",
|
|
2054
2165
|
"alias": "rm",
|
|
2055
2166
|
"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
2167
|
[
|
|
2067
2168
|
"t",
|
|
2068
2169
|
"track",
|
|
@@ -2073,6 +2174,44 @@
|
|
|
2073
2174
|
"keep-files",
|
|
2074
2175
|
"keep component files (just untrack the component)"
|
|
2075
2176
|
],
|
|
2177
|
+
[
|
|
2178
|
+
"f",
|
|
2179
|
+
"force",
|
|
2180
|
+
"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"
|
|
2181
|
+
],
|
|
2182
|
+
[
|
|
2183
|
+
"s",
|
|
2184
|
+
"silent",
|
|
2185
|
+
"skip confirmation"
|
|
2186
|
+
]
|
|
2187
|
+
],
|
|
2188
|
+
"description": "remove component(s) from the local workspace",
|
|
2189
|
+
"extendedDescription": "to mark components as deleted on the remote scope, use \"bit delete\".",
|
|
2190
|
+
"group": "collaborate",
|
|
2191
|
+
"private": false,
|
|
2192
|
+
"remoteOp": true,
|
|
2193
|
+
"skipWorkspace": true,
|
|
2194
|
+
"arguments": [
|
|
2195
|
+
{
|
|
2196
|
+
"name": "component-pattern",
|
|
2197
|
+
"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"
|
|
2198
|
+
}
|
|
2199
|
+
]
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
"name": "delete <component-pattern>",
|
|
2203
|
+
"alias": "",
|
|
2204
|
+
"options": [
|
|
2205
|
+
[
|
|
2206
|
+
"",
|
|
2207
|
+
"lane",
|
|
2208
|
+
"when on a lane, delete the component from this lane only. avoid merging it to main or other lanes"
|
|
2209
|
+
],
|
|
2210
|
+
[
|
|
2211
|
+
"",
|
|
2212
|
+
"update-main",
|
|
2213
|
+
"EXPERIMENTAL. delete component/s on the main lane after merging this lane into main"
|
|
2214
|
+
],
|
|
2076
2215
|
[
|
|
2077
2216
|
"f",
|
|
2078
2217
|
"force",
|
|
@@ -2082,10 +2221,15 @@
|
|
|
2082
2221
|
"s",
|
|
2083
2222
|
"silent",
|
|
2084
2223
|
"skip confirmation"
|
|
2224
|
+
],
|
|
2225
|
+
[
|
|
2226
|
+
"",
|
|
2227
|
+
"hard",
|
|
2228
|
+
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents."
|
|
2085
2229
|
]
|
|
2086
2230
|
],
|
|
2087
|
-
"description": "
|
|
2088
|
-
"extendedDescription": "to remove components from your local workspace only, use \"bit remove\"
|
|
2231
|
+
"description": "mark components as deleted on the remote",
|
|
2232
|
+
"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
2233
|
"group": "collaborate",
|
|
2090
2234
|
"private": false,
|
|
2091
2235
|
"remoteOp": true,
|
|
@@ -3265,8 +3409,8 @@
|
|
|
3265
3409
|
"EXPERIMENTAL. remove, i.e. delete, component/s on the main lane after merging this lane into main"
|
|
3266
3410
|
]
|
|
3267
3411
|
],
|
|
3268
|
-
"description": "remove components when on a lane",
|
|
3269
|
-
"extendedDescription": "
|
|
3412
|
+
"description": "DEPRECATED. remove components when on a lane",
|
|
3413
|
+
"extendedDescription": "",
|
|
3270
3414
|
"group": "collaborate",
|
|
3271
3415
|
"private": false,
|
|
3272
3416
|
"arguments": [
|
|
@@ -4510,111 +4654,5 @@
|
|
|
4510
4654
|
"extendedDescription": "",
|
|
4511
4655
|
"group": "development",
|
|
4512
4656
|
"private": false
|
|
4513
|
-
},
|
|
4514
|
-
{
|
|
4515
|
-
"name": "ws-config <sub-command>",
|
|
4516
|
-
"alias": "workspace-config",
|
|
4517
|
-
"options": [],
|
|
4518
|
-
"description": "manage workspace config files",
|
|
4519
|
-
"extendedDescription": "",
|
|
4520
|
-
"group": "development",
|
|
4521
|
-
"private": false,
|
|
4522
|
-
"commands": [
|
|
4523
|
-
{
|
|
4524
|
-
"name": "write",
|
|
4525
|
-
"alias": "",
|
|
4526
|
-
"options": [
|
|
4527
|
-
[
|
|
4528
|
-
"c",
|
|
4529
|
-
"clean",
|
|
4530
|
-
"delete existing config files from the workspace. highly recommended to run it with \"--dry-run\" first"
|
|
4531
|
-
],
|
|
4532
|
-
[
|
|
4533
|
-
"w",
|
|
4534
|
-
"writers <writers>",
|
|
4535
|
-
"only write config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers"
|
|
4536
|
-
],
|
|
4537
|
-
[
|
|
4538
|
-
"s",
|
|
4539
|
-
"silent",
|
|
4540
|
-
"do not prompt for confirmation"
|
|
4541
|
-
],
|
|
4542
|
-
[
|
|
4543
|
-
"",
|
|
4544
|
-
"no-dedupe",
|
|
4545
|
-
"write configs inside each one of the component's dir, avoid deduping"
|
|
4546
|
-
],
|
|
4547
|
-
[
|
|
4548
|
-
"",
|
|
4549
|
-
"dry-run",
|
|
4550
|
-
"show the paths that configs will be written per env"
|
|
4551
|
-
],
|
|
4552
|
-
[
|
|
4553
|
-
"",
|
|
4554
|
-
"dry-run-with-content",
|
|
4555
|
-
"use with --json flag. show the config content and the paths that will be written per env"
|
|
4556
|
-
],
|
|
4557
|
-
[
|
|
4558
|
-
"v",
|
|
4559
|
-
"verbose",
|
|
4560
|
-
"showing verbose output for writing"
|
|
4561
|
-
],
|
|
4562
|
-
[
|
|
4563
|
-
"j",
|
|
4564
|
-
"json",
|
|
4565
|
-
"json format"
|
|
4566
|
-
]
|
|
4567
|
-
],
|
|
4568
|
-
"description": "EXPERIMENTAL. write config files in the workspace. useful for IDEs",
|
|
4569
|
-
"extendedDescription": "",
|
|
4570
|
-
"group": "development",
|
|
4571
|
-
"private": false
|
|
4572
|
-
},
|
|
4573
|
-
{
|
|
4574
|
-
"name": "clean",
|
|
4575
|
-
"alias": "",
|
|
4576
|
-
"options": [
|
|
4577
|
-
[
|
|
4578
|
-
"s",
|
|
4579
|
-
"silent",
|
|
4580
|
-
"do not prompt for confirmation"
|
|
4581
|
-
],
|
|
4582
|
-
[
|
|
4583
|
-
"w",
|
|
4584
|
-
"writers <writers>",
|
|
4585
|
-
"only clean config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers"
|
|
4586
|
-
],
|
|
4587
|
-
[
|
|
4588
|
-
"",
|
|
4589
|
-
"dry-run",
|
|
4590
|
-
"show the paths of configs that will be cleaned"
|
|
4591
|
-
],
|
|
4592
|
-
[
|
|
4593
|
-
"j",
|
|
4594
|
-
"json",
|
|
4595
|
-
"json format"
|
|
4596
|
-
]
|
|
4597
|
-
],
|
|
4598
|
-
"description": "EXPERIMENTAL. clean (delete) written config files in the workspace. useful for IDEs",
|
|
4599
|
-
"extendedDescription": "",
|
|
4600
|
-
"group": "development",
|
|
4601
|
-
"private": false
|
|
4602
|
-
},
|
|
4603
|
-
{
|
|
4604
|
-
"name": "list",
|
|
4605
|
-
"alias": "",
|
|
4606
|
-
"options": [
|
|
4607
|
-
[
|
|
4608
|
-
"j",
|
|
4609
|
-
"json",
|
|
4610
|
-
"json format"
|
|
4611
|
-
]
|
|
4612
|
-
],
|
|
4613
|
-
"description": "EXPERIMENTAL. list config writers",
|
|
4614
|
-
"extendedDescription": "",
|
|
4615
|
-
"group": "development",
|
|
4616
|
-
"private": false
|
|
4617
|
-
}
|
|
4618
|
-
]
|
|
4619
4657
|
}
|
|
4620
4658
|
]
|
|
@@ -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",
|