@teambit/harmony.content.cli-reference 2.0.30 → 2.0.33
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 +20 -0
- package/cli-reference.mdx +13 -9
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +20 -0
- package/dist/cli-reference.mdx.js +54 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1697628054879.js → preview-1697841196686.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -1907,6 +1907,11 @@
|
|
|
1907
1907
|
"skip-compile",
|
|
1908
1908
|
"do not compile components"
|
|
1909
1909
|
],
|
|
1910
|
+
[
|
|
1911
|
+
"",
|
|
1912
|
+
"skip-write-config-files",
|
|
1913
|
+
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
1914
|
+
],
|
|
1910
1915
|
[
|
|
1911
1916
|
"",
|
|
1912
1917
|
"add-missing-deps",
|
|
@@ -2093,6 +2098,11 @@
|
|
|
2093
2098
|
"skip-dependency-installation",
|
|
2094
2099
|
"do not auto-install dependencies of the imported components"
|
|
2095
2100
|
],
|
|
2101
|
+
[
|
|
2102
|
+
"",
|
|
2103
|
+
"skip-write-config-files",
|
|
2104
|
+
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
2105
|
+
],
|
|
2096
2106
|
[
|
|
2097
2107
|
"m",
|
|
2098
2108
|
"merge [strategy]",
|
|
@@ -2301,6 +2311,11 @@
|
|
|
2301
2311
|
"x",
|
|
2302
2312
|
"skip-dependency-installation",
|
|
2303
2313
|
"do not install packages in case of importing components"
|
|
2314
|
+
],
|
|
2315
|
+
[
|
|
2316
|
+
"",
|
|
2317
|
+
"skip-write-config-files",
|
|
2318
|
+
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
2304
2319
|
]
|
|
2305
2320
|
],
|
|
2306
2321
|
"description": "EXPERIMENTAL. recover component(s) soft-deleted from the workspace, or a remote scope",
|
|
@@ -2682,6 +2697,11 @@
|
|
|
2682
2697
|
"f",
|
|
2683
2698
|
"force",
|
|
2684
2699
|
"revert the tag even if it's used as a dependency. WARNING: components that depend on this tag will be corrupted"
|
|
2700
|
+
],
|
|
2701
|
+
[
|
|
2702
|
+
"",
|
|
2703
|
+
"never-exported",
|
|
2704
|
+
"reset only components that were never exported"
|
|
2685
2705
|
]
|
|
2686
2706
|
],
|
|
2687
2707
|
"description": "revert tagged or snapped versions for component(s)",
|
package/cli-reference.mdx
CHANGED
|
@@ -895,6 +895,7 @@ bit export => export all staged snaps/tags of components to their remote scope.
|
|
|
895
895
|
| `--verbose` | `-v` | show verbose output for inspection |
|
|
896
896
|
| `--json` | `-j` | return the output as JSON |
|
|
897
897
|
| `--skip-dependency-installation` | `-x` | do not auto-install dependencies of the imported components |
|
|
898
|
+
| `--skip-write-config-files` | | do not write config files (such as eslint, tsconfig, prettier, etc...) |
|
|
898
899
|
| `--merge [strategy]` | `-m` | merge local changes with the imported version. strategy should be "theirs", "ours" or "manual" |
|
|
899
900
|
| `--dependencies` | | import all dependencies (bit components only) of imported components and write them to the workspace |
|
|
900
901
|
| `--dependents` | | import components found while traversing from the imported components upwards to the workspace components |
|
|
@@ -953,6 +954,7 @@ when no package is specified, all workspace dependencies are installed and all w
|
|
|
953
954
|
| `--skip-dedupe` | | do not dedupe dependencies on installation |
|
|
954
955
|
| `--skip-import` | | do not import bit objects post installation |
|
|
955
956
|
| `--skip-compile` | | do not compile components |
|
|
957
|
+
| `--skip-write-config-files` | | do not write config files (such as eslint, tsconfig, prettier, etc...) |
|
|
956
958
|
| `--add-missing-deps` | | install all missing dependencies |
|
|
957
959
|
| `--add-missing-peers` | | install all missing peer dependencies |
|
|
958
960
|
| `--recurring-install` | | automatically run install again if there are non loaded old envs in your workspace |
|
|
@@ -1439,9 +1441,10 @@ NOTE: always wrap the pattern with single quotes '' and not double "" to avoid c
|
|
|
1439
1441
|
|
|
1440
1442
|
`bit recover <component-name>`
|
|
1441
1443
|
|
|
1442
|
-
| **Option** | **Option alias** | **Description**
|
|
1443
|
-
| -------------------------------- | :--------------: |
|
|
1444
|
-
| `--skip-dependency-installation` | `-x` | do not install packages in case of importing components
|
|
1444
|
+
| **Option** | **Option alias** | **Description** |
|
|
1445
|
+
| -------------------------------- | :--------------: | ---------------------------------------------------------------------- |
|
|
1446
|
+
| `--skip-dependency-installation` | `-x` | do not install packages in case of importing components |
|
|
1447
|
+
| `--skip-write-config-files` | | do not write config files (such as eslint, tsconfig, prettier, etc...) |
|
|
1445
1448
|
|
|
1446
1449
|
---
|
|
1447
1450
|
|
|
@@ -1548,12 +1551,13 @@ https://https://bit.dev//components/tags#undoing-a-tag
|
|
|
1548
1551
|
| `component-pattern` | 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 |
|
|
1549
1552
|
| `component-version` | the version to untag (semver for tags. hash for snaps) |
|
|
1550
1553
|
|
|
1551
|
-
| **Option**
|
|
1552
|
-
|
|
|
1553
|
-
| `--all`
|
|
1554
|
-
| `--head`
|
|
1555
|
-
| `--soft`
|
|
1556
|
-
| `--force`
|
|
1554
|
+
| **Option** | **Option alias** | **Description** |
|
|
1555
|
+
| ------------------ | :--------------: | --------------------------------------------------------------------------------------------------------------- |
|
|
1556
|
+
| `--all` | `-a` | revert all unexported tags/snaps for all components |
|
|
1557
|
+
| `--head` | | revert the head tag/snap only (by default, all local tags/snaps are reverted) |
|
|
1558
|
+
| `--soft` | | revert only soft-tags (components tagged with --soft flag) |
|
|
1559
|
+
| `--force` | `-f` | revert the tag even if it's used as a dependency. WARNING: components that depend on this tag will be corrupted |
|
|
1560
|
+
| `--never-exported` | | reset only components that were never exported |
|
|
1557
1561
|
|
|
1558
1562
|
---
|
|
1559
1563
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -1907,6 +1907,11 @@
|
|
|
1907
1907
|
"skip-compile",
|
|
1908
1908
|
"do not compile components"
|
|
1909
1909
|
],
|
|
1910
|
+
[
|
|
1911
|
+
"",
|
|
1912
|
+
"skip-write-config-files",
|
|
1913
|
+
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
1914
|
+
],
|
|
1910
1915
|
[
|
|
1911
1916
|
"",
|
|
1912
1917
|
"add-missing-deps",
|
|
@@ -2093,6 +2098,11 @@
|
|
|
2093
2098
|
"skip-dependency-installation",
|
|
2094
2099
|
"do not auto-install dependencies of the imported components"
|
|
2095
2100
|
],
|
|
2101
|
+
[
|
|
2102
|
+
"",
|
|
2103
|
+
"skip-write-config-files",
|
|
2104
|
+
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
2105
|
+
],
|
|
2096
2106
|
[
|
|
2097
2107
|
"m",
|
|
2098
2108
|
"merge [strategy]",
|
|
@@ -2301,6 +2311,11 @@
|
|
|
2301
2311
|
"x",
|
|
2302
2312
|
"skip-dependency-installation",
|
|
2303
2313
|
"do not install packages in case of importing components"
|
|
2314
|
+
],
|
|
2315
|
+
[
|
|
2316
|
+
"",
|
|
2317
|
+
"skip-write-config-files",
|
|
2318
|
+
"do not write config files (such as eslint, tsconfig, prettier, etc...)"
|
|
2304
2319
|
]
|
|
2305
2320
|
],
|
|
2306
2321
|
"description": "EXPERIMENTAL. recover component(s) soft-deleted from the workspace, or a remote scope",
|
|
@@ -2682,6 +2697,11 @@
|
|
|
2682
2697
|
"f",
|
|
2683
2698
|
"force",
|
|
2684
2699
|
"revert the tag even if it's used as a dependency. WARNING: components that depend on this tag will be corrupted"
|
|
2700
|
+
],
|
|
2701
|
+
[
|
|
2702
|
+
"",
|
|
2703
|
+
"never-exported",
|
|
2704
|
+
"reset only components that were never exported"
|
|
2685
2705
|
]
|
|
2686
2706
|
],
|
|
2687
2707
|
"description": "revert tagged or snapped versions for component(s)",
|
|
@@ -4169,6 +4169,19 @@ function MDXContent(_ref) {
|
|
|
4169
4169
|
"align": null
|
|
4170
4170
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4171
4171
|
parentName: "td"
|
|
4172
|
+
}, "--skip-write-config-files")), (0, _react2.mdx)("td", {
|
|
4173
|
+
parentName: "tr",
|
|
4174
|
+
"align": "center"
|
|
4175
|
+
}), (0, _react2.mdx)("td", {
|
|
4176
|
+
parentName: "tr",
|
|
4177
|
+
"align": null
|
|
4178
|
+
}, "do not write config files (such as eslint, tsconfig, prettier, etc...)")), (0, _react2.mdx)("tr", {
|
|
4179
|
+
parentName: "tbody"
|
|
4180
|
+
}, (0, _react2.mdx)("td", {
|
|
4181
|
+
parentName: "tr",
|
|
4182
|
+
"align": null
|
|
4183
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4184
|
+
parentName: "td"
|
|
4172
4185
|
}, "--merge [strategy]")), (0, _react2.mdx)("td", {
|
|
4173
4186
|
parentName: "tr",
|
|
4174
4187
|
"align": "center"
|
|
@@ -4657,6 +4670,19 @@ function MDXContent(_ref) {
|
|
|
4657
4670
|
"align": null
|
|
4658
4671
|
}, (0, _react2.mdx)("inlineCode", {
|
|
4659
4672
|
parentName: "td"
|
|
4673
|
+
}, "--skip-write-config-files")), (0, _react2.mdx)("td", {
|
|
4674
|
+
parentName: "tr",
|
|
4675
|
+
"align": "center"
|
|
4676
|
+
}), (0, _react2.mdx)("td", {
|
|
4677
|
+
parentName: "tr",
|
|
4678
|
+
"align": null
|
|
4679
|
+
}, "do not write config files (such as eslint, tsconfig, prettier, etc...)")), (0, _react2.mdx)("tr", {
|
|
4680
|
+
parentName: "tbody"
|
|
4681
|
+
}, (0, _react2.mdx)("td", {
|
|
4682
|
+
parentName: "tr",
|
|
4683
|
+
"align": null
|
|
4684
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
4685
|
+
parentName: "td"
|
|
4660
4686
|
}, "--add-missing-deps")), (0, _react2.mdx)("td", {
|
|
4661
4687
|
parentName: "tr",
|
|
4662
4688
|
"align": "center"
|
|
@@ -7333,7 +7359,20 @@ function MDXContent(_ref) {
|
|
|
7333
7359
|
}, "-x")), (0, _react2.mdx)("td", {
|
|
7334
7360
|
parentName: "tr",
|
|
7335
7361
|
"align": null
|
|
7336
|
-
}, "do not install packages in case of importing components"))
|
|
7362
|
+
}, "do not install packages in case of importing components")), (0, _react2.mdx)("tr", {
|
|
7363
|
+
parentName: "tbody"
|
|
7364
|
+
}, (0, _react2.mdx)("td", {
|
|
7365
|
+
parentName: "tr",
|
|
7366
|
+
"align": null
|
|
7367
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
7368
|
+
parentName: "td"
|
|
7369
|
+
}, "--skip-write-config-files")), (0, _react2.mdx)("td", {
|
|
7370
|
+
parentName: "tr",
|
|
7371
|
+
"align": "center"
|
|
7372
|
+
}), (0, _react2.mdx)("td", {
|
|
7373
|
+
parentName: "tr",
|
|
7374
|
+
"align": null
|
|
7375
|
+
}, "do not write config files (such as eslint, tsconfig, prettier, etc...)")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "refactor"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7337
7376
|
parentName: "p"
|
|
7338
7377
|
}, "Description"), ": source code refactoring / codemod"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7339
7378
|
parentName: "p"
|
|
@@ -7848,7 +7887,20 @@ function MDXContent(_ref) {
|
|
|
7848
7887
|
}, "-f")), (0, _react2.mdx)("td", {
|
|
7849
7888
|
parentName: "tr",
|
|
7850
7889
|
"align": null
|
|
7851
|
-
}, "revert the tag even if it's used as a dependency. WARNING: components that depend on this tag will be corrupted"))
|
|
7890
|
+
}, "revert the tag even if it's used as a dependency. WARNING: components that depend on this tag will be corrupted")), (0, _react2.mdx)("tr", {
|
|
7891
|
+
parentName: "tbody"
|
|
7892
|
+
}, (0, _react2.mdx)("td", {
|
|
7893
|
+
parentName: "tr",
|
|
7894
|
+
"align": null
|
|
7895
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
7896
|
+
parentName: "td"
|
|
7897
|
+
}, "--never-exported")), (0, _react2.mdx)("td", {
|
|
7898
|
+
parentName: "tr",
|
|
7899
|
+
"align": "center"
|
|
7900
|
+
}), (0, _react2.mdx)("td", {
|
|
7901
|
+
parentName: "tr",
|
|
7902
|
+
"align": null
|
|
7903
|
+
}, "reset only components that were never exported")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "revert"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
7852
7904
|
parentName: "p"
|
|
7853
7905
|
}, "Description"), ": replace the current component files by the specified version, leave the version intact"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
7854
7906
|
parentName: "p"
|