@teambit/harmony.content.cli-reference 2.0.954 → 2.0.956
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 +7 -2
- package/cli-reference.mdx +4 -2
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +7 -2
- package/dist/cli-reference.mdx.js +4 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1773942498396.js → preview-1774022201902.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -5623,10 +5623,15 @@
|
|
|
5623
5623
|
"all",
|
|
5624
5624
|
"validate all components, not only modified and new"
|
|
5625
5625
|
],
|
|
5626
|
+
[
|
|
5627
|
+
"",
|
|
5628
|
+
"fail-fast",
|
|
5629
|
+
"stop at the first failure instead of running all checks"
|
|
5630
|
+
],
|
|
5626
5631
|
[
|
|
5627
5632
|
"c",
|
|
5628
5633
|
"continue-on-error",
|
|
5629
|
-
"
|
|
5634
|
+
"DEPRECATED: this is now the default behavior"
|
|
5630
5635
|
],
|
|
5631
5636
|
[
|
|
5632
5637
|
"",
|
|
@@ -5635,7 +5640,7 @@
|
|
|
5635
5640
|
]
|
|
5636
5641
|
],
|
|
5637
5642
|
"description": "run type-checking, linting, and testing in sequence",
|
|
5638
|
-
"extendedDescription": "validates components by running check-types, lint, and test commands in sequence.\
|
|
5643
|
+
"extendedDescription": "validates components by running check-types, lint, and test commands in sequence.\nby default runs all checks even when errors are found.\nuse --fail-fast to stop at the first failure.\nby default validates only new and modified components. use --all to validate all components.",
|
|
5639
5644
|
"group": "testing",
|
|
5640
5645
|
"private": false,
|
|
5641
5646
|
"arguments": [
|
package/cli-reference.mdx
CHANGED
|
@@ -2610,7 +2610,8 @@ supports glob patterns to update specific packages. prompts for confirmation unl
|
|
|
2610
2610
|
|
|
2611
2611
|
**Description**: run type-checking, linting, and testing in sequence
|
|
2612
2612
|
validates components by running check-types, lint, and test commands in sequence.
|
|
2613
|
-
|
|
2613
|
+
by default runs all checks even when errors are found.
|
|
2614
|
+
use --fail-fast to stop at the first failure.
|
|
2614
2615
|
by default validates only new and modified components. use --all to validate all components.
|
|
2615
2616
|
|
|
2616
2617
|
`bit validate [component-pattern]`
|
|
@@ -2622,7 +2623,8 @@ by default validates only new and modified components. use --all to validate all
|
|
|
2622
2623
|
| **Option** | **Option alias** | **Description** |
|
|
2623
2624
|
| ----------------------- | :--------------: | ---------------------------------------------------------------------------------------------------------------------------------- |
|
|
2624
2625
|
| `--all` | `-a` | validate all components, not only modified and new |
|
|
2625
|
-
| `--
|
|
2626
|
+
| `--fail-fast` | | stop at the first failure instead of running all checks |
|
|
2627
|
+
| `--continue-on-error` | `-c` | DEPRECATED: this is now the default behavior |
|
|
2626
2628
|
| `--skip-tasks <string>` | | skip the given tasks. for multiple tasks, separate by a comma and wrap with quotes. available tasks: "check-types", "lint", "test" |
|
|
2627
2629
|
|
|
2628
2630
|
---
|
package/dist/cli-reference.json
CHANGED
|
@@ -5623,10 +5623,15 @@
|
|
|
5623
5623
|
"all",
|
|
5624
5624
|
"validate all components, not only modified and new"
|
|
5625
5625
|
],
|
|
5626
|
+
[
|
|
5627
|
+
"",
|
|
5628
|
+
"fail-fast",
|
|
5629
|
+
"stop at the first failure instead of running all checks"
|
|
5630
|
+
],
|
|
5626
5631
|
[
|
|
5627
5632
|
"c",
|
|
5628
5633
|
"continue-on-error",
|
|
5629
|
-
"
|
|
5634
|
+
"DEPRECATED: this is now the default behavior"
|
|
5630
5635
|
],
|
|
5631
5636
|
[
|
|
5632
5637
|
"",
|
|
@@ -5635,7 +5640,7 @@
|
|
|
5635
5640
|
]
|
|
5636
5641
|
],
|
|
5637
5642
|
"description": "run type-checking, linting, and testing in sequence",
|
|
5638
|
-
"extendedDescription": "validates components by running check-types, lint, and test commands in sequence.\
|
|
5643
|
+
"extendedDescription": "validates components by running check-types, lint, and test commands in sequence.\nby default runs all checks even when errors are found.\nuse --fail-fast to stop at the first failure.\nby default validates only new and modified components. use --all to validate all components.",
|
|
5639
5644
|
"group": "testing",
|
|
5640
5645
|
"private": false,
|
|
5641
5646
|
"arguments": [
|
|
@@ -5245,7 +5245,7 @@ function _createMdxContent(props) {
|
|
|
5245
5245
|
}), "\n", (0, _jsxRuntime.jsxs)(_components.p, {
|
|
5246
5246
|
children: [(0, _jsxRuntime.jsx)(_components.strong, {
|
|
5247
5247
|
children: "Description"
|
|
5248
|
-
}), ": run type-checking, linting, and testing in sequence", (0, _jsxRuntime.jsx)(_components.br, {}), "\n", "validates components by running check-types, lint, and test commands in sequence.", (0, _jsxRuntime.jsx)(_components.br, {}), "\n", "
|
|
5248
|
+
}), ": run type-checking, linting, and testing in sequence", (0, _jsxRuntime.jsx)(_components.br, {}), "\n", "validates components by running check-types, lint, and test commands in sequence.", (0, _jsxRuntime.jsx)(_components.br, {}), "\n", "by default runs all checks even when errors are found.", (0, _jsxRuntime.jsx)(_components.br, {}), "\n", "use --fail-fast to stop at the first failure.", (0, _jsxRuntime.jsx)(_components.br, {}), "\n", "by default validates only new and modified components. use --all to validate all components."]
|
|
5249
5249
|
}), "\n", (0, _jsxRuntime.jsx)(_components.p, {
|
|
5250
5250
|
children: (0, _jsxRuntime.jsx)(_components.code, {
|
|
5251
5251
|
children: "bit validate [component-pattern]"
|
|
@@ -5274,10 +5274,12 @@ function _createMdxContent(props) {
|
|
|
5274
5274
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5275
5275
|
children: "-a"
|
|
5276
5276
|
}), " | validate all components, not only modified and new |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5277
|
+
children: "--fail-fast"
|
|
5278
|
+
}), " | | stop at the first failure instead of running all checks |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5277
5279
|
children: "--continue-on-error"
|
|
5278
5280
|
}), " | ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5279
5281
|
children: "-c"
|
|
5280
|
-
}), " |
|
|
5282
|
+
}), " | DEPRECATED: this is now the default behavior |\n| ", (0, _jsxRuntime.jsx)(_components.code, {
|
|
5281
5283
|
children: "--skip-tasks <string>"
|
|
5282
5284
|
}), " | | skip the given tasks. for multiple tasks, separate by a comma and wrap with quotes. available tasks: \"check-types\", \"lint\", \"test\" |"]
|
|
5283
5285
|
}), "\n", (0, _jsxRuntime.jsx)(_components.hr, {}), "\n", (0, _jsxRuntime.jsx)(_components.h2, {
|