@teambit/harmony.content.cli-reference 2.0.60 → 2.0.62

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.
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.3.22'
2
+ description: 'Bit command synopses. Bit version: 1.3.24'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -4064,6 +4064,21 @@
4064
4064
  }
4065
4065
  ]
4066
4066
  },
4067
+ {
4068
+ "name": "why <dependency-name>",
4069
+ "alias": "",
4070
+ "options": [],
4071
+ "description": "EXPERIMENTAL. find components that use the specified dependency",
4072
+ "extendedDescription": "",
4073
+ "group": "info",
4074
+ "private": false,
4075
+ "arguments": [
4076
+ {
4077
+ "name": "dependency-name",
4078
+ "description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
4079
+ }
4080
+ ]
4081
+ },
4067
4082
  {
4068
4083
  "name": "list [remote-scope]",
4069
4084
  "alias": "ls",
package/cli-reference.mdx CHANGED
@@ -1997,6 +1997,18 @@ if this doesn't work well for you, run "bit config set watch_use_polling true" t
1997
1997
 
1998
1998
  ---
1999
1999
 
2000
+ ## why
2001
+
2002
+ **Description**: EXPERIMENTAL. find components that use the specified dependency
2003
+
2004
+ `bit why <dependency-name>`
2005
+
2006
+ | **Arg** | **Description** |
2007
+ | ----------------- | :------------------------------------------------------------------------------------------------------------------------------------------: |
2008
+ | `dependency-name` | package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version |
2009
+
2010
+ ---
2011
+
2000
2012
  ## ws-config
2001
2013
 
2002
2014
  **Alias**: `workspace-config`
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.3.22'
2
+ description: 'Bit command synopses. Bit version: 1.3.24'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -4064,6 +4064,21 @@
4064
4064
  }
4065
4065
  ]
4066
4066
  },
4067
+ {
4068
+ "name": "why <dependency-name>",
4069
+ "alias": "",
4070
+ "options": [],
4071
+ "description": "EXPERIMENTAL. find components that use the specified dependency",
4072
+ "extendedDescription": "",
4073
+ "group": "info",
4074
+ "private": false,
4075
+ "arguments": [
4076
+ {
4077
+ "name": "dependency-name",
4078
+ "description": "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version"
4079
+ }
4080
+ ]
4081
+ },
4067
4082
  {
4068
4083
  "name": "list [remote-scope]",
4069
4084
  "alias": "ls",
@@ -10172,7 +10172,37 @@ function MDXContent(_ref) {
10172
10172
  }, "-t")), (0, _react2.mdx)("td", {
10173
10173
  parentName: "tr",
10174
10174
  "align": null
10175
- }, "EXPERIMENTAL. show errors/warnings for types. options are ", "[file, project]", " to investigate only changed file or entire project. defaults to project")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "ws-config"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10175
+ }, "EXPERIMENTAL. show errors/warnings for types. options are ", "[file, project]", " to investigate only changed file or entire project. defaults to project")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "why"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10176
+ parentName: "p"
10177
+ }, "Description"), ": EXPERIMENTAL. find components that use the specified dependency"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
10178
+ parentName: "p"
10179
+ }, "bit why <dependency-name>")), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
10180
+ parentName: "table"
10181
+ }, (0, _react2.mdx)("tr", {
10182
+ parentName: "thead"
10183
+ }, (0, _react2.mdx)("th", {
10184
+ parentName: "tr",
10185
+ "align": null
10186
+ }, (0, _react2.mdx)("strong", {
10187
+ parentName: "th"
10188
+ }, "Arg")), (0, _react2.mdx)("th", {
10189
+ parentName: "tr",
10190
+ "align": "center"
10191
+ }, (0, _react2.mdx)("strong", {
10192
+ parentName: "th"
10193
+ }, "Description")))), (0, _react2.mdx)("tbody", {
10194
+ parentName: "table"
10195
+ }, (0, _react2.mdx)("tr", {
10196
+ parentName: "tbody"
10197
+ }, (0, _react2.mdx)("td", {
10198
+ parentName: "tr",
10199
+ "align": null
10200
+ }, (0, _react2.mdx)("inlineCode", {
10201
+ parentName: "td"
10202
+ }, "dependency-name")), (0, _react2.mdx)("td", {
10203
+ parentName: "tr",
10204
+ "align": "center"
10205
+ }, "package-name. for components, you can use either component-id or package-name. if version is specified, it will search for the exact version")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "ws-config"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
10176
10206
  parentName: "p"
10177
10207
  }, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
10178
10208
  parentName: "p"