@teambit/harmony.content.cli-reference 2.0.472 → 2.0.474
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 +17 -2
- package/cli-reference.mdx +10 -8
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +17 -2
- package/dist/cli-reference.mdx.js +28 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1732072955804.js → preview-1732245631025.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>",
|
|
@@ -1691,7 +1696,7 @@
|
|
|
1691
1696
|
[
|
|
1692
1697
|
"",
|
|
1693
1698
|
"generate-types",
|
|
1694
|
-
"generate d.ts files for typescript components (hurts performance)"
|
|
1699
|
+
"EXPERIMENTAL. generate d.ts files for typescript components (hurts performance)"
|
|
1695
1700
|
]
|
|
1696
1701
|
],
|
|
1697
1702
|
"description": "compile components in the workspace",
|
|
@@ -3682,6 +3687,11 @@
|
|
|
3682
3687
|
"alias <string>",
|
|
3683
3688
|
"relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote"
|
|
3684
3689
|
],
|
|
3690
|
+
[
|
|
3691
|
+
"",
|
|
3692
|
+
"verbose",
|
|
3693
|
+
"display detailed information about components that legitimately were not switched"
|
|
3694
|
+
],
|
|
3685
3695
|
[
|
|
3686
3696
|
"j",
|
|
3687
3697
|
"json",
|
|
@@ -4100,7 +4110,7 @@
|
|
|
4100
4110
|
[
|
|
4101
4111
|
"",
|
|
4102
4112
|
"verbose",
|
|
4103
|
-
"
|
|
4113
|
+
"display detailed information about components that were legitimately unmerged"
|
|
4104
4114
|
],
|
|
4105
4115
|
[
|
|
4106
4116
|
"x",
|
|
@@ -4238,6 +4248,11 @@
|
|
|
4238
4248
|
"alias <string>",
|
|
4239
4249
|
"relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote"
|
|
4240
4250
|
],
|
|
4251
|
+
[
|
|
4252
|
+
"",
|
|
4253
|
+
"verbose",
|
|
4254
|
+
"display detailed information about components that legitimately were not switched"
|
|
4255
|
+
],
|
|
4241
4256
|
[
|
|
4242
4257
|
"j",
|
|
4243
4258
|
"json",
|
package/cli-reference.mdx
CHANGED
|
@@ -376,13 +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
|
|
385
|
-
| `--generate-types` | | generate d.ts files for typescript components (hurts performance) |
|
|
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) |
|
|
386
386
|
|
|
387
387
|
---
|
|
388
388
|
|
|
@@ -1066,6 +1066,7 @@ when no package is specified, all workspace dependencies are installed and all w
|
|
|
1066
1066
|
| `--skip-dependency-installation` | `-x` | do not install dependencies of the imported components |
|
|
1067
1067
|
| `--pattern <component-pattern>` | `-p` | switch only the lane components matching the specified component-pattern. only works when the workspace is empty component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button". use '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
|
|
1068
1068
|
| `--alias <string>` | `-n` | relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote |
|
|
1069
|
+
| `--verbose` | | display detailed information about components that legitimately were not switched |
|
|
1069
1070
|
| `--json` | `-j` | return the output as JSON |
|
|
1070
1071
|
|
|
1071
1072
|
### lane show
|
|
@@ -1321,7 +1322,7 @@ this flag keeps the history of one end and saves a reference to the other end. t
|
|
|
1321
1322
|
| `--no-squash` | | relevant for merging lanes into main, which by default squashes all lane snaps |
|
|
1322
1323
|
| `--squash` | | relevant for merging a lane into another non-main lane, which by default does not squash |
|
|
1323
1324
|
| `--ignore-config-changes` | | allow merging when components are modified due to config changes (such as dependencies) only and not files |
|
|
1324
|
-
| `--verbose` | |
|
|
1325
|
+
| `--verbose` | | display detailed information about components that were legitimately unmerged |
|
|
1325
1326
|
| `--skip-dependency-installation` | `-x` | do not install dependencies of the imported components |
|
|
1326
1327
|
| `--skip-fetch` | | use the local state of target-lane if exits locally, without updating it from the remote |
|
|
1327
1328
|
| `--include-deps` | | relevant for "pattern" and "--workspace". merge also dependencies of the specified components |
|
|
@@ -2340,6 +2341,7 @@ if this doesn't work well for you, run "bit config set watch_use_polling true" t
|
|
|
2340
2341
|
| `--check-types [string]` | `-t` | show errors/warnings for types. options are [file, project] to investigate only changed file or entire project. defaults to project |
|
|
2341
2342
|
| `--import` | `-i` | DEPRECATED. it is now the default. helpful when using git. import component objects if .bitmap changed not by bit |
|
|
2342
2343
|
| `--skip-import` | | do not import component objects if .bitmap changed not by bit |
|
|
2344
|
+
| `--generate-types` | | EXPERIMENTAL. generate d.ts files for typescript components (hurts performance) |
|
|
2343
2345
|
| `--trigger <comp-id>` | | trigger recompilation of the specified component regardless of what changed. helpful when this comp-id must be a bundle |
|
|
2344
2346
|
|
|
2345
2347
|
---
|
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>",
|
|
@@ -1691,7 +1696,7 @@
|
|
|
1691
1696
|
[
|
|
1692
1697
|
"",
|
|
1693
1698
|
"generate-types",
|
|
1694
|
-
"generate d.ts files for typescript components (hurts performance)"
|
|
1699
|
+
"EXPERIMENTAL. generate d.ts files for typescript components (hurts performance)"
|
|
1695
1700
|
]
|
|
1696
1701
|
],
|
|
1697
1702
|
"description": "compile components in the workspace",
|
|
@@ -3682,6 +3687,11 @@
|
|
|
3682
3687
|
"alias <string>",
|
|
3683
3688
|
"relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote"
|
|
3684
3689
|
],
|
|
3690
|
+
[
|
|
3691
|
+
"",
|
|
3692
|
+
"verbose",
|
|
3693
|
+
"display detailed information about components that legitimately were not switched"
|
|
3694
|
+
],
|
|
3685
3695
|
[
|
|
3686
3696
|
"j",
|
|
3687
3697
|
"json",
|
|
@@ -4100,7 +4110,7 @@
|
|
|
4100
4110
|
[
|
|
4101
4111
|
"",
|
|
4102
4112
|
"verbose",
|
|
4103
|
-
"
|
|
4113
|
+
"display detailed information about components that were legitimately unmerged"
|
|
4104
4114
|
],
|
|
4105
4115
|
[
|
|
4106
4116
|
"x",
|
|
@@ -4238,6 +4248,11 @@
|
|
|
4238
4248
|
"alias <string>",
|
|
4239
4249
|
"relevant when the specified lane is a remote lane. create a local alias for the lane (doesnt affect the lane's name on the remote"
|
|
4240
4250
|
],
|
|
4251
|
+
[
|
|
4252
|
+
"",
|
|
4253
|
+
"verbose",
|
|
4254
|
+
"display detailed information about components that legitimately were not switched"
|
|
4255
|
+
],
|
|
4241
4256
|
[
|
|
4242
4257
|
"j",
|
|
4243
4258
|
"json",
|
|
@@ -1999,7 +1999,7 @@ function MDXContent(_ref) {
|
|
|
1999
1999
|
}), (0, _react2.mdx)("td", {
|
|
2000
2000
|
parentName: "tr",
|
|
2001
2001
|
"align": null
|
|
2002
|
-
}, "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", {
|
|
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", {
|
|
2003
2003
|
parentName: "p"
|
|
2004
2004
|
}, "Description"), ": enable bash/zsh-completion shortcuts for commands and options"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2005
2005
|
parentName: "p"
|
|
@@ -5659,6 +5659,19 @@ function MDXContent(_ref) {
|
|
|
5659
5659
|
"align": null
|
|
5660
5660
|
}, (0, _react2.mdx)("inlineCode", {
|
|
5661
5661
|
parentName: "td"
|
|
5662
|
+
}, "--verbose")), (0, _react2.mdx)("td", {
|
|
5663
|
+
parentName: "tr",
|
|
5664
|
+
"align": "center"
|
|
5665
|
+
}), (0, _react2.mdx)("td", {
|
|
5666
|
+
parentName: "tr",
|
|
5667
|
+
"align": null
|
|
5668
|
+
}, "display detailed information about components that legitimately were not switched")), (0, _react2.mdx)("tr", {
|
|
5669
|
+
parentName: "tbody"
|
|
5670
|
+
}, (0, _react2.mdx)("td", {
|
|
5671
|
+
parentName: "tr",
|
|
5672
|
+
"align": null
|
|
5673
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
5674
|
+
parentName: "td"
|
|
5662
5675
|
}, "--json")), (0, _react2.mdx)("td", {
|
|
5663
5676
|
parentName: "tr",
|
|
5664
5677
|
"align": "center"
|
|
@@ -6910,7 +6923,7 @@ function MDXContent(_ref) {
|
|
|
6910
6923
|
}), (0, _react2.mdx)("td", {
|
|
6911
6924
|
parentName: "tr",
|
|
6912
6925
|
"align": null
|
|
6913
|
-
}, "
|
|
6926
|
+
}, "display detailed information about components that were legitimately unmerged")), (0, _react2.mdx)("tr", {
|
|
6914
6927
|
parentName: "tbody"
|
|
6915
6928
|
}, (0, _react2.mdx)("td", {
|
|
6916
6929
|
parentName: "tr",
|
|
@@ -12263,6 +12276,19 @@ function MDXContent(_ref) {
|
|
|
12263
12276
|
"align": null
|
|
12264
12277
|
}, (0, _react2.mdx)("inlineCode", {
|
|
12265
12278
|
parentName: "td"
|
|
12279
|
+
}, "--generate-types")), (0, _react2.mdx)("td", {
|
|
12280
|
+
parentName: "tr",
|
|
12281
|
+
"align": "center"
|
|
12282
|
+
}), (0, _react2.mdx)("td", {
|
|
12283
|
+
parentName: "tr",
|
|
12284
|
+
"align": null
|
|
12285
|
+
}, "EXPERIMENTAL. generate d.ts files for typescript components (hurts performance)")), (0, _react2.mdx)("tr", {
|
|
12286
|
+
parentName: "tbody"
|
|
12287
|
+
}, (0, _react2.mdx)("td", {
|
|
12288
|
+
parentName: "tr",
|
|
12289
|
+
"align": null
|
|
12290
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
12291
|
+
parentName: "td"
|
|
12266
12292
|
}, "--trigger <comp-id>")), (0, _react2.mdx)("td", {
|
|
12267
12293
|
parentName: "tr",
|
|
12268
12294
|
"align": "center"
|