@teambit/harmony.content.cli-reference 1.95.40 → 1.95.43

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.
@@ -572,7 +572,7 @@
572
572
  [
573
573
  "r",
574
574
  "reset",
575
- "revert changes that were not snapped"
575
+ "revert changes that were not snapped/tagged"
576
576
  ],
577
577
  [
578
578
  "a",
@@ -611,7 +611,7 @@
611
611
  ]
612
612
  ],
613
613
  "description": "switch between component versions or remove local changes",
614
- "extendedDescription": "\n `bit checkout <version> [ids...]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout latest` => checkout all components to their latest versions\n `bit checkout latest [ids...]` => checkout the specified ids to their latest versions\n `bit checkout [ids...] --reset` => remove local modifications from the specified ids (or all components when --all is used)\n you can use a pattern for multiple ids, such as bit checkout 0.0.1 \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
614
+ "extendedDescription": "\n `bit checkout <version> [ids...]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head` => checkout all components to their latest versions\n `bit checkout head [ids...]` => checkout the specified ids to their latest versions\n `bit checkout [ids...] --reset` => remove local modifications from the specified ids (or all components when --all is used)\n you can use a pattern for multiple ids, such as bit checkout 0.0.1 \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
615
615
  "group": "development",
616
616
  "private": false
617
617
  },
@@ -2089,7 +2089,7 @@
2089
2089
  ]
2090
2090
  },
2091
2091
  {
2092
- "name": "reset [component-pattern] [component-version]",
2092
+ "name": "reset [component-pattern]",
2093
2093
  "alias": "",
2094
2094
  "options": [
2095
2095
  [
@@ -2097,6 +2097,11 @@
2097
2097
  "all",
2098
2098
  "revert tag/snap for all tagged/snapped components"
2099
2099
  ],
2100
+ [
2101
+ "",
2102
+ "head",
2103
+ "revert the head tag/snap only (by default, all local tags/snaps are reverted)"
2104
+ ],
2100
2105
  [
2101
2106
  "",
2102
2107
  "soft",
@@ -2182,6 +2187,11 @@
2182
2187
  "json",
2183
2188
  "return a json version of the component"
2184
2189
  ],
2190
+ [
2191
+ "",
2192
+ "verbose",
2193
+ "show full snap hashes"
2194
+ ],
2185
2195
  [
2186
2196
  "",
2187
2197
  "strict",
@@ -2502,7 +2512,7 @@
2502
2512
  "arguments": [
2503
2513
  {
2504
2514
  "name": "aspect-id",
2505
- "description": "the aspect's component id"
2515
+ "description": "the aspect's component id. optionally, add a version (id@version), otherwise, it finds the latest version on the remote"
2506
2516
  },
2507
2517
  {
2508
2518
  "name": "pattern",
@@ -2660,6 +2670,11 @@
2660
2670
  "r",
2661
2671
  "refactor",
2662
2672
  "update the import/require statements in all dependent components (in the same workspace)"
2673
+ ],
2674
+ [
2675
+ "",
2676
+ "skip-dependency-installation",
2677
+ "do not install packages of the imported components"
2663
2678
  ]
2664
2679
  ],
2665
2680
  "description": "EXPERIMENTAL. create a new component out of an existing one (copies source files and config)",
package/cli-reference.mdx CHANGED
@@ -201,8 +201,8 @@ with no args, only workspace's capsules are deleted
201
201
  **Description**: switch between component versions or remove local changes
202
202
 
203
203
  `bit checkout <version> [ids...]` => checkout the specified ids (or all components when --all is used) to the specified version
204
- `bit checkout latest` => checkout all components to their latest versions
205
- `bit checkout latest [ids...]` => checkout the specified ids to their latest versions
204
+ `bit checkout head` => checkout all components to their latest versions
205
+ `bit checkout head [ids...]` => checkout the specified ids to their latest versions
206
206
  `bit checkout [ids...] --reset` => remove local modifications from the specified ids (or all components when --all is used)
207
207
  you can use a pattern for multiple ids, such as bit checkout 0.0.1 "utils/\*". (wrap the pattern with quotes to avoid collision with shell commands)
208
208
 
@@ -214,7 +214,7 @@ with no args, only workspace's capsules are deleted
214
214
  | `--ours` | `-o` | in case of a conflict, override the used version with the current modification |
215
215
  | `--theirs` | `-t` | in case of a conflict, override the current modification with the specified version |
216
216
  | `--manual` | `-m` | in case of a conflict, leave the files with a conflict state to resolve them manually later |
217
- | `--reset` | `-r` | revert changes that were not snapped |
217
+ | `--reset` | `-r` | revert changes that were not snapped/tagged |
218
218
  | `--all` | `-a` | all components |
219
219
  | `--verbose` | `-v` | showing verbose output for inspection |
220
220
  | `--skip-npm-install` | | DEPRECATED. use "--skip-dependency-installation" instead |
@@ -538,11 +538,12 @@ you can use a pattern for multiple ids, such as bit export remote-scope "utils/\
538
538
 
539
539
  `bit fork <source-component-id> [target-component-name]`
540
540
 
541
- | **Option** | **Option alias** | **Description** |
542
- | ------------------ | :--------------: | --------------------------------------------------------------------------------------------------------- |
543
- | `--scope <string>` | `-s` | default scope for the new component |
544
- | `--path <string>` | `-p` | relative path in the workspace for the new component. by default the path is `<scope>/<namespace>/<name>` |
545
- | `--refactor` | `-r` | update the import/require statements in all dependent components (in the same workspace) |
541
+ | **Option** | **Option alias** | **Description** |
542
+ | -------------------------------- | :--------------: | --------------------------------------------------------------------------------------------------------- |
543
+ | `--scope <string>` | `-s` | default scope for the new component |
544
+ | `--path <string>` | `-p` | relative path in the workspace for the new component. by default the path is `<scope>/<namespace>/<name>` |
545
+ | `--refactor` | `-r` | update the import/require statements in all dependent components (in the same workspace) |
546
+ | `--skip-dependency-installation` | | do not install packages of the imported components |
546
547
 
547
548
  ---
548
549
 
@@ -953,11 +954,12 @@ you can use a pattern for multiple ids, such as bit remove "utils/\*". (wrap the
953
954
  **Description**: revert tagged or snapped versions for component(s)
954
955
  https://bit.dev/docs/components/tags#undoing-a-tag
955
956
 
956
- `bit reset [component-pattern] [component-version]`
957
+ `bit reset [component-pattern]`
957
958
 
958
959
  | **Option** | **Option alias** | **Description** |
959
960
  | ---------- | :--------------: | ----------------------------------------------------------------------------------------------------- |
960
961
  | `--all` | `-a` | revert tag/snap for all tagged/snapped components |
962
+ | `--head` | | revert the head tag/snap only (by default, all local tags/snaps are reverted) |
961
963
  | `--soft` | | revert only soft-tags (components tagged with --soft flag) |
962
964
  | `--force` | `-f` | revert the tag even if used as a dependency. WARNING: components that depend on this tag will corrupt |
963
965
 
@@ -1109,10 +1111,11 @@ use `bit pattern --help` to understand patterns better and `bit pattern <pattern
1109
1111
 
1110
1112
  `bit status`
1111
1113
 
1112
- | **Option** | **Option alias** | **Description** |
1113
- | ---------- | :--------------: | -------------------------------------- |
1114
- | `--json` | `-j` | return a json version of the component |
1115
- | `--strict` | | in case issues found, exit with code 1 |
1114
+ | **Option** | **Option alias** | **Description** |
1115
+ | ----------- | :--------------: | -------------------------------------- |
1116
+ | `--json` | `-j` | return a json version of the component |
1117
+ | `--verbose` | | show full snap hashes |
1118
+ | `--strict` | | in case issues found, exit with code 1 |
1116
1119
 
1117
1120
  ---
1118
1121
 
@@ -572,7 +572,7 @@
572
572
  [
573
573
  "r",
574
574
  "reset",
575
- "revert changes that were not snapped"
575
+ "revert changes that were not snapped/tagged"
576
576
  ],
577
577
  [
578
578
  "a",
@@ -611,7 +611,7 @@
611
611
  ]
612
612
  ],
613
613
  "description": "switch between component versions or remove local changes",
614
- "extendedDescription": "\n `bit checkout <version> [ids...]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout latest` => checkout all components to their latest versions\n `bit checkout latest [ids...]` => checkout the specified ids to their latest versions\n `bit checkout [ids...] --reset` => remove local modifications from the specified ids (or all components when --all is used)\n you can use a pattern for multiple ids, such as bit checkout 0.0.1 \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
614
+ "extendedDescription": "\n `bit checkout <version> [ids...]` => checkout the specified ids (or all components when --all is used) to the specified version\n `bit checkout head` => checkout all components to their latest versions\n `bit checkout head [ids...]` => checkout the specified ids to their latest versions\n `bit checkout [ids...] --reset` => remove local modifications from the specified ids (or all components when --all is used)\n you can use a pattern for multiple ids, such as bit checkout 0.0.1 \"utils/*\". (wrap the pattern with quotes to avoid collision with shell commands)",
615
615
  "group": "development",
616
616
  "private": false
617
617
  },
@@ -2089,7 +2089,7 @@
2089
2089
  ]
2090
2090
  },
2091
2091
  {
2092
- "name": "reset [component-pattern] [component-version]",
2092
+ "name": "reset [component-pattern]",
2093
2093
  "alias": "",
2094
2094
  "options": [
2095
2095
  [
@@ -2097,6 +2097,11 @@
2097
2097
  "all",
2098
2098
  "revert tag/snap for all tagged/snapped components"
2099
2099
  ],
2100
+ [
2101
+ "",
2102
+ "head",
2103
+ "revert the head tag/snap only (by default, all local tags/snaps are reverted)"
2104
+ ],
2100
2105
  [
2101
2106
  "",
2102
2107
  "soft",
@@ -2182,6 +2187,11 @@
2182
2187
  "json",
2183
2188
  "return a json version of the component"
2184
2189
  ],
2190
+ [
2191
+ "",
2192
+ "verbose",
2193
+ "show full snap hashes"
2194
+ ],
2185
2195
  [
2186
2196
  "",
2187
2197
  "strict",
@@ -2502,7 +2512,7 @@
2502
2512
  "arguments": [
2503
2513
  {
2504
2514
  "name": "aspect-id",
2505
- "description": "the aspect's component id"
2515
+ "description": "the aspect's component id. optionally, add a version (id@version), otherwise, it finds the latest version on the remote"
2506
2516
  },
2507
2517
  {
2508
2518
  "name": "pattern",
@@ -2660,6 +2670,11 @@
2660
2670
  "r",
2661
2671
  "refactor",
2662
2672
  "update the import/require statements in all dependent components (in the same workspace)"
2673
+ ],
2674
+ [
2675
+ "",
2676
+ "skip-dependency-installation",
2677
+ "do not install packages of the imported components"
2663
2678
  ]
2664
2679
  ],
2665
2680
  "description": "EXPERIMENTAL. create a new component out of an existing one (copies source files and config)",
@@ -883,11 +883,11 @@ function MDXContent(_ref) {
883
883
  parentName: "p"
884
884
  }), "\n", "", (0, _react2.mdx)("inlineCode", {
885
885
  parentName: "p"
886
- }, "bit checkout latest"), " => checkout all components to their latest versions", (0, _react2.mdx)("br", {
886
+ }, "bit checkout head"), " => checkout all components to their latest versions", (0, _react2.mdx)("br", {
887
887
  parentName: "p"
888
888
  }), "\n", "", (0, _react2.mdx)("inlineCode", {
889
889
  parentName: "p"
890
- }, "bit checkout latest [ids...]"), " => checkout the specified ids to their latest versions", (0, _react2.mdx)("br", {
890
+ }, "bit checkout head [ids...]"), " => checkout the specified ids to their latest versions", (0, _react2.mdx)("br", {
891
891
  parentName: "p"
892
892
  }), "\n", "", (0, _react2.mdx)("inlineCode", {
893
893
  parentName: "p"
@@ -991,7 +991,7 @@ function MDXContent(_ref) {
991
991
  }, "-r")), (0, _react2.mdx)("td", {
992
992
  parentName: "tr",
993
993
  "align": null
994
- }, "revert changes that were not snapped")), (0, _react2.mdx)("tr", {
994
+ }, "revert changes that were not snapped/tagged")), (0, _react2.mdx)("tr", {
995
995
  parentName: "tbody"
996
996
  }, (0, _react2.mdx)("td", {
997
997
  parentName: "tr",
@@ -2192,7 +2192,20 @@ function MDXContent(_ref) {
2192
2192
  }, "-r")), (0, _react2.mdx)("td", {
2193
2193
  parentName: "tr",
2194
2194
  "align": null
2195
- }, "update the import/require statements in all dependent components (in the same workspace)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "format"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
2195
+ }, "update the import/require statements in all dependent components (in the same workspace)")), (0, _react2.mdx)("tr", {
2196
+ parentName: "tbody"
2197
+ }, (0, _react2.mdx)("td", {
2198
+ parentName: "tr",
2199
+ "align": null
2200
+ }, (0, _react2.mdx)("inlineCode", {
2201
+ parentName: "td"
2202
+ }, "--skip-dependency-installation")), (0, _react2.mdx)("td", {
2203
+ parentName: "tr",
2204
+ "align": "center"
2205
+ }), (0, _react2.mdx)("td", {
2206
+ parentName: "tr",
2207
+ "align": null
2208
+ }, "do not install packages of the imported components")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "format"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
2196
2209
  parentName: "p"
2197
2210
  }, "Workspace only"), ": yes", (0, _react2.mdx)("br", {
2198
2211
  parentName: "p"
@@ -4280,7 +4293,7 @@ function MDXContent(_ref) {
4280
4293
  "href": "https://bit.dev/docs/components/tags#undoing-a-tag"
4281
4294
  }, "https://bit.dev/docs/components/tags#undoing-a-tag")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
4282
4295
  parentName: "p"
4283
- }, "bit reset [component-pattern] [component-version]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
4296
+ }, "bit reset [component-pattern]")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
4284
4297
  parentName: "table"
4285
4298
  }, (0, _react2.mdx)("tr", {
4286
4299
  parentName: "thead"
@@ -4323,6 +4336,19 @@ function MDXContent(_ref) {
4323
4336
  "align": null
4324
4337
  }, (0, _react2.mdx)("inlineCode", {
4325
4338
  parentName: "td"
4339
+ }, "--head")), (0, _react2.mdx)("td", {
4340
+ parentName: "tr",
4341
+ "align": "center"
4342
+ }), (0, _react2.mdx)("td", {
4343
+ parentName: "tr",
4344
+ "align": null
4345
+ }, "revert the head tag/snap only (by default, all local tags/snaps are reverted)")), (0, _react2.mdx)("tr", {
4346
+ parentName: "tbody"
4347
+ }, (0, _react2.mdx)("td", {
4348
+ parentName: "tr",
4349
+ "align": null
4350
+ }, (0, _react2.mdx)("inlineCode", {
4351
+ parentName: "td"
4326
4352
  }, "--soft")), (0, _react2.mdx)("td", {
4327
4353
  parentName: "tr",
4328
4354
  "align": "center"
@@ -4859,6 +4885,19 @@ function MDXContent(_ref) {
4859
4885
  "align": null
4860
4886
  }, (0, _react2.mdx)("inlineCode", {
4861
4887
  parentName: "td"
4888
+ }, "--verbose")), (0, _react2.mdx)("td", {
4889
+ parentName: "tr",
4890
+ "align": "center"
4891
+ }), (0, _react2.mdx)("td", {
4892
+ parentName: "tr",
4893
+ "align": null
4894
+ }, "show full snap hashes")), (0, _react2.mdx)("tr", {
4895
+ parentName: "tbody"
4896
+ }, (0, _react2.mdx)("td", {
4897
+ parentName: "tr",
4898
+ "align": null
4899
+ }, (0, _react2.mdx)("inlineCode", {
4900
+ parentName: "td"
4862
4901
  }, "--strict")), (0, _react2.mdx)("td", {
4863
4902
  parentName: "tr",
4864
4903
  "align": "center"