relay-compiler 0.0.0-main-8bb7478a → 0.0.0-main-004c9825

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
@@ -64,20 +64,18 @@ file sources, and "listen" to the file changes in the "watch" mode. If
64
64
 
65
65
  - `src` Root directory of application code. [string] [required]
66
66
  - `schema` Relative path to the file with GraphQL SDL file. [string] [required]
67
- - `schemaConfig`
68
- - `nodeInterfaceIdField` Configure the name of the globally unique ID field on
69
- the Node interface. Useful if you can't use the default `id` field name.
70
- [string][default: "id"]
67
+ - `language` The name of the language used for input files and generated
68
+ artifacts. ["javascript" | "typescript" | "flow"] [required].
71
69
  - `artifactDirectory` A specific directory to output all artifacts to. When
72
70
  enabling this the babel plugin needs `artifactDirectory` to be set as well.
73
71
  [string]
74
- - `language` The name of the language used for input files and generated
75
- artifacts. ["typescript" | "flow"] [default: "typescript"]. Please, use "flow"
76
- for plain JS projects: flow-types emitted as comments, and the generated
77
- artifacts with "flow" are valid JS modules.
78
72
  - `excludes` Directories to ignore under `src`. [array] [default:
79
73
  ["**/node_modules/**", "**/__mocks__/**", "**/__generated__/**"]]
80
74
  - `schemaExtensions` List of directories with schema extensions. [array]
75
+ - `schemaConfig`
76
+ - `nodeInterfaceIdField` Configure the name of the globally unique ID field on
77
+ the Node interface. Useful if you can't use the default `id` field name.
78
+ [string][default: "id"]
81
79
  - `noFutureProofEnums` For `flow` only. This option controls whether or not a
82
80
  catch-all entry is added to enum type definitions values that may be added in
83
81
  the future. Enabling this means you will have to update your application
@@ -108,11 +106,6 @@ file sources, and "listen" to the file changes in the "watch" mode. If
108
106
  [string]
109
107
  - `jsModuleFormat` Formatting style for generated files. `commonjs` or `haste`.
110
108
  Default is `commonjs`. [string]
111
- - `typegenPhase` - `Final` or `Compat`. Use `Compat` for exposing old
112
- `<module>QueryVariables` and `<module>QueryResponse` types in the generated
113
- artifacts. But we do recommend migrating to the `Final` mode, where the naming
114
- of the exposed types are unified with `<module>$data` and `<module>$variables`
115
- suffixes.
116
109
 
117
110
  ### CLI Arguments
118
111
 
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-8bb7478a",
4
+ "version": "0.0.0-main-004c9825",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"
package/win-x64/relay.exe CHANGED
Binary file