@teambit/harmony.content.cli-reference 2.0.853 → 2.0.855
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 +11 -1
- package/cli-reference.mdx +5 -4
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +11 -1
- package/dist/cli-reference.mdx.js +17 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1764602297527.js → preview-1764617728298.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -939,12 +939,18 @@
|
|
|
939
939
|
"j",
|
|
940
940
|
"json",
|
|
941
941
|
"return the output as JSON"
|
|
942
|
+
],
|
|
943
|
+
[
|
|
944
|
+
"r",
|
|
945
|
+
"remote",
|
|
946
|
+
"query a remote scope (the pattern must start with the scope name, e.g. \"scope-name/**\")"
|
|
942
947
|
]
|
|
943
948
|
],
|
|
944
949
|
"description": "test and validate component patterns",
|
|
945
950
|
"extendedDescription": "this command helps validating a pattern before using it in other commands.\nNOTE: always wrap the pattern with quotes to avoid collision with shell commands. depending on your shell, it might be single or double quotes.\na pattern can be a simple component-id or component-name. e.g. 'ui/button'.\na pattern can be used with wildcards for multiple component ids, e.g. 'org.scope/utils/**' or '**/utils/**' to capture all org/scopes.\nto enter multiple patterns, separate them by a comma, e.g. 'ui/*, lib/*'\nto exclude, use '!'. e.g. 'ui/**, !ui/button'\nthe matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch).\n\nto filter by a state or attribute, prefix the pattern with \"$\". e.g. '$deprecated', '$modified'.\nlist of supported states: [new, modified, deprecated, deleted, snappedOnMain, softTagged, codeModified, localOnly].\nto filter by multi-params state/attribute, separate the params with \":\", e.g. '$env:teambit.react/react'.\nlist of supported multi-params states: [env].\nto match a state and another criteria, use \" AND \" keyword. e.g. '$modified AND teambit.workspace/** AND $env:teambit.react/react'.\n",
|
|
946
951
|
"group": "info-analysis",
|
|
947
952
|
"private": false,
|
|
953
|
+
"remoteOp": true,
|
|
948
954
|
"examples": [
|
|
949
955
|
{
|
|
950
956
|
"cmd": "bit pattern '**'",
|
|
@@ -965,6 +971,10 @@
|
|
|
965
971
|
{
|
|
966
972
|
"cmd": "bit pattern 'my-scope.org/**'",
|
|
967
973
|
"description": "matches all components of the scope \"my-scope.org\""
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"cmd": "bit pattern --remote 'teambit.workspace/**'",
|
|
977
|
+
"description": "matches all components from the remote scope \"teambit.workspace\""
|
|
968
978
|
}
|
|
969
979
|
]
|
|
970
980
|
},
|
|
@@ -2254,7 +2264,7 @@
|
|
|
2254
2264
|
[
|
|
2255
2265
|
"",
|
|
2256
2266
|
"lane",
|
|
2257
|
-
"when on a lane, delete the component from this lane only.
|
|
2267
|
+
"when on a lane, delete the component from this lane only. this removal will not affect main when the lane is merged"
|
|
2258
2268
|
],
|
|
2259
2269
|
[
|
|
2260
2270
|
"",
|
package/cli-reference.mdx
CHANGED
|
@@ -552,7 +552,7 @@ to remove components from your local workspace only, use "bit remove" instead.
|
|
|
552
552
|
|
|
553
553
|
| **Option** | **Option alias** | **Description** |
|
|
554
554
|
| ------------------ | :--------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
555
|
-
| `--lane` | | when on a lane, delete the component from this lane only.
|
|
555
|
+
| `--lane` | | when on a lane, delete the component from this lane only. this removal will not affect main when the lane is merged |
|
|
556
556
|
| `--update-main` | | delete component/s on the main lane after merging this lane into main |
|
|
557
557
|
| `--range <string>` | | EXPERIMENTAL. enter a Semver range to delete specific tags (cannot be used for snaps). see https://www.npmjs.com/package/semver#ranges for the range syntax |
|
|
558
558
|
| `--silent` | `-s` | skip confirmation |
|
|
@@ -1906,9 +1906,10 @@ to match a state and another criteria, use " AND " keyword. e.g. '$modified AND
|
|
|
1906
1906
|
|
|
1907
1907
|
`bit pattern <pattern>`
|
|
1908
1908
|
|
|
1909
|
-
| **Option** | **Option alias** | **Description**
|
|
1910
|
-
| ---------- | :--------------: |
|
|
1911
|
-
| `--json` | `-j` | return the output as JSON
|
|
1909
|
+
| **Option** | **Option alias** | **Description** |
|
|
1910
|
+
| ---------- | :--------------: | ----------------------------------------------------------------------------------------- |
|
|
1911
|
+
| `--json` | `-j` | return the output as JSON |
|
|
1912
|
+
| `--remote` | `-r` | query a remote scope (the pattern must start with the scope name, e.g. "scope-name/\*\*") |
|
|
1912
1913
|
|
|
1913
1914
|
---
|
|
1914
1915
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -939,12 +939,18 @@
|
|
|
939
939
|
"j",
|
|
940
940
|
"json",
|
|
941
941
|
"return the output as JSON"
|
|
942
|
+
],
|
|
943
|
+
[
|
|
944
|
+
"r",
|
|
945
|
+
"remote",
|
|
946
|
+
"query a remote scope (the pattern must start with the scope name, e.g. \"scope-name/**\")"
|
|
942
947
|
]
|
|
943
948
|
],
|
|
944
949
|
"description": "test and validate component patterns",
|
|
945
950
|
"extendedDescription": "this command helps validating a pattern before using it in other commands.\nNOTE: always wrap the pattern with quotes to avoid collision with shell commands. depending on your shell, it might be single or double quotes.\na pattern can be a simple component-id or component-name. e.g. 'ui/button'.\na pattern can be used with wildcards for multiple component ids, e.g. 'org.scope/utils/**' or '**/utils/**' to capture all org/scopes.\nto enter multiple patterns, separate them by a comma, e.g. 'ui/*, lib/*'\nto exclude, use '!'. e.g. 'ui/**, !ui/button'\nthe matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch).\n\nto filter by a state or attribute, prefix the pattern with \"$\". e.g. '$deprecated', '$modified'.\nlist of supported states: [new, modified, deprecated, deleted, snappedOnMain, softTagged, codeModified, localOnly].\nto filter by multi-params state/attribute, separate the params with \":\", e.g. '$env:teambit.react/react'.\nlist of supported multi-params states: [env].\nto match a state and another criteria, use \" AND \" keyword. e.g. '$modified AND teambit.workspace/** AND $env:teambit.react/react'.\n",
|
|
946
951
|
"group": "info-analysis",
|
|
947
952
|
"private": false,
|
|
953
|
+
"remoteOp": true,
|
|
948
954
|
"examples": [
|
|
949
955
|
{
|
|
950
956
|
"cmd": "bit pattern '**'",
|
|
@@ -965,6 +971,10 @@
|
|
|
965
971
|
{
|
|
966
972
|
"cmd": "bit pattern 'my-scope.org/**'",
|
|
967
973
|
"description": "matches all components of the scope \"my-scope.org\""
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"cmd": "bit pattern --remote 'teambit.workspace/**'",
|
|
977
|
+
"description": "matches all components from the remote scope \"teambit.workspace\""
|
|
968
978
|
}
|
|
969
979
|
]
|
|
970
980
|
},
|
|
@@ -2254,7 +2264,7 @@
|
|
|
2254
2264
|
[
|
|
2255
2265
|
"",
|
|
2256
2266
|
"lane",
|
|
2257
|
-
"when on a lane, delete the component from this lane only.
|
|
2267
|
+
"when on a lane, delete the component from this lane only. this removal will not affect main when the lane is merged"
|
|
2258
2268
|
],
|
|
2259
2269
|
[
|
|
2260
2270
|
"",
|
|
@@ -2874,7 +2874,7 @@ function MDXContent(_ref) {
|
|
|
2874
2874
|
}), (0, _react2.mdx)("td", {
|
|
2875
2875
|
parentName: "tr",
|
|
2876
2876
|
"align": null
|
|
2877
|
-
}, "when on a lane, delete the component from this lane only.
|
|
2877
|
+
}, "when on a lane, delete the component from this lane only. this removal will not affect main when the lane is merged")), (0, _react2.mdx)("tr", {
|
|
2878
2878
|
parentName: "tbody"
|
|
2879
2879
|
}, (0, _react2.mdx)("td", {
|
|
2880
2880
|
parentName: "tr",
|
|
@@ -10087,7 +10087,22 @@ function MDXContent(_ref) {
|
|
|
10087
10087
|
}, "-j")), (0, _react2.mdx)("td", {
|
|
10088
10088
|
parentName: "tr",
|
|
10089
10089
|
"align": null
|
|
10090
|
-
}, "return the output as JSON"))
|
|
10090
|
+
}, "return the output as JSON")), (0, _react2.mdx)("tr", {
|
|
10091
|
+
parentName: "tbody"
|
|
10092
|
+
}, (0, _react2.mdx)("td", {
|
|
10093
|
+
parentName: "tr",
|
|
10094
|
+
"align": null
|
|
10095
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
10096
|
+
parentName: "td"
|
|
10097
|
+
}, "--remote")), (0, _react2.mdx)("td", {
|
|
10098
|
+
parentName: "tr",
|
|
10099
|
+
"align": "center"
|
|
10100
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
10101
|
+
parentName: "td"
|
|
10102
|
+
}, "-r")), (0, _react2.mdx)("td", {
|
|
10103
|
+
parentName: "tr",
|
|
10104
|
+
"align": null
|
|
10105
|
+
}, "query a remote scope (the pattern must start with the scope name, e.g. \"scope-name/", "*", "*", "\")")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "recover"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
10091
10106
|
parentName: "p"
|
|
10092
10107
|
}, "Description"), ": restore soft-deleted components", (0, _react2.mdx)("br", {
|
|
10093
10108
|
parentName: "p"
|