@teambit/harmony.content.cli-reference 2.0.33 → 2.0.37
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 +5 -0
- package/cli-reference.mdx +1 -0
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +5 -0
- package/dist/cli-reference.mdx.js +13 -0
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1697841196686.js → preview-1697967848227.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -2118,6 +2118,11 @@
|
|
|
2118
2118
|
"dependents",
|
|
2119
2119
|
"import components found while traversing from the imported components upwards to the workspace components"
|
|
2120
2120
|
],
|
|
2121
|
+
[
|
|
2122
|
+
"",
|
|
2123
|
+
"filter-envs <envs>",
|
|
2124
|
+
"only import components that have the specified environment (e.g., \"teambit.react/react-env\")"
|
|
2125
|
+
],
|
|
2121
2126
|
[
|
|
2122
2127
|
"",
|
|
2123
2128
|
"save-in-lane",
|
package/cli-reference.mdx
CHANGED
|
@@ -899,6 +899,7 @@ bit export => export all staged snaps/tags of components to their remote scope.
|
|
|
899
899
|
| `--merge [strategy]` | `-m` | merge local changes with the imported version. strategy should be "theirs", "ours" or "manual" |
|
|
900
900
|
| `--dependencies` | | import all dependencies (bit components only) of imported components and write them to the workspace |
|
|
901
901
|
| `--dependents` | | import components found while traversing from the imported components upwards to the workspace components |
|
|
902
|
+
| `--filter-envs <envs>` | | only import components that have the specified environment (e.g., "teambit.react/react-env") |
|
|
902
903
|
| `--save-in-lane` | | when checked out to a lane and the component is not on the remote-lane, save it in the lane (defaults to save on main) |
|
|
903
904
|
| `--all-history` | | relevant for fetching all components objects. avoid optimizations, fetch all history versions, always |
|
|
904
905
|
| `--fetch-deps` | | fetch dependencies (bit components) objects to the local scope, but dont add to the workspace. Useful to resolve errors about missing dependency data |
|
package/dist/cli-reference.json
CHANGED
|
@@ -2118,6 +2118,11 @@
|
|
|
2118
2118
|
"dependents",
|
|
2119
2119
|
"import components found while traversing from the imported components upwards to the workspace components"
|
|
2120
2120
|
],
|
|
2121
|
+
[
|
|
2122
|
+
"",
|
|
2123
|
+
"filter-envs <envs>",
|
|
2124
|
+
"only import components that have the specified environment (e.g., \"teambit.react/react-env\")"
|
|
2125
|
+
],
|
|
2121
2126
|
[
|
|
2122
2127
|
"",
|
|
2123
2128
|
"save-in-lane",
|
|
@@ -4223,6 +4223,19 @@ function MDXContent(_ref) {
|
|
|
4223
4223
|
"align": null
|
|
4224
4224
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4225
4225
|
parentName: "td"
|
|
4226
|
+
}, "--filter-envs <envs>")), (0, _react2.mdx)("td", {
|
|
4227
|
+
parentName: "tr",
|
|
4228
|
+
"align": "center"
|
|
4229
|
+
}), (0, _react2.mdx)("td", {
|
|
4230
|
+
parentName: "tr",
|
|
4231
|
+
"align": null
|
|
4232
|
+
}, "only import components that have the specified environment (e.g., \"teambit.react/react-env\")")), (0, _react2.mdx)("tr", {
|
|
4233
|
+
parentName: "tbody"
|
|
4234
|
+
}, (0, _react2.mdx)("td", {
|
|
4235
|
+
parentName: "tr",
|
|
4236
|
+
"align": null
|
|
4237
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4238
|
+
parentName: "td"
|
|
4226
4239
|
}, "--save-in-lane")), (0, _react2.mdx)("td", {
|
|
4227
4240
|
parentName: "tr",
|
|
4228
4241
|
"align": "center"
|