@teambit/harmony.content.cli-reference 2.0.341 → 2.0.343
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 +557 -542
- package/cli-reference.mdx +18 -15
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +557 -542
- package/dist/cli-reference.mdx.js +44 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1721013596376.js → preview-1721186478884.js} +2 -2
- package/package.json +2 -2
package/cli-reference.json
CHANGED
|
@@ -1179,422 +1179,137 @@
|
|
|
1179
1179
|
]
|
|
1180
1180
|
},
|
|
1181
1181
|
{
|
|
1182
|
-
"name": "
|
|
1183
|
-
"alias": "
|
|
1182
|
+
"name": "watch",
|
|
1183
|
+
"alias": "",
|
|
1184
|
+
"options": [
|
|
1185
|
+
[
|
|
1186
|
+
"v",
|
|
1187
|
+
"verbose",
|
|
1188
|
+
"show all watch events and compiler verbose output"
|
|
1189
|
+
],
|
|
1190
|
+
[
|
|
1191
|
+
"",
|
|
1192
|
+
"skip-pre-compilation",
|
|
1193
|
+
"skip compilation step before starting to watch"
|
|
1194
|
+
],
|
|
1195
|
+
[
|
|
1196
|
+
"t",
|
|
1197
|
+
"check-types [string]",
|
|
1198
|
+
"EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
|
|
1199
|
+
],
|
|
1200
|
+
[
|
|
1201
|
+
"i",
|
|
1202
|
+
"import",
|
|
1203
|
+
"DEPRECATED. it is now the default. helpful when using git. import component objects if .bitmap changed not by bit"
|
|
1204
|
+
],
|
|
1205
|
+
[
|
|
1206
|
+
"",
|
|
1207
|
+
"skip-import",
|
|
1208
|
+
"do not import component objects if .bitmap changed not by bit"
|
|
1209
|
+
]
|
|
1210
|
+
],
|
|
1211
|
+
"description": "automatically recompile modified components (on save)",
|
|
1212
|
+
"extendedDescription": "by default, the watcher doesn't use polling, to keep the CPU idle.\nif this doesn't work well for you, run \"bit config set watch_use_polling true\" to use polling.",
|
|
1213
|
+
"group": "development",
|
|
1214
|
+
"private": false
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
"name": "ws-config <sub-command>",
|
|
1218
|
+
"alias": "workspace-config",
|
|
1184
1219
|
"options": [],
|
|
1185
|
-
"description": "manage
|
|
1220
|
+
"description": "manage workspace config files",
|
|
1186
1221
|
"extendedDescription": "",
|
|
1187
|
-
"group": "
|
|
1222
|
+
"group": "development",
|
|
1188
1223
|
"private": false,
|
|
1189
1224
|
"commands": [
|
|
1190
1225
|
{
|
|
1191
|
-
"name": "
|
|
1226
|
+
"name": "write",
|
|
1192
1227
|
"alias": "",
|
|
1193
1228
|
"options": [
|
|
1194
1229
|
[
|
|
1195
|
-
"",
|
|
1196
|
-
"
|
|
1197
|
-
"
|
|
1230
|
+
"c",
|
|
1231
|
+
"clean",
|
|
1232
|
+
"delete existing config files from the workspace. highly recommended to run it with \"--dry-run\" first"
|
|
1198
1233
|
],
|
|
1199
1234
|
[
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1202
|
-
"
|
|
1203
|
-
]
|
|
1204
|
-
],
|
|
1205
|
-
"description": "show direct and indirect dependencies of the given component",
|
|
1206
|
-
"extendedDescription": "",
|
|
1207
|
-
"group": "info",
|
|
1208
|
-
"private": false,
|
|
1209
|
-
"arguments": [
|
|
1210
|
-
{
|
|
1211
|
-
"name": "component-name",
|
|
1212
|
-
"description": "component name or component id"
|
|
1213
|
-
}
|
|
1214
|
-
]
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
"name": "remove <component-pattern> <package...>",
|
|
1218
|
-
"alias": "",
|
|
1219
|
-
"options": [
|
|
1235
|
+
"w",
|
|
1236
|
+
"writers <writers>",
|
|
1237
|
+
"only write config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers"
|
|
1238
|
+
],
|
|
1220
1239
|
[
|
|
1221
|
-
"
|
|
1222
|
-
"
|
|
1223
|
-
"
|
|
1240
|
+
"s",
|
|
1241
|
+
"silent",
|
|
1242
|
+
"do not prompt for confirmation"
|
|
1224
1243
|
],
|
|
1225
1244
|
[
|
|
1226
|
-
"
|
|
1227
|
-
"
|
|
1228
|
-
"
|
|
1229
|
-
]
|
|
1230
|
-
],
|
|
1231
|
-
"description": "remove a dependency to component(s)",
|
|
1232
|
-
"extendedDescription": "",
|
|
1233
|
-
"group": "info",
|
|
1234
|
-
"private": false,
|
|
1235
|
-
"arguments": [
|
|
1236
|
-
{
|
|
1237
|
-
"name": "component-pattern",
|
|
1238
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1239
|
-
},
|
|
1240
|
-
{
|
|
1241
|
-
"name": "package...",
|
|
1242
|
-
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version"
|
|
1243
|
-
}
|
|
1244
|
-
]
|
|
1245
|
-
},
|
|
1246
|
-
{
|
|
1247
|
-
"name": "unset <component-pattern> <package...>",
|
|
1248
|
-
"alias": "",
|
|
1249
|
-
"options": [
|
|
1245
|
+
"",
|
|
1246
|
+
"no-dedupe",
|
|
1247
|
+
"write configs inside each one of the component's dir, avoid deduping"
|
|
1248
|
+
],
|
|
1250
1249
|
[
|
|
1251
|
-
"
|
|
1252
|
-
"
|
|
1253
|
-
"
|
|
1250
|
+
"",
|
|
1251
|
+
"dry-run",
|
|
1252
|
+
"show the paths that configs will be written per env"
|
|
1254
1253
|
],
|
|
1255
1254
|
[
|
|
1256
|
-
"
|
|
1257
|
-
"
|
|
1258
|
-
"
|
|
1255
|
+
"",
|
|
1256
|
+
"dry-run-with-content",
|
|
1257
|
+
"use with --json flag. show the config content and the paths that will be written per env"
|
|
1258
|
+
],
|
|
1259
|
+
[
|
|
1260
|
+
"v",
|
|
1261
|
+
"verbose",
|
|
1262
|
+
"showing verbose output for writing"
|
|
1263
|
+
],
|
|
1264
|
+
[
|
|
1265
|
+
"j",
|
|
1266
|
+
"json",
|
|
1267
|
+
"json format"
|
|
1259
1268
|
]
|
|
1260
1269
|
],
|
|
1261
|
-
"description": "
|
|
1262
|
-
"extendedDescription": "",
|
|
1263
|
-
"group": "info",
|
|
1264
|
-
"private": false,
|
|
1265
|
-
"arguments": [
|
|
1266
|
-
{
|
|
1267
|
-
"name": "component-pattern",
|
|
1268
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1269
|
-
},
|
|
1270
|
-
{
|
|
1271
|
-
"name": "package...",
|
|
1272
|
-
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version"
|
|
1273
|
-
}
|
|
1274
|
-
]
|
|
1275
|
-
},
|
|
1276
|
-
{
|
|
1277
|
-
"name": "debug <component-name>",
|
|
1278
|
-
"alias": "",
|
|
1279
|
-
"options": [],
|
|
1280
|
-
"description": "show the immediate dependencies and how their versions were determined",
|
|
1270
|
+
"description": "write config files in the workspace. useful for IDEs",
|
|
1281
1271
|
"extendedDescription": "",
|
|
1282
|
-
"group": "
|
|
1283
|
-
"private": false
|
|
1284
|
-
"arguments": [
|
|
1285
|
-
{
|
|
1286
|
-
"name": "component-name",
|
|
1287
|
-
"description": "component name or component id"
|
|
1288
|
-
}
|
|
1289
|
-
]
|
|
1272
|
+
"group": "development",
|
|
1273
|
+
"private": false
|
|
1290
1274
|
},
|
|
1291
1275
|
{
|
|
1292
|
-
"name": "
|
|
1276
|
+
"name": "clean",
|
|
1293
1277
|
"alias": "",
|
|
1294
1278
|
"options": [
|
|
1295
1279
|
[
|
|
1296
|
-
"
|
|
1297
|
-
"
|
|
1298
|
-
"
|
|
1280
|
+
"s",
|
|
1281
|
+
"silent",
|
|
1282
|
+
"do not prompt for confirmation"
|
|
1299
1283
|
],
|
|
1300
1284
|
[
|
|
1301
|
-
"
|
|
1302
|
-
"
|
|
1303
|
-
"
|
|
1285
|
+
"w",
|
|
1286
|
+
"writers <writers>",
|
|
1287
|
+
"only clean config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers"
|
|
1304
1288
|
],
|
|
1305
1289
|
[
|
|
1306
|
-
"
|
|
1307
|
-
"
|
|
1308
|
-
"
|
|
1290
|
+
"",
|
|
1291
|
+
"dry-run",
|
|
1292
|
+
"show the paths of configs that will be cleaned"
|
|
1293
|
+
],
|
|
1294
|
+
[
|
|
1295
|
+
"j",
|
|
1296
|
+
"json",
|
|
1297
|
+
"json format"
|
|
1309
1298
|
]
|
|
1310
1299
|
],
|
|
1311
|
-
"description": "
|
|
1312
|
-
"extendedDescription": "",
|
|
1313
|
-
"group": "info",
|
|
1314
|
-
"private": false,
|
|
1315
|
-
"arguments": [
|
|
1316
|
-
{
|
|
1317
|
-
"name": "component-pattern",
|
|
1318
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1319
|
-
},
|
|
1320
|
-
{
|
|
1321
|
-
"name": "package...",
|
|
1322
|
-
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
|
|
1323
|
-
}
|
|
1324
|
-
]
|
|
1325
|
-
},
|
|
1326
|
-
{
|
|
1327
|
-
"name": "reset <component-pattern>",
|
|
1328
|
-
"alias": "",
|
|
1329
|
-
"options": [],
|
|
1330
|
-
"description": "reset dependencies to the default values (revert any previously \"bit deps set\")",
|
|
1331
|
-
"extendedDescription": "",
|
|
1332
|
-
"group": "info",
|
|
1333
|
-
"private": false,
|
|
1334
|
-
"arguments": [
|
|
1335
|
-
{
|
|
1336
|
-
"name": "component-pattern",
|
|
1337
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1338
|
-
}
|
|
1339
|
-
]
|
|
1340
|
-
},
|
|
1341
|
-
{
|
|
1342
|
-
"name": "eject <component-pattern>",
|
|
1343
|
-
"alias": "",
|
|
1344
|
-
"options": [],
|
|
1345
|
-
"description": "write dependencies that were previously set via \"bit deps set\" into .bitmap",
|
|
1346
|
-
"extendedDescription": "",
|
|
1347
|
-
"group": "info",
|
|
1348
|
-
"private": false,
|
|
1349
|
-
"arguments": [
|
|
1350
|
-
{
|
|
1351
|
-
"name": "component-pattern",
|
|
1352
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1353
|
-
}
|
|
1354
|
-
]
|
|
1355
|
-
},
|
|
1356
|
-
{
|
|
1357
|
-
"name": "blame <component-name> <dependency-name>",
|
|
1358
|
-
"alias": "",
|
|
1359
|
-
"options": [],
|
|
1360
|
-
"description": "EXPERIMENTAL. find out which snap/tag changed a dependency version",
|
|
1300
|
+
"description": "clean (delete) written config files in the workspace. useful for IDEs",
|
|
1361
1301
|
"extendedDescription": "",
|
|
1362
|
-
"group": "
|
|
1363
|
-
"private": false
|
|
1364
|
-
"arguments": [
|
|
1365
|
-
{
|
|
1366
|
-
"name": "dependency-name",
|
|
1367
|
-
"description": "package-name. for components, you can use either component-id or package-name"
|
|
1368
|
-
}
|
|
1369
|
-
]
|
|
1302
|
+
"group": "development",
|
|
1303
|
+
"private": false
|
|
1370
1304
|
},
|
|
1371
1305
|
{
|
|
1372
|
-
"name": "
|
|
1306
|
+
"name": "list",
|
|
1373
1307
|
"alias": "",
|
|
1374
1308
|
"options": [
|
|
1375
1309
|
[
|
|
1376
|
-
"",
|
|
1377
|
-
"
|
|
1378
|
-
"
|
|
1379
|
-
]
|
|
1380
|
-
],
|
|
1381
|
-
"description": "EXPERIMENTAL. find components that use the specified dependency",
|
|
1382
|
-
"extendedDescription": "",
|
|
1383
|
-
"group": "info",
|
|
1384
|
-
"private": false,
|
|
1385
|
-
"arguments": [
|
|
1386
|
-
{
|
|
1387
|
-
"name": "dependency-name",
|
|
1388
|
-
"description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
|
|
1389
|
-
}
|
|
1390
|
-
]
|
|
1391
|
-
}
|
|
1392
|
-
]
|
|
1393
|
-
},
|
|
1394
|
-
{
|
|
1395
|
-
"name": "why <dependency-name>",
|
|
1396
|
-
"alias": "",
|
|
1397
|
-
"options": [
|
|
1398
|
-
[
|
|
1399
|
-
"",
|
|
1400
|
-
"depth <number>",
|
|
1401
|
-
"max display depth of the dependency graph"
|
|
1402
|
-
]
|
|
1403
|
-
],
|
|
1404
|
-
"description": "EXPERIMENTAL. find components that use the specified dependency",
|
|
1405
|
-
"extendedDescription": "",
|
|
1406
|
-
"group": "info",
|
|
1407
|
-
"private": false,
|
|
1408
|
-
"arguments": [
|
|
1409
|
-
{
|
|
1410
|
-
"name": "dependency-name",
|
|
1411
|
-
"description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
|
|
1412
|
-
}
|
|
1413
|
-
]
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
"name": "set-peer <component-id> <range>",
|
|
1417
|
-
"alias": "",
|
|
1418
|
-
"options": [],
|
|
1419
|
-
"description": "set a component as always peer",
|
|
1420
|
-
"extendedDescription": "",
|
|
1421
|
-
"group": "info",
|
|
1422
|
-
"private": false,
|
|
1423
|
-
"arguments": [
|
|
1424
|
-
{
|
|
1425
|
-
"name": "component-id",
|
|
1426
|
-
"description": "the component to set as always peer"
|
|
1427
|
-
},
|
|
1428
|
-
{
|
|
1429
|
-
"name": "range",
|
|
1430
|
-
"description": "the default range to use for the componnent, when added to peerDependencies"
|
|
1431
|
-
}
|
|
1432
|
-
]
|
|
1433
|
-
},
|
|
1434
|
-
{
|
|
1435
|
-
"name": "unset-peer <component-id>",
|
|
1436
|
-
"alias": "",
|
|
1437
|
-
"options": [],
|
|
1438
|
-
"description": "unset a component as always peer",
|
|
1439
|
-
"extendedDescription": "",
|
|
1440
|
-
"group": "info",
|
|
1441
|
-
"private": false,
|
|
1442
|
-
"arguments": [
|
|
1443
|
-
{
|
|
1444
|
-
"name": "component-id",
|
|
1445
|
-
"description": "the component to unset as always peer"
|
|
1446
|
-
}
|
|
1447
|
-
]
|
|
1448
|
-
},
|
|
1449
|
-
{
|
|
1450
|
-
"name": "dependents <component-name>",
|
|
1451
|
-
"alias": "",
|
|
1452
|
-
"options": [],
|
|
1453
|
-
"description": "show dependents of the given component",
|
|
1454
|
-
"extendedDescription": "",
|
|
1455
|
-
"group": "info",
|
|
1456
|
-
"private": false,
|
|
1457
|
-
"arguments": [
|
|
1458
|
-
{
|
|
1459
|
-
"name": "component-name",
|
|
1460
|
-
"description": "component name or component id"
|
|
1461
|
-
}
|
|
1462
|
-
]
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
"name": "list [remote-scope]",
|
|
1466
|
-
"alias": "ls",
|
|
1467
|
-
"options": [
|
|
1468
|
-
[
|
|
1469
|
-
"i",
|
|
1470
|
-
"ids",
|
|
1471
|
-
"show only component ids, unformatted"
|
|
1472
|
-
],
|
|
1473
|
-
[
|
|
1474
|
-
"s",
|
|
1475
|
-
"scope",
|
|
1476
|
-
"show only components stored in the local scope, including indirect dependencies"
|
|
1477
|
-
],
|
|
1478
|
-
[
|
|
1479
|
-
"o",
|
|
1480
|
-
"outdated",
|
|
1481
|
-
"highlight outdated components, in comparison with their latest remote version (if one exists)"
|
|
1482
|
-
],
|
|
1483
|
-
[
|
|
1484
|
-
"j",
|
|
1485
|
-
"json",
|
|
1486
|
-
"show the output in JSON format"
|
|
1487
|
-
],
|
|
1488
|
-
[
|
|
1489
|
-
"n",
|
|
1490
|
-
"namespace <string>",
|
|
1491
|
-
"show only components in the specified namespace/s e.g. '-n ui' or '*/ui'"
|
|
1492
|
-
]
|
|
1493
|
-
],
|
|
1494
|
-
"description": "list components on a workspace or a remote scope (with flag).",
|
|
1495
|
-
"extendedDescription": "",
|
|
1496
|
-
"group": "discover",
|
|
1497
|
-
"private": false,
|
|
1498
|
-
"remoteOp": true,
|
|
1499
|
-
"skipWorkspace": true
|
|
1500
|
-
},
|
|
1501
|
-
{
|
|
1502
|
-
"name": "ws-config <sub-command>",
|
|
1503
|
-
"alias": "workspace-config",
|
|
1504
|
-
"options": [],
|
|
1505
|
-
"description": "manage workspace config files",
|
|
1506
|
-
"extendedDescription": "",
|
|
1507
|
-
"group": "development",
|
|
1508
|
-
"private": false,
|
|
1509
|
-
"commands": [
|
|
1510
|
-
{
|
|
1511
|
-
"name": "write",
|
|
1512
|
-
"alias": "",
|
|
1513
|
-
"options": [
|
|
1514
|
-
[
|
|
1515
|
-
"c",
|
|
1516
|
-
"clean",
|
|
1517
|
-
"delete existing config files from the workspace. highly recommended to run it with \"--dry-run\" first"
|
|
1518
|
-
],
|
|
1519
|
-
[
|
|
1520
|
-
"w",
|
|
1521
|
-
"writers <writers>",
|
|
1522
|
-
"only write config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers"
|
|
1523
|
-
],
|
|
1524
|
-
[
|
|
1525
|
-
"s",
|
|
1526
|
-
"silent",
|
|
1527
|
-
"do not prompt for confirmation"
|
|
1528
|
-
],
|
|
1529
|
-
[
|
|
1530
|
-
"",
|
|
1531
|
-
"no-dedupe",
|
|
1532
|
-
"write configs inside each one of the component's dir, avoid deduping"
|
|
1533
|
-
],
|
|
1534
|
-
[
|
|
1535
|
-
"",
|
|
1536
|
-
"dry-run",
|
|
1537
|
-
"show the paths that configs will be written per env"
|
|
1538
|
-
],
|
|
1539
|
-
[
|
|
1540
|
-
"",
|
|
1541
|
-
"dry-run-with-content",
|
|
1542
|
-
"use with --json flag. show the config content and the paths that will be written per env"
|
|
1543
|
-
],
|
|
1544
|
-
[
|
|
1545
|
-
"v",
|
|
1546
|
-
"verbose",
|
|
1547
|
-
"showing verbose output for writing"
|
|
1548
|
-
],
|
|
1549
|
-
[
|
|
1550
|
-
"j",
|
|
1551
|
-
"json",
|
|
1552
|
-
"json format"
|
|
1553
|
-
]
|
|
1554
|
-
],
|
|
1555
|
-
"description": "write config files in the workspace. useful for IDEs",
|
|
1556
|
-
"extendedDescription": "",
|
|
1557
|
-
"group": "development",
|
|
1558
|
-
"private": false
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
"name": "clean",
|
|
1562
|
-
"alias": "",
|
|
1563
|
-
"options": [
|
|
1564
|
-
[
|
|
1565
|
-
"s",
|
|
1566
|
-
"silent",
|
|
1567
|
-
"do not prompt for confirmation"
|
|
1568
|
-
],
|
|
1569
|
-
[
|
|
1570
|
-
"w",
|
|
1571
|
-
"writers <writers>",
|
|
1572
|
-
"only clean config files for the given writers. use comma to separate multiple writers. use ws-config list to see all writers"
|
|
1573
|
-
],
|
|
1574
|
-
[
|
|
1575
|
-
"",
|
|
1576
|
-
"dry-run",
|
|
1577
|
-
"show the paths of configs that will be cleaned"
|
|
1578
|
-
],
|
|
1579
|
-
[
|
|
1580
|
-
"j",
|
|
1581
|
-
"json",
|
|
1582
|
-
"json format"
|
|
1583
|
-
]
|
|
1584
|
-
],
|
|
1585
|
-
"description": "clean (delete) written config files in the workspace. useful for IDEs",
|
|
1586
|
-
"extendedDescription": "",
|
|
1587
|
-
"group": "development",
|
|
1588
|
-
"private": false
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"name": "list",
|
|
1592
|
-
"alias": "",
|
|
1593
|
-
"options": [
|
|
1594
|
-
[
|
|
1595
|
-
"j",
|
|
1596
|
-
"json",
|
|
1597
|
-
"json format"
|
|
1310
|
+
"j",
|
|
1311
|
+
"json",
|
|
1312
|
+
"json format"
|
|
1598
1313
|
]
|
|
1599
1314
|
],
|
|
1600
1315
|
"description": "list config writers",
|
|
@@ -1807,41 +1522,6 @@
|
|
|
1807
1522
|
}
|
|
1808
1523
|
]
|
|
1809
1524
|
},
|
|
1810
|
-
{
|
|
1811
|
-
"name": "watch",
|
|
1812
|
-
"alias": "",
|
|
1813
|
-
"options": [
|
|
1814
|
-
[
|
|
1815
|
-
"v",
|
|
1816
|
-
"verbose",
|
|
1817
|
-
"show all watch events and compiler verbose output"
|
|
1818
|
-
],
|
|
1819
|
-
[
|
|
1820
|
-
"",
|
|
1821
|
-
"skip-pre-compilation",
|
|
1822
|
-
"skip compilation step before starting to watch"
|
|
1823
|
-
],
|
|
1824
|
-
[
|
|
1825
|
-
"t",
|
|
1826
|
-
"check-types [string]",
|
|
1827
|
-
"EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
|
|
1828
|
-
],
|
|
1829
|
-
[
|
|
1830
|
-
"i",
|
|
1831
|
-
"import",
|
|
1832
|
-
"DEPRECATED. it is now the default. helpful when using git. import component objects if .bitmap changed not by bit"
|
|
1833
|
-
],
|
|
1834
|
-
[
|
|
1835
|
-
"",
|
|
1836
|
-
"skip-import",
|
|
1837
|
-
"do not import component objects if .bitmap changed not by bit"
|
|
1838
|
-
]
|
|
1839
|
-
],
|
|
1840
|
-
"description": "automatically recompile modified components (on save)",
|
|
1841
|
-
"extendedDescription": "by default, the watcher doesn't use polling, to keep the CPU idle.\nif this doesn't work well for you, run \"bit config set watch_use_polling true\" to use polling.",
|
|
1842
|
-
"group": "development",
|
|
1843
|
-
"private": false
|
|
1844
|
-
},
|
|
1845
1525
|
{
|
|
1846
1526
|
"name": "build [component-pattern]",
|
|
1847
1527
|
"alias": "",
|
|
@@ -1910,178 +1590,508 @@
|
|
|
1910
1590
|
"",
|
|
1911
1591
|
"include-tag",
|
|
1912
1592
|
"EXPERIMENTAL. include tag pipeline tasks. Warning: this may deploy/publish if you have such tasks"
|
|
1913
|
-
]
|
|
1914
|
-
|
|
1593
|
+
],
|
|
1594
|
+
[
|
|
1595
|
+
"i",
|
|
1596
|
+
"ignore-issues <issues>",
|
|
1597
|
+
"ignore component issues (shown in \"bit status\" as \"issues found\"), issues to ignore:\n[MissingPackagesDependenciesOnFs, MissingManuallyConfiguredPackages, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies, DuplicateComponentAndPackage, MergeConfigHasConflict, NonLoadedEnv, ExternalEnvWithoutVersion, RemovedDependencies, RemovedEnv, DeprecatedDependencies, SelfReference, ImportFromDirectory]\nto ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify \"*\"."
|
|
1598
|
+
]
|
|
1599
|
+
],
|
|
1915
1600
|
"description": "run set of tasks for build.",
|
|
1916
1601
|
"extendedDescription": "by default, only new and modified components are built.\nthe build takes place in an isolated directories on the filesystem (called \"capsules\"). the component files are copied to these directories\nand the package-manager installs the dependencies in the capsules root. once done, the build pipeline is running.\nbecause this process can take a while on a large workspace, some flags are available to shorten the process. See the example section for more info.\n ",
|
|
1917
1602
|
"group": "development",
|
|
1918
1603
|
"private": false,
|
|
1919
1604
|
"arguments": [
|
|
1920
1605
|
{
|
|
1921
|
-
"name": "component-pattern",
|
|
1922
|
-
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1923
|
-
}
|
|
1924
|
-
],
|
|
1925
|
-
"examples": [
|
|
1606
|
+
"name": "component-pattern",
|
|
1607
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1608
|
+
}
|
|
1609
|
+
],
|
|
1610
|
+
"examples": [
|
|
1611
|
+
{
|
|
1612
|
+
"cmd": "build --reuse-capsules --tasks \"custom-task\"",
|
|
1613
|
+
"description": "helps to debug this \"custom-task\" without recreating the capsules from scratch"
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"cmd": "build --reuse-capsules --rewrite --tasks \"BabelCompile,MochaTest\"",
|
|
1617
|
+
"description": "helpful when for example the tests are failing and code changes are needed to debug it.\nthe \"--rewrite\" flag ensures the component files are fresh, and the \"--tasks\" ensures to re-compile them and then run the tests"
|
|
1618
|
+
}
|
|
1619
|
+
]
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
"name": "artifacts <component-pattern>",
|
|
1623
|
+
"alias": "",
|
|
1624
|
+
"options": [
|
|
1625
|
+
[
|
|
1626
|
+
"",
|
|
1627
|
+
"aspect <aspect-id>",
|
|
1628
|
+
"show/download only artifacts generated by this aspect-id"
|
|
1629
|
+
],
|
|
1630
|
+
[
|
|
1631
|
+
"",
|
|
1632
|
+
"task <task-id>",
|
|
1633
|
+
"show/download only artifacts generated by this task-id"
|
|
1634
|
+
],
|
|
1635
|
+
[
|
|
1636
|
+
"",
|
|
1637
|
+
"files <glob>",
|
|
1638
|
+
"show/download only artifacts matching the given files or the glob pattern (wrap glob patterns in quotes)"
|
|
1639
|
+
],
|
|
1640
|
+
[
|
|
1641
|
+
"",
|
|
1642
|
+
"out-dir <string>",
|
|
1643
|
+
"download the files to the specified dir"
|
|
1644
|
+
]
|
|
1645
|
+
],
|
|
1646
|
+
"description": "list and download component artifacts",
|
|
1647
|
+
"extendedDescription": "artifacts are created on isolated capsules during tag or snap commands.\nexample of artifacts are dists files generated by a compiler, a JUnit.xml file generated by a tester\nand a package.tgz file generated by pkg aspect.\n",
|
|
1648
|
+
"group": "development",
|
|
1649
|
+
"private": false,
|
|
1650
|
+
"arguments": [
|
|
1651
|
+
{
|
|
1652
|
+
"name": "component-pattern",
|
|
1653
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1654
|
+
}
|
|
1655
|
+
]
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"name": "run <app-name>",
|
|
1659
|
+
"alias": "c",
|
|
1660
|
+
"options": [
|
|
1661
|
+
[
|
|
1662
|
+
"d",
|
|
1663
|
+
"dev",
|
|
1664
|
+
"start the application in dev mode."
|
|
1665
|
+
],
|
|
1666
|
+
[
|
|
1667
|
+
"p",
|
|
1668
|
+
"port [port-number]",
|
|
1669
|
+
"port to run the app on"
|
|
1670
|
+
],
|
|
1671
|
+
[
|
|
1672
|
+
"v",
|
|
1673
|
+
"verbose",
|
|
1674
|
+
"show verbose output for inspection and print stack trace"
|
|
1675
|
+
],
|
|
1676
|
+
[
|
|
1677
|
+
"w",
|
|
1678
|
+
"watch",
|
|
1679
|
+
"watch and compile your components upon changes"
|
|
1680
|
+
]
|
|
1681
|
+
],
|
|
1682
|
+
"description": "locally run an app component (independent of bit's dev server)",
|
|
1683
|
+
"extendedDescription": "",
|
|
1684
|
+
"group": "apps",
|
|
1685
|
+
"private": false,
|
|
1686
|
+
"arguments": [
|
|
1687
|
+
{
|
|
1688
|
+
"name": "app-name",
|
|
1689
|
+
"description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
|
|
1690
|
+
}
|
|
1691
|
+
]
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
"name": "app-list",
|
|
1695
|
+
"alias": "",
|
|
1696
|
+
"options": [
|
|
1697
|
+
[
|
|
1698
|
+
"j",
|
|
1699
|
+
"json",
|
|
1700
|
+
"return the component data in json format"
|
|
1701
|
+
]
|
|
1702
|
+
],
|
|
1703
|
+
"description": "DEPRECATED. use \"bit app list\"",
|
|
1704
|
+
"extendedDescription": "",
|
|
1705
|
+
"group": "apps",
|
|
1706
|
+
"private": true
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"name": "app <sub-command>",
|
|
1710
|
+
"alias": "apps",
|
|
1711
|
+
"options": [],
|
|
1712
|
+
"description": "Manages apps",
|
|
1713
|
+
"extendedDescription": "",
|
|
1714
|
+
"group": "apps",
|
|
1715
|
+
"private": false,
|
|
1716
|
+
"commands": [
|
|
1717
|
+
{
|
|
1718
|
+
"name": "list",
|
|
1719
|
+
"alias": "",
|
|
1720
|
+
"options": [
|
|
1721
|
+
[
|
|
1722
|
+
"j",
|
|
1723
|
+
"json",
|
|
1724
|
+
"return the component data in json format"
|
|
1725
|
+
]
|
|
1726
|
+
],
|
|
1727
|
+
"description": "list all registered apps",
|
|
1728
|
+
"extendedDescription": "",
|
|
1729
|
+
"group": "apps",
|
|
1730
|
+
"private": false
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"name": "run <app-name>",
|
|
1734
|
+
"alias": "c",
|
|
1735
|
+
"options": [
|
|
1736
|
+
[
|
|
1737
|
+
"d",
|
|
1738
|
+
"dev",
|
|
1739
|
+
"start the application in dev mode."
|
|
1740
|
+
],
|
|
1741
|
+
[
|
|
1742
|
+
"p",
|
|
1743
|
+
"port [port-number]",
|
|
1744
|
+
"port to run the app on"
|
|
1745
|
+
],
|
|
1746
|
+
[
|
|
1747
|
+
"v",
|
|
1748
|
+
"verbose",
|
|
1749
|
+
"show verbose output for inspection and print stack trace"
|
|
1750
|
+
],
|
|
1751
|
+
[
|
|
1752
|
+
"w",
|
|
1753
|
+
"watch",
|
|
1754
|
+
"watch and compile your components upon changes"
|
|
1755
|
+
]
|
|
1756
|
+
],
|
|
1757
|
+
"description": "locally run an app component (independent of bit's dev server)",
|
|
1758
|
+
"extendedDescription": "",
|
|
1759
|
+
"group": "apps",
|
|
1760
|
+
"private": false,
|
|
1761
|
+
"arguments": [
|
|
1762
|
+
{
|
|
1763
|
+
"name": "app-name",
|
|
1764
|
+
"description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
|
|
1765
|
+
}
|
|
1766
|
+
]
|
|
1767
|
+
}
|
|
1768
|
+
]
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"name": "deps <sub-command>",
|
|
1772
|
+
"alias": "dependencies",
|
|
1773
|
+
"options": [],
|
|
1774
|
+
"description": "manage dependencies",
|
|
1775
|
+
"extendedDescription": "",
|
|
1776
|
+
"group": "info",
|
|
1777
|
+
"private": false,
|
|
1778
|
+
"commands": [
|
|
1779
|
+
{
|
|
1780
|
+
"name": "get <component-name>",
|
|
1781
|
+
"alias": "",
|
|
1782
|
+
"options": [
|
|
1783
|
+
[
|
|
1784
|
+
"",
|
|
1785
|
+
"scope",
|
|
1786
|
+
"get the data from the scope instead of the workspace"
|
|
1787
|
+
],
|
|
1788
|
+
[
|
|
1789
|
+
"t",
|
|
1790
|
+
"tree",
|
|
1791
|
+
"EXPERIMENTAL. render dependencies as a tree, similar to \"npm ls\""
|
|
1792
|
+
]
|
|
1793
|
+
],
|
|
1794
|
+
"description": "show direct and indirect dependencies of the given component",
|
|
1795
|
+
"extendedDescription": "",
|
|
1796
|
+
"group": "info",
|
|
1797
|
+
"private": false,
|
|
1798
|
+
"arguments": [
|
|
1799
|
+
{
|
|
1800
|
+
"name": "component-name",
|
|
1801
|
+
"description": "component name or component id"
|
|
1802
|
+
}
|
|
1803
|
+
]
|
|
1804
|
+
},
|
|
1805
|
+
{
|
|
1806
|
+
"name": "remove <component-pattern> <package...>",
|
|
1807
|
+
"alias": "",
|
|
1808
|
+
"options": [
|
|
1809
|
+
[
|
|
1810
|
+
"d",
|
|
1811
|
+
"dev",
|
|
1812
|
+
"remove from devDependencies"
|
|
1813
|
+
],
|
|
1814
|
+
[
|
|
1815
|
+
"p",
|
|
1816
|
+
"peer",
|
|
1817
|
+
"remove from peerDependencies"
|
|
1818
|
+
]
|
|
1819
|
+
],
|
|
1820
|
+
"description": "remove a dependency to component(s)",
|
|
1821
|
+
"extendedDescription": "",
|
|
1822
|
+
"group": "info",
|
|
1823
|
+
"private": false,
|
|
1824
|
+
"arguments": [
|
|
1825
|
+
{
|
|
1826
|
+
"name": "component-pattern",
|
|
1827
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
"name": "package...",
|
|
1831
|
+
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version"
|
|
1832
|
+
}
|
|
1833
|
+
]
|
|
1834
|
+
},
|
|
1835
|
+
{
|
|
1836
|
+
"name": "unset <component-pattern> <package...>",
|
|
1837
|
+
"alias": "",
|
|
1838
|
+
"options": [
|
|
1839
|
+
[
|
|
1840
|
+
"d",
|
|
1841
|
+
"dev",
|
|
1842
|
+
"unset from devDependencies"
|
|
1843
|
+
],
|
|
1844
|
+
[
|
|
1845
|
+
"p",
|
|
1846
|
+
"peer",
|
|
1847
|
+
"unset from peerDependencies"
|
|
1848
|
+
]
|
|
1849
|
+
],
|
|
1850
|
+
"description": "unset a dependency to component(s) that was previously set by \"bit deps set\"",
|
|
1851
|
+
"extendedDescription": "",
|
|
1852
|
+
"group": "info",
|
|
1853
|
+
"private": false,
|
|
1854
|
+
"arguments": [
|
|
1855
|
+
{
|
|
1856
|
+
"name": "component-pattern",
|
|
1857
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"name": "package...",
|
|
1861
|
+
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will remove all lodash instances of any version"
|
|
1862
|
+
}
|
|
1863
|
+
]
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
"name": "debug <component-name>",
|
|
1867
|
+
"alias": "",
|
|
1868
|
+
"options": [],
|
|
1869
|
+
"description": "show the immediate dependencies and how their versions were determined",
|
|
1870
|
+
"extendedDescription": "",
|
|
1871
|
+
"group": "info",
|
|
1872
|
+
"private": false,
|
|
1873
|
+
"arguments": [
|
|
1874
|
+
{
|
|
1875
|
+
"name": "component-name",
|
|
1876
|
+
"description": "component name or component id"
|
|
1877
|
+
}
|
|
1878
|
+
]
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
"name": "set <component-pattern> <package...>",
|
|
1882
|
+
"alias": "",
|
|
1883
|
+
"options": [
|
|
1884
|
+
[
|
|
1885
|
+
"d",
|
|
1886
|
+
"dev",
|
|
1887
|
+
"add to the devDependencies"
|
|
1888
|
+
],
|
|
1889
|
+
[
|
|
1890
|
+
"o",
|
|
1891
|
+
"optional",
|
|
1892
|
+
"add to the optionalDependencies"
|
|
1893
|
+
],
|
|
1894
|
+
[
|
|
1895
|
+
"p",
|
|
1896
|
+
"peer",
|
|
1897
|
+
"add to the peerDependencies"
|
|
1898
|
+
]
|
|
1899
|
+
],
|
|
1900
|
+
"description": "set a dependency to component(s)",
|
|
1901
|
+
"extendedDescription": "",
|
|
1902
|
+
"group": "info",
|
|
1903
|
+
"private": false,
|
|
1904
|
+
"arguments": [
|
|
1905
|
+
{
|
|
1906
|
+
"name": "component-pattern",
|
|
1907
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1908
|
+
},
|
|
1909
|
+
{
|
|
1910
|
+
"name": "package...",
|
|
1911
|
+
"description": "package name with or without a version, e.g. \"lodash@1.0.0\" or just \"lodash\" which will be resolved to the latest"
|
|
1912
|
+
}
|
|
1913
|
+
]
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"name": "reset <component-pattern>",
|
|
1917
|
+
"alias": "",
|
|
1918
|
+
"options": [],
|
|
1919
|
+
"description": "reset dependencies to the default values (revert any previously \"bit deps set\")",
|
|
1920
|
+
"extendedDescription": "",
|
|
1921
|
+
"group": "info",
|
|
1922
|
+
"private": false,
|
|
1923
|
+
"arguments": [
|
|
1924
|
+
{
|
|
1925
|
+
"name": "component-pattern",
|
|
1926
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1927
|
+
}
|
|
1928
|
+
]
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"name": "eject <component-pattern>",
|
|
1932
|
+
"alias": "",
|
|
1933
|
+
"options": [],
|
|
1934
|
+
"description": "write dependencies that were previously set via \"bit deps set\" into .bitmap",
|
|
1935
|
+
"extendedDescription": "",
|
|
1936
|
+
"group": "info",
|
|
1937
|
+
"private": false,
|
|
1938
|
+
"arguments": [
|
|
1939
|
+
{
|
|
1940
|
+
"name": "component-pattern",
|
|
1941
|
+
"description": "component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
1942
|
+
}
|
|
1943
|
+
]
|
|
1944
|
+
},
|
|
1926
1945
|
{
|
|
1927
|
-
"
|
|
1928
|
-
"
|
|
1946
|
+
"name": "blame <component-name> <dependency-name>",
|
|
1947
|
+
"alias": "",
|
|
1948
|
+
"options": [],
|
|
1949
|
+
"description": "EXPERIMENTAL. find out which snap/tag changed a dependency version",
|
|
1950
|
+
"extendedDescription": "",
|
|
1951
|
+
"group": "info",
|
|
1952
|
+
"private": false,
|
|
1953
|
+
"arguments": [
|
|
1954
|
+
{
|
|
1955
|
+
"name": "dependency-name",
|
|
1956
|
+
"description": "package-name. for components, you can use either component-id or package-name"
|
|
1957
|
+
}
|
|
1958
|
+
]
|
|
1929
1959
|
},
|
|
1930
1960
|
{
|
|
1931
|
-
"
|
|
1932
|
-
"
|
|
1961
|
+
"name": "usage <dependency-name>",
|
|
1962
|
+
"alias": "",
|
|
1963
|
+
"options": [
|
|
1964
|
+
[
|
|
1965
|
+
"",
|
|
1966
|
+
"depth <number>",
|
|
1967
|
+
"max display depth of the dependency graph"
|
|
1968
|
+
]
|
|
1969
|
+
],
|
|
1970
|
+
"description": "EXPERIMENTAL. find components that use the specified dependency",
|
|
1971
|
+
"extendedDescription": "",
|
|
1972
|
+
"group": "info",
|
|
1973
|
+
"private": false,
|
|
1974
|
+
"arguments": [
|
|
1975
|
+
{
|
|
1976
|
+
"name": "dependency-name",
|
|
1977
|
+
"description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
|
|
1978
|
+
}
|
|
1979
|
+
]
|
|
1933
1980
|
}
|
|
1934
1981
|
]
|
|
1935
1982
|
},
|
|
1936
1983
|
{
|
|
1937
|
-
"name": "
|
|
1984
|
+
"name": "why <dependency-name>",
|
|
1938
1985
|
"alias": "",
|
|
1939
1986
|
"options": [
|
|
1940
1987
|
[
|
|
1941
1988
|
"",
|
|
1942
|
-
"
|
|
1943
|
-
"
|
|
1944
|
-
],
|
|
1945
|
-
[
|
|
1946
|
-
"",
|
|
1947
|
-
"task <task-id>",
|
|
1948
|
-
"show/download only artifacts generated by this task-id"
|
|
1949
|
-
],
|
|
1950
|
-
[
|
|
1951
|
-
"",
|
|
1952
|
-
"files <glob>",
|
|
1953
|
-
"show/download only artifacts matching the given files or the glob pattern (wrap glob patterns in quotes)"
|
|
1954
|
-
],
|
|
1955
|
-
[
|
|
1956
|
-
"",
|
|
1957
|
-
"out-dir <string>",
|
|
1958
|
-
"download the files to the specified dir"
|
|
1989
|
+
"depth <number>",
|
|
1990
|
+
"max display depth of the dependency graph"
|
|
1959
1991
|
]
|
|
1960
1992
|
],
|
|
1961
|
-
"description": "
|
|
1962
|
-
"extendedDescription": "
|
|
1963
|
-
"group": "
|
|
1993
|
+
"description": "EXPERIMENTAL. find components that use the specified dependency",
|
|
1994
|
+
"extendedDescription": "",
|
|
1995
|
+
"group": "info",
|
|
1964
1996
|
"private": false,
|
|
1965
1997
|
"arguments": [
|
|
1966
1998
|
{
|
|
1967
|
-
"name": "
|
|
1968
|
-
"description": "
|
|
1999
|
+
"name": "dependency-name",
|
|
2000
|
+
"description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
|
|
1969
2001
|
}
|
|
1970
2002
|
]
|
|
1971
2003
|
},
|
|
1972
2004
|
{
|
|
1973
|
-
"name": "
|
|
1974
|
-
"alias": "
|
|
1975
|
-
"options": [
|
|
1976
|
-
|
|
1977
|
-
"d",
|
|
1978
|
-
"dev",
|
|
1979
|
-
"start the application in dev mode."
|
|
1980
|
-
],
|
|
1981
|
-
[
|
|
1982
|
-
"p",
|
|
1983
|
-
"port [port-number]",
|
|
1984
|
-
"port to run the app on"
|
|
1985
|
-
],
|
|
1986
|
-
[
|
|
1987
|
-
"v",
|
|
1988
|
-
"verbose",
|
|
1989
|
-
"show verbose output for inspection and print stack trace"
|
|
1990
|
-
],
|
|
1991
|
-
[
|
|
1992
|
-
"w",
|
|
1993
|
-
"watch",
|
|
1994
|
-
"watch and compile your components upon changes"
|
|
1995
|
-
]
|
|
1996
|
-
],
|
|
1997
|
-
"description": "locally run an app component (independent of bit's dev server)",
|
|
2005
|
+
"name": "set-peer <component-id> <range>",
|
|
2006
|
+
"alias": "",
|
|
2007
|
+
"options": [],
|
|
2008
|
+
"description": "set a component as always peer",
|
|
1998
2009
|
"extendedDescription": "",
|
|
1999
|
-
"group": "
|
|
2010
|
+
"group": "info",
|
|
2000
2011
|
"private": false,
|
|
2001
2012
|
"arguments": [
|
|
2002
2013
|
{
|
|
2003
|
-
"name": "
|
|
2004
|
-
"description": "the
|
|
2014
|
+
"name": "component-id",
|
|
2015
|
+
"description": "the component to set as always peer"
|
|
2016
|
+
},
|
|
2017
|
+
{
|
|
2018
|
+
"name": "range",
|
|
2019
|
+
"description": "the default range to use for the componnent, when added to peerDependencies"
|
|
2005
2020
|
}
|
|
2006
2021
|
]
|
|
2007
2022
|
},
|
|
2008
2023
|
{
|
|
2009
|
-
"name": "
|
|
2024
|
+
"name": "unset-peer <component-id>",
|
|
2010
2025
|
"alias": "",
|
|
2011
|
-
"options": [
|
|
2012
|
-
|
|
2013
|
-
"j",
|
|
2014
|
-
"json",
|
|
2015
|
-
"return the component data in json format"
|
|
2016
|
-
]
|
|
2017
|
-
],
|
|
2018
|
-
"description": "DEPRECATED. use \"bit app list\"",
|
|
2026
|
+
"options": [],
|
|
2027
|
+
"description": "unset a component as always peer",
|
|
2019
2028
|
"extendedDescription": "",
|
|
2020
|
-
"group": "
|
|
2021
|
-
"private":
|
|
2029
|
+
"group": "info",
|
|
2030
|
+
"private": false,
|
|
2031
|
+
"arguments": [
|
|
2032
|
+
{
|
|
2033
|
+
"name": "component-id",
|
|
2034
|
+
"description": "the component to unset as always peer"
|
|
2035
|
+
}
|
|
2036
|
+
]
|
|
2022
2037
|
},
|
|
2023
2038
|
{
|
|
2024
|
-
"name": "
|
|
2025
|
-
"alias": "
|
|
2039
|
+
"name": "dependents <component-name>",
|
|
2040
|
+
"alias": "",
|
|
2026
2041
|
"options": [],
|
|
2027
|
-
"description": "
|
|
2042
|
+
"description": "show dependents of the given component",
|
|
2028
2043
|
"extendedDescription": "",
|
|
2029
|
-
"group": "
|
|
2044
|
+
"group": "info",
|
|
2030
2045
|
"private": false,
|
|
2031
|
-
"
|
|
2032
|
-
{
|
|
2033
|
-
"name": "list",
|
|
2034
|
-
"alias": "",
|
|
2035
|
-
"options": [
|
|
2036
|
-
[
|
|
2037
|
-
"j",
|
|
2038
|
-
"json",
|
|
2039
|
-
"return the component data in json format"
|
|
2040
|
-
]
|
|
2041
|
-
],
|
|
2042
|
-
"description": "list all registered apps",
|
|
2043
|
-
"extendedDescription": "",
|
|
2044
|
-
"group": "apps",
|
|
2045
|
-
"private": false
|
|
2046
|
-
},
|
|
2046
|
+
"arguments": [
|
|
2047
2047
|
{
|
|
2048
|
-
"name": "
|
|
2049
|
-
"
|
|
2050
|
-
"options": [
|
|
2051
|
-
[
|
|
2052
|
-
"d",
|
|
2053
|
-
"dev",
|
|
2054
|
-
"start the application in dev mode."
|
|
2055
|
-
],
|
|
2056
|
-
[
|
|
2057
|
-
"p",
|
|
2058
|
-
"port [port-number]",
|
|
2059
|
-
"port to run the app on"
|
|
2060
|
-
],
|
|
2061
|
-
[
|
|
2062
|
-
"v",
|
|
2063
|
-
"verbose",
|
|
2064
|
-
"show verbose output for inspection and print stack trace"
|
|
2065
|
-
],
|
|
2066
|
-
[
|
|
2067
|
-
"w",
|
|
2068
|
-
"watch",
|
|
2069
|
-
"watch and compile your components upon changes"
|
|
2070
|
-
]
|
|
2071
|
-
],
|
|
2072
|
-
"description": "locally run an app component (independent of bit's dev server)",
|
|
2073
|
-
"extendedDescription": "",
|
|
2074
|
-
"group": "apps",
|
|
2075
|
-
"private": false,
|
|
2076
|
-
"arguments": [
|
|
2077
|
-
{
|
|
2078
|
-
"name": "app-name",
|
|
2079
|
-
"description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
|
|
2080
|
-
}
|
|
2081
|
-
]
|
|
2048
|
+
"name": "component-name",
|
|
2049
|
+
"description": "component name or component id"
|
|
2082
2050
|
}
|
|
2083
2051
|
]
|
|
2084
2052
|
},
|
|
2053
|
+
{
|
|
2054
|
+
"name": "list [remote-scope]",
|
|
2055
|
+
"alias": "ls",
|
|
2056
|
+
"options": [
|
|
2057
|
+
[
|
|
2058
|
+
"i",
|
|
2059
|
+
"ids",
|
|
2060
|
+
"show only component ids, unformatted"
|
|
2061
|
+
],
|
|
2062
|
+
[
|
|
2063
|
+
"s",
|
|
2064
|
+
"scope",
|
|
2065
|
+
"show only components stored in the local scope, including indirect dependencies"
|
|
2066
|
+
],
|
|
2067
|
+
[
|
|
2068
|
+
"o",
|
|
2069
|
+
"outdated",
|
|
2070
|
+
"highlight outdated components, in comparison with their latest remote version (if one exists)"
|
|
2071
|
+
],
|
|
2072
|
+
[
|
|
2073
|
+
"d",
|
|
2074
|
+
"include-deleted",
|
|
2075
|
+
"EXPERIMENTAL. show also deleted components"
|
|
2076
|
+
],
|
|
2077
|
+
[
|
|
2078
|
+
"j",
|
|
2079
|
+
"json",
|
|
2080
|
+
"show the output in JSON format"
|
|
2081
|
+
],
|
|
2082
|
+
[
|
|
2083
|
+
"n",
|
|
2084
|
+
"namespace <string>",
|
|
2085
|
+
"show only components in the specified namespace/s e.g. '-n ui' or '*/ui'"
|
|
2086
|
+
]
|
|
2087
|
+
],
|
|
2088
|
+
"description": "list components on a workspace or a remote scope (with flag).",
|
|
2089
|
+
"extendedDescription": "",
|
|
2090
|
+
"group": "discover",
|
|
2091
|
+
"private": false,
|
|
2092
|
+
"remoteOp": true,
|
|
2093
|
+
"skipWorkspace": true
|
|
2094
|
+
},
|
|
2085
2095
|
{
|
|
2086
2096
|
"name": "compile [component-names...]",
|
|
2087
2097
|
"alias": "",
|
|
@@ -3390,6 +3400,11 @@
|
|
|
3390
3400
|
"env <id>",
|
|
3391
3401
|
"test only components assigned the given env"
|
|
3392
3402
|
],
|
|
3403
|
+
[
|
|
3404
|
+
"",
|
|
3405
|
+
"update-snapshot",
|
|
3406
|
+
"if supported by the tester, re-record every snapshot that fails during the test run"
|
|
3407
|
+
],
|
|
3393
3408
|
[
|
|
3394
3409
|
"s",
|
|
3395
3410
|
"scope <scope-name>",
|