@teambit/harmony.content.cli-reference 2.0.431 → 2.0.433
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 +2 -2
- package/cli-reference.mdx +2 -2
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +2 -2
- package/dist/cli-reference.mdx.js +2 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1728271406903.js → preview-1728811165912.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1158,7 +1158,7 @@
|
|
|
1158
1158
|
]
|
|
1159
1159
|
],
|
|
1160
1160
|
"description": "list the component ids matching the given pattern",
|
|
1161
|
-
"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/**
|
|
1161
|
+
"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",
|
|
1162
1162
|
"group": "development",
|
|
1163
1163
|
"private": false,
|
|
1164
1164
|
"examples": [
|
|
@@ -2391,7 +2391,7 @@
|
|
|
2391
2391
|
"arguments": [
|
|
2392
2392
|
{
|
|
2393
2393
|
"name": "package-patterns...",
|
|
2394
|
-
"description": "a string list of package names, or patterns (separated by spaces or commas), e.g. \"@teambit/**,@my-org/ui
|
|
2394
|
+
"description": "a string list of package names, or patterns (separated by spaces or commas), e.g. \"@teambit/**,@my-org/ui.**\". The patterns should be in glob format. By default, all packages are selected."
|
|
2395
2395
|
}
|
|
2396
2396
|
]
|
|
2397
2397
|
},
|
package/cli-reference.mdx
CHANGED
|
@@ -1621,7 +1621,7 @@ to filter by a state or attribute, prefix the pattern with "$". e.g. '$deprecate
|
|
|
1621
1621
|
list of supported states: [new, modified, deprecated, deleted, snappedOnMain, softTagged, codeModified, localOnly].
|
|
1622
1622
|
to filter by multi-params state/attribute, separate the params with ":", e.g. '$env:teambit.react/react'.
|
|
1623
1623
|
list of supported multi-params states: [env].
|
|
1624
|
-
to match a state and another criteria, use " AND " keyword. e.g. '$modified AND teambit.workspace/\*\*
|
|
1624
|
+
to match a state and another criteria, use " AND " keyword. e.g. '$modified AND teambit.workspace/\*\* AND $env:teambit.react/react'.
|
|
1625
1625
|
|
|
1626
1626
|
`bit pattern <pattern>`
|
|
1627
1627
|
|
|
@@ -2208,7 +2208,7 @@ list components templates when inside bit-workspace (for bit-create), otherwise,
|
|
|
2208
2208
|
|
|
2209
2209
|
| **Arg** | **Description** |
|
|
2210
2210
|
| --------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
2211
|
-
| `package-patterns...` | a string list of package names, or patterns (separated by spaces or commas), e.g. "@teambit/**,@my-org/ui
|
|
2211
|
+
| `package-patterns...` | a string list of package names, or patterns (separated by spaces or commas), e.g. "@teambit/**,@my-org/ui.**". The patterns should be in glob format. By default, all packages are selected. |
|
|
2212
2212
|
|
|
2213
2213
|
| **Option** | **Option alias** | **Description** |
|
|
2214
2214
|
| ---------- | :--------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
package/dist/cli-reference.json
CHANGED
|
@@ -1158,7 +1158,7 @@
|
|
|
1158
1158
|
]
|
|
1159
1159
|
],
|
|
1160
1160
|
"description": "list the component ids matching the given pattern",
|
|
1161
|
-
"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/**
|
|
1161
|
+
"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",
|
|
1162
1162
|
"group": "development",
|
|
1163
1163
|
"private": false,
|
|
1164
1164
|
"examples": [
|
|
@@ -2391,7 +2391,7 @@
|
|
|
2391
2391
|
"arguments": [
|
|
2392
2392
|
{
|
|
2393
2393
|
"name": "package-patterns...",
|
|
2394
|
-
"description": "a string list of package names, or patterns (separated by spaces or commas), e.g. \"@teambit/**,@my-org/ui
|
|
2394
|
+
"description": "a string list of package names, or patterns (separated by spaces or commas), e.g. \"@teambit/**,@my-org/ui.**\". The patterns should be in glob format. By default, all packages are selected."
|
|
2395
2395
|
}
|
|
2396
2396
|
]
|
|
2397
2397
|
},
|
|
@@ -8509,7 +8509,7 @@ function MDXContent(_ref) {
|
|
|
8509
8509
|
parentName: "p"
|
|
8510
8510
|
}), "\n", "list of supported multi-params states: ", "[env]", ".", (0, _react2.mdx)("br", {
|
|
8511
8511
|
parentName: "p"
|
|
8512
|
-
}), "\n", "to match a state and another criteria, use \" AND \" keyword. e.g. '$modified AND teambit.workspace/", "*", "*", "
|
|
8512
|
+
}), "\n", "to match a state and another criteria, use \" AND \" keyword. e.g. '$modified AND teambit.workspace/", "*", "*", " AND $env:teambit.react/react'."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
8513
8513
|
parentName: "p"
|
|
8514
8514
|
}, "bit pattern <pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
8515
8515
|
parentName: "table"
|
|
@@ -11571,7 +11571,7 @@ function MDXContent(_ref) {
|
|
|
11571
11571
|
"align": "center"
|
|
11572
11572
|
}, "a string list of package names, or patterns (separated by spaces or commas), e.g. \"@teambit/", (0, _react2.mdx)("strong", {
|
|
11573
11573
|
parentName: "td"
|
|
11574
|
-
}, ",@my-org/ui
|
|
11574
|
+
}, ",@my-org/ui."), "\". The patterns should be in glob format. By default, all packages are selected.")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
11575
11575
|
parentName: "table"
|
|
11576
11576
|
}, (0, _react2.mdx)("tr", {
|
|
11577
11577
|
parentName: "thead"
|