@apollo/rover 0.17.1 → 0.17.3

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.
Files changed (2) hide show
  1. package/binary.js +2 -1
  2. package/package.json +4 -4
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 = `https://rover.apollo.dev/tar/${name}/${platform.RUST_TARGET}/v${version}`;
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.17.1",
3
+ "version": "0.17.3",
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.16.0",
36
- "npm": "9.6.7"
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": "2.8.8"
46
+ "prettier": "3.0.0"
47
47
  }
48
48
  }