@teambit/harmony.content.cli-reference 2.0.59 → 2.0.61

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.21'
2
+ description: 'Bit command synopses. Bit version: 1.3.23'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -3799,6 +3799,11 @@
3799
3799
  "p",
3800
3800
  "port [port]",
3801
3801
  "port to run the server on"
3802
+ ],
3803
+ [
3804
+ "c",
3805
+ "compile",
3806
+ "compile components during the watch process"
3802
3807
  ]
3803
3808
  ],
3804
3809
  "description": "EXPERIMENTAL. communicate with bit cli program via http requests",
@@ -4059,6 +4064,21 @@
4059
4064
  }
4060
4065
  ]
4061
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
+ },
4062
4082
  {
4063
4083
  "name": "list [remote-scope]",
4064
4084
  "alias": "ls",
package/cli-reference.mdx CHANGED
@@ -1725,9 +1725,10 @@ as a result of this change
1725
1725
 
1726
1726
  `bit server`
1727
1727
 
1728
- | **Option** | **Option alias** | **Description** |
1729
- | --------------- | :--------------: | ------------------------- |
1730
- | `--port [port]` | `-p` | port to run the server on |
1728
+ | **Option** | **Option alias** | **Description** |
1729
+ | --------------- | :--------------: | ------------------------------------------- |
1730
+ | `--port [port]` | `-p` | port to run the server on |
1731
+ | `--compile` | `-c` | compile components during the watch process |
1731
1732
 
1732
1733
  ---
1733
1734
 
@@ -1996,6 +1997,18 @@ if this doesn't work well for you, run "bit config set watch_use_polling true" t
1996
1997
 
1997
1998
  ---
1998
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
+
1999
2012
  ## ws-config
2000
2013
 
2001
2014
  **Alias**: `workspace-config`
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: 'Bit command synopses. Bit version: 1.3.21'
2
+ description: 'Bit command synopses. Bit version: 1.3.23'
3
3
  labels: ['cli', 'mdx', 'docs']
4
4
  ---
5
5
 
@@ -3799,6 +3799,11 @@
3799
3799
  "p",
3800
3800
  "port [port]",
3801
3801
  "port to run the server on"
3802
+ ],
3803
+ [
3804
+ "c",
3805
+ "compile",
3806
+ "compile components during the watch process"
3802
3807
  ]
3803
3808
  ],
3804
3809
  "description": "EXPERIMENTAL. communicate with bit cli program via http requests",
@@ -4059,6 +4064,21 @@
4059
4064
  }
4060
4065
  ]
4061
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
+ },
4062
4082
  {
4063
4083
  "name": "list [remote-scope]",
4064
4084
  "alias": "ls",
@@ -8552,7 +8552,22 @@ function MDXContent(_ref) {
8552
8552
  }, "-p")), (0, _react2.mdx)("td", {
8553
8553
  parentName: "tr",
8554
8554
  "align": null
8555
- }, "port to run the server on")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "show"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
8555
+ }, "port to run the server on")), (0, _react2.mdx)("tr", {
8556
+ parentName: "tbody"
8557
+ }, (0, _react2.mdx)("td", {
8558
+ parentName: "tr",
8559
+ "align": null
8560
+ }, (0, _react2.mdx)("inlineCode", {
8561
+ parentName: "td"
8562
+ }, "--compile")), (0, _react2.mdx)("td", {
8563
+ parentName: "tr",
8564
+ "align": "center"
8565
+ }, (0, _react2.mdx)("inlineCode", {
8566
+ parentName: "td"
8567
+ }, "-c")), (0, _react2.mdx)("td", {
8568
+ parentName: "tr",
8569
+ "align": null
8570
+ }, "compile components during the watch process")))), (0, _react2.mdx)("hr", null), (0, _react2.mdx)("h2", null, "show"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
8556
8571
  parentName: "p"
8557
8572
  }, "Description"), ": display the component's essential information"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("inlineCode", {
8558
8573
  parentName: "p"
@@ -10157,7 +10172,37 @@ function MDXContent(_ref) {
10157
10172
  }, "-t")), (0, _react2.mdx)("td", {
10158
10173
  parentName: "tr",
10159
10174
  "align": null
10160
- }, "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", {
10161
10206
  parentName: "p"
10162
10207
  }, "Alias"), ": ", (0, _react2.mdx)("inlineCode", {
10163
10208
  parentName: "p"