@teambit/harmony.content.cli-reference 1.95.68 → 1.95.69

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.
@@ -989,81 +989,6 @@
989
989
  }
990
990
  ]
991
991
  },
992
- {
993
- "name": "install [packages...]",
994
- "alias": "in",
995
- "options": [
996
- [
997
- "v",
998
- "variants <variants>",
999
- "add packages to specific variants"
1000
- ],
1001
- [
1002
- "t",
1003
- "type [lifecycleType]",
1004
- "\"runtime\" (default) or \"peer\" (dev is not a valid option)"
1005
- ],
1006
- [
1007
- "u",
1008
- "update-existing [updateExisting]",
1009
- "update existing dependencies version and types"
1010
- ],
1011
- [
1012
- "",
1013
- "save-prefix [savePrefix]",
1014
- "set the prefix to use when adding dependency to workspace.jsonc"
1015
- ],
1016
- [
1017
- "",
1018
- "skip-dedupe [skipDedupe]",
1019
- "do not dedupe dependencies on installation"
1020
- ],
1021
- [
1022
- "",
1023
- "skip-import [skipImport]",
1024
- "do not import bit objects post installation"
1025
- ],
1026
- [
1027
- "",
1028
- "add-missing-peers [addMissingPeers]",
1029
- "install all missing peer dependencies"
1030
- ]
1031
- ],
1032
- "description": "installs workspace dependencies",
1033
- "extendedDescription": "when no package is specified, all workspace dependencies are installed and all workspace components are imported.",
1034
- "group": "development",
1035
- "private": false,
1036
- "arguments": [
1037
- {
1038
- "name": "packages...",
1039
- "description": "a list of packages to install (separated by spaces)"
1040
- }
1041
- ]
1042
- },
1043
- {
1044
- "name": "update",
1045
- "alias": "up",
1046
- "options": [
1047
- [
1048
- "y",
1049
- "yes",
1050
- "automatically update all outdated packages"
1051
- ]
1052
- ],
1053
- "description": "update dependencies",
1054
- "extendedDescription": "",
1055
- "group": "development",
1056
- "private": false
1057
- },
1058
- {
1059
- "name": "uninstall [packages...]",
1060
- "alias": "un",
1061
- "options": [],
1062
- "description": "uninstall dependencies",
1063
- "extendedDescription": "",
1064
- "group": "development",
1065
- "private": false
1066
- },
1067
992
  {
1068
993
  "name": "eject-conf <pattern>",
1069
994
  "alias": "",
@@ -1205,47 +1130,6 @@
1205
1130
  "group": "development",
1206
1131
  "private": false
1207
1132
  },
1208
- {
1209
- "name": "link [component-names...]",
1210
- "alias": "",
1211
- "options": [
1212
- [
1213
- "j",
1214
- "json",
1215
- "return the output as JSON"
1216
- ],
1217
- [
1218
- "",
1219
- "verbose",
1220
- "verbose output"
1221
- ],
1222
- [
1223
- "r",
1224
- "rewire",
1225
- "Replace relative paths with module paths in code (e.g. \"../foo\" => \"@bit/foo\")"
1226
- ],
1227
- [
1228
- "",
1229
- "target <dir>",
1230
- "EXPERIMENTAL. link to an external directory (similar to npm-link) so other projects could use these components"
1231
- ],
1232
- [
1233
- "",
1234
- "skip-fetching-objects",
1235
- "skip fetch missing objects from remotes before linking"
1236
- ]
1237
- ],
1238
- "description": "create links in the node_modules directory, to core aspects and to components in the workspace",
1239
- "extendedDescription": "https://bit.dev/docs/workspace/component-links",
1240
- "group": "development",
1241
- "private": false,
1242
- "arguments": [
1243
- {
1244
- "name": "component-names...",
1245
- "description": "names or IDs of the components to link"
1246
- }
1247
- ]
1248
- },
1249
1133
  {
1250
1134
  "name": "use <component-id>",
1251
1135
  "alias": "",
@@ -1422,6 +1306,122 @@
1422
1306
  }
1423
1307
  ]
1424
1308
  },
1309
+ {
1310
+ "name": "install [packages...]",
1311
+ "alias": "in",
1312
+ "options": [
1313
+ [
1314
+ "v",
1315
+ "variants <variants>",
1316
+ "add packages to specific variants"
1317
+ ],
1318
+ [
1319
+ "t",
1320
+ "type [lifecycleType]",
1321
+ "\"runtime\" (default) or \"peer\" (dev is not a valid option)"
1322
+ ],
1323
+ [
1324
+ "u",
1325
+ "update-existing [updateExisting]",
1326
+ "update existing dependencies version and types"
1327
+ ],
1328
+ [
1329
+ "",
1330
+ "save-prefix [savePrefix]",
1331
+ "set the prefix to use when adding dependency to workspace.jsonc"
1332
+ ],
1333
+ [
1334
+ "",
1335
+ "skip-dedupe [skipDedupe]",
1336
+ "do not dedupe dependencies on installation"
1337
+ ],
1338
+ [
1339
+ "",
1340
+ "skip-import [skipImport]",
1341
+ "do not import bit objects post installation"
1342
+ ],
1343
+ [
1344
+ "",
1345
+ "add-missing-peers [addMissingPeers]",
1346
+ "install all missing peer dependencies"
1347
+ ]
1348
+ ],
1349
+ "description": "installs workspace dependencies",
1350
+ "extendedDescription": "when no package is specified, all workspace dependencies are installed and all workspace components are imported.",
1351
+ "group": "development",
1352
+ "private": false,
1353
+ "arguments": [
1354
+ {
1355
+ "name": "packages...",
1356
+ "description": "a list of packages to install (separated by spaces)"
1357
+ }
1358
+ ]
1359
+ },
1360
+ {
1361
+ "name": "uninstall [packages...]",
1362
+ "alias": "un",
1363
+ "options": [],
1364
+ "description": "uninstall dependencies",
1365
+ "extendedDescription": "",
1366
+ "group": "development",
1367
+ "private": false
1368
+ },
1369
+ {
1370
+ "name": "update",
1371
+ "alias": "up",
1372
+ "options": [
1373
+ [
1374
+ "y",
1375
+ "yes",
1376
+ "automatically update all outdated packages"
1377
+ ]
1378
+ ],
1379
+ "description": "update dependencies",
1380
+ "extendedDescription": "",
1381
+ "group": "development",
1382
+ "private": false
1383
+ },
1384
+ {
1385
+ "name": "link [component-names...]",
1386
+ "alias": "",
1387
+ "options": [
1388
+ [
1389
+ "j",
1390
+ "json",
1391
+ "return the output as JSON"
1392
+ ],
1393
+ [
1394
+ "",
1395
+ "verbose",
1396
+ "verbose output"
1397
+ ],
1398
+ [
1399
+ "r",
1400
+ "rewire",
1401
+ "Replace relative paths with module paths in code (e.g. \"../foo\" => \"@bit/foo\")"
1402
+ ],
1403
+ [
1404
+ "",
1405
+ "target <dir>",
1406
+ "EXPERIMENTAL. link to an external directory (similar to npm-link) so other projects could use these components"
1407
+ ],
1408
+ [
1409
+ "",
1410
+ "skip-fetching-objects",
1411
+ "skip fetch missing objects from remotes before linking"
1412
+ ]
1413
+ ],
1414
+ "description": "create links in the node_modules directory, to core aspects and to components in the workspace",
1415
+ "extendedDescription": "https://bit.dev/docs/workspace/component-links",
1416
+ "group": "development",
1417
+ "private": false,
1418
+ "arguments": [
1419
+ {
1420
+ "name": "component-names...",
1421
+ "description": "names or IDs of the components to link"
1422
+ }
1423
+ ]
1424
+ },
1425
1425
  {
1426
1426
  "name": "insights [names...]",
1427
1427
  "alias": "",
@@ -989,81 +989,6 @@
989
989
  }
990
990
  ]
991
991
  },
992
- {
993
- "name": "install [packages...]",
994
- "alias": "in",
995
- "options": [
996
- [
997
- "v",
998
- "variants <variants>",
999
- "add packages to specific variants"
1000
- ],
1001
- [
1002
- "t",
1003
- "type [lifecycleType]",
1004
- "\"runtime\" (default) or \"peer\" (dev is not a valid option)"
1005
- ],
1006
- [
1007
- "u",
1008
- "update-existing [updateExisting]",
1009
- "update existing dependencies version and types"
1010
- ],
1011
- [
1012
- "",
1013
- "save-prefix [savePrefix]",
1014
- "set the prefix to use when adding dependency to workspace.jsonc"
1015
- ],
1016
- [
1017
- "",
1018
- "skip-dedupe [skipDedupe]",
1019
- "do not dedupe dependencies on installation"
1020
- ],
1021
- [
1022
- "",
1023
- "skip-import [skipImport]",
1024
- "do not import bit objects post installation"
1025
- ],
1026
- [
1027
- "",
1028
- "add-missing-peers [addMissingPeers]",
1029
- "install all missing peer dependencies"
1030
- ]
1031
- ],
1032
- "description": "installs workspace dependencies",
1033
- "extendedDescription": "when no package is specified, all workspace dependencies are installed and all workspace components are imported.",
1034
- "group": "development",
1035
- "private": false,
1036
- "arguments": [
1037
- {
1038
- "name": "packages...",
1039
- "description": "a list of packages to install (separated by spaces)"
1040
- }
1041
- ]
1042
- },
1043
- {
1044
- "name": "update",
1045
- "alias": "up",
1046
- "options": [
1047
- [
1048
- "y",
1049
- "yes",
1050
- "automatically update all outdated packages"
1051
- ]
1052
- ],
1053
- "description": "update dependencies",
1054
- "extendedDescription": "",
1055
- "group": "development",
1056
- "private": false
1057
- },
1058
- {
1059
- "name": "uninstall [packages...]",
1060
- "alias": "un",
1061
- "options": [],
1062
- "description": "uninstall dependencies",
1063
- "extendedDescription": "",
1064
- "group": "development",
1065
- "private": false
1066
- },
1067
992
  {
1068
993
  "name": "eject-conf <pattern>",
1069
994
  "alias": "",
@@ -1205,47 +1130,6 @@
1205
1130
  "group": "development",
1206
1131
  "private": false
1207
1132
  },
1208
- {
1209
- "name": "link [component-names...]",
1210
- "alias": "",
1211
- "options": [
1212
- [
1213
- "j",
1214
- "json",
1215
- "return the output as JSON"
1216
- ],
1217
- [
1218
- "",
1219
- "verbose",
1220
- "verbose output"
1221
- ],
1222
- [
1223
- "r",
1224
- "rewire",
1225
- "Replace relative paths with module paths in code (e.g. \"../foo\" => \"@bit/foo\")"
1226
- ],
1227
- [
1228
- "",
1229
- "target <dir>",
1230
- "EXPERIMENTAL. link to an external directory (similar to npm-link) so other projects could use these components"
1231
- ],
1232
- [
1233
- "",
1234
- "skip-fetching-objects",
1235
- "skip fetch missing objects from remotes before linking"
1236
- ]
1237
- ],
1238
- "description": "create links in the node_modules directory, to core aspects and to components in the workspace",
1239
- "extendedDescription": "https://bit.dev/docs/workspace/component-links",
1240
- "group": "development",
1241
- "private": false,
1242
- "arguments": [
1243
- {
1244
- "name": "component-names...",
1245
- "description": "names or IDs of the components to link"
1246
- }
1247
- ]
1248
- },
1249
1133
  {
1250
1134
  "name": "use <component-id>",
1251
1135
  "alias": "",
@@ -1422,6 +1306,122 @@
1422
1306
  }
1423
1307
  ]
1424
1308
  },
1309
+ {
1310
+ "name": "install [packages...]",
1311
+ "alias": "in",
1312
+ "options": [
1313
+ [
1314
+ "v",
1315
+ "variants <variants>",
1316
+ "add packages to specific variants"
1317
+ ],
1318
+ [
1319
+ "t",
1320
+ "type [lifecycleType]",
1321
+ "\"runtime\" (default) or \"peer\" (dev is not a valid option)"
1322
+ ],
1323
+ [
1324
+ "u",
1325
+ "update-existing [updateExisting]",
1326
+ "update existing dependencies version and types"
1327
+ ],
1328
+ [
1329
+ "",
1330
+ "save-prefix [savePrefix]",
1331
+ "set the prefix to use when adding dependency to workspace.jsonc"
1332
+ ],
1333
+ [
1334
+ "",
1335
+ "skip-dedupe [skipDedupe]",
1336
+ "do not dedupe dependencies on installation"
1337
+ ],
1338
+ [
1339
+ "",
1340
+ "skip-import [skipImport]",
1341
+ "do not import bit objects post installation"
1342
+ ],
1343
+ [
1344
+ "",
1345
+ "add-missing-peers [addMissingPeers]",
1346
+ "install all missing peer dependencies"
1347
+ ]
1348
+ ],
1349
+ "description": "installs workspace dependencies",
1350
+ "extendedDescription": "when no package is specified, all workspace dependencies are installed and all workspace components are imported.",
1351
+ "group": "development",
1352
+ "private": false,
1353
+ "arguments": [
1354
+ {
1355
+ "name": "packages...",
1356
+ "description": "a list of packages to install (separated by spaces)"
1357
+ }
1358
+ ]
1359
+ },
1360
+ {
1361
+ "name": "uninstall [packages...]",
1362
+ "alias": "un",
1363
+ "options": [],
1364
+ "description": "uninstall dependencies",
1365
+ "extendedDescription": "",
1366
+ "group": "development",
1367
+ "private": false
1368
+ },
1369
+ {
1370
+ "name": "update",
1371
+ "alias": "up",
1372
+ "options": [
1373
+ [
1374
+ "y",
1375
+ "yes",
1376
+ "automatically update all outdated packages"
1377
+ ]
1378
+ ],
1379
+ "description": "update dependencies",
1380
+ "extendedDescription": "",
1381
+ "group": "development",
1382
+ "private": false
1383
+ },
1384
+ {
1385
+ "name": "link [component-names...]",
1386
+ "alias": "",
1387
+ "options": [
1388
+ [
1389
+ "j",
1390
+ "json",
1391
+ "return the output as JSON"
1392
+ ],
1393
+ [
1394
+ "",
1395
+ "verbose",
1396
+ "verbose output"
1397
+ ],
1398
+ [
1399
+ "r",
1400
+ "rewire",
1401
+ "Replace relative paths with module paths in code (e.g. \"../foo\" => \"@bit/foo\")"
1402
+ ],
1403
+ [
1404
+ "",
1405
+ "target <dir>",
1406
+ "EXPERIMENTAL. link to an external directory (similar to npm-link) so other projects could use these components"
1407
+ ],
1408
+ [
1409
+ "",
1410
+ "skip-fetching-objects",
1411
+ "skip fetch missing objects from remotes before linking"
1412
+ ]
1413
+ ],
1414
+ "description": "create links in the node_modules directory, to core aspects and to components in the workspace",
1415
+ "extendedDescription": "https://bit.dev/docs/workspace/component-links",
1416
+ "group": "development",
1417
+ "private": false,
1418
+ "arguments": [
1419
+ {
1420
+ "name": "component-names...",
1421
+ "description": "names or IDs of the components to link"
1422
+ }
1423
+ ]
1424
+ },
1425
1425
  {
1426
1426
  "name": "insights [names...]",
1427
1427
  "alias": "",
@@ -13,7 +13,7 @@ var _excluded = ["components"];
13
13
 
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
15
15
 
16
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
17
 
18
18
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
19
19