@teambit/harmony.content.cli-reference 1.95.106 → 1.95.107
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 +36 -1
- package/cli-reference.mdx +13 -6
- package/dist/cli-reference.json +36 -1
- package/dist/cli-reference.mdx.js +22 -3
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1673347296243.js → preview-1673494106850.js} +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.107.tgz +0 -0
- package/package.json +2 -2
- package/package-tar/teambit-harmony.content.cli-reference-1.95.106.tgz +0 -0
package/cli-reference.json
CHANGED
|
@@ -827,6 +827,36 @@
|
|
|
827
827
|
"description": "components configured to use the 'aspect' env will be configured to use the 'node' env, instead"
|
|
828
828
|
}
|
|
829
829
|
]
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "update [env-id] [pattern]",
|
|
833
|
+
"options": [],
|
|
834
|
+
"description": "update a version of an env for all components using that env",
|
|
835
|
+
"group": "development",
|
|
836
|
+
"arguments": [
|
|
837
|
+
{
|
|
838
|
+
"name": "env-id",
|
|
839
|
+
"description": "the environment id (defaults to all envs). optionally, add a version (id@version), otherwise, it finds the latest version on the remote."
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "pattern",
|
|
843
|
+
"description": "the components to update (defaults to all components). use component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\". wrap the pattern with quotes"
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
"examples": [
|
|
847
|
+
{
|
|
848
|
+
"cmd": "envs update",
|
|
849
|
+
"description": "update all envs in the workspace to their latest version"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"cmd": "envs update scope.org/env '**/ui/**'",
|
|
853
|
+
"description": "update \"ui\" components that use scope.org/env to use its latest version"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"cmd": "envs update scope.org/env@2.0.0",
|
|
857
|
+
"description": "update all components that use scope.org/env to version 2.0.0 (of this env)."
|
|
858
|
+
}
|
|
859
|
+
]
|
|
830
860
|
}
|
|
831
861
|
]
|
|
832
862
|
},
|
|
@@ -3142,7 +3172,7 @@
|
|
|
3142
3172
|
[
|
|
3143
3173
|
"",
|
|
3144
3174
|
"verbose",
|
|
3145
|
-
"show extra data: full snap hashes for staged
|
|
3175
|
+
"show extra data: full snap hashes for staged and divergence point for lanes"
|
|
3146
3176
|
],
|
|
3147
3177
|
[
|
|
3148
3178
|
"l",
|
|
@@ -3709,6 +3739,11 @@
|
|
|
3709
3739
|
"",
|
|
3710
3740
|
"skip-dependency-installation",
|
|
3711
3741
|
"do not install packages of the imported components"
|
|
3742
|
+
],
|
|
3743
|
+
[
|
|
3744
|
+
"",
|
|
3745
|
+
"skip-config",
|
|
3746
|
+
"do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading"
|
|
3712
3747
|
]
|
|
3713
3748
|
],
|
|
3714
3749
|
"description": "EXPERIMENTAL. create a new component out of an existing one (copies source files and config)",
|
package/cli-reference.mdx
CHANGED
|
@@ -557,6 +557,12 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
|
|
|
557
557
|
|
|
558
558
|
**Description**: replace an existing env with another env for all components using the old env
|
|
559
559
|
|
|
560
|
+
### envs update
|
|
561
|
+
|
|
562
|
+
**Usage**: `envs update [env-id] [pattern]`
|
|
563
|
+
|
|
564
|
+
**Description**: update a version of an env for all components using that env
|
|
565
|
+
|
|
560
566
|
---
|
|
561
567
|
|
|
562
568
|
## export
|
|
@@ -595,6 +601,7 @@ bit export => export all staged components to their current scope, if checked ou
|
|
|
595
601
|
| `--path <string>` | `-p` | relative path in the workspace for the new component. by default the path is `<scope>/<namespace>/<name>` |
|
|
596
602
|
| `--refactor` | `-r` | update the import/require statements in all dependent components (in the same workspace) |
|
|
597
603
|
| `--skip-dependency-installation` | | do not install packages of the imported components |
|
|
604
|
+
| `--skip-config` | | do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading |
|
|
598
605
|
|
|
599
606
|
---
|
|
600
607
|
|
|
@@ -1171,12 +1178,12 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
|
|
|
1171
1178
|
|
|
1172
1179
|
`bit status`
|
|
1173
1180
|
|
|
1174
|
-
| **Option** | **Option alias** | **Description**
|
|
1175
|
-
| ----------- | :--------------: |
|
|
1176
|
-
| `--json` | `-j` | return a json version of the component
|
|
1177
|
-
| `--verbose` | | show extra data: full snap hashes for staged
|
|
1178
|
-
| `--lanes` | `-l` | when on a lane, show updates from main and updates from forked lanes
|
|
1179
|
-
| `--strict` | | in case issues found, exit with code 1
|
|
1181
|
+
| **Option** | **Option alias** | **Description** |
|
|
1182
|
+
| ----------- | :--------------: | --------------------------------------------------------------------------- |
|
|
1183
|
+
| `--json` | `-j` | return a json version of the component |
|
|
1184
|
+
| `--verbose` | | show extra data: full snap hashes for staged and divergence point for lanes |
|
|
1185
|
+
| `--lanes` | `-l` | when on a lane, show updates from main and updates from forked lanes |
|
|
1186
|
+
| `--strict` | | in case issues found, exit with code 1 |
|
|
1180
1187
|
|
|
1181
1188
|
---
|
|
1182
1189
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -827,6 +827,36 @@
|
|
|
827
827
|
"description": "components configured to use the 'aspect' env will be configured to use the 'node' env, instead"
|
|
828
828
|
}
|
|
829
829
|
]
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "update [env-id] [pattern]",
|
|
833
|
+
"options": [],
|
|
834
|
+
"description": "update a version of an env for all components using that env",
|
|
835
|
+
"group": "development",
|
|
836
|
+
"arguments": [
|
|
837
|
+
{
|
|
838
|
+
"name": "env-id",
|
|
839
|
+
"description": "the environment id (defaults to all envs). optionally, add a version (id@version), otherwise, it finds the latest version on the remote."
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"name": "pattern",
|
|
843
|
+
"description": "the components to update (defaults to all components). use component name, component id, or component pattern. use component pattern to select multiple components. use comma to separate patterns and \"!\" to exclude. e.g. \"ui/**, !ui/button\". wrap the pattern with quotes"
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
"examples": [
|
|
847
|
+
{
|
|
848
|
+
"cmd": "envs update",
|
|
849
|
+
"description": "update all envs in the workspace to their latest version"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"cmd": "envs update scope.org/env '**/ui/**'",
|
|
853
|
+
"description": "update \"ui\" components that use scope.org/env to use its latest version"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"cmd": "envs update scope.org/env@2.0.0",
|
|
857
|
+
"description": "update all components that use scope.org/env to version 2.0.0 (of this env)."
|
|
858
|
+
}
|
|
859
|
+
]
|
|
830
860
|
}
|
|
831
861
|
]
|
|
832
862
|
},
|
|
@@ -3142,7 +3172,7 @@
|
|
|
3142
3172
|
[
|
|
3143
3173
|
"",
|
|
3144
3174
|
"verbose",
|
|
3145
|
-
"show extra data: full snap hashes for staged
|
|
3175
|
+
"show extra data: full snap hashes for staged and divergence point for lanes"
|
|
3146
3176
|
],
|
|
3147
3177
|
[
|
|
3148
3178
|
"l",
|
|
@@ -3709,6 +3739,11 @@
|
|
|
3709
3739
|
"",
|
|
3710
3740
|
"skip-dependency-installation",
|
|
3711
3741
|
"do not install packages of the imported components"
|
|
3742
|
+
],
|
|
3743
|
+
[
|
|
3744
|
+
"",
|
|
3745
|
+
"skip-config",
|
|
3746
|
+
"do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading"
|
|
3712
3747
|
]
|
|
3713
3748
|
],
|
|
3714
3749
|
"description": "EXPERIMENTAL. create a new component out of an existing one (copies source files and config)",
|
|
@@ -2167,7 +2167,13 @@ function MDXContent(_ref) {
|
|
|
2167
2167
|
parentName: "p"
|
|
2168
2168
|
}, "envs replace <current-env> <new-env>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2169
2169
|
parentName: "p"
|
|
2170
|
-
}, "Description"), ": replace an existing env with another env for all components using the old env"), (0, _react2.mdx)("
|
|
2170
|
+
}, "Description"), ": replace an existing env with another env for all components using the old env"), (0, _react2.mdx)("h3", null, "envs update"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2171
|
+
parentName: "p"
|
|
2172
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
2173
|
+
parentName: "p"
|
|
2174
|
+
}, "envs update [env-id] [pattern]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2175
|
+
parentName: "p"
|
|
2176
|
+
}, "Description"), ": update a version of an env for all components using that env"), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "export"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2171
2177
|
parentName: "p"
|
|
2172
2178
|
}, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
2173
2179
|
parentName: "p"
|
|
@@ -2396,7 +2402,20 @@ function MDXContent(_ref) {
|
|
|
2396
2402
|
}), (0, _react2.mdx)("td", {
|
|
2397
2403
|
parentName: "tr",
|
|
2398
2404
|
"align": null
|
|
2399
|
-
}, "do not install packages of the imported components"))
|
|
2405
|
+
}, "do not install packages of the imported components")), (0, _react2.mdx)("tr", {
|
|
2406
|
+
parentName: "tbody"
|
|
2407
|
+
}, (0, _react2.mdx)("td", {
|
|
2408
|
+
parentName: "tr",
|
|
2409
|
+
"align": null
|
|
2410
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2411
|
+
parentName: "td"
|
|
2412
|
+
}, "--skip-config")), (0, _react2.mdx)("td", {
|
|
2413
|
+
parentName: "tr",
|
|
2414
|
+
"align": "center"
|
|
2415
|
+
}), (0, _react2.mdx)("td", {
|
|
2416
|
+
parentName: "tr",
|
|
2417
|
+
"align": null
|
|
2418
|
+
}, "do not copy the config (aspects-config) to the new component. helpful when it fails during aspect loading")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "format"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2400
2419
|
parentName: "p"
|
|
2401
2420
|
}, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
|
|
2402
2421
|
parentName: "p"
|
|
@@ -5196,7 +5215,7 @@ function MDXContent(_ref) {
|
|
|
5196
5215
|
}), (0, _react2.mdx)("td", {
|
|
5197
5216
|
parentName: "tr",
|
|
5198
5217
|
"align": null
|
|
5199
|
-
}, "show extra data: full snap hashes for staged
|
|
5218
|
+
}, "show extra data: full snap hashes for staged and divergence point for lanes")), (0, _react2.mdx)("tr", {
|
|
5200
5219
|
parentName: "tbody"
|
|
5201
5220
|
}, (0, _react2.mdx)("td", {
|
|
5202
5221
|
parentName: "tr",
|