@teambit/harmony.content.cli-reference 2.0.106 → 2.0.108
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 +10 -5
- package/cli-reference.mdx +6 -5
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +10 -5
- package/dist/cli-reference.mdx.js +26 -11
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1702955736433.js → preview-1703128482252.js} +2 -2
- package/package.json +4 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -2329,11 +2329,6 @@
|
|
|
2329
2329
|
"update-main",
|
|
2330
2330
|
"EXPERIMENTAL. delete component/s on the main lane after merging this lane into main"
|
|
2331
2331
|
],
|
|
2332
|
-
[
|
|
2333
|
-
"f",
|
|
2334
|
-
"force",
|
|
2335
|
-
"removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
2336
|
-
],
|
|
2337
2332
|
[
|
|
2338
2333
|
"s",
|
|
2339
2334
|
"silent",
|
|
@@ -2343,6 +2338,11 @@
|
|
|
2343
2338
|
"",
|
|
2344
2339
|
"hard",
|
|
2345
2340
|
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents."
|
|
2341
|
+
],
|
|
2342
|
+
[
|
|
2343
|
+
"f",
|
|
2344
|
+
"force",
|
|
2345
|
+
"relevant for --hard. allow the deletion even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
2346
2346
|
]
|
|
2347
2347
|
],
|
|
2348
2348
|
"description": "mark components as deleted on the remote",
|
|
@@ -4026,6 +4026,11 @@
|
|
|
4026
4026
|
"dev",
|
|
4027
4027
|
"add to the devDependencies"
|
|
4028
4028
|
],
|
|
4029
|
+
[
|
|
4030
|
+
"o",
|
|
4031
|
+
"optional",
|
|
4032
|
+
"add to the optionalDependencies"
|
|
4033
|
+
],
|
|
4029
4034
|
[
|
|
4030
4035
|
"p",
|
|
4031
4036
|
"peer",
|
package/cli-reference.mdx
CHANGED
|
@@ -443,9 +443,9 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
443
443
|
| --------------- | :--------------: | -------------------------------------------------------------------------------------------------------------------------------------- |
|
|
444
444
|
| `--lane` | | when on a lane, delete the component from this lane only. avoid merging it to main or other lanes |
|
|
445
445
|
| `--update-main` | | EXPERIMENTAL. delete component/s on the main lane after merging this lane into main |
|
|
446
|
-
| `--force` | `-f` | removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt |
|
|
447
446
|
| `--silent` | `-s` | skip confirmation |
|
|
448
447
|
| `--hard` | | NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. |
|
|
448
|
+
| `--force` | `-f` | relevant for --hard. allow the deletion even if used as a dependency. WARNING: components that depend on this component will corrupt |
|
|
449
449
|
|
|
450
450
|
---
|
|
451
451
|
|
|
@@ -548,10 +548,11 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
548
548
|
| `component-pattern` | component name, component id, or component pattern. use component pattern to select multiple components. wrap the pattern with quotes. use comma to separate patterns and "!" to exclude. e.g. "ui/\*\*, !ui/button". use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
|
|
549
549
|
| `package...` | package name with or without a version, e.g. "lodash@1.0.0" or just "lodash" which will be resolved to the latest |
|
|
550
550
|
|
|
551
|
-
| **Option**
|
|
552
|
-
|
|
|
553
|
-
| `--dev`
|
|
554
|
-
| `--
|
|
551
|
+
| **Option** | **Option alias** | **Description** |
|
|
552
|
+
| ------------ | :--------------: | ------------------------------- |
|
|
553
|
+
| `--dev` | `-d` | add to the devDependencies |
|
|
554
|
+
| `--optional` | `-o` | add to the optionalDependencies |
|
|
555
|
+
| `--peer` | `-p` | add to the peerDependencies |
|
|
555
556
|
|
|
556
557
|
### deps reset
|
|
557
558
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -2329,11 +2329,6 @@
|
|
|
2329
2329
|
"update-main",
|
|
2330
2330
|
"EXPERIMENTAL. delete component/s on the main lane after merging this lane into main"
|
|
2331
2331
|
],
|
|
2332
|
-
[
|
|
2333
|
-
"f",
|
|
2334
|
-
"force",
|
|
2335
|
-
"removes the component from the scope, even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
2336
|
-
],
|
|
2337
2332
|
[
|
|
2338
2333
|
"s",
|
|
2339
2334
|
"silent",
|
|
@@ -2343,6 +2338,11 @@
|
|
|
2343
2338
|
"",
|
|
2344
2339
|
"hard",
|
|
2345
2340
|
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents."
|
|
2341
|
+
],
|
|
2342
|
+
[
|
|
2343
|
+
"f",
|
|
2344
|
+
"force",
|
|
2345
|
+
"relevant for --hard. allow the deletion even if used as a dependency. WARNING: components that depend on this component will corrupt"
|
|
2346
2346
|
]
|
|
2347
2347
|
],
|
|
2348
2348
|
"description": "mark components as deleted on the remote",
|
|
@@ -4026,6 +4026,11 @@
|
|
|
4026
4026
|
"dev",
|
|
4027
4027
|
"add to the devDependencies"
|
|
4028
4028
|
],
|
|
4029
|
+
[
|
|
4030
|
+
"o",
|
|
4031
|
+
"optional",
|
|
4032
|
+
"add to the optionalDependencies"
|
|
4033
|
+
],
|
|
4029
4034
|
[
|
|
4030
4035
|
"p",
|
|
4031
4036
|
"peer",
|
|
@@ -2156,43 +2156,43 @@ function MDXContent(_ref) {
|
|
|
2156
2156
|
"align": null
|
|
2157
2157
|
}, (0, _react2.mdx)("inlineCode", {
|
|
2158
2158
|
parentName: "td"
|
|
2159
|
-
}, "--
|
|
2159
|
+
}, "--silent")), (0, _react2.mdx)("td", {
|
|
2160
2160
|
parentName: "tr",
|
|
2161
2161
|
"align": "center"
|
|
2162
2162
|
}, (0, _react2.mdx)("inlineCode", {
|
|
2163
2163
|
parentName: "td"
|
|
2164
|
-
}, "-
|
|
2164
|
+
}, "-s")), (0, _react2.mdx)("td", {
|
|
2165
2165
|
parentName: "tr",
|
|
2166
2166
|
"align": null
|
|
2167
|
-
}, "
|
|
2167
|
+
}, "skip confirmation")), (0, _react2.mdx)("tr", {
|
|
2168
2168
|
parentName: "tbody"
|
|
2169
2169
|
}, (0, _react2.mdx)("td", {
|
|
2170
2170
|
parentName: "tr",
|
|
2171
2171
|
"align": null
|
|
2172
2172
|
}, (0, _react2.mdx)("inlineCode", {
|
|
2173
2173
|
parentName: "td"
|
|
2174
|
-
}, "--
|
|
2174
|
+
}, "--hard")), (0, _react2.mdx)("td", {
|
|
2175
2175
|
parentName: "tr",
|
|
2176
2176
|
"align": "center"
|
|
2177
|
-
}, (0, _react2.mdx)("
|
|
2178
|
-
parentName: "td"
|
|
2179
|
-
}, "-s")), (0, _react2.mdx)("td", {
|
|
2177
|
+
}), (0, _react2.mdx)("td", {
|
|
2180
2178
|
parentName: "tr",
|
|
2181
2179
|
"align": null
|
|
2182
|
-
}, "
|
|
2180
|
+
}, "NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents.")), (0, _react2.mdx)("tr", {
|
|
2183
2181
|
parentName: "tbody"
|
|
2184
2182
|
}, (0, _react2.mdx)("td", {
|
|
2185
2183
|
parentName: "tr",
|
|
2186
2184
|
"align": null
|
|
2187
2185
|
}, (0, _react2.mdx)("inlineCode", {
|
|
2188
2186
|
parentName: "td"
|
|
2189
|
-
}, "--
|
|
2187
|
+
}, "--force")), (0, _react2.mdx)("td", {
|
|
2190
2188
|
parentName: "tr",
|
|
2191
2189
|
"align": "center"
|
|
2192
|
-
}
|
|
2190
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2191
|
+
parentName: "td"
|
|
2192
|
+
}, "-f")), (0, _react2.mdx)("td", {
|
|
2193
2193
|
parentName: "tr",
|
|
2194
2194
|
"align": null
|
|
2195
|
-
}, "
|
|
2195
|
+
}, "relevant for --hard. allow the deletion even if used as a dependency. WARNING: components that depend on this component will corrupt")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "dependents"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2196
2196
|
parentName: "p"
|
|
2197
2197
|
}, "Description"), ": show dependents of the given component"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
|
|
2198
2198
|
parentName: "p"
|
|
@@ -2668,6 +2668,21 @@ function MDXContent(_ref) {
|
|
|
2668
2668
|
"align": null
|
|
2669
2669
|
}, (0, _react2.mdx)("inlineCode", {
|
|
2670
2670
|
parentName: "td"
|
|
2671
|
+
}, "--optional")), (0, _react2.mdx)("td", {
|
|
2672
|
+
parentName: "tr",
|
|
2673
|
+
"align": "center"
|
|
2674
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2675
|
+
parentName: "td"
|
|
2676
|
+
}, "-o")), (0, _react2.mdx)("td", {
|
|
2677
|
+
parentName: "tr",
|
|
2678
|
+
"align": null
|
|
2679
|
+
}, "add to the optionalDependencies")), (0, _react2.mdx)("tr", {
|
|
2680
|
+
parentName: "tbody"
|
|
2681
|
+
}, (0, _react2.mdx)("td", {
|
|
2682
|
+
parentName: "tr",
|
|
2683
|
+
"align": null
|
|
2684
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
2685
|
+
parentName: "td"
|
|
2671
2686
|
}, "--peer")), (0, _react2.mdx)("td", {
|
|
2672
2687
|
parentName: "tr",
|
|
2673
2688
|
"align": "center"
|