@teambit/harmony.content.cli-reference 1.95.161 → 1.95.162
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.json +10 -0
- package/cli-reference.mdx +2 -0
- package/dist/cli-reference.json +10 -0
- package/dist/cli-reference.mdx.js +29 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1687922429426.js → preview-1688181390351.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.162.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.161.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -1933,6 +1933,11 @@
|
|
|
1933
1933
|
"",
|
|
1934
1934
|
"track-only",
|
|
1935
1935
|
"do not write any file, just create .bitmap entries of the imported components"
|
|
1936
|
+
],
|
|
1937
|
+
[
|
|
1938
|
+
"",
|
|
1939
|
+
"include-deprecated",
|
|
1940
|
+
"when importing with patterns, include deprecated components (default to exclude them)"
|
|
1936
1941
|
]
|
|
1937
1942
|
],
|
|
1938
1943
|
"description": "import components from their remote scopes to the local workspace",
|
|
@@ -4250,6 +4255,11 @@
|
|
|
4250
4255
|
"skip-dependency-installation",
|
|
4251
4256
|
"do not install packages of the imported components"
|
|
4252
4257
|
],
|
|
4258
|
+
[
|
|
4259
|
+
"e",
|
|
4260
|
+
"env <string>",
|
|
4261
|
+
"set the environment for the new component"
|
|
4262
|
+
],
|
|
4253
4263
|
[
|
|
4254
4264
|
"",
|
|
4255
4265
|
"skip-config",
|
package/cli-reference.mdx
CHANGED
|
@@ -616,6 +616,7 @@ bit export => export all staged components to their current scope, if checked ou
|
|
|
616
616
|
| `--path <string>` | `-p` | relative path in the workspace for the new component. by default the path is `<scope>/<namespace>/<name>` |
|
|
617
617
|
| `--refactor` | `-r` | update the import/require statements in all dependent components (in the same workspace) |
|
|
618
618
|
| `--skip-dependency-installation` | `-x` | do not install packages of the imported components |
|
|
619
|
+
| `--env <string>` | `-e` | set the environment for the new component |
|
|
619
620
|
| `--skip-config` | | do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading |
|
|
620
621
|
| `--preserve` | | avoid renaming files and variables/classes according to the new component name |
|
|
621
622
|
| `--no-link` | | avoid saving a reference to the original component |
|
|
@@ -699,6 +700,7 @@ bit export => export all staged components to their current scope, if checked ou
|
|
|
699
700
|
| `--all-history` | | relevant for fetching all components objects. avoid optimizations, fetch all history versions, always |
|
|
700
701
|
| `--fetch-deps` | | fetch dependencies objects |
|
|
701
702
|
| `--track-only` | | do not write any file, just create .bitmap entries of the imported components |
|
|
703
|
+
| `--include-deprecated` | | when importing with patterns, include deprecated components (default to exclude them) |
|
|
702
704
|
|
|
703
705
|
---
|
|
704
706
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -1933,6 +1933,11 @@
|
|
|
1933
1933
|
"",
|
|
1934
1934
|
"track-only",
|
|
1935
1935
|
"do not write any file, just create .bitmap entries of the imported components"
|
|
1936
|
+
],
|
|
1937
|
+
[
|
|
1938
|
+
"",
|
|
1939
|
+
"include-deprecated",
|
|
1940
|
+
"when importing with patterns, include deprecated components (default to exclude them)"
|
|
1936
1941
|
]
|
|
1937
1942
|
],
|
|
1938
1943
|
"description": "import components from their remote scopes to the local workspace",
|
|
@@ -4250,6 +4255,11 @@
|
|
|
4250
4255
|
"skip-dependency-installation",
|
|
4251
4256
|
"do not install packages of the imported components"
|
|
4252
4257
|
],
|
|
4258
|
+
[
|
|
4259
|
+
"e",
|
|
4260
|
+
"env <string>",
|
|
4261
|
+
"set the environment for the new component"
|
|
4262
|
+
],
|
|
4253
4263
|
[
|
|
4254
4264
|
"",
|
|
4255
4265
|
"skip-config",
|
|
@@ -2510,6 +2510,21 @@ function MDXContent(_ref) {
|
|
|
2510
2510
|
"align": null
|
|
2511
2511
|
}, (0, _react2.mdx)("inlineCode", {
|
|
2512
2512
|
parentName: "td"
|
|
2513
|
+
}, "--env <string>")), (0, _react2.mdx)("td", {
|
|
2514
|
+
parentName: "tr",
|
|
2515
|
+
"align": "center"
|
|
2516
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2517
|
+
parentName: "td"
|
|
2518
|
+
}, "-e")), (0, _react2.mdx)("td", {
|
|
2519
|
+
parentName: "tr",
|
|
2520
|
+
"align": null
|
|
2521
|
+
}, "set the environment for the new component")), (0, _react2.mdx)("tr", {
|
|
2522
|
+
parentName: "tbody"
|
|
2523
|
+
}, (0, _react2.mdx)("td", {
|
|
2524
|
+
parentName: "tr",
|
|
2525
|
+
"align": null
|
|
2526
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2527
|
+
parentName: "td"
|
|
2513
2528
|
}, "--skip-config")), (0, _react2.mdx)("td", {
|
|
2514
2529
|
parentName: "tr",
|
|
2515
2530
|
"align": "center"
|
|
@@ -3013,7 +3028,20 @@ function MDXContent(_ref) {
|
|
|
3013
3028
|
}), (0, _react2.mdx)("td", {
|
|
3014
3029
|
parentName: "tr",
|
|
3015
3030
|
"align": null
|
|
3016
|
-
}, "do not write any file, just create .bitmap entries of the imported components"))
|
|
3031
|
+
}, "do not write any file, just create .bitmap entries of the imported components")), (0, _react2.mdx)("tr", {
|
|
3032
|
+
parentName: "tbody"
|
|
3033
|
+
}, (0, _react2.mdx)("td", {
|
|
3034
|
+
parentName: "tr",
|
|
3035
|
+
"align": null
|
|
3036
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
3037
|
+
parentName: "td"
|
|
3038
|
+
}, "--include-deprecated")), (0, _react2.mdx)("td", {
|
|
3039
|
+
parentName: "tr",
|
|
3040
|
+
"align": "center"
|
|
3041
|
+
}), (0, _react2.mdx)("td", {
|
|
3042
|
+
parentName: "tr",
|
|
3043
|
+
"align": null
|
|
3044
|
+
}, "when importing with patterns, include deprecated components (default to exclude them)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "init"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
3017
3045
|
parentName: "p"
|
|
3018
3046
|
}, "Description"), ": create or reinitialize an empty workspace", (0, _react2.mdx)("br", {
|
|
3019
3047
|
parentName: "p"
|