@teambit/harmony.content.cli-reference 1.95.21 → 1.95.22
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.mdx +6 -3
- package/dist/cli-reference.mdx.js +6 -4
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.22.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1652844422371.js → preview-1652930732694.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.21.tgz +0 -0
package/cli-reference.mdx
CHANGED
|
@@ -1021,10 +1021,13 @@ alternatively, exporting to any one of the failed scopes, throws server-is-busy
|
|
|
1021
1021
|
|
|
1022
1022
|
### scope set
|
|
1023
1023
|
|
|
1024
|
-
**Usage**: `scope set <
|
|
1024
|
+
**Usage**: `scope set <scope-name> [pattern]`
|
|
1025
1025
|
|
|
1026
|
-
**Description**: set
|
|
1027
|
-
|
|
1026
|
+
**Description**: set the default-scope
|
|
1027
|
+
set a new scope in the workspace.jsonc.
|
|
1028
|
+
if "pattern" is provided, the default-scope will be set to the new components matching the criteria.
|
|
1029
|
+
|
|
1030
|
+
you can use a `<pattern>` for multiple component ids, such as `bit scope set scope-name "org.scope/utils/**"`. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button"
|
|
1028
1031
|
always wrap the pattern with quotes to avoid collision with shell commands.
|
|
1029
1032
|
to validate the pattern before running this command, run `bit pattern <pattern>`.
|
|
1030
1033
|
|
|
@@ -4581,15 +4581,17 @@ function MDXContent(_ref) {
|
|
|
4581
4581
|
parentName: "p"
|
|
4582
4582
|
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
4583
4583
|
parentName: "p"
|
|
4584
|
-
}, "scope set <
|
|
4584
|
+
}, "scope set <scope-name> [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
4585
4585
|
parentName: "p"
|
|
4586
|
-
}, "Description"), ": set
|
|
4586
|
+
}, "Description"), ": set the default-scope", (0, _react2.mdx)("br", {
|
|
4587
4587
|
parentName: "p"
|
|
4588
|
-
}), "\n", "
|
|
4588
|
+
}), "\n", "set a new scope in the workspace.jsonc.", (0, _react2.mdx)("br", {
|
|
4589
|
+
parentName: "p"
|
|
4590
|
+
}), "\n", "if \"pattern\" is provided, the default-scope will be set to the new components matching the criteria."), (0, _react2.mdx)("p", null, "you can use a ", (0, _react2.mdx)("inlineCode", {
|
|
4589
4591
|
parentName: "p"
|
|
4590
4592
|
}, "<pattern>"), " for multiple component ids, such as ", (0, _react2.mdx)("inlineCode", {
|
|
4591
4593
|
parentName: "p"
|
|
4592
|
-
}, "bit scope set \"org.scope/utils/**\""), ". use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\"", (0, _react2.mdx)("br", {
|
|
4594
|
+
}, "bit scope set scope-name \"org.scope/utils/**\""), ". use comma to separate patterns and \"!\" to exclude. e.g. \"ui/", "*", "*", ", !ui/button\"", (0, _react2.mdx)("br", {
|
|
4593
4595
|
parentName: "p"
|
|
4594
4596
|
}), "\n", "always wrap the pattern with quotes to avoid collision with shell commands.", (0, _react2.mdx)("br", {
|
|
4595
4597
|
parentName: "p"
|