@graphql-codegen/graphql-modules-preset 2.3.1 → 2.3.2
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/config.d.ts +3 -3
- package/package.json +5 -4
package/config.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare type ModulesConfig = {
|
|
|
3
3
|
* @name baseTypesPath
|
|
4
4
|
* @type string
|
|
5
5
|
* @description Required, should point to the base schema types file.
|
|
6
|
-
* The key of the output is used a
|
|
6
|
+
* The key of the output is used a base path for this file.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```yml
|
|
@@ -20,7 +20,7 @@ export declare type ModulesConfig = {
|
|
|
20
20
|
/**
|
|
21
21
|
* @name importBaseTypesFrom
|
|
22
22
|
* @type string
|
|
23
|
-
* @description Overrides the package import for the base types. Use this if you are within a monorepo and you wish
|
|
23
|
+
* @description Overrides the package import for the base types. Use this if you are within a monorepo, and you wish
|
|
24
24
|
* to import the base types directly from a different package, and not from a relative path.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
@@ -86,7 +86,7 @@ export declare type ModulesConfig = {
|
|
|
86
86
|
* @name useGraphQLModules
|
|
87
87
|
* @type boolean
|
|
88
88
|
* @default true
|
|
89
|
-
* @description By default, the generated types will
|
|
89
|
+
* @description By default, the generated types will generate some code specific to `graphql-modules` library.
|
|
90
90
|
*
|
|
91
91
|
* If you are not using GraphQL-Modules, you can disable this feature by setting this to `false`.
|
|
92
92
|
*/
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/graphql-modules-preset",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "GraphQL Code Generator preset for modularized schema",
|
|
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"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@graphql-codegen/plugin-helpers": "^2.3.
|
|
10
|
-
"@graphql-codegen/visitor-plugin-common": "2.5.
|
|
11
|
-
"@graphql-tools/utils": "8.5.
|
|
9
|
+
"@graphql-codegen/plugin-helpers": "^2.3.2",
|
|
10
|
+
"@graphql-codegen/visitor-plugin-common": "2.5.2",
|
|
11
|
+
"@graphql-tools/utils": "8.5.5",
|
|
12
12
|
"change-case-all": "1.0.14",
|
|
13
13
|
"parse-filepath": "^1.0.2",
|
|
14
14
|
"tslib": "~2.3.0"
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"definition": "index.d.ts"
|
|
27
27
|
},
|
|
28
28
|
"exports": {
|
|
29
|
+
"./package.json": "./package.json",
|
|
29
30
|
".": {
|
|
30
31
|
"require": "./index.js",
|
|
31
32
|
"import": "./index.mjs"
|