@apollo/rover 0.17.2 → 0.18.0
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/README.md +7 -25
- package/binary.js +2 -1
- package/package.json +4 -4
package/README.md
CHANGED
@@ -62,6 +62,8 @@ Commands:
|
|
62
62
|
Interact with Rover's documentation
|
63
63
|
update
|
64
64
|
Commands related to updating rover
|
65
|
+
persisted-queries
|
66
|
+
Preview feature: Commands for persisted queries [aliases: pq]
|
65
67
|
explain
|
66
68
|
Explain error codes
|
67
69
|
help
|
@@ -70,40 +72,20 @@ Commands:
|
|
70
72
|
Options:
|
71
73
|
-l, --log <LOG_LEVEL>
|
72
74
|
Specify Rover's log level
|
73
|
-
|
74
75
|
--format <FORMAT_KIND>
|
75
|
-
Specify Rover's format type
|
76
|
-
|
77
|
-
[possible values: plain, json]
|
78
|
-
|
76
|
+
Specify Rover's format type [possible values: plain, json]
|
79
77
|
-o, --output <OUTPUT_FILE>
|
80
78
|
Specify a file to write Rover's output to
|
81
|
-
|
82
79
|
--insecure-accept-invalid-certs
|
83
|
-
Accept invalid certificates when performing HTTPS requests
|
84
|
-
|
85
|
-
You should think very carefully before using this flag.
|
86
|
-
|
87
|
-
If invalid certificates are trusted, any certificate for any site will be trusted for use. This includes expired certificates. This introduces significant vulnerabilities, and should only be used as a last resort.
|
88
|
-
|
80
|
+
Accept invalid certificates when performing HTTPS requests
|
89
81
|
--insecure-accept-invalid-hostnames
|
90
|
-
Accept invalid hostnames when performing HTTPS requests
|
91
|
-
|
92
|
-
You should think very carefully before using this flag.
|
93
|
-
|
94
|
-
If hostname verification is not used, any valid certificate for any site will be trusted for use from any other. This introduces a significant vulnerability to man-in-the-middle attacks.
|
95
|
-
|
82
|
+
Accept invalid hostnames when performing HTTPS requests
|
96
83
|
--client-timeout <CLIENT_TIMEOUT>
|
97
|
-
Configure the timeout length (in seconds) when performing HTTP(S) requests
|
98
|
-
|
99
|
-
[default: 30]
|
100
|
-
|
84
|
+
Configure the timeout length (in seconds) when performing HTTP(S) requests [default: 30]
|
101
85
|
--skip-update-check
|
102
86
|
Skip checking for newer versions of rover
|
103
|
-
|
104
87
|
-h, --help
|
105
|
-
Print help (see
|
106
|
-
|
88
|
+
Print help (see more with '--help')
|
107
89
|
-V, --version
|
108
90
|
Print version
|
109
91
|
|
package/binary.js
CHANGED
@@ -95,9 +95,10 @@ const getPlatform = () => {
|
|
95
95
|
|
96
96
|
const getBinary = () => {
|
97
97
|
const platform = getPlatform();
|
98
|
+
const download_host = process.env.npm_config_apollo_rover_download_host || process.env.APOLLO_ROVER_DOWNLOAD_HOST || 'https://rover.apollo.dev'
|
98
99
|
// the url for this binary is constructed from values in `package.json`
|
99
100
|
// https://rover.apollo.dev/tar/rover/x86_64-unknown-linux-gnu/v0.4.8
|
100
|
-
const url =
|
101
|
+
const url = `${download_host}/tar/${name}/${platform.RUST_TARGET}/v${version}`;
|
101
102
|
let binary = new Binary(platform.BINARY_NAME, url);
|
102
103
|
|
103
104
|
// setting this allows us to extract supergraph plugins to the proper directory
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@apollo/rover",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.18.0",
|
4
4
|
"description": "The new Apollo CLI",
|
5
5
|
"main": "index.js",
|
6
6
|
"bin": {
|
@@ -32,8 +32,8 @@
|
|
32
32
|
"npm": ">=6"
|
33
33
|
},
|
34
34
|
"volta": {
|
35
|
-
"node": "18.
|
36
|
-
"npm": "9.
|
35
|
+
"node": "18.17.0",
|
36
|
+
"npm": "9.8.1"
|
37
37
|
},
|
38
38
|
"homepage": "https://github.com/apollographql/rover#readme",
|
39
39
|
"dependencies": {
|
@@ -43,6 +43,6 @@
|
|
43
43
|
"detect-libc": "^2.0.0"
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
|
-
"prettier": "
|
46
|
+
"prettier": "3.0.1"
|
47
47
|
}
|
48
48
|
}
|