@teambit/harmony.content.cli-reference 1.95.48 → 1.95.49

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.
@@ -2272,6 +2272,11 @@
2272
2272
  "",
2273
2273
  "skip-watch",
2274
2274
  "avoid running the watch process that compiles components in the background"
2275
+ ],
2276
+ [
2277
+ "",
2278
+ "ssr",
2279
+ "run app in server side rendering mode."
2275
2280
  ]
2276
2281
  ],
2277
2282
  "description": "run an app (independent of bit's dev server)",
@@ -2323,6 +2328,42 @@
2323
2328
  "extendedDescription": "",
2324
2329
  "group": "apps",
2325
2330
  "private": false
2331
+ },
2332
+ {
2333
+ "name": "run <app-name>",
2334
+ "alias": "c",
2335
+ "options": [
2336
+ [
2337
+ "d",
2338
+ "dev",
2339
+ "start the application in dev mode."
2340
+ ],
2341
+ [
2342
+ "v",
2343
+ "verbose",
2344
+ "showing verbose output for inspection and prints stack trace"
2345
+ ],
2346
+ [
2347
+ "",
2348
+ "skip-watch",
2349
+ "avoid running the watch process that compiles components in the background"
2350
+ ],
2351
+ [
2352
+ "",
2353
+ "ssr",
2354
+ "run app in server side rendering mode."
2355
+ ]
2356
+ ],
2357
+ "description": "run an app (independent of bit's dev server)",
2358
+ "extendedDescription": "",
2359
+ "group": "apps",
2360
+ "private": false,
2361
+ "arguments": [
2362
+ {
2363
+ "name": "app-name",
2364
+ "description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
2365
+ }
2366
+ ]
2326
2367
  }
2327
2368
  ]
2328
2369
  },
package/cli-reference.mdx CHANGED
@@ -39,6 +39,19 @@ all flags support glob patterns and {PARENT} {FILE_NAME} annotations
39
39
  | ---------- | :--------------: | ---------------------------------------- |
40
40
  | `--json` | `-j` | return the component data in json format |
41
41
 
42
+ ### app run
43
+
44
+ **Usage**: `app run <app-name>`
45
+
46
+ **Description**: run an app (independent of bit's dev server)
47
+
48
+ | **Option** | **Option alias** | **Description** |
49
+ | -------------- | :--------------: | -------------------------------------------------------------------------- |
50
+ | `--dev` | `-d` | start the application in dev mode. |
51
+ | `--verbose` | `-v` | showing verbose output for inspection and prints stack trace |
52
+ | `--skip-watch` | | avoid running the watch process that compiles components in the background |
53
+ | `--ssr` | | run app in server side rendering mode. |
54
+
42
55
  ---
43
56
 
44
57
  ## artifacts
@@ -979,6 +992,7 @@ https://bit.dev/docs/components/tags#undoing-a-tag
979
992
  | `--dev` | `-d` | start the application in dev mode. |
980
993
  | `--verbose` | `-v` | showing verbose output for inspection and prints stack trace |
981
994
  | `--skip-watch` | | avoid running the watch process that compiles components in the background |
995
+ | `--ssr` | | run app in server side rendering mode. |
982
996
 
983
997
  ---
984
998
 
@@ -2272,6 +2272,11 @@
2272
2272
  "",
2273
2273
  "skip-watch",
2274
2274
  "avoid running the watch process that compiles components in the background"
2275
+ ],
2276
+ [
2277
+ "",
2278
+ "ssr",
2279
+ "run app in server side rendering mode."
2275
2280
  ]
2276
2281
  ],
2277
2282
  "description": "run an app (independent of bit's dev server)",
@@ -2323,6 +2328,42 @@
2323
2328
  "extendedDescription": "",
2324
2329
  "group": "apps",
2325
2330
  "private": false
2331
+ },
2332
+ {
2333
+ "name": "run <app-name>",
2334
+ "alias": "c",
2335
+ "options": [
2336
+ [
2337
+ "d",
2338
+ "dev",
2339
+ "start the application in dev mode."
2340
+ ],
2341
+ [
2342
+ "v",
2343
+ "verbose",
2344
+ "showing verbose output for inspection and prints stack trace"
2345
+ ],
2346
+ [
2347
+ "",
2348
+ "skip-watch",
2349
+ "avoid running the watch process that compiles components in the background"
2350
+ ],
2351
+ [
2352
+ "",
2353
+ "ssr",
2354
+ "run app in server side rendering mode."
2355
+ ]
2356
+ ],
2357
+ "description": "run an app (independent of bit's dev server)",
2358
+ "extendedDescription": "",
2359
+ "group": "apps",
2360
+ "private": false,
2361
+ "arguments": [
2362
+ {
2363
+ "name": "app-name",
2364
+ "description": "the app's name is registered by the app (run 'bit app list' to list the names of the available apps)"
2365
+ }
2366
+ ]
2326
2367
  }
2327
2368
  ]
2328
2369
  },
@@ -199,7 +199,90 @@ function MDXContent(_ref) {
199
199
  }, "-j")), (0, _react2.mdx)("td", {
200
200
  parentName: "tr",
201
201
  "align": null
202
- }, "return the component data in json format")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "artifacts"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
202
+ }, "return the component data in json format")))), (0, _react2.mdx)("h3", null, "app run"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
203
+ parentName: "p"
204
+ }, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
205
+ parentName: "p"
206
+ }, "app run <app-name>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
207
+ parentName: "p"
208
+ }, "Description"), ": run an app (independent of bit's dev server)"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
209
+ parentName: "table"
210
+ }, (0, _react2.mdx)("tr", {
211
+ parentName: "thead"
212
+ }, (0, _react2.mdx)("th", {
213
+ parentName: "tr",
214
+ "align": null
215
+ }, (0, _react2.mdx)("strong", {
216
+ parentName: "th"
217
+ }, "Option")), (0, _react2.mdx)("th", {
218
+ parentName: "tr",
219
+ "align": "center"
220
+ }, (0, _react2.mdx)("strong", {
221
+ parentName: "th"
222
+ }, "Option alias")), (0, _react2.mdx)("th", {
223
+ parentName: "tr",
224
+ "align": null
225
+ }, (0, _react2.mdx)("strong", {
226
+ parentName: "th"
227
+ }, "Description")))), (0, _react2.mdx)("tbody", {
228
+ parentName: "table"
229
+ }, (0, _react2.mdx)("tr", {
230
+ parentName: "tbody"
231
+ }, (0, _react2.mdx)("td", {
232
+ parentName: "tr",
233
+ "align": null
234
+ }, (0, _react2.mdx)("inlineCode", {
235
+ parentName: "td"
236
+ }, "--dev")), (0, _react2.mdx)("td", {
237
+ parentName: "tr",
238
+ "align": "center"
239
+ }, (0, _react2.mdx)("inlineCode", {
240
+ parentName: "td"
241
+ }, "-d")), (0, _react2.mdx)("td", {
242
+ parentName: "tr",
243
+ "align": null
244
+ }, "start the application in dev mode.")), (0, _react2.mdx)("tr", {
245
+ parentName: "tbody"
246
+ }, (0, _react2.mdx)("td", {
247
+ parentName: "tr",
248
+ "align": null
249
+ }, (0, _react2.mdx)("inlineCode", {
250
+ parentName: "td"
251
+ }, "--verbose")), (0, _react2.mdx)("td", {
252
+ parentName: "tr",
253
+ "align": "center"
254
+ }, (0, _react2.mdx)("inlineCode", {
255
+ parentName: "td"
256
+ }, "-v")), (0, _react2.mdx)("td", {
257
+ parentName: "tr",
258
+ "align": null
259
+ }, "showing verbose output for inspection and prints stack trace")), (0, _react2.mdx)("tr", {
260
+ parentName: "tbody"
261
+ }, (0, _react2.mdx)("td", {
262
+ parentName: "tr",
263
+ "align": null
264
+ }, (0, _react2.mdx)("inlineCode", {
265
+ parentName: "td"
266
+ }, "--skip-watch")), (0, _react2.mdx)("td", {
267
+ parentName: "tr",
268
+ "align": "center"
269
+ }), (0, _react2.mdx)("td", {
270
+ parentName: "tr",
271
+ "align": null
272
+ }, "avoid running the watch process that compiles components in the background")), (0, _react2.mdx)("tr", {
273
+ parentName: "tbody"
274
+ }, (0, _react2.mdx)("td", {
275
+ parentName: "tr",
276
+ "align": null
277
+ }, (0, _react2.mdx)("inlineCode", {
278
+ parentName: "td"
279
+ }, "--ssr")), (0, _react2.mdx)("td", {
280
+ parentName: "tr",
281
+ "align": "center"
282
+ }), (0, _react2.mdx)("td", {
283
+ parentName: "tr",
284
+ "align": null
285
+ }, "run app in server side rendering mode.")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "artifacts"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
203
286
  parentName: "p"
204
287
  }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
205
288
  parentName: "p"
@@ -4461,7 +4544,20 @@ function MDXContent(_ref) {
4461
4544
  }), (0, _react2.mdx)("td", {
4462
4545
  parentName: "tr",
4463
4546
  "align": null
4464
- }, "avoid running the watch process that compiles components in the background")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "schema"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
4547
+ }, "avoid running the watch process that compiles components in the background")), (0, _react2.mdx)("tr", {
4548
+ parentName: "tbody"
4549
+ }, (0, _react2.mdx)("td", {
4550
+ parentName: "tr",
4551
+ "align": null
4552
+ }, (0, _react2.mdx)("inlineCode", {
4553
+ parentName: "td"
4554
+ }, "--ssr")), (0, _react2.mdx)("td", {
4555
+ parentName: "tr",
4556
+ "align": "center"
4557
+ }), (0, _react2.mdx)("td", {
4558
+ parentName: "tr",
4559
+ "align": null
4560
+ }, "run app in server side rendering mode.")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "schema"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
4465
4561
  parentName: "p"
4466
4562
  }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
4467
4563
  parentName: "p"