@teambit/harmony.content.cli-reference 1.95.35 → 1.95.36
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 +1 -25
- package/cli-reference.mdx +1 -5
- package/dist/cli-reference.json +1 -25
- package/dist/cli-reference.mdx.js +1 -61
- package/dist/cli-reference.mdx.js.map +1 -1
- package/package-tar/teambit-harmony.content.cli-reference-1.95.36.tgz +0 -0
- package/package.json +2 -2
- package/{preview-1656339215962.js → preview-1656386921357.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.35.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -3128,7 +3128,7 @@
|
|
|
3128
3128
|
"remoteOp": true
|
|
3129
3129
|
},
|
|
3130
3130
|
{
|
|
3131
|
-
"name": "export [
|
|
3131
|
+
"name": "export [component-names...]",
|
|
3132
3132
|
"alias": "e",
|
|
3133
3133
|
"options": [
|
|
3134
3134
|
[
|
|
@@ -3141,26 +3141,6 @@
|
|
|
3141
3141
|
"all",
|
|
3142
3142
|
"export all components, including non-staged"
|
|
3143
3143
|
],
|
|
3144
|
-
[
|
|
3145
|
-
"d",
|
|
3146
|
-
"include-dependencies",
|
|
3147
|
-
"LEGACY ONLY. include the component's dependencies as part of the export to the remote scope"
|
|
3148
|
-
],
|
|
3149
|
-
[
|
|
3150
|
-
"s",
|
|
3151
|
-
"set-current-scope",
|
|
3152
|
-
"LEGACY ONLY. ensure the component's remote scope is set according to the target location"
|
|
3153
|
-
],
|
|
3154
|
-
[
|
|
3155
|
-
"r",
|
|
3156
|
-
"rewire",
|
|
3157
|
-
"LEGACY ONLY. when exporting to a different or new scope, replace import/require statements in the source code to match the new scope"
|
|
3158
|
-
],
|
|
3159
|
-
[
|
|
3160
|
-
"f",
|
|
3161
|
-
"force",
|
|
3162
|
-
"force changing a component remote without asking for a confirmation"
|
|
3163
|
-
],
|
|
3164
3144
|
[
|
|
3165
3145
|
"",
|
|
3166
3146
|
"all-versions",
|
|
@@ -3193,10 +3173,6 @@
|
|
|
3193
3173
|
"private": false,
|
|
3194
3174
|
"remoteOp": true,
|
|
3195
3175
|
"arguments": [
|
|
3196
|
-
{
|
|
3197
|
-
"name": "remote",
|
|
3198
|
-
"description": "LEGACY ONLY."
|
|
3199
|
-
},
|
|
3200
3176
|
{
|
|
3201
3177
|
"name": "component-names...",
|
|
3202
3178
|
"description": "a list of component names or component IDs (separated by space). By default, all new component versions are exported."
|
package/cli-reference.mdx
CHANGED
|
@@ -519,16 +519,12 @@ bit export => export all staged components to their current scope, if checked ou
|
|
|
519
519
|
https://bit.dev/docs/components/exporting-components
|
|
520
520
|
you can use a pattern for multiple ids, such as bit export remote-scope "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
|
|
521
521
|
|
|
522
|
-
`bit export [
|
|
522
|
+
`bit export [component-names...]`
|
|
523
523
|
|
|
524
524
|
| **Option** | **Option alias** | **Description** |
|
|
525
525
|
| ---------------------------- | :--------------: | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
526
526
|
| `--eject` | `-e` | replace the exported components with their corresponding packages (to use these components without further maintaining them) |
|
|
527
527
|
| `--all` | `-a` | export all components, including non-staged |
|
|
528
|
-
| `--include-dependencies` | `-d` | LEGACY ONLY. include the component's dependencies as part of the export to the remote scope |
|
|
529
|
-
| `--set-current-scope` | `-s` | LEGACY ONLY. ensure the component's remote scope is set according to the target location |
|
|
530
|
-
| `--rewire` | `-r` | LEGACY ONLY. when exporting to a different or new scope, replace import/require statements in the source code to match the new scope |
|
|
531
|
-
| `--force` | `-f` | force changing a component remote without asking for a confirmation |
|
|
532
528
|
| `--all-versions` | | export not only staged versions but all of them |
|
|
533
529
|
| `--origin-directly` | | EXPERIMENTAL. avoid export to the central hub, instead, export directly to the original scopes. not recommended! |
|
|
534
530
|
| `--resume <string>` | | in case the previous export failed and suggested to resume with an export-id, enter the id |
|
package/dist/cli-reference.json
CHANGED
|
@@ -3128,7 +3128,7 @@
|
|
|
3128
3128
|
"remoteOp": true
|
|
3129
3129
|
},
|
|
3130
3130
|
{
|
|
3131
|
-
"name": "export [
|
|
3131
|
+
"name": "export [component-names...]",
|
|
3132
3132
|
"alias": "e",
|
|
3133
3133
|
"options": [
|
|
3134
3134
|
[
|
|
@@ -3141,26 +3141,6 @@
|
|
|
3141
3141
|
"all",
|
|
3142
3142
|
"export all components, including non-staged"
|
|
3143
3143
|
],
|
|
3144
|
-
[
|
|
3145
|
-
"d",
|
|
3146
|
-
"include-dependencies",
|
|
3147
|
-
"LEGACY ONLY. include the component's dependencies as part of the export to the remote scope"
|
|
3148
|
-
],
|
|
3149
|
-
[
|
|
3150
|
-
"s",
|
|
3151
|
-
"set-current-scope",
|
|
3152
|
-
"LEGACY ONLY. ensure the component's remote scope is set according to the target location"
|
|
3153
|
-
],
|
|
3154
|
-
[
|
|
3155
|
-
"r",
|
|
3156
|
-
"rewire",
|
|
3157
|
-
"LEGACY ONLY. when exporting to a different or new scope, replace import/require statements in the source code to match the new scope"
|
|
3158
|
-
],
|
|
3159
|
-
[
|
|
3160
|
-
"f",
|
|
3161
|
-
"force",
|
|
3162
|
-
"force changing a component remote without asking for a confirmation"
|
|
3163
|
-
],
|
|
3164
3144
|
[
|
|
3165
3145
|
"",
|
|
3166
3146
|
"all-versions",
|
|
@@ -3193,10 +3173,6 @@
|
|
|
3193
3173
|
"private": false,
|
|
3194
3174
|
"remoteOp": true,
|
|
3195
3175
|
"arguments": [
|
|
3196
|
-
{
|
|
3197
|
-
"name": "remote",
|
|
3198
|
-
"description": "LEGACY ONLY."
|
|
3199
|
-
},
|
|
3200
3176
|
{
|
|
3201
3177
|
"name": "component-names...",
|
|
3202
3178
|
"description": "a list of component names or component IDs (separated by space). By default, all new component versions are exported."
|
|
@@ -2028,7 +2028,7 @@ function MDXContent(_ref) {
|
|
|
2028
2028
|
parentName: "p"
|
|
2029
2029
|
}), "\n", "you can use a pattern for multiple ids, such as bit export remote-scope \"utils/", "*", "\". (wrap the pattern with quotes to avoid collision with shell commands)"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2030
2030
|
parentName: "p"
|
|
2031
|
-
}, "bit export [
|
|
2031
|
+
}, "bit export [component-names...]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2032
2032
|
parentName: "table"
|
|
2033
2033
|
}, (0, _react2.mdx)("tr", {
|
|
2034
2034
|
parentName: "thead"
|
|
@@ -2086,66 +2086,6 @@ function MDXContent(_ref) {
|
|
|
2086
2086
|
"align": null
|
|
2087
2087
|
}, (0, _react2.mdx)("inlineCode", {
|
|
2088
2088
|
parentName: "td"
|
|
2089
|
-
}, "--include-dependencies")), (0, _react2.mdx)("td", {
|
|
2090
|
-
parentName: "tr",
|
|
2091
|
-
"align": "center"
|
|
2092
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
2093
|
-
parentName: "td"
|
|
2094
|
-
}, "-d")), (0, _react2.mdx)("td", {
|
|
2095
|
-
parentName: "tr",
|
|
2096
|
-
"align": null
|
|
2097
|
-
}, "LEGACY ONLY. include the component's dependencies as part of the export to the remote scope")), (0, _react2.mdx)("tr", {
|
|
2098
|
-
parentName: "tbody"
|
|
2099
|
-
}, (0, _react2.mdx)("td", {
|
|
2100
|
-
parentName: "tr",
|
|
2101
|
-
"align": null
|
|
2102
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
2103
|
-
parentName: "td"
|
|
2104
|
-
}, "--set-current-scope")), (0, _react2.mdx)("td", {
|
|
2105
|
-
parentName: "tr",
|
|
2106
|
-
"align": "center"
|
|
2107
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
2108
|
-
parentName: "td"
|
|
2109
|
-
}, "-s")), (0, _react2.mdx)("td", {
|
|
2110
|
-
parentName: "tr",
|
|
2111
|
-
"align": null
|
|
2112
|
-
}, "LEGACY ONLY. ensure the component's remote scope is set according to the target location")), (0, _react2.mdx)("tr", {
|
|
2113
|
-
parentName: "tbody"
|
|
2114
|
-
}, (0, _react2.mdx)("td", {
|
|
2115
|
-
parentName: "tr",
|
|
2116
|
-
"align": null
|
|
2117
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
2118
|
-
parentName: "td"
|
|
2119
|
-
}, "--rewire")), (0, _react2.mdx)("td", {
|
|
2120
|
-
parentName: "tr",
|
|
2121
|
-
"align": "center"
|
|
2122
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
2123
|
-
parentName: "td"
|
|
2124
|
-
}, "-r")), (0, _react2.mdx)("td", {
|
|
2125
|
-
parentName: "tr",
|
|
2126
|
-
"align": null
|
|
2127
|
-
}, "LEGACY ONLY. when exporting to a different or new scope, replace import/require statements in the source code to match the new scope")), (0, _react2.mdx)("tr", {
|
|
2128
|
-
parentName: "tbody"
|
|
2129
|
-
}, (0, _react2.mdx)("td", {
|
|
2130
|
-
parentName: "tr",
|
|
2131
|
-
"align": null
|
|
2132
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
2133
|
-
parentName: "td"
|
|
2134
|
-
}, "--force")), (0, _react2.mdx)("td", {
|
|
2135
|
-
parentName: "tr",
|
|
2136
|
-
"align": "center"
|
|
2137
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
2138
|
-
parentName: "td"
|
|
2139
|
-
}, "-f")), (0, _react2.mdx)("td", {
|
|
2140
|
-
parentName: "tr",
|
|
2141
|
-
"align": null
|
|
2142
|
-
}, "force changing a component remote without asking for a confirmation")), (0, _react2.mdx)("tr", {
|
|
2143
|
-
parentName: "tbody"
|
|
2144
|
-
}, (0, _react2.mdx)("td", {
|
|
2145
|
-
parentName: "tr",
|
|
2146
|
-
"align": null
|
|
2147
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
2148
|
-
parentName: "td"
|
|
2149
2089
|
}, "--all-versions")), (0, _react2.mdx)("td", {
|
|
2150
2090
|
parentName: "tr",
|
|
2151
2091
|
"align": "center"
|