@teambit/harmony.content.cli-reference 1.95.154 → 1.95.156
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.json +20 -0
- package/cli-reference.mdx +16 -12
- package/dist/cli-reference.json +20 -0
- package/dist/cli-reference.mdx.js +60 -0
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1685503265901.js → preview-1687362266169.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.156.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.154.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -1330,6 +1330,11 @@
|
|
|
1330
1330
|
"aspect <string>",
|
|
1331
1331
|
"aspect-id of the template. helpful when multiple aspects use the same template name"
|
|
1332
1332
|
],
|
|
1333
|
+
[
|
|
1334
|
+
"t",
|
|
1335
|
+
"template <string>",
|
|
1336
|
+
"env-id of the template. alias for --aspect."
|
|
1337
|
+
],
|
|
1333
1338
|
[
|
|
1334
1339
|
"p",
|
|
1335
1340
|
"path <string>",
|
|
@@ -1403,6 +1408,11 @@
|
|
|
1403
1408
|
"aspect <aspect-id>",
|
|
1404
1409
|
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
1405
1410
|
],
|
|
1411
|
+
[
|
|
1412
|
+
"t",
|
|
1413
|
+
"template <env-id>",
|
|
1414
|
+
"env-id of the template. alias for --env."
|
|
1415
|
+
],
|
|
1406
1416
|
[
|
|
1407
1417
|
"",
|
|
1408
1418
|
"env <env-id>",
|
|
@@ -1560,6 +1570,11 @@
|
|
|
1560
1570
|
"dev",
|
|
1561
1571
|
"start the application in dev mode."
|
|
1562
1572
|
],
|
|
1573
|
+
[
|
|
1574
|
+
"p",
|
|
1575
|
+
"port [port-number]",
|
|
1576
|
+
"port of the app"
|
|
1577
|
+
],
|
|
1563
1578
|
[
|
|
1564
1579
|
"v",
|
|
1565
1580
|
"verbose",
|
|
@@ -1635,6 +1650,11 @@
|
|
|
1635
1650
|
"dev",
|
|
1636
1651
|
"start the application in dev mode."
|
|
1637
1652
|
],
|
|
1653
|
+
[
|
|
1654
|
+
"p",
|
|
1655
|
+
"port [port-number]",
|
|
1656
|
+
"port of the app"
|
|
1657
|
+
],
|
|
1638
1658
|
[
|
|
1639
1659
|
"v",
|
|
1640
1660
|
"verbose",
|
package/cli-reference.mdx
CHANGED
|
@@ -59,12 +59,13 @@ Learn the recommended workflow for tracking directories as components, in the li
|
|
|
59
59
|
|
|
60
60
|
**Description**: run an app (independent of bit's dev server)
|
|
61
61
|
|
|
62
|
-
| **Option**
|
|
63
|
-
|
|
|
64
|
-
| `--dev`
|
|
65
|
-
| `--
|
|
66
|
-
| `--
|
|
67
|
-
| `--
|
|
62
|
+
| **Option** | **Option alias** | **Description** |
|
|
63
|
+
| ---------------------- | :--------------: | -------------------------------------------------------------------------- |
|
|
64
|
+
| `--dev` | `-d` | start the application in dev mode. |
|
|
65
|
+
| `--port [port-number]` | `-p` | port of the app |
|
|
66
|
+
| `--verbose` | `-v` | showing verbose output for inspection and prints stack trace |
|
|
67
|
+
| `--skip-watch` | | avoid running the watch process that compiles components in the background |
|
|
68
|
+
| `--ssr` | | run app in server side rendering mode. |
|
|
68
69
|
|
|
69
70
|
---
|
|
70
71
|
|
|
@@ -356,6 +357,7 @@ https://bit.dev/docs/config/bit-config
|
|
|
356
357
|
| `--namespace <string>` | `-n` | sets the component's namespace and nested dirs inside the scope |
|
|
357
358
|
| `--scope <string>` | `-s` | sets the component's scope-name. if not entered, the default-scope will be used |
|
|
358
359
|
| `--aspect <string>` | `-a` | aspect-id of the template. helpful when multiple aspects use the same template name |
|
|
360
|
+
| `--template <string>` | `-t` | env-id of the template. alias for --aspect. |
|
|
359
361
|
| `--path <string>` | `-p` | relative path in the workspace. by default the path is `<scope>/<namespace>/<name>` |
|
|
360
362
|
| `--env <string>` | `-e` | set the component's environment. (overrides the env from variants and the template) |
|
|
361
363
|
|
|
@@ -1065,6 +1067,7 @@ move files or directories of component(s)
|
|
|
1065
1067
|
| **Option** | **Option alias** | **Description** |
|
|
1066
1068
|
| -------------------------------- | :--------------: | --------------------------------------------------------------------------------------------------------------- |
|
|
1067
1069
|
| `--aspect <aspect-id>` | `-a` | aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision |
|
|
1070
|
+
| `--template <env-id>` | `-t` | env-id of the template. alias for --env. |
|
|
1068
1071
|
| `--env <env-id>` | | env-id of the template |
|
|
1069
1072
|
| `--default-scope <scope-name>` | `-d` | set defaultScope in the new workspace.jsonc |
|
|
1070
1073
|
| `--standalone` | | DEPRECATED. use --skip-git instead |
|
|
@@ -1219,12 +1222,13 @@ https://bit.dev/docs/components/tags#undoing-a-tag
|
|
|
1219
1222
|
|
|
1220
1223
|
`bit run <app-name>`
|
|
1221
1224
|
|
|
1222
|
-
| **Option**
|
|
1223
|
-
|
|
|
1224
|
-
| `--dev`
|
|
1225
|
-
| `--
|
|
1226
|
-
| `--
|
|
1227
|
-
| `--
|
|
1225
|
+
| **Option** | **Option alias** | **Description** |
|
|
1226
|
+
| ---------------------- | :--------------: | -------------------------------------------------------------------------- |
|
|
1227
|
+
| `--dev` | `-d` | start the application in dev mode. |
|
|
1228
|
+
| `--port [port-number]` | `-p` | port of the app |
|
|
1229
|
+
| `--verbose` | `-v` | showing verbose output for inspection and prints stack trace |
|
|
1230
|
+
| `--skip-watch` | | avoid running the watch process that compiles components in the background |
|
|
1231
|
+
| `--ssr` | | run app in server side rendering mode. |
|
|
1228
1232
|
|
|
1229
1233
|
---
|
|
1230
1234
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -1330,6 +1330,11 @@
|
|
|
1330
1330
|
"aspect <string>",
|
|
1331
1331
|
"aspect-id of the template. helpful when multiple aspects use the same template name"
|
|
1332
1332
|
],
|
|
1333
|
+
[
|
|
1334
|
+
"t",
|
|
1335
|
+
"template <string>",
|
|
1336
|
+
"env-id of the template. alias for --aspect."
|
|
1337
|
+
],
|
|
1333
1338
|
[
|
|
1334
1339
|
"p",
|
|
1335
1340
|
"path <string>",
|
|
@@ -1403,6 +1408,11 @@
|
|
|
1403
1408
|
"aspect <aspect-id>",
|
|
1404
1409
|
"aspect-id of the template. mandatory for non-core aspects. helpful for core aspects in case of a name collision"
|
|
1405
1410
|
],
|
|
1411
|
+
[
|
|
1412
|
+
"t",
|
|
1413
|
+
"template <env-id>",
|
|
1414
|
+
"env-id of the template. alias for --env."
|
|
1415
|
+
],
|
|
1406
1416
|
[
|
|
1407
1417
|
"",
|
|
1408
1418
|
"env <env-id>",
|
|
@@ -1560,6 +1570,11 @@
|
|
|
1560
1570
|
"dev",
|
|
1561
1571
|
"start the application in dev mode."
|
|
1562
1572
|
],
|
|
1573
|
+
[
|
|
1574
|
+
"p",
|
|
1575
|
+
"port [port-number]",
|
|
1576
|
+
"port of the app"
|
|
1577
|
+
],
|
|
1563
1578
|
[
|
|
1564
1579
|
"v",
|
|
1565
1580
|
"verbose",
|
|
@@ -1635,6 +1650,11 @@
|
|
|
1635
1650
|
"dev",
|
|
1636
1651
|
"start the application in dev mode."
|
|
1637
1652
|
],
|
|
1653
|
+
[
|
|
1654
|
+
"p",
|
|
1655
|
+
"port [port-number]",
|
|
1656
|
+
"port of the app"
|
|
1657
|
+
],
|
|
1638
1658
|
[
|
|
1639
1659
|
"v",
|
|
1640
1660
|
"verbose",
|
|
@@ -253,6 +253,21 @@ function MDXContent(_ref) {
|
|
|
253
253
|
"align": null
|
|
254
254
|
}, (0, _react2.mdx)("inlineCode", {
|
|
255
255
|
parentName: "td"
|
|
256
|
+
}, "--port [port-number]")), (0, _react2.mdx)("td", {
|
|
257
|
+
parentName: "tr",
|
|
258
|
+
"align": "center"
|
|
259
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
260
|
+
parentName: "td"
|
|
261
|
+
}, "-p")), (0, _react2.mdx)("td", {
|
|
262
|
+
parentName: "tr",
|
|
263
|
+
"align": null
|
|
264
|
+
}, "port of the app")), (0, _react2.mdx)("tr", {
|
|
265
|
+
parentName: "tbody"
|
|
266
|
+
}, (0, _react2.mdx)("td", {
|
|
267
|
+
parentName: "tr",
|
|
268
|
+
"align": null
|
|
269
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
270
|
+
parentName: "td"
|
|
256
271
|
}, "--verbose")), (0, _react2.mdx)("td", {
|
|
257
272
|
parentName: "tr",
|
|
258
273
|
"align": "center"
|
|
@@ -1527,6 +1542,21 @@ function MDXContent(_ref) {
|
|
|
1527
1542
|
"align": null
|
|
1528
1543
|
}, (0, _react2.mdx)("inlineCode", {
|
|
1529
1544
|
parentName: "td"
|
|
1545
|
+
}, "--template <string>")), (0, _react2.mdx)("td", {
|
|
1546
|
+
parentName: "tr",
|
|
1547
|
+
"align": "center"
|
|
1548
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
1549
|
+
parentName: "td"
|
|
1550
|
+
}, "-t")), (0, _react2.mdx)("td", {
|
|
1551
|
+
parentName: "tr",
|
|
1552
|
+
"align": null
|
|
1553
|
+
}, "env-id of the template. alias for --aspect.")), (0, _react2.mdx)("tr", {
|
|
1554
|
+
parentName: "tbody"
|
|
1555
|
+
}, (0, _react2.mdx)("td", {
|
|
1556
|
+
parentName: "tr",
|
|
1557
|
+
"align": null
|
|
1558
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
1559
|
+
parentName: "td"
|
|
1530
1560
|
}, "--path <string>")), (0, _react2.mdx)("td", {
|
|
1531
1561
|
parentName: "tr",
|
|
1532
1562
|
"align": "center"
|
|
@@ -5065,6 +5095,21 @@ function MDXContent(_ref) {
|
|
|
5065
5095
|
"align": null
|
|
5066
5096
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5067
5097
|
parentName: "td"
|
|
5098
|
+
}, "--template <env-id>")), (0, _react2.mdx)("td", {
|
|
5099
|
+
parentName: "tr",
|
|
5100
|
+
"align": "center"
|
|
5101
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5102
|
+
parentName: "td"
|
|
5103
|
+
}, "-t")), (0, _react2.mdx)("td", {
|
|
5104
|
+
parentName: "tr",
|
|
5105
|
+
"align": null
|
|
5106
|
+
}, "env-id of the template. alias for --env.")), (0, _react2.mdx)("tr", {
|
|
5107
|
+
parentName: "tbody"
|
|
5108
|
+
}, (0, _react2.mdx)("td", {
|
|
5109
|
+
parentName: "tr",
|
|
5110
|
+
"align": null
|
|
5111
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5112
|
+
parentName: "td"
|
|
5068
5113
|
}, "--env <env-id>")), (0, _react2.mdx)("td", {
|
|
5069
5114
|
parentName: "tr",
|
|
5070
5115
|
"align": "center"
|
|
@@ -5776,6 +5821,21 @@ function MDXContent(_ref) {
|
|
|
5776
5821
|
"align": null
|
|
5777
5822
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5778
5823
|
parentName: "td"
|
|
5824
|
+
}, "--port [port-number]")), (0, _react2.mdx)("td", {
|
|
5825
|
+
parentName: "tr",
|
|
5826
|
+
"align": "center"
|
|
5827
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5828
|
+
parentName: "td"
|
|
5829
|
+
}, "-p")), (0, _react2.mdx)("td", {
|
|
5830
|
+
parentName: "tr",
|
|
5831
|
+
"align": null
|
|
5832
|
+
}, "port of the app")), (0, _react2.mdx)("tr", {
|
|
5833
|
+
parentName: "tbody"
|
|
5834
|
+
}, (0, _react2.mdx)("td", {
|
|
5835
|
+
parentName: "tr",
|
|
5836
|
+
"align": null
|
|
5837
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5838
|
+
parentName: "td"
|
|
5779
5839
|
}, "--verbose")), (0, _react2.mdx)("td", {
|
|
5780
5840
|
parentName: "tr",
|
|
5781
5841
|
"align": "center"
|