@graphql-codegen/visitor-plugin-common 4.0.1 → 4.0.2-alpha-20230825031456-2f6221541
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/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/visitor-plugin-common",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2-alpha-20230825031456-2f6221541",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@graphql-tools/optimize": "^2.0.0",
|
|
9
|
-
"@graphql-codegen/plugin-helpers": "
|
|
9
|
+
"@graphql-codegen/plugin-helpers": "5.0.2-alpha-20230825031456-2f6221541",
|
|
10
10
|
"@graphql-tools/relay-operation-optimizer": "^7.0.0",
|
|
11
11
|
"@graphql-tools/utils": "^10.0.0",
|
|
12
12
|
"auto-bind": "~4.0.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"graphql-tag": "^2.11.0",
|
|
15
15
|
"parse-filepath": "^1.0.2",
|
|
16
16
|
"change-case-all": "1.0.15",
|
|
17
|
-
"tslib": "~2.
|
|
17
|
+
"tslib": "~2.6.0"
|
|
18
18
|
},
|
|
19
19
|
"repository": {
|
|
20
20
|
"type": "git",
|
|
@@ -121,7 +121,7 @@ export interface RawClientSideBasePluginConfig extends RawConfig {
|
|
|
121
121
|
documentMode?: DocumentMode;
|
|
122
122
|
/**
|
|
123
123
|
* @default true
|
|
124
|
-
* @description If you are using `
|
|
124
|
+
* @description If you are using `documentMode: documentNode | documentNodeImportFragments`, you can set this to `true` to apply document optimizations for your GraphQL document.
|
|
125
125
|
* This will remove all "loc" and "description" fields from the compiled document, and will remove all empty arrays (such as `directives`, `arguments` and `variableDefinitions`).
|
|
126
126
|
*/
|
|
127
127
|
optimizeDocumentNode?: boolean;
|
|
@@ -121,7 +121,7 @@ export interface RawClientSideBasePluginConfig extends RawConfig {
|
|
|
121
121
|
documentMode?: DocumentMode;
|
|
122
122
|
/**
|
|
123
123
|
* @default true
|
|
124
|
-
* @description If you are using `
|
|
124
|
+
* @description If you are using `documentMode: documentNode | documentNodeImportFragments`, you can set this to `true` to apply document optimizations for your GraphQL document.
|
|
125
125
|
* This will remove all "loc" and "description" fields from the compiled document, and will remove all empty arrays (such as `directives`, `arguments` and `variableDefinitions`).
|
|
126
126
|
*/
|
|
127
127
|
optimizeDocumentNode?: boolean;
|