relay-compiler 16.2.0 → 18.0.0
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 +7 -4
- package/linux-arm64/relay +0 -0
- package/linux-x64/relay +0 -0
- package/macos-arm64/relay +0 -0
- package/macos-x64/relay +0 -0
- package/package.json +1 -1
- package/relay-compiler-config-schema.json +4704 -0
- package/relay-extensions.graphql +59 -9
- package/win-x64/relay.exe +0 -0
package/README.md
CHANGED
@@ -68,7 +68,7 @@ file sources, and "listen" to the file changes in the "watch" mode. If
|
|
68
68
|
enabling this the babel plugin needs `artifactDirectory` to be set as well.
|
69
69
|
[string]
|
70
70
|
- `excludes` Directories to ignore under `src`. [array] [default:
|
71
|
-
["
|
71
|
+
["\*\*/node_modules/\*\*", "\*\*/__mocks__/\*\*", "\*\*/__generated__/\*\*"]]
|
72
72
|
- `schemaExtensions` List of directories with schema extensions. [array]
|
73
73
|
- `schemaConfig`
|
74
74
|
- `nodeInterfaceIdField` Configure the name of the globally unique ID field on
|
@@ -83,8 +83,8 @@ file sources, and "listen" to the file changes in the "watch" mode. If
|
|
83
83
|
the future. Enabling this means you will have to update your application
|
84
84
|
whenever the GraphQL server schema adds new enum values to prevent it from
|
85
85
|
breaking. [boolean][default: false]
|
86
|
-
- `
|
87
|
-
GraphQL types, for type emission purposes. [object]
|
86
|
+
- `customScalarTypes` Mappings from custom scalars in your schema to built-in
|
87
|
+
GraphQL types, for type emission purposes (eg. {"GqlScalar": "TStype"}). [object]
|
88
88
|
- `eagerEsModules` This option enables emitting ES modules artifacts.
|
89
89
|
[boolean][default: false]
|
90
90
|
- `persistConfig` Relay supports two versions of the config:
|
@@ -96,11 +96,14 @@ file sources, and "listen" to the file changes in the "watch" mode. If
|
|
96
96
|
contain additional parameters to send. [object]
|
97
97
|
- `concurrency` The maximum number concurrent requests that will be made to
|
98
98
|
`url`. Use a value greater than 0. [number]
|
99
|
-
|
99
|
+
- `include_query_text` Boolean, whether to include the query text in the
|
100
|
+
generated files. [boolean] [default: false]
|
100
101
|
- - **Local Persisting:**
|
101
102
|
- `file` Path for the JSON file that will contain operations map. Compiler
|
102
103
|
will write queries in the format: { "md5(queryText) => "queryText", ...}.
|
103
104
|
[string]
|
105
|
+
- `include_query_text` Boolean, whether to include the query text in the
|
106
|
+
generated files. [boolean] [default: false]
|
104
107
|
|
105
108
|
- `codegenCommand` Command name that for relay compiler. [string]
|
106
109
|
|
package/linux-arm64/relay
CHANGED
Binary file
|
package/linux-x64/relay
CHANGED
Binary file
|
package/macos-arm64/relay
CHANGED
Binary file
|
package/macos-x64/relay
CHANGED
Binary file
|