@teambit/harmony.content.cli-reference 2.0.497 → 2.0.498
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 +4 -4
- package/cli-reference.mdx +9 -2
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +4 -4
- package/dist/cli-reference.mdx.js +16 -2
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1733973584937.js → preview-1734020193676.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -2755,8 +2755,8 @@
|
|
|
2755
2755
|
"remove from peerDependencies"
|
|
2756
2756
|
]
|
|
2757
2757
|
],
|
|
2758
|
-
"description": "remove a dependency
|
|
2759
|
-
"extendedDescription": "",
|
|
2758
|
+
"description": "remove a dependency from one or more components",
|
|
2759
|
+
"extendedDescription": "this command removes the dependency whether it was set by 'bit deps set'/variants or by auto-detection.\nif the dependency was auto-detected, it will be marked with a minus sign in the .bitmap file.\notherwise, the config is written to .bitmap without the dependency.\nsee also 'bit deps unset'",
|
|
2760
2760
|
"group": "info",
|
|
2761
2761
|
"private": false,
|
|
2762
2762
|
"arguments": [
|
|
@@ -2785,8 +2785,8 @@
|
|
|
2785
2785
|
"unset from peerDependencies"
|
|
2786
2786
|
]
|
|
2787
2787
|
],
|
|
2788
|
-
"description": "unset a dependency to component(s) that was
|
|
2789
|
-
"extendedDescription": "",
|
|
2788
|
+
"description": "unset a dependency to component(s) that was set via config (e.g. \"bit deps set\" or variants)",
|
|
2789
|
+
"extendedDescription": "this command removes the dependency only when it was set by config not if it was auto detected.\nin the .bitmap file, the config is written without the dependency.\nsee also \"bit deps remove\"",
|
|
2790
2790
|
"group": "info",
|
|
2791
2791
|
"private": false,
|
|
2792
2792
|
"arguments": [
|
package/cli-reference.mdx
CHANGED
|
@@ -535,7 +535,11 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
535
535
|
|
|
536
536
|
**Usage**: `deps remove <component-pattern> <package...>`
|
|
537
537
|
|
|
538
|
-
**Description**: remove a dependency
|
|
538
|
+
**Description**: remove a dependency from one or more components
|
|
539
|
+
this command removes the dependency whether it was set by 'bit deps set'/variants or by auto-detection.
|
|
540
|
+
if the dependency was auto-detected, it will be marked with a minus sign in the .bitmap file.
|
|
541
|
+
otherwise, the config is written to .bitmap without the dependency.
|
|
542
|
+
see also 'bit deps unset'
|
|
539
543
|
|
|
540
544
|
| **Arg** | **Description** |
|
|
541
545
|
| ------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
|
@@ -551,7 +555,10 @@ this command marks the components as deleted, and after snap/tag and export they
|
|
|
551
555
|
|
|
552
556
|
**Usage**: `deps unset <component-pattern> <package...>`
|
|
553
557
|
|
|
554
|
-
**Description**: unset a dependency to component(s) that was
|
|
558
|
+
**Description**: unset a dependency to component(s) that was set via config (e.g. "bit deps set" or variants)
|
|
559
|
+
this command removes the dependency only when it was set by config not if it was auto detected.
|
|
560
|
+
in the .bitmap file, the config is written without the dependency.
|
|
561
|
+
see also "bit deps remove"
|
|
555
562
|
|
|
556
563
|
| **Arg** | **Description** |
|
|
557
564
|
| ------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|
package/dist/cli-reference.json
CHANGED
|
@@ -2755,8 +2755,8 @@
|
|
|
2755
2755
|
"remove from peerDependencies"
|
|
2756
2756
|
]
|
|
2757
2757
|
],
|
|
2758
|
-
"description": "remove a dependency
|
|
2759
|
-
"extendedDescription": "",
|
|
2758
|
+
"description": "remove a dependency from one or more components",
|
|
2759
|
+
"extendedDescription": "this command removes the dependency whether it was set by 'bit deps set'/variants or by auto-detection.\nif the dependency was auto-detected, it will be marked with a minus sign in the .bitmap file.\notherwise, the config is written to .bitmap without the dependency.\nsee also 'bit deps unset'",
|
|
2760
2760
|
"group": "info",
|
|
2761
2761
|
"private": false,
|
|
2762
2762
|
"arguments": [
|
|
@@ -2785,8 +2785,8 @@
|
|
|
2785
2785
|
"unset from peerDependencies"
|
|
2786
2786
|
]
|
|
2787
2787
|
],
|
|
2788
|
-
"description": "unset a dependency to component(s) that was
|
|
2789
|
-
"extendedDescription": "",
|
|
2788
|
+
"description": "unset a dependency to component(s) that was set via config (e.g. \"bit deps set\" or variants)",
|
|
2789
|
+
"extendedDescription": "this command removes the dependency only when it was set by config not if it was auto detected.\nin the .bitmap file, the config is written without the dependency.\nsee also \"bit deps remove\"",
|
|
2790
2790
|
"group": "info",
|
|
2791
2791
|
"private": false,
|
|
2792
2792
|
"arguments": [
|
|
@@ -2603,7 +2603,15 @@ function MDXContent(_ref) {
|
|
|
2603
2603
|
parentName: "p"
|
|
2604
2604
|
}, "deps remove <component-pattern> <package...>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2605
2605
|
parentName: "p"
|
|
2606
|
-
}, "Description"), ": remove a dependency
|
|
2606
|
+
}, "Description"), ": remove a dependency from one or more components", (0, _react2.mdx)("br", {
|
|
2607
|
+
parentName: "p"
|
|
2608
|
+
}), "\n", "this command removes the dependency whether it was set by 'bit deps set'/variants or by auto-detection.", (0, _react2.mdx)("br", {
|
|
2609
|
+
parentName: "p"
|
|
2610
|
+
}), "\n", "if the dependency was auto-detected, it will be marked with a minus sign in the .bitmap file.", (0, _react2.mdx)("br", {
|
|
2611
|
+
parentName: "p"
|
|
2612
|
+
}), "\n", "otherwise, the config is written to .bitmap without the dependency.", (0, _react2.mdx)("br", {
|
|
2613
|
+
parentName: "p"
|
|
2614
|
+
}), "\n", "see also 'bit deps unset'"), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2607
2615
|
parentName: "table"
|
|
2608
2616
|
}, (0, _react2.mdx)("tr", {
|
|
2609
2617
|
parentName: "thead"
|
|
@@ -2703,7 +2711,13 @@ function MDXContent(_ref) {
|
|
|
2703
2711
|
parentName: "p"
|
|
2704
2712
|
}, "deps unset <component-pattern> <package...>")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
2705
2713
|
parentName: "p"
|
|
2706
|
-
}, "Description"), ": unset a dependency to component(s) that was
|
|
2714
|
+
}, "Description"), ": unset a dependency to component(s) that was set via config (e.g. \"bit deps set\" or variants)", (0, _react2.mdx)("br", {
|
|
2715
|
+
parentName: "p"
|
|
2716
|
+
}), "\n", "this command removes the dependency only when it was set by config not if it was auto detected.", (0, _react2.mdx)("br", {
|
|
2717
|
+
parentName: "p"
|
|
2718
|
+
}), "\n", "in the .bitmap file, the config is written without the dependency.", (0, _react2.mdx)("br", {
|
|
2719
|
+
parentName: "p"
|
|
2720
|
+
}), "\n", "see also \"bit deps remove\""), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
2707
2721
|
parentName: "table"
|
|
2708
2722
|
}, (0, _react2.mdx)("tr", {
|
|
2709
2723
|
parentName: "thead"
|