relay-compiler 13.0.2 → 13.0.3

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -85,13 +85,21 @@ file sources, and "listen" to the file changes in the "watch" mode. If
85
85
  GraphQL types, for type emission purposes. [object]
86
86
  - `eagerEsModules` This option enables emitting ES modules artifacts.
87
87
  [boolean][default: false]
88
- - `persistConfig`
88
+ - `persistConfig` Relay supports two versions of the config:
89
+ - - **Remote Persisting:**
90
+
89
91
  - `url` String, URL to send a POST request to to persist. This field is
90
92
  required in `persistConfig` [string]
91
93
  - `params` The document will be in a `POST` parameter `text`. This map can
92
94
  contain additional parameters to send. [object]
93
95
  - `concurrency` The maximum number concurrent requests that will be made to
94
96
  `url`. Use a value greater than 0. [number]
97
+
98
+ - - **Local Persisting:**
99
+ - `file` Path for the JSON file that will contain operations map. Compiler
100
+ will write queries in the format: { "md5(queryText) => "queryText", ...}.
101
+ [string]
102
+
95
103
  - `codegenCommand` Command name that for relay compiler. [string]
96
104
 
97
105
  - `isDevVariableName` Name of the global variable for dev mode (`__DEV__`).
package/linux-x64/relay CHANGED
Binary file
package/macos-arm64/relay CHANGED
Binary file
package/macos-x64/relay CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "relay-compiler",
3
3
  "description": "A compiler tool for building GraphQL-driven applications.",
4
- "version": "13.0.2",
4
+ "version": "13.0.3",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"
@@ -9,7 +9,11 @@
9
9
  "license": "MIT",
10
10
  "homepage": "https://relay.dev",
11
11
  "bugs": "https://github.com/facebook/relay/issues",
12
- "repository": "facebook/relay",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/facebook/relay.git",
15
+ "directory": "packages/relay-compiler"
16
+ },
13
17
  "main": "index.js",
14
18
  "bin": "cli.js"
15
19
  }
package/win-x64/relay.exe CHANGED
Binary file