@teambit/harmony.content.cli-reference 2.0.453 → 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 +25 -0
- package/cli-reference.mdx +21 -8
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +25 -0
- package/dist/cli-reference.mdx.js +75 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1730344956084.js → preview-1730517501720.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -3831,6 +3831,11 @@
|
|
|
3831
3831
|
"full-message",
|
|
3832
3832
|
"show full message of the snap (default to the first line for --one-line/--parents flags)"
|
|
3833
3833
|
],
|
|
3834
|
+
[
|
|
3835
|
+
"",
|
|
3836
|
+
"show-hidden",
|
|
3837
|
+
"show hidden snaps (snaps are marked as hidden typically when the following tag has the same files/config)"
|
|
3838
|
+
],
|
|
3834
3839
|
[
|
|
3835
3840
|
"j",
|
|
3836
3841
|
"json",
|
|
@@ -4365,6 +4370,26 @@
|
|
|
4365
4370
|
"group": "ungrouped",
|
|
4366
4371
|
"private": false
|
|
4367
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
|
+
},
|
|
4368
4393
|
{
|
|
4369
4394
|
"name": "checkout <history-id>",
|
|
4370
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>`
|
|
@@ -1458,14 +1470,15 @@ this command does the following:
|
|
|
1458
1470
|
| ------- | :----------------------------: |
|
|
1459
1471
|
| `id` | component-id or component-name |
|
|
1460
1472
|
|
|
1461
|
-
| **Option** | **Option alias** | **Description**
|
|
1462
|
-
| ---------------- | :--------------: |
|
|
1463
|
-
| `--remote` | `-r` | show log of a remote component
|
|
1464
|
-
| `--parents` | | show parents and lanes data
|
|
1465
|
-
| `--one-line` | `-o` | show each log entry in one line
|
|
1466
|
-
| `--full-hash` | `-f` | show full hash of the snap (default to the first 9 characters for --one-line/--parents flags)
|
|
1467
|
-
| `--full-message` | `-m` | show full message of the snap (default to the first line for --one-line/--parents flags)
|
|
1468
|
-
| `--
|
|
1473
|
+
| **Option** | **Option alias** | **Description** |
|
|
1474
|
+
| ---------------- | :--------------: | --------------------------------------------------------------------------------------------------------- |
|
|
1475
|
+
| `--remote` | `-r` | show log of a remote component |
|
|
1476
|
+
| `--parents` | | show parents and lanes data |
|
|
1477
|
+
| `--one-line` | `-o` | show each log entry in one line |
|
|
1478
|
+
| `--full-hash` | `-f` | show full hash of the snap (default to the first 9 characters for --one-line/--parents flags) |
|
|
1479
|
+
| `--full-message` | `-m` | show full message of the snap (default to the first line for --one-line/--parents flags) |
|
|
1480
|
+
| `--show-hidden` | | show hidden snaps (snaps are marked as hidden typically when the following tag has the same files/config) |
|
|
1481
|
+
| `--json` | `-j` | json format |
|
|
1469
1482
|
|
|
1470
1483
|
---
|
|
1471
1484
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -3831,6 +3831,11 @@
|
|
|
3831
3831
|
"full-message",
|
|
3832
3832
|
"show full message of the snap (default to the first line for --one-line/--parents flags)"
|
|
3833
3833
|
],
|
|
3834
|
+
[
|
|
3835
|
+
"",
|
|
3836
|
+
"show-hidden",
|
|
3837
|
+
"show hidden snaps (snaps are marked as hidden typically when the following tag has the same files/config)"
|
|
3838
|
+
],
|
|
3834
3839
|
[
|
|
3835
3840
|
"j",
|
|
3836
3841
|
"json",
|
|
@@ -4365,6 +4370,26 @@
|
|
|
4365
4370
|
"group": "ungrouped",
|
|
4366
4371
|
"private": false
|
|
4367
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
|
+
},
|
|
4368
4393
|
{
|
|
4369
4394
|
"name": "checkout <history-id>",
|
|
4370
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"
|
|
@@ -7714,6 +7775,19 @@ function MDXContent(_ref) {
|
|
|
7714
7775
|
"align": null
|
|
7715
7776
|
}, (0, _react2.mdx)("inlineCode", {
|
|
7716
7777
|
parentName: "td"
|
|
7778
|
+
}, "--show-hidden")), (0, _react2.mdx)("td", {
|
|
7779
|
+
parentName: "tr",
|
|
7780
|
+
"align": "center"
|
|
7781
|
+
}), (0, _react2.mdx)("td", {
|
|
7782
|
+
parentName: "tr",
|
|
7783
|
+
"align": null
|
|
7784
|
+
}, "show hidden snaps (snaps are marked as hidden typically when the following tag has the same files/config)")), (0, _react2.mdx)("tr", {
|
|
7785
|
+
parentName: "tbody"
|
|
7786
|
+
}, (0, _react2.mdx)("td", {
|
|
7787
|
+
parentName: "tr",
|
|
7788
|
+
"align": null
|
|
7789
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
7790
|
+
parentName: "td"
|
|
7717
7791
|
}, "--json")), (0, _react2.mdx)("td", {
|
|
7718
7792
|
parentName: "tr",
|
|
7719
7793
|
"align": "center"
|