@teambit/harmony.content.cli-reference 2.0.454 → 2.0.455
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 +12 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +20 -0
- package/dist/cli-reference.mdx.js +62 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1730431405757.js → preview-1730517501720.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -4370,6 +4370,26 @@
|
|
|
4370
4370
|
"group": "ungrouped",
|
|
4371
4371
|
"private": false
|
|
4372
4372
|
},
|
|
4373
|
+
{
|
|
4374
|
+
"name": "history-diff <from-history-id> <to-history-id>",
|
|
4375
|
+
"alias": "",
|
|
4376
|
+
"options": [
|
|
4377
|
+
[
|
|
4378
|
+
"l",
|
|
4379
|
+
"lane <lane-name>",
|
|
4380
|
+
"the name of the lane to diff. if not specified, the current lane is used"
|
|
4381
|
+
],
|
|
4382
|
+
[
|
|
4383
|
+
"",
|
|
4384
|
+
"pattern <component-pattern>",
|
|
4385
|
+
"show lane-diff for components conforming to the specified component-pattern only\ncomponent-pattern format: component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
4386
|
+
]
|
|
4387
|
+
],
|
|
4388
|
+
"description": "EXPERIMENTAL. show diff between two lane-history ids",
|
|
4389
|
+
"extendedDescription": "run \"bit lane history\" to find these history-ids",
|
|
4390
|
+
"group": "ungrouped",
|
|
4391
|
+
"private": false
|
|
4392
|
+
},
|
|
4373
4393
|
{
|
|
4374
4394
|
"name": "checkout <history-id>",
|
|
4375
4395
|
"alias": "",
|
package/cli-reference.mdx
CHANGED
|
@@ -1230,6 +1230,18 @@ workspace, but also mark it as deleted from the lane, so it won't be merged late
|
|
|
1230
1230
|
| --------------- | :--------------: | ---------------------------- |
|
|
1231
1231
|
| `--id <string>` | | show a specific history item |
|
|
1232
1232
|
|
|
1233
|
+
### lane history-diff
|
|
1234
|
+
|
|
1235
|
+
**Usage**: `lane history-diff <from-history-id> <to-history-id>`
|
|
1236
|
+
|
|
1237
|
+
**Description**: EXPERIMENTAL. show diff between two lane-history ids
|
|
1238
|
+
run "bit lane history" to find these history-ids
|
|
1239
|
+
|
|
1240
|
+
| **Option** | **Option alias** | **Description** |
|
|
1241
|
+
| ------------------------------- | :--------------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
1242
|
+
| `--lane <lane-name>` | `-l` | the name of the lane to diff. if not specified, the current lane is used |
|
|
1243
|
+
| `--pattern <component-pattern>` | | show lane-diff for components conforming to the specified component-pattern only component-pattern format: 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. |
|
|
1244
|
+
|
|
1233
1245
|
### lane checkout
|
|
1234
1246
|
|
|
1235
1247
|
**Usage**: `lane checkout <history-id>`
|
package/dist/cli-reference.json
CHANGED
|
@@ -4370,6 +4370,26 @@
|
|
|
4370
4370
|
"group": "ungrouped",
|
|
4371
4371
|
"private": false
|
|
4372
4372
|
},
|
|
4373
|
+
{
|
|
4374
|
+
"name": "history-diff <from-history-id> <to-history-id>",
|
|
4375
|
+
"alias": "",
|
|
4376
|
+
"options": [
|
|
4377
|
+
[
|
|
4378
|
+
"l",
|
|
4379
|
+
"lane <lane-name>",
|
|
4380
|
+
"the name of the lane to diff. if not specified, the current lane is used"
|
|
4381
|
+
],
|
|
4382
|
+
[
|
|
4383
|
+
"",
|
|
4384
|
+
"pattern <component-pattern>",
|
|
4385
|
+
"show lane-diff for components conforming to the specified component-pattern only\ncomponent-pattern format: component name, component id, or component pattern. use component pattern to select multiple components.\nwrap the pattern with quotes. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\".\nuse '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'.\nuse `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern."
|
|
4386
|
+
]
|
|
4387
|
+
],
|
|
4388
|
+
"description": "EXPERIMENTAL. show diff between two lane-history ids",
|
|
4389
|
+
"extendedDescription": "run \"bit lane history\" to find these history-ids",
|
|
4390
|
+
"group": "ungrouped",
|
|
4391
|
+
"private": false
|
|
4392
|
+
},
|
|
4373
4393
|
{
|
|
4374
4394
|
"name": "checkout <history-id>",
|
|
4375
4395
|
"alias": "",
|
|
@@ -6402,7 +6402,68 @@ function MDXContent(_ref) {
|
|
|
6402
6402
|
}), (0, _react2.mdx)("td", {
|
|
6403
6403
|
parentName: "tr",
|
|
6404
6404
|
"align": null
|
|
6405
|
-
}, "show a specific history item")))), (0, _react2.mdx)("h3", null, "lane
|
|
6405
|
+
}, "show a specific history item")))), (0, _react2.mdx)("h3", null, "lane history-diff"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6406
|
+
parentName: "p"
|
|
6407
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
6408
|
+
parentName: "p"
|
|
6409
|
+
}, "lane history-diff <from-history-id> <to-history-id>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6410
|
+
parentName: "p"
|
|
6411
|
+
}, "Description"), ": EXPERIMENTAL. show diff between two lane-history ids", (0, _react2.mdx)("br", {
|
|
6412
|
+
parentName: "p"
|
|
6413
|
+
}), "\n", "run \"bit lane history\" to find these history-ids"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
6414
|
+
parentName: "table"
|
|
6415
|
+
}, (0, _react2.mdx)("tr", {
|
|
6416
|
+
parentName: "thead"
|
|
6417
|
+
}, (0, _react2.mdx)("th", {
|
|
6418
|
+
parentName: "tr",
|
|
6419
|
+
"align": null
|
|
6420
|
+
}, (0, _react2.mdx)("strong", {
|
|
6421
|
+
parentName: "th"
|
|
6422
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
6423
|
+
parentName: "tr",
|
|
6424
|
+
"align": "center"
|
|
6425
|
+
}, (0, _react2.mdx)("strong", {
|
|
6426
|
+
parentName: "th"
|
|
6427
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
6428
|
+
parentName: "tr",
|
|
6429
|
+
"align": null
|
|
6430
|
+
}, (0, _react2.mdx)("strong", {
|
|
6431
|
+
parentName: "th"
|
|
6432
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
6433
|
+
parentName: "table"
|
|
6434
|
+
}, (0, _react2.mdx)("tr", {
|
|
6435
|
+
parentName: "tbody"
|
|
6436
|
+
}, (0, _react2.mdx)("td", {
|
|
6437
|
+
parentName: "tr",
|
|
6438
|
+
"align": null
|
|
6439
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
6440
|
+
parentName: "td"
|
|
6441
|
+
}, "--lane <lane-name>")), (0, _react2.mdx)("td", {
|
|
6442
|
+
parentName: "tr",
|
|
6443
|
+
"align": "center"
|
|
6444
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
6445
|
+
parentName: "td"
|
|
6446
|
+
}, "-l")), (0, _react2.mdx)("td", {
|
|
6447
|
+
parentName: "tr",
|
|
6448
|
+
"align": null
|
|
6449
|
+
}, "the name of the lane to diff. if not specified, the current lane is used")), (0, _react2.mdx)("tr", {
|
|
6450
|
+
parentName: "tbody"
|
|
6451
|
+
}, (0, _react2.mdx)("td", {
|
|
6452
|
+
parentName: "tr",
|
|
6453
|
+
"align": null
|
|
6454
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
6455
|
+
parentName: "td"
|
|
6456
|
+
}, "--pattern <component-pattern>")), (0, _react2.mdx)("td", {
|
|
6457
|
+
parentName: "tr",
|
|
6458
|
+
"align": "center"
|
|
6459
|
+
}), (0, _react2.mdx)("td", {
|
|
6460
|
+
parentName: "tr",
|
|
6461
|
+
"align": null
|
|
6462
|
+
}, "show lane-diff for components conforming to the specified component-pattern only component-pattern format: 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 ", (0, _react2.mdx)("inlineCode", {
|
|
6463
|
+
parentName: "td"
|
|
6464
|
+
}, "bit pattern --help"), " to understand patterns better and ", (0, _react2.mdx)("inlineCode", {
|
|
6465
|
+
parentName: "td"
|
|
6466
|
+
}, "bit pattern <pattern>"), " to validate the pattern.")))), (0, _react2.mdx)("h3", null, "lane checkout"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
6406
6467
|
parentName: "p"
|
|
6407
6468
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
6408
6469
|
parentName: "p"
|