@apollo/rover 0.2.1 → 0.4.2

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 (4) hide show
  1. package/LICENSE +6 -0
  2. package/README.md +18 -17
  3. package/binary.js +1 -1
  4. package/package.json +11 -3
package/LICENSE CHANGED
@@ -1,3 +1,9 @@
1
+ Copyright 2021 Apollo Graph, Inc.
2
+
3
+ Source code in this repository is covered by (i) an MIT compatible license or (ii) the Elastic License 2.0, in each case, as designated by a licensing file within a subdirectory or file header. The default throughout the repository is an MIT compatible license, unless a file header or a licensing file in a subdirectory specifies another license.
4
+
5
+ --------------------------------------------------------------------------------
6
+
1
7
  MIT License
2
8
 
3
9
  Copyright (c) 2021 Apollo Graph, Inc.
package/README.md CHANGED
@@ -37,7 +37,7 @@ rover graph publish --schema ./path-to-valid-schema test@cats
37
37
  ## Command-line options
38
38
 
39
39
  ```console
40
- Rover 0.2.1
40
+ Rover 0.4.2
41
41
 
42
42
  Rover - Your Graph Companion
43
43
  Read the getting started guide by running:
@@ -63,22 +63,27 @@ You can open the full documentation for Rover by running:
63
63
  $ rover docs open
64
64
 
65
65
  USAGE:
66
- rover [OPTIONS] <SUBCOMMAND>
66
+ rover [FLAGS] [OPTIONS] <SUBCOMMAND>
67
67
 
68
68
  FLAGS:
69
- -h, --help Prints help information
70
- -V, --version Prints version information
69
+ --insecure-accept-invalid-certs Accept invalid certificates when performing HTTPS requests
70
+ --insecure-accept-invalid-hostnames Accept invalid hostnames when performing HTTPS requests
71
+ -h, --help Prints help information
72
+ -V, --version Prints version information
71
73
 
72
74
  OPTIONS:
73
- -l, --log <log-level> Specify Rover's log level [possible values: error, warn, info,
74
- debug, trace]
75
- --output <output-type> Specify Rover's output type [default: plain] [possible values: json,
76
- plain]
75
+ --client-timeout <client-timeout> Configure the timeout length (in seconds) when performing HTTP(S) requests
76
+ [default: 30]
77
+ -l, --log <log-level> Specify Rover's log level [possible values: error, warn,
78
+ info, debug, trace]
79
+ --output <output-type> Specify Rover's output type [default: plain] [possible values:
80
+ json, plain]
77
81
 
78
82
  SUBCOMMANDS:
79
83
  config Configuration profile commands
80
84
  docs Interact with Rover's documentation
81
85
  explain Explain error codes
86
+ fed2 Federation 2 Alpha commands
82
87
  graph Graph API schema commands
83
88
  help Prints this message or the help of the given subcommand(s)
84
89
  subgraph Subgraph schema commands
@@ -92,7 +97,6 @@ This repo is organized as a [`cargo` workspace], containing several related proj
92
97
  - [`houston`]: utilities for configuring Rover
93
98
  - [`robot-panic`]: a fork of [`rust-cli/human-panic`] adjusted for Rover
94
99
  - [`rover-client`]: an HTTP client for making GraphQL requests for Rover
95
- - [`sdl-encoder`]: a crate to encode SDL
96
100
  - [`sputnik`]: a crate to aid in collection of anonymous data for Rust CLIs
97
101
  - [`timber`]: Rover's logging formatter
98
102
 
@@ -101,7 +105,6 @@ This repo is organized as a [`cargo` workspace], containing several related proj
101
105
  [`robot-panic`]: https://github.com/apollographql/rover/tree/main/crates/robot-panic
102
106
  [`rust-cli/human-panic`]: https://github.com/rust-cli/human-panic
103
107
  [`rover-client`]: https://github.com/apollographql/rover/tree/main/crates/rover-client
104
- [`sdl-encoder`]: https://github.com/apollographql/rover/tree/main/crates/sdl-encoder
105
108
  [`sputnik`]: https://github.com/apollographql/rover/tree/main/crates/sputnik
106
109
  [`timber`]: https://github.com/apollographql/rover/tree/main/crates/timber
107
110
 
@@ -109,7 +112,7 @@ This repo is organized as a [`cargo` workspace], containing several related proj
109
112
 
110
113
  #### Linux and MacOS `curl | sh` installer
111
114
 
112
- To install the latest release of Rover:
115
+ To install the latest release of Rover:
113
116
 
114
117
  ```bash
115
118
  curl -sSL https://rover.apollo.dev/nix/latest | sh
@@ -120,7 +123,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe
120
123
  > Note: If you're installing Rover in a CI environment, it's best to target a specific version rather than using the latest URL, since future major breaking changes could affect CI workflows otherwise.
121
124
 
122
125
  ```bash
123
- curl -sSL https://rover.apollo.dev/nix/v0.1.9 | sh
126
+ curl -sSL https://rover.apollo.dev/nix/v0.4.2 | sh
124
127
  ```
125
128
 
126
129
  You will need `curl` installed on your system to run the above installation commands. You can get the latest version from [the curl downloads page](https://curl.se/download.html).
@@ -138,7 +141,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe
138
141
  > Note: If you're installing Rover in a CI environment, it's best to target a specific version rather than using the latest URL, since future major breaking changes could affect CI workflows otherwise.
139
142
 
140
143
  ```bash
141
- iwr 'https://rover.apollo.dev/win/v0.1.9' | iex
144
+ iwr 'https://rover.apollo.dev/win/v0.4.2' | iex
142
145
  ```
143
146
 
144
147
  #### npm installer
@@ -174,8 +177,6 @@ From here you can either place the binary in your `PATH` manually, or run `./tar
174
177
 
175
178
  See [this page](https://go.apollo.dev/r/contributing) for info about contributing to Rover.
176
179
 
177
- ## License
180
+ ## Licensing
178
181
 
179
- This project is licensed under the MIT License ([LICENSE] or https://opensource.org/licenses/MIT).
180
-
181
- [LICENSE]: https://github.com/apollographql/rover/blob/main/LICENSE
182
+ Source code in this repository is covered by (i) an MIT compatible license or (ii) the Elastic License 2.0, in each case, as designated by a licensing file within a subdirectory or file header. The default throughout the repository is an MIT compatible license, unless a file header or a licensing file in a subdirectory specifies another license.
package/binary.js CHANGED
@@ -60,7 +60,7 @@ const getPlatform = () => {
60
60
  let libc_major_version = split_libc_version[0];
61
61
  let libc_minor_version = split_libc_version[1];
62
62
  let min_major_version = 2;
63
- let min_minor_version = 18;
63
+ let min_minor_version = 17;
64
64
  if (libc_major_version < min_major_version || libc_minor_version < min_minor_version) {
65
65
  console.warn(`This operating system needs glibc >= ${min_major_version}.${min_minor_version}, but only has ${libc_version} installed.`);
66
66
  console.warn(musl_warning);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollo/rover",
3
- "version": "0.2.1",
3
+ "version": "0.4.2",
4
4
  "description": "The new Apollo CLI",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -27,13 +27,21 @@
27
27
  "bugs": {
28
28
  "url": "https://github.com/apollographql/rover/issues"
29
29
  },
30
+ "engines": {
31
+ "node": ">=14 <=17",
32
+ "npm": ">=6"
33
+ },
34
+ "volta": {
35
+ "node": "17.5.0",
36
+ "npm": "8.5.0"
37
+ },
30
38
  "homepage": "https://github.com/apollographql/rover#readme",
31
39
  "dependencies": {
32
40
  "binary-install": "^0.1.1",
33
41
  "console.table": "^0.10.0",
34
- "detect-libc": "^1.0.3"
42
+ "detect-libc": "^2.0.0"
35
43
  },
36
44
  "devDependencies": {
37
- "prettier": "^2.3.0"
45
+ "prettier": "2.5.1"
38
46
  }
39
47
  }