@teambit/harmony.content.cli-reference 2.0.1214 → 2.0.1215
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 +1 -1
- package/cli-reference.mdx +9 -9
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +1 -1
- package/dist/cli-reference.mdx.js +1 -1
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1787264602520.js → preview-1787325829408.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -2817,7 +2817,7 @@
|
|
|
2817
2817
|
[
|
|
2818
2818
|
"",
|
|
2819
2819
|
"hard",
|
|
2820
|
-
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents."
|
|
2820
|
+
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. requires interactive confirmation by a human (--silent does not skip it)"
|
|
2821
2821
|
],
|
|
2822
2822
|
[
|
|
2823
2823
|
"f",
|
package/cli-reference.mdx
CHANGED
|
@@ -614,15 +614,15 @@ to remove components from your local workspace only, use "bit remove" instead.
|
|
|
614
614
|
| ------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
615
615
|
| `component-pattern` | component name, component id, component pattern, or relative directory path. 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 '$' prefix to filter by states/attributes, e.g. '$deprecated', '$modified' or '$env:teambit.react/react'. use `bit pattern --help` to understand patterns better and `bit pattern <pattern>` to validate the pattern. |
|
|
616
616
|
|
|
617
|
-
| **Option** | **Option alias** | **Description**
|
|
618
|
-
| ------------------ | :--------------: |
|
|
619
|
-
| `--lane` | | when on a lane, delete the component from this lane only. this removal will not affect main when the lane is merged
|
|
620
|
-
| `--update-main` | | delete component/s on the main lane after merging this lane into main
|
|
621
|
-
| `--range <string>` | | EXPERIMENTAL. enter a Semver range to delete specific tags (cannot be used for snaps). see https://www.npmjs.com/package/semver#ranges for the range syntax
|
|
622
|
-
| `--silent` | `-s` | skip confirmation
|
|
623
|
-
| `--hard` | | NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents.
|
|
624
|
-
| `--force` | `-f` | relevant for --hard. allow the deletion even if used as a dependency. WARNING: components that depend on this component will be corrupted
|
|
625
|
-
| `--snaps <string>` | | comma-separated list of snap hashes to mark as deleted (e.g. --snaps "hash1,hash2,hash3")
|
|
617
|
+
| **Option** | **Option alias** | **Description** |
|
|
618
|
+
| ------------------ | :--------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
619
|
+
| `--lane` | | when on a lane, delete the component from this lane only. this removal will not affect main when the lane is merged |
|
|
620
|
+
| `--update-main` | | delete component/s on the main lane after merging this lane into main |
|
|
621
|
+
| `--range <string>` | | EXPERIMENTAL. enter a Semver range to delete specific tags (cannot be used for snaps). see https://www.npmjs.com/package/semver#ranges for the range syntax |
|
|
622
|
+
| `--silent` | `-s` | skip confirmation |
|
|
623
|
+
| `--hard` | | NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. requires interactive confirmation by a human (--silent does not skip it) |
|
|
624
|
+
| `--force` | `-f` | relevant for --hard. allow the deletion even if used as a dependency. WARNING: components that depend on this component will be corrupted |
|
|
625
|
+
| `--snaps <string>` | | comma-separated list of snap hashes to mark as deleted (e.g. --snaps "hash1,hash2,hash3") |
|
|
626
626
|
|
|
627
627
|
---
|
|
628
628
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -2817,7 +2817,7 @@
|
|
|
2817
2817
|
[
|
|
2818
2818
|
"",
|
|
2819
2819
|
"hard",
|
|
2820
|
-
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents."
|
|
2820
|
+
"NOT-RECOMMENDED. delete a component completely from a remote scope. careful! this is a permanent change that could corrupt dependents. requires interactive confirmation by a human (--silent does not skip it)"
|
|
2821
2821
|
],
|
|
2822
2822
|
[
|
|
2823
2823
|
"f",
|