relay-compiler 16.2.0 → 18.0.0

Sign up to get free protection for your applications and to get access to all the features.
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
- ["**/node_modules/**", "**/__mocks__/**", "**/__generated__/**"]]
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
- - `customScalars` Mappings from custom scalars in your schema to built-in
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
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": "16.2.0",
4
+ "version": "18.0.0",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"