@apollo/rover 0.2.0 → 0.4.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.
Files changed (3) hide show
  1. package/LICENSE +6 -0
  2. package/README.md +37 -15
  3. package/package.json +10 -2
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.0
40
+ Rover 0.4.1
41
41
 
42
42
  Rover - Your Graph Companion
43
43
  Read the getting started guide by running:
@@ -63,22 +63,46 @@ 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
70
+ Accept invalid certificates when performing HTTPS requests.
71
+
72
+ You should think very carefully before using this flag.
73
+
74
+ If invalid certificates are trusted, any certificate for any site will be trusted for use. This includes
75
+ expired certificates. This introduces significant vulnerabilities, and should only be used as a last resort.
76
+ --insecure-accept-invalid-hostnames
77
+ Accept invalid hostnames when performing HTTPS requests.
78
+
79
+ You should think very carefully before using this flag.
80
+
81
+ If hostname verification is not used, any valid certificate for any site will be trusted for use from any
82
+ other. This introduces a significant vulnerability to man-in-the-middle attacks.
83
+ -h, --help
84
+ Prints help information
85
+
86
+ -V, --version
87
+ Prints version information
88
+
71
89
 
72
90
  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]
91
+ --client-timeout <client-timeout>
92
+ Configure the timeout length (in seconds) when performing HTTP(S) requests [default: 30]
93
+
94
+ -l, --log <log-level>
95
+ Specify Rover's log level [possible values: error, warn, info, debug,
96
+ trace]
97
+ --output <output-type>
98
+ Specify Rover's output type [default: plain] [possible values: json, plain]
99
+
77
100
 
78
101
  SUBCOMMANDS:
79
102
  config Configuration profile commands
80
103
  docs Interact with Rover's documentation
81
104
  explain Explain error codes
105
+ fed2 Federation 2 Alpha commands
82
106
  graph Graph API schema commands
83
107
  help Prints this message or the help of the given subcommand(s)
84
108
  subgraph Subgraph schema commands
@@ -109,7 +133,7 @@ This repo is organized as a [`cargo` workspace], containing several related proj
109
133
 
110
134
  #### Linux and MacOS `curl | sh` installer
111
135
 
112
- To install the latest release of Rover:
136
+ To install the latest release of Rover:
113
137
 
114
138
  ```bash
115
139
  curl -sSL https://rover.apollo.dev/nix/latest | sh
@@ -120,7 +144,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe
120
144
  > 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
145
 
122
146
  ```bash
123
- curl -sSL https://rover.apollo.dev/nix/v0.1.9 | sh
147
+ curl -sSL https://rover.apollo.dev/nix/v0.4.1 | sh
124
148
  ```
125
149
 
126
150
  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 +162,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe
138
162
  > 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
163
 
140
164
  ```bash
141
- iwr 'https://rover.apollo.dev/win/v0.1.9' | iex
165
+ iwr 'https://rover.apollo.dev/win/v0.4.1' | iex
142
166
  ```
143
167
 
144
168
  #### npm installer
@@ -174,8 +198,6 @@ From here you can either place the binary in your `PATH` manually, or run `./tar
174
198
 
175
199
  See [this page](https://go.apollo.dev/r/contributing) for info about contributing to Rover.
176
200
 
177
- ## License
178
-
179
- This project is licensed under the MIT License ([LICENSE] or http://opensource.org/licenses/MIT).
201
+ ## Licensing
180
202
 
181
- [LICENSE]: https://github.com/apollographql/rover/blob/main/LICENSE
203
+ 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollo/rover",
3
- "version": "0.2.0",
3
+ "version": "0.4.1",
4
4
  "description": "The new Apollo CLI",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -27,6 +27,14 @@
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": "16.13.0",
36
+ "npm": "8.1.3"
37
+ },
30
38
  "homepage": "https://github.com/apollographql/rover#readme",
31
39
  "dependencies": {
32
40
  "binary-install": "^0.1.1",
@@ -34,6 +42,6 @@
34
42
  "detect-libc": "^1.0.3"
35
43
  },
36
44
  "devDependencies": {
37
- "prettier": "^2.3.0"
45
+ "prettier": "2.4.1"
38
46
  }
39
47
  }