@graphql-codegen/client-preset 4.5.1-rc-20241121121014-fe8e43f537dfcb268a7f16123b465387036ac5d1 → 5.0.0-alpha-20241122105532-fb4c4a5ddeaf1cff18b2974d76989c20c66aea2d
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/cjs/index.js +6 -1
- package/esm/index.js +6 -1
- package/package.json +6 -6
package/cjs/index.js
CHANGED
|
@@ -108,7 +108,12 @@ exports.preset = {
|
|
|
108
108
|
}
|
|
109
109
|
const plugins = [
|
|
110
110
|
{ [`add`]: { content: `/* eslint-disable */` } },
|
|
111
|
-
{
|
|
111
|
+
{
|
|
112
|
+
[`typescript`]: {
|
|
113
|
+
onlyEnumTypes: true,
|
|
114
|
+
onlyOperationTypes: true,
|
|
115
|
+
},
|
|
116
|
+
},
|
|
112
117
|
{ [`typescript-operations`]: {} },
|
|
113
118
|
{
|
|
114
119
|
[`typed-document-node`]: {
|
package/esm/index.js
CHANGED
|
@@ -103,7 +103,12 @@ export const preset = {
|
|
|
103
103
|
}
|
|
104
104
|
const plugins = [
|
|
105
105
|
{ [`add`]: { content: `/* eslint-disable */` } },
|
|
106
|
-
{
|
|
106
|
+
{
|
|
107
|
+
[`typescript`]: {
|
|
108
|
+
onlyEnumTypes: true,
|
|
109
|
+
onlyOperationTypes: true,
|
|
110
|
+
},
|
|
111
|
+
},
|
|
107
112
|
{ [`typescript-operations`]: {} },
|
|
108
113
|
{
|
|
109
114
|
[`typed-document-node`]: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/client-preset",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-alpha-20241122105532-fb4c4a5ddeaf1cff18b2974d76989c20c66aea2d",
|
|
4
4
|
"description": "GraphQL Code Generator preset for client.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"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"
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"@babel/helper-plugin-utils": "^7.20.2",
|
|
10
10
|
"@babel/template": "^7.20.7",
|
|
11
11
|
"@graphql-codegen/add": "^5.0.3",
|
|
12
|
-
"@graphql-codegen/typed-document-node": "5.0.12-
|
|
13
|
-
"@graphql-codegen/typescript": "4.1.2-
|
|
14
|
-
"@graphql-codegen/typescript-operations": "4.4.0-
|
|
15
|
-
"@graphql-codegen/gql-tag-operations": "4.0.12-
|
|
12
|
+
"@graphql-codegen/typed-document-node": "5.0.12-alpha-20241122105532-fb4c4a5ddeaf1cff18b2974d76989c20c66aea2d",
|
|
13
|
+
"@graphql-codegen/typescript": "4.1.2-alpha-20241122105532-fb4c4a5ddeaf1cff18b2974d76989c20c66aea2d",
|
|
14
|
+
"@graphql-codegen/typescript-operations": "4.4.0-alpha-20241122105532-fb4c4a5ddeaf1cff18b2974d76989c20c66aea2d",
|
|
15
|
+
"@graphql-codegen/gql-tag-operations": "4.0.12-alpha-20241122105532-fb4c4a5ddeaf1cff18b2974d76989c20c66aea2d",
|
|
16
16
|
"@graphql-codegen/plugin-helpers": "^5.1.0",
|
|
17
|
-
"@graphql-codegen/visitor-plugin-common": "5.6.0-
|
|
17
|
+
"@graphql-codegen/visitor-plugin-common": "5.6.0-alpha-20241122105532-fb4c4a5ddeaf1cff18b2974d76989c20c66aea2d",
|
|
18
18
|
"@graphql-typed-document-node/core": "3.2.0",
|
|
19
19
|
"@graphql-tools/documents": "^1.0.0",
|
|
20
20
|
"@graphql-tools/utils": "^10.0.0",
|