@teambit/harmony.content.cli-reference 2.0.1084 → 2.0.1086
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 +11 -10
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +6 -1
- package/dist/cli-reference.mdx.js +1 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1781551713034.js → preview-1781720877799.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -4975,10 +4975,15 @@
|
|
|
4975
4975
|
"",
|
|
4976
4976
|
"keep-lane",
|
|
4977
4977
|
"Reuse the same remote lane across PR commits (preserves lane history and cloud UI edits) instead of recreating it on every run"
|
|
4978
|
+
],
|
|
4979
|
+
[
|
|
4980
|
+
"",
|
|
4981
|
+
"skip-cleanup",
|
|
4982
|
+
"Skip restoring the workspace (switching back to main) after export. Use when the workspace is discarded right after, e.g. an ephemeral CI container"
|
|
4978
4983
|
]
|
|
4979
4984
|
],
|
|
4980
4985
|
"description": "Exports a feature lane to Bit Cloud when a Pull Request is opened or updated.",
|
|
4981
|
-
"extendedDescription": "Resolves the lane name from --lane or the current Git branch, validates it, and runs install, status, snap, and export.
|
|
4986
|
+
"extendedDescription": "Resolves the lane name from --lane or the current Git branch, validates it, and runs install, status, snap, and export. By default it then restores the workspace by switching back to main; pass --skip-cleanup to skip that restore when the workspace is about to be discarded (e.g. an ephemeral CI container). Use in pull-request CI pipelines after tests and before deploy.",
|
|
4982
4987
|
"group": "collaborate",
|
|
4983
4988
|
"private": false
|
|
4984
4989
|
},
|
package/cli-reference.mdx
CHANGED
|
@@ -419,16 +419,17 @@ Runs lint, build, and status checks to catch dependency drift or broken builds e
|
|
|
419
419
|
**Usage**: `ci pr`
|
|
420
420
|
|
|
421
421
|
**Description**: Exports a feature lane to Bit Cloud when a Pull Request is opened or updated.
|
|
422
|
-
Resolves the lane name from --lane or the current Git branch, validates it, and runs install, status, snap, and export.
|
|
423
|
-
|
|
424
|
-
| **Option** | **Option alias** | **Description**
|
|
425
|
-
| --------------------- | :--------------: |
|
|
426
|
-
| `--message <message>` | `-m` | If set, set it as the snap message, if not, try and grab from git-commit-message
|
|
427
|
-
| `--lane <lane>` | `-l` | If set, use as the lane name, if not available, grab from git-branch name
|
|
428
|
-
| `--build` | `-b` | Set to true to build the app locally, false (default) will build on Ripple CI
|
|
429
|
-
| `--strict` | `-s` | Set to true to fail on warnings as well as errors, false (default) only fails on errors
|
|
430
|
-
| `--dry-run` | `-d` | Run the full pipeline but skip exporting to remote (build runs only if --build is set)
|
|
431
|
-
| `--keep-lane` | | Reuse the same remote lane across PR commits (preserves lane history and cloud UI edits) instead of recreating it on every run
|
|
422
|
+
Resolves the lane name from --lane or the current Git branch, validates it, and runs install, status, snap, and export. By default it then restores the workspace by switching back to main; pass --skip-cleanup to skip that restore when the workspace is about to be discarded (e.g. an ephemeral CI container). Use in pull-request CI pipelines after tests and before deploy.
|
|
423
|
+
|
|
424
|
+
| **Option** | **Option alias** | **Description** |
|
|
425
|
+
| --------------------- | :--------------: | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
426
|
+
| `--message <message>` | `-m` | If set, set it as the snap message, if not, try and grab from git-commit-message |
|
|
427
|
+
| `--lane <lane>` | `-l` | If set, use as the lane name, if not available, grab from git-branch name |
|
|
428
|
+
| `--build` | `-b` | Set to true to build the app locally, false (default) will build on Ripple CI |
|
|
429
|
+
| `--strict` | `-s` | Set to true to fail on warnings as well as errors, false (default) only fails on errors |
|
|
430
|
+
| `--dry-run` | `-d` | Run the full pipeline but skip exporting to remote (build runs only if --build is set) |
|
|
431
|
+
| `--keep-lane` | | Reuse the same remote lane across PR commits (preserves lane history and cloud UI edits) instead of recreating it on every run |
|
|
432
|
+
| `--skip-cleanup` | | Skip restoring the workspace (switching back to main) after export. Use when the workspace is discarded right after, e.g. an ephemeral CI container |
|
|
432
433
|
|
|
433
434
|
### ci merge
|
|
434
435
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -4975,10 +4975,15 @@
|
|
|
4975
4975
|
"",
|
|
4976
4976
|
"keep-lane",
|
|
4977
4977
|
"Reuse the same remote lane across PR commits (preserves lane history and cloud UI edits) instead of recreating it on every run"
|
|
4978
|
+
],
|
|
4979
|
+
[
|
|
4980
|
+
"",
|
|
4981
|
+
"skip-cleanup",
|
|
4982
|
+
"Skip restoring the workspace (switching back to main) after export. Use when the workspace is discarded right after, e.g. an ephemeral CI container"
|
|
4978
4983
|
]
|
|
4979
4984
|
],
|
|
4980
4985
|
"description": "Exports a feature lane to Bit Cloud when a Pull Request is opened or updated.",
|
|
4981
|
-
"extendedDescription": "Resolves the lane name from --lane or the current Git branch, validates it, and runs install, status, snap, and export.
|
|
4986
|
+
"extendedDescription": "Resolves the lane name from --lane or the current Git branch, validates it, and runs install, status, snap, and export. By default it then restores the workspace by switching back to main; pass --skip-cleanup to skip that restore when the workspace is about to be discarded (e.g. an ephemeral CI container). Use in pull-request CI pipelines after tests and before deploy.",
|
|
4982
4987
|
"group": "collaborate",
|
|
4983
4988
|
"private": false
|
|
4984
4989
|
},
|