@teambit/harmony.content.cli-reference 2.0.836 → 2.0.837
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 +6 -1
- package/cli-reference.mdx +7 -6
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +6 -1
- package/dist/cli-reference.mdx.js +16 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1763487397673.js → preview-1763517296857.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -5273,6 +5273,11 @@
|
|
|
5273
5273
|
[
|
|
5274
5274
|
"a",
|
|
5275
5275
|
"all",
|
|
5276
|
+
"DEPRECATED. (use --unmodified)"
|
|
5277
|
+
],
|
|
5278
|
+
[
|
|
5279
|
+
"u",
|
|
5280
|
+
"unmodified",
|
|
5276
5281
|
"check-types for all components, not only modified and new"
|
|
5277
5282
|
],
|
|
5278
5283
|
[
|
|
@@ -5287,7 +5292,7 @@
|
|
|
5287
5292
|
]
|
|
5288
5293
|
],
|
|
5289
5294
|
"description": "validate TypeScript type correctness",
|
|
5290
|
-
"extendedDescription": "checks for TypeScript type errors in component files, similar to running tsc.\nby default only checks new and modified components. use --
|
|
5295
|
+
"extendedDescription": "checks for TypeScript type errors in component files, similar to running tsc.\nby default only checks new and modified components. use --unmodified to check all components.\nuseful for catching type issues before tagging, snapping or building components.",
|
|
5291
5296
|
"group": "testing",
|
|
5292
5297
|
"private": false,
|
|
5293
5298
|
"arguments": [
|
package/cli-reference.mdx
CHANGED
|
@@ -309,7 +309,7 @@ with no args, only workspace's capsules are deleted
|
|
|
309
309
|
|
|
310
310
|
**Description**: validate TypeScript type correctness
|
|
311
311
|
checks for TypeScript type errors in component files, similar to running tsc.
|
|
312
|
-
by default only checks new and modified components. use --
|
|
312
|
+
by default only checks new and modified components. use --unmodified to check all components.
|
|
313
313
|
useful for catching type issues before tagging, snapping or building components.
|
|
314
314
|
|
|
315
315
|
`bit check-types [component-pattern]`
|
|
@@ -318,11 +318,12 @@ useful for catching type issues before tagging, snapping or building components.
|
|
|
318
318
|
| ------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
319
319
|
| `component-pattern` | 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. |
|
|
320
320
|
|
|
321
|
-
| **Option**
|
|
322
|
-
|
|
|
323
|
-
| `--all`
|
|
324
|
-
| `--
|
|
325
|
-
| `--
|
|
321
|
+
| **Option** | **Option alias** | **Description** |
|
|
322
|
+
| -------------- | :--------------: | --------------------------------------------------------- |
|
|
323
|
+
| `--all` | `-a` | DEPRECATED. (use --unmodified) |
|
|
324
|
+
| `--unmodified` | `-u` | check-types for all components, not only modified and new |
|
|
325
|
+
| `--strict` | | in case issues found, exit with code 1 |
|
|
326
|
+
| `--json` | `-j` | return the output in json format |
|
|
326
327
|
|
|
327
328
|
---
|
|
328
329
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -5273,6 +5273,11 @@
|
|
|
5273
5273
|
[
|
|
5274
5274
|
"a",
|
|
5275
5275
|
"all",
|
|
5276
|
+
"DEPRECATED. (use --unmodified)"
|
|
5277
|
+
],
|
|
5278
|
+
[
|
|
5279
|
+
"u",
|
|
5280
|
+
"unmodified",
|
|
5276
5281
|
"check-types for all components, not only modified and new"
|
|
5277
5282
|
],
|
|
5278
5283
|
[
|
|
@@ -5287,7 +5292,7 @@
|
|
|
5287
5292
|
]
|
|
5288
5293
|
],
|
|
5289
5294
|
"description": "validate TypeScript type correctness",
|
|
5290
|
-
"extendedDescription": "checks for TypeScript type errors in component files, similar to running tsc.\nby default only checks new and modified components. use --
|
|
5295
|
+
"extendedDescription": "checks for TypeScript type errors in component files, similar to running tsc.\nby default only checks new and modified components. use --unmodified to check all components.\nuseful for catching type issues before tagging, snapping or building components.",
|
|
5291
5296
|
"group": "testing",
|
|
5292
5297
|
"private": false,
|
|
5293
5298
|
"arguments": [
|
|
@@ -1574,7 +1574,7 @@ function MDXContent(_ref) {
|
|
|
1574
1574
|
parentName: "p"
|
|
1575
1575
|
}), "\n", "checks for TypeScript type errors in component files, similar to running tsc.", (0, _react2.mdx)("br", {
|
|
1576
1576
|
parentName: "p"
|
|
1577
|
-
}), "\n", "by default only checks new and modified components. use --
|
|
1577
|
+
}), "\n", "by default only checks new and modified components. use --unmodified to check all components.", (0, _react2.mdx)("br", {
|
|
1578
1578
|
parentName: "p"
|
|
1579
1579
|
}), "\n", "useful for catching type issues before tagging, snapping or building components."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
1580
1580
|
parentName: "p"
|
|
@@ -1644,6 +1644,21 @@ function MDXContent(_ref) {
|
|
|
1644
1644
|
}, "-a")), (0, _react2.mdx)("td", {
|
|
1645
1645
|
parentName: "tr",
|
|
1646
1646
|
"align": null
|
|
1647
|
+
}, "DEPRECATED. (use --unmodified)")), (0, _react2.mdx)("tr", {
|
|
1648
|
+
parentName: "tbody"
|
|
1649
|
+
}, (0, _react2.mdx)("td", {
|
|
1650
|
+
parentName: "tr",
|
|
1651
|
+
"align": null
|
|
1652
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
1653
|
+
parentName: "td"
|
|
1654
|
+
}, "--unmodified")), (0, _react2.mdx)("td", {
|
|
1655
|
+
parentName: "tr",
|
|
1656
|
+
"align": "center"
|
|
1657
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
1658
|
+
parentName: "td"
|
|
1659
|
+
}, "-u")), (0, _react2.mdx)("td", {
|
|
1660
|
+
parentName: "tr",
|
|
1661
|
+
"align": null
|
|
1647
1662
|
}, "check-types for all components, not only modified and new")), (0, _react2.mdx)("tr", {
|
|
1648
1663
|
parentName: "tbody"
|
|
1649
1664
|
}, (0, _react2.mdx)("td", {
|