@teambit/harmony.content.cli-reference 2.0.661 → 2.0.663
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 +20 -0
- package/cli-reference.mdx +4 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +20 -0
- package/dist/cli-reference.mdx.js +52 -0
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1750908022905.js → preview-1751080701107.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1909,6 +1909,11 @@
|
|
|
1909
1909
|
"skip-tests",
|
|
1910
1910
|
"skip running component tests during build process"
|
|
1911
1911
|
],
|
|
1912
|
+
[
|
|
1913
|
+
"",
|
|
1914
|
+
"loose",
|
|
1915
|
+
"allow build to succeed even if tasks like tests or lint fail"
|
|
1916
|
+
],
|
|
1912
1917
|
[
|
|
1913
1918
|
"",
|
|
1914
1919
|
"skip-tasks <string>",
|
|
@@ -3173,6 +3178,11 @@
|
|
|
3173
3178
|
"build",
|
|
3174
3179
|
"locally run the build pipeline (i.e. not via rippleCI) and complete the tag"
|
|
3175
3180
|
],
|
|
3181
|
+
[
|
|
3182
|
+
"",
|
|
3183
|
+
"loose",
|
|
3184
|
+
"allow tag --build to succeed even if tasks like tests or lint fail"
|
|
3185
|
+
],
|
|
3176
3186
|
[
|
|
3177
3187
|
"",
|
|
3178
3188
|
"detach-head",
|
|
@@ -3251,6 +3261,11 @@
|
|
|
3251
3261
|
"ignore-build-errors",
|
|
3252
3262
|
"proceed to snap pipeline even when build pipeline fails"
|
|
3253
3263
|
],
|
|
3264
|
+
[
|
|
3265
|
+
"",
|
|
3266
|
+
"loose",
|
|
3267
|
+
"allow snap --build to succeed even if tasks like tests or lint fail"
|
|
3268
|
+
],
|
|
3254
3269
|
[
|
|
3255
3270
|
"",
|
|
3256
3271
|
"rebuild-deps-graph",
|
|
@@ -4359,6 +4374,11 @@
|
|
|
4359
4374
|
"build",
|
|
4360
4375
|
"in case of snap during the merge, run the build-pipeline (similar to bit snap --build)"
|
|
4361
4376
|
],
|
|
4377
|
+
[
|
|
4378
|
+
"",
|
|
4379
|
+
"loose",
|
|
4380
|
+
"relevant for --build, to allow build to succeed even if tasks like tests or lint fail"
|
|
4381
|
+
],
|
|
4362
4382
|
[
|
|
4363
4383
|
"m",
|
|
4364
4384
|
"message <message>",
|
package/cli-reference.mdx
CHANGED
|
@@ -228,6 +228,7 @@ because this process can take a while on a large workspace, some flags are avail
|
|
|
228
228
|
| `--cache-packages-on-capsule-root` | | set the package-manager cache on the capsule root |
|
|
229
229
|
| `--list-tasks <string>` | | list tasks of an env or a component-id for each one of the pipelines: build, tag and snap |
|
|
230
230
|
| `--skip-tests` | | skip running component tests during build process |
|
|
231
|
+
| `--loose` | | allow build to succeed even if tasks like tests or lint fail |
|
|
231
232
|
| `--skip-tasks <string>` | | skip the given tasks. for multiple tasks, separate by a comma and wrap with quotes. specify the task-name (e.g. "TypescriptCompiler") or the task-aspect-id (e.g. teambit.compilation/compiler) |
|
|
232
233
|
| `--fail-fast` | | stop pipeline execution on the first failed task (by default a task is skipped only when its dependency failed) |
|
|
233
234
|
| `--include-snap` | | include snap pipeline tasks. Warning: this may deploy/publish if you have such tasks |
|
|
@@ -1365,6 +1366,7 @@ this flag keeps the history of one end and saves a reference to the other end. t
|
|
|
1365
1366
|
| `--no-snap` | | do not pass snaps from the other lane even for non-diverged components (see command description) |
|
|
1366
1367
|
| `--tag` | | auto-tag all lane components after merging into main (or tag-merge in case of snap-merge) |
|
|
1367
1368
|
| `--build` | | in case of snap during the merge, run the build-pipeline (similar to bit snap --build) |
|
|
1369
|
+
| `--loose` | | relevant for --build, to allow build to succeed even if tasks like tests or lint fail |
|
|
1368
1370
|
| `--message <message>` | `-m` | override the default message for the auto snap |
|
|
1369
1371
|
| `--keep-readme` | | skip deleting the lane readme component after merging |
|
|
1370
1372
|
| `--no-squash` | | relevant for merging lanes into main, which by default squashes all lane snaps |
|
|
@@ -2085,6 +2087,7 @@ optionally, provide [pattern] to limit the fork to specific components
|
|
|
2085
2087
|
| `--skip-auto-snap` | | skip auto snapping dependents |
|
|
2086
2088
|
| `--disable-snap-pipeline` | | skip the snap pipeline. this will for instance skip packing and publishing component version for install, and app deployment |
|
|
2087
2089
|
| `--ignore-build-errors` | | proceed to snap pipeline even when build pipeline fails |
|
|
2090
|
+
| `--loose` | | allow snap --build to succeed even if tasks like tests or lint fail |
|
|
2088
2091
|
| `--rebuild-deps-graph` | | do not reuse the saved dependencies graph, instead build it from scratch |
|
|
2089
2092
|
| `--ignore-issues <issues>` | `-i` | ignore component issues (shown in "bit status" as "issues found"), issues to ignore: [MissingPackagesDependenciesOnFs, MissingManuallyConfiguredPackages, UntrackedDependencies, ResolveErrors, RelativeComponents, RelativeComponentsAuthored, ParseErrors, MissingDists, LegacyInsideHarmony, MissingDependenciesOnFs, ImportNonMainFiles, MultipleEnvs, MissingLinksFromNodeModulesToSrc, CircularDependencies, DuplicateComponentAndPackage, MergeConfigHasConflict, NonLoadedEnv, ExternalEnvWithoutVersion, RemovedDependencies, RemovedEnv, DeprecatedDependencies, SelfReference, ImportFromDirectory] to ignore multiple issues, separate them by a comma and wrap with quotes. to ignore all issues, specify "\*". |
|
|
2090
2093
|
| `--fail-fast` | | stop pipeline execution on the first failed task (by default a task is skipped only when its dependency failed) |
|
|
@@ -2240,6 +2243,7 @@ if patterns are entered, you can specify a version per pattern using "@" sign, e
|
|
|
2240
2243
|
| `--ignore-newest-version` | `-I` | allow tagging even when the component has newer versions e.g. for hotfixes. |
|
|
2241
2244
|
| `--fail-fast` | | stop pipeline execution on the first failed task (by default a task is skipped only when its dependency failed) |
|
|
2242
2245
|
| `--build` | `-b` | locally run the build pipeline (i.e. not via rippleCI) and complete the tag |
|
|
2246
|
+
| `--loose` | | allow tag --build to succeed even if tasks like tests or lint fail |
|
|
2243
2247
|
| `--detach-head` | | UNSUPPORTED YET. in case a component is checked out to an older version, tag it without changing the head |
|
|
2244
2248
|
|
|
2245
2249
|
---
|
package/dist/cli-reference.json
CHANGED
|
@@ -1909,6 +1909,11 @@
|
|
|
1909
1909
|
"skip-tests",
|
|
1910
1910
|
"skip running component tests during build process"
|
|
1911
1911
|
],
|
|
1912
|
+
[
|
|
1913
|
+
"",
|
|
1914
|
+
"loose",
|
|
1915
|
+
"allow build to succeed even if tasks like tests or lint fail"
|
|
1916
|
+
],
|
|
1912
1917
|
[
|
|
1913
1918
|
"",
|
|
1914
1919
|
"skip-tasks <string>",
|
|
@@ -3173,6 +3178,11 @@
|
|
|
3173
3178
|
"build",
|
|
3174
3179
|
"locally run the build pipeline (i.e. not via rippleCI) and complete the tag"
|
|
3175
3180
|
],
|
|
3181
|
+
[
|
|
3182
|
+
"",
|
|
3183
|
+
"loose",
|
|
3184
|
+
"allow tag --build to succeed even if tasks like tests or lint fail"
|
|
3185
|
+
],
|
|
3176
3186
|
[
|
|
3177
3187
|
"",
|
|
3178
3188
|
"detach-head",
|
|
@@ -3251,6 +3261,11 @@
|
|
|
3251
3261
|
"ignore-build-errors",
|
|
3252
3262
|
"proceed to snap pipeline even when build pipeline fails"
|
|
3253
3263
|
],
|
|
3264
|
+
[
|
|
3265
|
+
"",
|
|
3266
|
+
"loose",
|
|
3267
|
+
"allow snap --build to succeed even if tasks like tests or lint fail"
|
|
3268
|
+
],
|
|
3254
3269
|
[
|
|
3255
3270
|
"",
|
|
3256
3271
|
"rebuild-deps-graph",
|
|
@@ -4359,6 +4374,11 @@
|
|
|
4359
4374
|
"build",
|
|
4360
4375
|
"in case of snap during the merge, run the build-pipeline (similar to bit snap --build)"
|
|
4361
4376
|
],
|
|
4377
|
+
[
|
|
4378
|
+
"",
|
|
4379
|
+
"loose",
|
|
4380
|
+
"relevant for --build, to allow build to succeed even if tasks like tests or lint fail"
|
|
4381
|
+
],
|
|
4362
4382
|
[
|
|
4363
4383
|
"m",
|
|
4364
4384
|
"message <message>",
|
|
@@ -1151,6 +1151,19 @@ function MDXContent(_ref) {
|
|
|
1151
1151
|
"align": null
|
|
1152
1152
|
}, (0, _react2.mdx)("inlineCode", {
|
|
1153
1153
|
parentName: "td"
|
|
1154
|
+
}, "--loose")), (0, _react2.mdx)("td", {
|
|
1155
|
+
parentName: "tr",
|
|
1156
|
+
"align": "center"
|
|
1157
|
+
}), (0, _react2.mdx)("td", {
|
|
1158
|
+
parentName: "tr",
|
|
1159
|
+
"align": null
|
|
1160
|
+
}, "allow build to succeed even if tasks like tests or lint fail")), (0, _react2.mdx)("tr", {
|
|
1161
|
+
parentName: "tbody"
|
|
1162
|
+
}, (0, _react2.mdx)("td", {
|
|
1163
|
+
parentName: "tr",
|
|
1164
|
+
"align": null
|
|
1165
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
1166
|
+
parentName: "td"
|
|
1154
1167
|
}, "--skip-tasks <string>")), (0, _react2.mdx)("td", {
|
|
1155
1168
|
parentName: "tr",
|
|
1156
1169
|
"align": "center"
|
|
@@ -7321,6 +7334,19 @@ function MDXContent(_ref) {
|
|
|
7321
7334
|
"align": null
|
|
7322
7335
|
}, (0, _react2.mdx)("inlineCode", {
|
|
7323
7336
|
parentName: "td"
|
|
7337
|
+
}, "--loose")), (0, _react2.mdx)("td", {
|
|
7338
|
+
parentName: "tr",
|
|
7339
|
+
"align": "center"
|
|
7340
|
+
}), (0, _react2.mdx)("td", {
|
|
7341
|
+
parentName: "tr",
|
|
7342
|
+
"align": null
|
|
7343
|
+
}, "relevant for --build, to allow build to succeed even if tasks like tests or lint fail")), (0, _react2.mdx)("tr", {
|
|
7344
|
+
parentName: "tbody"
|
|
7345
|
+
}, (0, _react2.mdx)("td", {
|
|
7346
|
+
parentName: "tr",
|
|
7347
|
+
"align": null
|
|
7348
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
7349
|
+
parentName: "td"
|
|
7324
7350
|
}, "--message <message>")), (0, _react2.mdx)("td", {
|
|
7325
7351
|
parentName: "tr",
|
|
7326
7352
|
"align": "center"
|
|
@@ -11125,6 +11151,19 @@ function MDXContent(_ref) {
|
|
|
11125
11151
|
"align": null
|
|
11126
11152
|
}, (0, _react2.mdx)("inlineCode", {
|
|
11127
11153
|
parentName: "td"
|
|
11154
|
+
}, "--loose")), (0, _react2.mdx)("td", {
|
|
11155
|
+
parentName: "tr",
|
|
11156
|
+
"align": "center"
|
|
11157
|
+
}), (0, _react2.mdx)("td", {
|
|
11158
|
+
parentName: "tr",
|
|
11159
|
+
"align": null
|
|
11160
|
+
}, "allow snap --build to succeed even if tasks like tests or lint fail")), (0, _react2.mdx)("tr", {
|
|
11161
|
+
parentName: "tbody"
|
|
11162
|
+
}, (0, _react2.mdx)("td", {
|
|
11163
|
+
parentName: "tr",
|
|
11164
|
+
"align": null
|
|
11165
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
11166
|
+
parentName: "td"
|
|
11128
11167
|
}, "--rebuild-deps-graph")), (0, _react2.mdx)("td", {
|
|
11129
11168
|
parentName: "tr",
|
|
11130
11169
|
"align": "center"
|
|
@@ -12135,6 +12174,19 @@ function MDXContent(_ref) {
|
|
|
12135
12174
|
"align": null
|
|
12136
12175
|
}, (0, _react2.mdx)("inlineCode", {
|
|
12137
12176
|
parentName: "td"
|
|
12177
|
+
}, "--loose")), (0, _react2.mdx)("td", {
|
|
12178
|
+
parentName: "tr",
|
|
12179
|
+
"align": "center"
|
|
12180
|
+
}), (0, _react2.mdx)("td", {
|
|
12181
|
+
parentName: "tr",
|
|
12182
|
+
"align": null
|
|
12183
|
+
}, "allow tag --build to succeed even if tasks like tests or lint fail")), (0, _react2.mdx)("tr", {
|
|
12184
|
+
parentName: "tbody"
|
|
12185
|
+
}, (0, _react2.mdx)("td", {
|
|
12186
|
+
parentName: "tr",
|
|
12187
|
+
"align": null
|
|
12188
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
12189
|
+
parentName: "td"
|
|
12138
12190
|
}, "--detach-head")), (0, _react2.mdx)("td", {
|
|
12139
12191
|
parentName: "tr",
|
|
12140
12192
|
"align": "center"
|