relay-compiler 0.0.0-main-a2fdae59 → 0.0.0-main-7a3861f2

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 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": "0.0.0-main-a2fdae59",
4
+ "version": "0.0.0-main-7a3861f2",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"
package/win-x64/relay.exe CHANGED
Binary file