@teambit/harmony.content.cli-reference 2.0.471 → 2.0.473
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 +10 -0
- package/cli-reference.mdx +8 -6
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +10 -0
- package/dist/cli-reference.mdx.js +27 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1731986398447.js → preview-1732159179791.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1408,6 +1408,11 @@
|
|
|
1408
1408
|
"skip-import",
|
|
1409
1409
|
"do not import component objects if .bitmap changed not by bit"
|
|
1410
1410
|
],
|
|
1411
|
+
[
|
|
1412
|
+
"",
|
|
1413
|
+
"generate-types",
|
|
1414
|
+
"EXPERIMENTAL. generate d.ts files for typescript components (hurts performance)"
|
|
1415
|
+
],
|
|
1411
1416
|
[
|
|
1412
1417
|
"",
|
|
1413
1418
|
"trigger <comp-id>",
|
|
@@ -1687,6 +1692,11 @@
|
|
|
1687
1692
|
"d",
|
|
1688
1693
|
"delete-dist-dir",
|
|
1689
1694
|
"delete existing dist folder before writing new compiled files"
|
|
1695
|
+
],
|
|
1696
|
+
[
|
|
1697
|
+
"",
|
|
1698
|
+
"generate-types",
|
|
1699
|
+
"EXPERIMENTAL. generate d.ts files for typescript components (hurts performance)"
|
|
1690
1700
|
]
|
|
1691
1701
|
],
|
|
1692
1702
|
"description": "compile components in the workspace",
|
package/cli-reference.mdx
CHANGED
|
@@ -376,12 +376,13 @@ The following gets removed by this command:
|
|
|
376
376
|
| -------------------- | :---------------------------------------------------------------------: |
|
|
377
377
|
| `component-names...` | a list of component names or component IDs (defaults to all components) |
|
|
378
378
|
|
|
379
|
-
| **Option** | **Option alias** | **Description**
|
|
380
|
-
| ------------------- | :--------------: |
|
|
381
|
-
| `--changed` | `-c` | compile only new and modified components
|
|
382
|
-
| `--verbose` | `-v` | show more data, such as, dist paths
|
|
383
|
-
| `--json` | `-j` | return the compile results in json format
|
|
384
|
-
| `--delete-dist-dir` | `-d` | delete existing dist folder before writing new compiled files
|
|
379
|
+
| **Option** | **Option alias** | **Description** |
|
|
380
|
+
| ------------------- | :--------------: | ------------------------------------------------------------------------------- |
|
|
381
|
+
| `--changed` | `-c` | compile only new and modified components |
|
|
382
|
+
| `--verbose` | `-v` | show more data, such as, dist paths |
|
|
383
|
+
| `--json` | `-j` | return the compile results in json format |
|
|
384
|
+
| `--delete-dist-dir` | `-d` | delete existing dist folder before writing new compiled files |
|
|
385
|
+
| `--generate-types` | | EXPERIMENTAL. generate d.ts files for typescript components (hurts performance) |
|
|
385
386
|
|
|
386
387
|
---
|
|
387
388
|
|
|
@@ -2339,6 +2340,7 @@ if this doesn't work well for you, run "bit config set watch_use_polling true" t
|
|
|
2339
2340
|
| `--check-types [string]` | `-t` | show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project |
|
|
2340
2341
|
| `--import` | `-i` | DEPRECATED. it is now the default. helpful when using git. import component objects if .bitmap changed not by bit |
|
|
2341
2342
|
| `--skip-import` | | do not import component objects if .bitmap changed not by bit |
|
|
2343
|
+
| `--generate-types` | | EXPERIMENTAL. generate d.ts files for typescript components (hurts performance) |
|
|
2342
2344
|
| `--trigger <comp-id>` | | trigger recompilation of the specified component regardless of what changed. helpful when this comp-id must be a bundle |
|
|
2343
2345
|
|
|
2344
2346
|
---
|
package/dist/cli-reference.json
CHANGED
|
@@ -1408,6 +1408,11 @@
|
|
|
1408
1408
|
"skip-import",
|
|
1409
1409
|
"do not import component objects if .bitmap changed not by bit"
|
|
1410
1410
|
],
|
|
1411
|
+
[
|
|
1412
|
+
"",
|
|
1413
|
+
"generate-types",
|
|
1414
|
+
"EXPERIMENTAL. generate d.ts files for typescript components (hurts performance)"
|
|
1415
|
+
],
|
|
1411
1416
|
[
|
|
1412
1417
|
"",
|
|
1413
1418
|
"trigger <comp-id>",
|
|
@@ -1687,6 +1692,11 @@
|
|
|
1687
1692
|
"d",
|
|
1688
1693
|
"delete-dist-dir",
|
|
1689
1694
|
"delete existing dist folder before writing new compiled files"
|
|
1695
|
+
],
|
|
1696
|
+
[
|
|
1697
|
+
"",
|
|
1698
|
+
"generate-types",
|
|
1699
|
+
"EXPERIMENTAL. generate d.ts files for typescript components (hurts performance)"
|
|
1690
1700
|
]
|
|
1691
1701
|
],
|
|
1692
1702
|
"description": "compile components in the workspace",
|
|
@@ -1986,7 +1986,20 @@ function MDXContent(_ref) {
|
|
|
1986
1986
|
}, "-d")), (0, _react2.mdx)("td", {
|
|
1987
1987
|
parentName: "tr",
|
|
1988
1988
|
"align": null
|
|
1989
|
-
}, "delete existing dist folder before writing new compiled files"))
|
|
1989
|
+
}, "delete existing dist folder before writing new compiled files")), (0, _react2.mdx)("tr", {
|
|
1990
|
+
parentName: "tbody"
|
|
1991
|
+
}, (0, _react2.mdx)("td", {
|
|
1992
|
+
parentName: "tr",
|
|
1993
|
+
"align": null
|
|
1994
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
1995
|
+
parentName: "td"
|
|
1996
|
+
}, "--generate-types")), (0, _react2.mdx)("td", {
|
|
1997
|
+
parentName: "tr",
|
|
1998
|
+
"align": "center"
|
|
1999
|
+
}), (0, _react2.mdx)("td", {
|
|
2000
|
+
parentName: "tr",
|
|
2001
|
+
"align": null
|
|
2002
|
+
}, "EXPERIMENTAL. generate d.ts files for typescript components (hurts performance)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "completion"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
1990
2003
|
parentName: "p"
|
|
1991
2004
|
}, "Description"), ": enable bash/zsh-completion shortcuts for commands and options"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
1992
2005
|
parentName: "p"
|
|
@@ -12250,6 +12263,19 @@ function MDXContent(_ref) {
|
|
|
12250
12263
|
"align": null
|
|
12251
12264
|
}, (0, _react2.mdx)("inlineCode", {
|
|
12252
12265
|
parentName: "td"
|
|
12266
|
+
}, "--generate-types")), (0, _react2.mdx)("td", {
|
|
12267
|
+
parentName: "tr",
|
|
12268
|
+
"align": "center"
|
|
12269
|
+
}), (0, _react2.mdx)("td", {
|
|
12270
|
+
parentName: "tr",
|
|
12271
|
+
"align": null
|
|
12272
|
+
}, "EXPERIMENTAL. generate d.ts files for typescript components (hurts performance)")), (0, _react2.mdx)("tr", {
|
|
12273
|
+
parentName: "tbody"
|
|
12274
|
+
}, (0, _react2.mdx)("td", {
|
|
12275
|
+
parentName: "tr",
|
|
12276
|
+
"align": null
|
|
12277
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
12278
|
+
parentName: "td"
|
|
12253
12279
|
}, "--trigger <comp-id>")), (0, _react2.mdx)("td", {
|
|
12254
12280
|
parentName: "tr",
|
|
12255
12281
|
"align": "center"
|