@teambit/harmony.content.cli-reference 1.95.119 → 1.95.121

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.
@@ -1121,31 +1121,6 @@
1121
1121
  }
1122
1122
  ]
1123
1123
  },
1124
- {
1125
- "name": "watch",
1126
- "alias": "",
1127
- "options": [
1128
- [
1129
- "v",
1130
- "verbose",
1131
- "show npm verbose output for inspection and print the stack trace"
1132
- ],
1133
- [
1134
- "",
1135
- "skip-pre-compilation",
1136
- "skip the compilation step before starting to watch"
1137
- ],
1138
- [
1139
- "t",
1140
- "check-types [string]",
1141
- "EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
1142
- ]
1143
- ],
1144
- "description": "automatically recompile modified components (on save)",
1145
- "extendedDescription": "",
1146
- "group": "development",
1147
- "private": false
1148
- },
1149
1124
  {
1150
1125
  "name": "use <component-id>",
1151
1126
  "alias": "",
@@ -1199,6 +1174,31 @@
1199
1174
  }
1200
1175
  ]
1201
1176
  },
1177
+ {
1178
+ "name": "watch",
1179
+ "alias": "",
1180
+ "options": [
1181
+ [
1182
+ "v",
1183
+ "verbose",
1184
+ "show npm verbose output for inspection and print the stack trace"
1185
+ ],
1186
+ [
1187
+ "",
1188
+ "skip-pre-compilation",
1189
+ "skip the compilation step before starting to watch"
1190
+ ],
1191
+ [
1192
+ "t",
1193
+ "check-types [string]",
1194
+ "EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
1195
+ ]
1196
+ ],
1197
+ "description": "automatically recompile modified components (on save)",
1198
+ "extendedDescription": "",
1199
+ "group": "development",
1200
+ "private": false
1201
+ },
1202
1202
  {
1203
1203
  "name": "move <current-component-dir> <new-component-dir>",
1204
1204
  "alias": "mv",
@@ -1253,6 +1253,21 @@
1253
1253
  "group": "development",
1254
1254
  "private": false
1255
1255
  },
1256
+ {
1257
+ "name": "server",
1258
+ "alias": "",
1259
+ "options": [
1260
+ [
1261
+ "p",
1262
+ "port [port]",
1263
+ "port to run the server on"
1264
+ ]
1265
+ ],
1266
+ "description": "EXPERIMENTAL. communicate with bit cli program via http requests",
1267
+ "extendedDescription": "",
1268
+ "group": "general",
1269
+ "private": false
1270
+ },
1256
1271
  {
1257
1272
  "name": "create <template-name> <component-names...>",
1258
1273
  "alias": "",
@@ -1524,6 +1539,119 @@
1524
1539
  }
1525
1540
  ]
1526
1541
  },
1542
+ {
1543
+ "name": "run <app-name>",
1544
+ "alias": "c",
1545
+ "options": [
1546
+ [
1547
+ "d",
1548
+ "dev",
1549
+ "start the application in dev mode."
1550
+ ],
1551
+ [
1552
+ "v",
1553
+ "verbose",
1554
+ "showing verbose output for inspection and prints stack trace"
1555
+ ],
1556
+ [
1557
+ "",
1558
+ "skip-watch",
1559
+ "avoid running the watch process that compiles components in the background"
1560
+ ],
1561
+ [
1562
+ "",
1563
+ "ssr",
1564
+ "run app in server side rendering mode."
1565
+ ]
1566
+ ],
1567
+ "description": "run an app (independent of bit's dev server)",
1568
+ "extendedDescription": "",
1569
+ "group": "apps",
1570
+ "private": false,
1571
+ "arguments": [
1572
+ {
1573
+ "name": "app-name",
1574
+ "description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
1575
+ }
1576
+ ]
1577
+ },
1578
+ {
1579
+ "name": "app-list",
1580
+ "alias": "",
1581
+ "options": [
1582
+ [
1583
+ "j",
1584
+ "json",
1585
+ "return the component data in json format"
1586
+ ]
1587
+ ],
1588
+ "description": "DEPRECATED. use \"bit app list\"",
1589
+ "extendedDescription": "",
1590
+ "group": "apps",
1591
+ "private": true
1592
+ },
1593
+ {
1594
+ "name": "app <sub-command>",
1595
+ "alias": "",
1596
+ "options": [],
1597
+ "description": "Manages apps",
1598
+ "extendedDescription": "",
1599
+ "group": "apps",
1600
+ "private": false,
1601
+ "commands": [
1602
+ {
1603
+ "name": "list",
1604
+ "alias": "",
1605
+ "options": [
1606
+ [
1607
+ "j",
1608
+ "json",
1609
+ "return the component data in json format"
1610
+ ]
1611
+ ],
1612
+ "description": "list all registered apps",
1613
+ "extendedDescription": "",
1614
+ "group": "apps",
1615
+ "private": false
1616
+ },
1617
+ {
1618
+ "name": "run <app-name>",
1619
+ "alias": "c",
1620
+ "options": [
1621
+ [
1622
+ "d",
1623
+ "dev",
1624
+ "start the application in dev mode."
1625
+ ],
1626
+ [
1627
+ "v",
1628
+ "verbose",
1629
+ "showing verbose output for inspection and prints stack trace"
1630
+ ],
1631
+ [
1632
+ "",
1633
+ "skip-watch",
1634
+ "avoid running the watch process that compiles components in the background"
1635
+ ],
1636
+ [
1637
+ "",
1638
+ "ssr",
1639
+ "run app in server side rendering mode."
1640
+ ]
1641
+ ],
1642
+ "description": "run an app (independent of bit's dev server)",
1643
+ "extendedDescription": "",
1644
+ "group": "apps",
1645
+ "private": false,
1646
+ "arguments": [
1647
+ {
1648
+ "name": "app-name",
1649
+ "description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
1650
+ }
1651
+ ]
1652
+ }
1653
+ ]
1654
+ },
1527
1655
  {
1528
1656
  "name": "component-issues",
1529
1657
  "alias": "",
@@ -3278,119 +3406,6 @@
3278
3406
  "group": "development",
3279
3407
  "private": false
3280
3408
  },
3281
- {
3282
- "name": "run <app-name>",
3283
- "alias": "c",
3284
- "options": [
3285
- [
3286
- "d",
3287
- "dev",
3288
- "start the application in dev mode."
3289
- ],
3290
- [
3291
- "v",
3292
- "verbose",
3293
- "showing verbose output for inspection and prints stack trace"
3294
- ],
3295
- [
3296
- "",
3297
- "skip-watch",
3298
- "avoid running the watch process that compiles components in the background"
3299
- ],
3300
- [
3301
- "",
3302
- "ssr",
3303
- "run app in server side rendering mode."
3304
- ]
3305
- ],
3306
- "description": "run an app (independent of bit's dev server)",
3307
- "extendedDescription": "",
3308
- "group": "apps",
3309
- "private": false,
3310
- "arguments": [
3311
- {
3312
- "name": "app-name",
3313
- "description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
3314
- }
3315
- ]
3316
- },
3317
- {
3318
- "name": "app-list",
3319
- "alias": "",
3320
- "options": [
3321
- [
3322
- "j",
3323
- "json",
3324
- "return the component data in json format"
3325
- ]
3326
- ],
3327
- "description": "DEPRECATED. use \"bit app list\"",
3328
- "extendedDescription": "",
3329
- "group": "apps",
3330
- "private": true
3331
- },
3332
- {
3333
- "name": "app <sub-command>",
3334
- "alias": "",
3335
- "options": [],
3336
- "description": "Manages apps",
3337
- "extendedDescription": "",
3338
- "group": "apps",
3339
- "private": false,
3340
- "commands": [
3341
- {
3342
- "name": "list",
3343
- "alias": "",
3344
- "options": [
3345
- [
3346
- "j",
3347
- "json",
3348
- "return the component data in json format"
3349
- ]
3350
- ],
3351
- "description": "list all registered apps",
3352
- "extendedDescription": "",
3353
- "group": "apps",
3354
- "private": false
3355
- },
3356
- {
3357
- "name": "run <app-name>",
3358
- "alias": "c",
3359
- "options": [
3360
- [
3361
- "d",
3362
- "dev",
3363
- "start the application in dev mode."
3364
- ],
3365
- [
3366
- "v",
3367
- "verbose",
3368
- "showing verbose output for inspection and prints stack trace"
3369
- ],
3370
- [
3371
- "",
3372
- "skip-watch",
3373
- "avoid running the watch process that compiles components in the background"
3374
- ],
3375
- [
3376
- "",
3377
- "ssr",
3378
- "run app in server side rendering mode."
3379
- ]
3380
- ],
3381
- "description": "run an app (independent of bit's dev server)",
3382
- "extendedDescription": "",
3383
- "group": "apps",
3384
- "private": false,
3385
- "arguments": [
3386
- {
3387
- "name": "app-name",
3388
- "description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
3389
- }
3390
- ]
3391
- }
3392
- ]
3393
- },
3394
3409
  {
3395
3410
  "name": "test [component-pattern]",
3396
3411
  "alias": "at",
package/cli-reference.mdx CHANGED
@@ -1125,6 +1125,18 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
1125
1125
 
1126
1126
  ---
1127
1127
 
1128
+ ## server
1129
+
1130
+ **Description**: EXPERIMENTAL. communicate with bit cli program via http requests
1131
+
1132
+ `bit server`
1133
+
1134
+ | **Option** | **Option alias** | **Description** |
1135
+ | --------------- | :--------------: | ------------------------- |
1136
+ | `--port [port]` | `-p` | port to run the server on |
1137
+
1138
+ ---
1139
+
1128
1140
  ## show
1129
1141
 
1130
1142
  **Description**: display the component's essential information
@@ -1121,31 +1121,6 @@
1121
1121
  }
1122
1122
  ]
1123
1123
  },
1124
- {
1125
- "name": "watch",
1126
- "alias": "",
1127
- "options": [
1128
- [
1129
- "v",
1130
- "verbose",
1131
- "show npm verbose output for inspection and print the stack trace"
1132
- ],
1133
- [
1134
- "",
1135
- "skip-pre-compilation",
1136
- "skip the compilation step before starting to watch"
1137
- ],
1138
- [
1139
- "t",
1140
- "check-types [string]",
1141
- "EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
1142
- ]
1143
- ],
1144
- "description": "automatically recompile modified components (on save)",
1145
- "extendedDescription": "",
1146
- "group": "development",
1147
- "private": false
1148
- },
1149
1124
  {
1150
1125
  "name": "use <component-id>",
1151
1126
  "alias": "",
@@ -1199,6 +1174,31 @@
1199
1174
  }
1200
1175
  ]
1201
1176
  },
1177
+ {
1178
+ "name": "watch",
1179
+ "alias": "",
1180
+ "options": [
1181
+ [
1182
+ "v",
1183
+ "verbose",
1184
+ "show npm verbose output for inspection and print the stack trace"
1185
+ ],
1186
+ [
1187
+ "",
1188
+ "skip-pre-compilation",
1189
+ "skip the compilation step before starting to watch"
1190
+ ],
1191
+ [
1192
+ "t",
1193
+ "check-types [string]",
1194
+ "EXPERIMENTAL. show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project"
1195
+ ]
1196
+ ],
1197
+ "description": "automatically recompile modified components (on save)",
1198
+ "extendedDescription": "",
1199
+ "group": "development",
1200
+ "private": false
1201
+ },
1202
1202
  {
1203
1203
  "name": "move <current-component-dir> <new-component-dir>",
1204
1204
  "alias": "mv",
@@ -1253,6 +1253,21 @@
1253
1253
  "group": "development",
1254
1254
  "private": false
1255
1255
  },
1256
+ {
1257
+ "name": "server",
1258
+ "alias": "",
1259
+ "options": [
1260
+ [
1261
+ "p",
1262
+ "port [port]",
1263
+ "port to run the server on"
1264
+ ]
1265
+ ],
1266
+ "description": "EXPERIMENTAL. communicate with bit cli program via http requests",
1267
+ "extendedDescription": "",
1268
+ "group": "general",
1269
+ "private": false
1270
+ },
1256
1271
  {
1257
1272
  "name": "create <template-name> <component-names...>",
1258
1273
  "alias": "",
@@ -1524,6 +1539,119 @@
1524
1539
  }
1525
1540
  ]
1526
1541
  },
1542
+ {
1543
+ "name": "run <app-name>",
1544
+ "alias": "c",
1545
+ "options": [
1546
+ [
1547
+ "d",
1548
+ "dev",
1549
+ "start the application in dev mode."
1550
+ ],
1551
+ [
1552
+ "v",
1553
+ "verbose",
1554
+ "showing verbose output for inspection and prints stack trace"
1555
+ ],
1556
+ [
1557
+ "",
1558
+ "skip-watch",
1559
+ "avoid running the watch process that compiles components in the background"
1560
+ ],
1561
+ [
1562
+ "",
1563
+ "ssr",
1564
+ "run app in server side rendering mode."
1565
+ ]
1566
+ ],
1567
+ "description": "run an app (independent of bit's dev server)",
1568
+ "extendedDescription": "",
1569
+ "group": "apps",
1570
+ "private": false,
1571
+ "arguments": [
1572
+ {
1573
+ "name": "app-name",
1574
+ "description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
1575
+ }
1576
+ ]
1577
+ },
1578
+ {
1579
+ "name": "app-list",
1580
+ "alias": "",
1581
+ "options": [
1582
+ [
1583
+ "j",
1584
+ "json",
1585
+ "return the component data in json format"
1586
+ ]
1587
+ ],
1588
+ "description": "DEPRECATED. use \"bit app list\"",
1589
+ "extendedDescription": "",
1590
+ "group": "apps",
1591
+ "private": true
1592
+ },
1593
+ {
1594
+ "name": "app <sub-command>",
1595
+ "alias": "",
1596
+ "options": [],
1597
+ "description": "Manages apps",
1598
+ "extendedDescription": "",
1599
+ "group": "apps",
1600
+ "private": false,
1601
+ "commands": [
1602
+ {
1603
+ "name": "list",
1604
+ "alias": "",
1605
+ "options": [
1606
+ [
1607
+ "j",
1608
+ "json",
1609
+ "return the component data in json format"
1610
+ ]
1611
+ ],
1612
+ "description": "list all registered apps",
1613
+ "extendedDescription": "",
1614
+ "group": "apps",
1615
+ "private": false
1616
+ },
1617
+ {
1618
+ "name": "run <app-name>",
1619
+ "alias": "c",
1620
+ "options": [
1621
+ [
1622
+ "d",
1623
+ "dev",
1624
+ "start the application in dev mode."
1625
+ ],
1626
+ [
1627
+ "v",
1628
+ "verbose",
1629
+ "showing verbose output for inspection and prints stack trace"
1630
+ ],
1631
+ [
1632
+ "",
1633
+ "skip-watch",
1634
+ "avoid running the watch process that compiles components in the background"
1635
+ ],
1636
+ [
1637
+ "",
1638
+ "ssr",
1639
+ "run app in server side rendering mode."
1640
+ ]
1641
+ ],
1642
+ "description": "run an app (independent of bit's dev server)",
1643
+ "extendedDescription": "",
1644
+ "group": "apps",
1645
+ "private": false,
1646
+ "arguments": [
1647
+ {
1648
+ "name": "app-name",
1649
+ "description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
1650
+ }
1651
+ ]
1652
+ }
1653
+ ]
1654
+ },
1527
1655
  {
1528
1656
  "name": "component-issues",
1529
1657
  "alias": "",
@@ -3278,119 +3406,6 @@
3278
3406
  "group": "development",
3279
3407
  "private": false
3280
3408
  },
3281
- {
3282
- "name": "run <app-name>",
3283
- "alias": "c",
3284
- "options": [
3285
- [
3286
- "d",
3287
- "dev",
3288
- "start the application in dev mode."
3289
- ],
3290
- [
3291
- "v",
3292
- "verbose",
3293
- "showing verbose output for inspection and prints stack trace"
3294
- ],
3295
- [
3296
- "",
3297
- "skip-watch",
3298
- "avoid running the watch process that compiles components in the background"
3299
- ],
3300
- [
3301
- "",
3302
- "ssr",
3303
- "run app in server side rendering mode."
3304
- ]
3305
- ],
3306
- "description": "run an app (independent of bit's dev server)",
3307
- "extendedDescription": "",
3308
- "group": "apps",
3309
- "private": false,
3310
- "arguments": [
3311
- {
3312
- "name": "app-name",
3313
- "description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
3314
- }
3315
- ]
3316
- },
3317
- {
3318
- "name": "app-list",
3319
- "alias": "",
3320
- "options": [
3321
- [
3322
- "j",
3323
- "json",
3324
- "return the component data in json format"
3325
- ]
3326
- ],
3327
- "description": "DEPRECATED. use \"bit app list\"",
3328
- "extendedDescription": "",
3329
- "group": "apps",
3330
- "private": true
3331
- },
3332
- {
3333
- "name": "app <sub-command>",
3334
- "alias": "",
3335
- "options": [],
3336
- "description": "Manages apps",
3337
- "extendedDescription": "",
3338
- "group": "apps",
3339
- "private": false,
3340
- "commands": [
3341
- {
3342
- "name": "list",
3343
- "alias": "",
3344
- "options": [
3345
- [
3346
- "j",
3347
- "json",
3348
- "return the component data in json format"
3349
- ]
3350
- ],
3351
- "description": "list all registered apps",
3352
- "extendedDescription": "",
3353
- "group": "apps",
3354
- "private": false
3355
- },
3356
- {
3357
- "name": "run <app-name>",
3358
- "alias": "c",
3359
- "options": [
3360
- [
3361
- "d",
3362
- "dev",
3363
- "start the application in dev mode."
3364
- ],
3365
- [
3366
- "v",
3367
- "verbose",
3368
- "showing verbose output for inspection and prints stack trace"
3369
- ],
3370
- [
3371
- "",
3372
- "skip-watch",
3373
- "avoid running the watch process that compiles components in the background"
3374
- ],
3375
- [
3376
- "",
3377
- "ssr",
3378
- "run app in server side rendering mode."
3379
- ]
3380
- ],
3381
- "description": "run an app (independent of bit's dev server)",
3382
- "extendedDescription": "",
3383
- "group": "apps",
3384
- "private": false,
3385
- "arguments": [
3386
- {
3387
- "name": "app-name",
3388
- "description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
3389
- }
3390
- ]
3391
- }
3392
- ]
3393
- },
3394
3409
  {
3395
3410
  "name": "test [component-pattern]",
3396
3411
  "alias": "at",