@teambit/harmony.content.cli-reference 2.0.71 → 2.0.73
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 +1 -1
- package/cli-reference.mdx +8 -2
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +1 -1
- package/dist/cli-reference.mdx.js +10 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1700991709206.js → preview-1701228028835.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1272,7 +1272,7 @@
|
|
|
1272
1272
|
]
|
|
1273
1273
|
],
|
|
1274
1274
|
"description": "list the component ids matching the given pattern",
|
|
1275
|
-
"extendedDescription": "this command helps validating a pattern before using it in other commands.\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)\
|
|
1275
|
+
"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].\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/**'. note that the state must be first.\n",
|
|
1276
1276
|
"group": "development",
|
|
1277
1277
|
"private": false,
|
|
1278
1278
|
"examples": [
|
package/cli-reference.mdx
CHANGED
|
@@ -1424,12 +1424,18 @@ move files or directories of component(s)
|
|
|
1424
1424
|
|
|
1425
1425
|
**Description**: list the component ids matching the given pattern
|
|
1426
1426
|
this command helps validating a pattern before using it in other commands.
|
|
1427
|
+
NOTE: always wrap the pattern with quotes to avoid collision with shell commands. depending on your shell, it might be single or double quotes.
|
|
1427
1428
|
a pattern can be a simple component-id or component-name. e.g. 'ui/button'.
|
|
1428
1429
|
a pattern can be used with wildcards for multiple component ids, e.g. 'org.scope/utils/**' or '**/utils/**' to capture all org/scopes.
|
|
1429
1430
|
to enter multiple patterns, separate them by a comma, e.g. 'ui/_, lib/_'
|
|
1430
1431
|
to exclude, use '!'. e.g. 'ui/**, !ui/button'
|
|
1431
|
-
the matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch)
|
|
1432
|
-
|
|
1432
|
+
the matching algorithm is from multimatch (@see https://github.com/sindresorhus/multimatch).
|
|
1433
|
+
|
|
1434
|
+
to filter by a state or attribute, prefix the pattern with "$". e.g. '$deprecated', '$modified'.
|
|
1435
|
+
list of supported states: [new, modified, deprecated, deleted, snappedOnMain, softTagged, codeModified].
|
|
1436
|
+
to filter by multi-params state/attribute, separate the params with ":", e.g. '$env:teambit.react/react'.
|
|
1437
|
+
list of supported multi-params states: [env].
|
|
1438
|
+
to match a state and another criteria, use " AND " keyword. e.g. '$modified AND teambit.workspace/\*\*'. note that the state must be first.
|
|
1433
1439
|
|
|
1434
1440
|
`bit pattern <pattern>`
|
|
1435
1441
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -1272,7 +1272,7 @@
|
|
|
1272
1272
|
]
|
|
1273
1273
|
],
|
|
1274
1274
|
"description": "list the component ids matching the given pattern",
|
|
1275
|
-
"extendedDescription": "this command helps validating a pattern before using it in other commands.\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)\
|
|
1275
|
+
"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].\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/**'. note that the state must be first.\n",
|
|
1276
1276
|
"group": "development",
|
|
1277
1277
|
"private": false,
|
|
1278
1278
|
"examples": [
|
|
@@ -7407,6 +7407,8 @@ function MDXContent(_ref) {
|
|
|
7407
7407
|
parentName: "p"
|
|
7408
7408
|
}), "\n", "this command helps validating a pattern before using it in other commands.", (0, _react2.mdx)("br", {
|
|
7409
7409
|
parentName: "p"
|
|
7410
|
+
}), "\n", "NOTE: always wrap the pattern with quotes to avoid collision with shell commands. depending on your shell, it might be single or double quotes.", (0, _react2.mdx)("br", {
|
|
7411
|
+
parentName: "p"
|
|
7410
7412
|
}), "\n", "a pattern can be a simple component-id or component-name. e.g. 'ui/button'.", (0, _react2.mdx)("br", {
|
|
7411
7413
|
parentName: "p"
|
|
7412
7414
|
}), "\n", "a pattern can be used with wildcards for multiple component ids, e.g. 'org.scope/utils/", (0, _react2.mdx)("strong", {
|
|
@@ -7424,9 +7426,15 @@ function MDXContent(_ref) {
|
|
|
7424
7426
|
}), "\n", "the matching algorithm is from multimatch (@see ", (0, _react2.mdx)("a", {
|
|
7425
7427
|
parentName: "p",
|
|
7426
7428
|
"href": "https://github.com/sindresorhus/multimatch"
|
|
7427
|
-
}, "https://github.com/sindresorhus/multimatch"), ")", (0, _react2.mdx)("br", {
|
|
7429
|
+
}, "https://github.com/sindresorhus/multimatch"), ")."), (0, _react2.mdx)("p", null, "to filter by a state or attribute, prefix the pattern with \"$\". e.g. '$deprecated', '$modified'.", (0, _react2.mdx)("br", {
|
|
7430
|
+
parentName: "p"
|
|
7431
|
+
}), "\n", "list of supported states: ", "[new, modified, deprecated, deleted, snappedOnMain, softTagged, codeModified]", ".", (0, _react2.mdx)("br", {
|
|
7432
|
+
parentName: "p"
|
|
7433
|
+
}), "\n", "to filter by multi-params state/attribute, separate the params with \":\", e.g. '$env:teambit.react/react'.", (0, _react2.mdx)("br", {
|
|
7434
|
+
parentName: "p"
|
|
7435
|
+
}), "\n", "list of supported multi-params states: ", "[env]", ".", (0, _react2.mdx)("br", {
|
|
7428
7436
|
parentName: "p"
|
|
7429
|
-
}), "\n", "
|
|
7437
|
+
}), "\n", "to match a state and another criteria, use \" AND \" keyword. e.g. '$modified AND teambit.workspace/", "*", "*", "'. note that the state must be first."), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7430
7438
|
parentName: "p"
|
|
7431
7439
|
}, "bit pattern <pattern>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
7432
7440
|
parentName: "table"
|