@apollo/rover 0.8.0 → 0.8.1
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/binary.js +10 -8
- package/package.json +2 -2
- package/run.js +1 -1
package/binary.js
CHANGED
@@ -100,19 +100,21 @@ const getBinary = () => {
|
|
100
100
|
return binary;
|
101
101
|
};
|
102
102
|
|
103
|
-
const install = () => {
|
103
|
+
const install = (suppressLogs = false) => {
|
104
104
|
const binary = getBinary();
|
105
105
|
const proxy = configureProxy(binary.url);
|
106
106
|
// these messages are duplicated in `src/command/install/mod.rs`
|
107
107
|
// for the curl installer.
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
108
|
+
if (!suppressLogs) {
|
109
|
+
console.error(
|
110
|
+
"If you would like to disable Rover's anonymized usage collection, you can set APOLLO_TELEMETRY_DISABLED=1"
|
111
|
+
);
|
112
|
+
console.error(
|
113
|
+
"You can check out our documentation at https://go.apollo.dev/r/docs."
|
114
|
+
);
|
115
|
+
}
|
114
116
|
|
115
|
-
return binary.install(proxy);
|
117
|
+
return binary.install(proxy, suppressLogs);
|
116
118
|
};
|
117
119
|
|
118
120
|
const run = () => {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@apollo/rover",
|
3
|
-
"version": "0.8.
|
3
|
+
"version": "0.8.1",
|
4
4
|
"description": "The new Apollo CLI",
|
5
5
|
"main": "index.js",
|
6
6
|
"bin": {
|
@@ -38,7 +38,7 @@
|
|
38
38
|
"homepage": "https://github.com/apollographql/rover#readme",
|
39
39
|
"dependencies": {
|
40
40
|
"axios-proxy-builder": "^0.1.1",
|
41
|
-
"binary-install": "^1.0.
|
41
|
+
"binary-install": "^1.0.6",
|
42
42
|
"console.table": "^0.10.0",
|
43
43
|
"detect-libc": "^2.0.0"
|
44
44
|
},
|
package/run.js
CHANGED