@eddeee888/gcg-typescript-resolver-files 0.0.3 → 0.0.5
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 +13 -16
- package/package.json +4 -1
- package/src/preset.d.ts +15 -0
- package/src/preset.js +53 -7
- package/src/preset.js.map +1 -1
- package/CHANGELOG.md +0 -20
package/README.md
CHANGED
|
@@ -10,20 +10,16 @@ yarn add -D @eddeee888/gcg-typescript-resolver-files
|
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
- Detects missing / wrong resolver exports and adds them to
|
|
13
|
+
- Generates opinionated folder/file structure with type-safety in mind to help finding query, mutation or object types easily
|
|
14
|
+
- Does _NOT_ overwrite existing resolver logic
|
|
15
|
+
- Detects missing / wrong resolver exports and adds them to resolver files
|
|
16
|
+
- Automatically sets up GraphQL Scalars with types and config from [graphql-scalars](https://github.com/Urigo/graphql-scalars) with ability to opt-out
|
|
16
17
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
19
20
|
```yml
|
|
20
21
|
schema: '**/*.graphqls'
|
|
21
22
|
generates:
|
|
22
|
-
src/graphql/resolvers/types.generated.ts:
|
|
23
|
-
plugins:
|
|
24
|
-
- typescript
|
|
25
|
-
- typescript-resolvers
|
|
26
|
-
|
|
27
23
|
src/graphql/resolvers:
|
|
28
24
|
preset: '@eddeee888/gcg-typescript-resolver-files'
|
|
29
25
|
presetConfig:
|
|
@@ -32,11 +28,12 @@ generates:
|
|
|
32
28
|
|
|
33
29
|
## Config
|
|
34
30
|
|
|
35
|
-
| Name | Type
|
|
36
|
-
| -------------------- |
|
|
37
|
-
| `resolverTypesPath` | `string`
|
|
38
|
-
| `mode` | `merged` or `modules`
|
|
39
|
-
| `relativeTargetDir` | `string`
|
|
40
|
-
| `mainFile` | `string`
|
|
41
|
-
| `whitelistedModules` | `Array<string>`
|
|
42
|
-
| `externalResolvers` | `Record<string, string>`
|
|
31
|
+
| Name | Type | Description |
|
|
32
|
+
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
33
|
+
| `resolverTypesPath` | `string` | (Required) Relative path to type file generated by `typescript-resolvers` plugin. |
|
|
34
|
+
| `mode` | `merged` or `modules` | (Default: `modules`) How files are collocated. `modules` detects containing dir of a schema file as "modules", then split resolvers into those modules. `merged` treats `baseOutputDir` as the one and only module and generates resolvers. |
|
|
35
|
+
| `relativeTargetDir` | `string` | Relative path to target dir. For `config.mode=merged`, files will be generated into `<baseOutputDir>/<relativeTargetDir>`. For `config.mode=modules`, files will be generated into `<baseOutputDir>/<moduleName>/<relativeTargetDir>` |
|
|
36
|
+
| `mainFile` | `string` | File that puts all generated resolvers together. Relative from `baseOutputDir` |
|
|
37
|
+
| `whitelistedModules` | `Array<string>` | (Only works with `config.mode=modules`) Whitelists modules to generate files and main file for. Useful for gradual migrations. |
|
|
38
|
+
| `externalResolvers` | `Record<string, string>` | Map of relative or absolute path (prefixed with `~`) to external or existing resolvers. e.g. `DateTime: ~graphql-scalars#DateTimeResolver`, `Query.me: '~@org/meResolver#default as meResolver'`, `User: 'otherResolvers#User as UserResolver'`. |
|
|
39
|
+
| `typesPluginsConfig` | `(@graphql-codegen/typescript).TypeScriptPluginConfig & (@graphql-codegen/typescript-resolvers).TypeScriptResolversPluginConfig` | Takes [typescript config](https://www.the-guild.dev/graphql/codegen/plugins/typescript/typescript) and [typescript-resolvers config](https://www.the-guild.dev/graphql/codegen/plugins/typescript/typescript-resolvers) to override the defaults |
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eddeee888/gcg-typescript-resolver-files",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@graphql-codegen/add": "^3.2.1",
|
|
6
|
+
"@graphql-codegen/typescript": "^2.8.1",
|
|
7
|
+
"@graphql-codegen/typescript-resolvers": "^2.7.5",
|
|
6
8
|
"@graphql-codegen/plugin-helpers": "^2.7.1",
|
|
7
9
|
"graphql": "^16.6.0",
|
|
10
|
+
"graphql-scalars": "^1.20.1",
|
|
8
11
|
"ts-morph": "^16.0.0"
|
|
9
12
|
},
|
|
10
13
|
"publishConfig": {
|
package/src/preset.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
+
import * as typeScriptPlugin from '@graphql-codegen/typescript';
|
|
2
|
+
import * as typeScriptResolversPlugin from '@graphql-codegen/typescript-resolvers';
|
|
1
3
|
import type { Types } from '@graphql-codegen/plugin-helpers';
|
|
4
|
+
declare type ParsedTypesPluginsConfig = Omit<typeScriptPlugin.TypeScriptPluginConfig, 'scalars'> & Omit<typeScriptResolversPlugin.TypeScriptResolversPluginConfig, 'scalars'> & {
|
|
5
|
+
scalars: Record<string, string>;
|
|
6
|
+
};
|
|
2
7
|
interface ParsedPresetConfig {
|
|
3
8
|
resolverTypesPath: string;
|
|
4
9
|
relativeTargetDir: string;
|
|
@@ -6,6 +11,16 @@ interface ParsedPresetConfig {
|
|
|
6
11
|
mode: 'merged' | 'modules';
|
|
7
12
|
whitelistedModules: string[];
|
|
8
13
|
externalResolvers: Record<string, string>;
|
|
14
|
+
typesPluginsConfig: ParsedTypesPluginsConfig;
|
|
9
15
|
}
|
|
10
16
|
export declare const preset: Types.OutputPreset<ParsedPresetConfig>;
|
|
17
|
+
export interface TypeScriptResolverFilesPresetConfig {
|
|
18
|
+
resolverTypesPath?: string;
|
|
19
|
+
relativeTargetDir?: string;
|
|
20
|
+
mainFile?: string;
|
|
21
|
+
mode?: string;
|
|
22
|
+
whitelistedModules?: string[];
|
|
23
|
+
externalResolvers?: Record<string, string>;
|
|
24
|
+
typesPluginsConfig?: typeScriptPlugin.TypeScriptPluginConfig & typeScriptResolversPlugin.TypeScriptResolversPluginConfig;
|
|
25
|
+
}
|
|
11
26
|
export {};
|
package/src/preset.js
CHANGED
|
@@ -3,8 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.preset = void 0;
|
|
4
4
|
const path = require("path");
|
|
5
5
|
const addPlugin = require("@graphql-codegen/add");
|
|
6
|
+
const typeScriptPlugin = require("@graphql-codegen/typescript");
|
|
7
|
+
const typeScriptResolversPlugin = require("@graphql-codegen/typescript-resolvers");
|
|
8
|
+
const graphql_scalars_1 = require("graphql-scalars");
|
|
6
9
|
const utils_1 = require("./utils");
|
|
7
10
|
const run_1 = require("./run");
|
|
11
|
+
const graphql_1 = require("graphql");
|
|
8
12
|
const presetName = '@eddeee888/gcg-typescript-resolver-files';
|
|
9
13
|
exports.preset = {
|
|
10
14
|
buildGeneratesSection: ({ schema, schemaAst, presetConfig: rawPresetConfig, baseOutputDir, }) => {
|
|
@@ -16,8 +20,36 @@ exports.preset = {
|
|
|
16
20
|
throw new Error('Empty Sources. Make sure schema files are parsed correctly.');
|
|
17
21
|
}
|
|
18
22
|
const sourcesMap = (0, utils_1.parseSources)(sources);
|
|
19
|
-
const { resolverTypesPath: relativeResolverTypesPathFromBaseOutputDir, relativeTargetDir, mainFile, mode, whitelistedModules, externalResolvers, } = validatePresetConfig(rawPresetConfig);
|
|
20
|
-
|
|
23
|
+
const { resolverTypesPath: relativeResolverTypesPathFromBaseOutputDir, relativeTargetDir, mainFile, mode, whitelistedModules, externalResolvers, typesPluginsConfig, } = validatePresetConfig(rawPresetConfig);
|
|
24
|
+
// typescript and typescript-resolvers
|
|
25
|
+
const { defaultScalarTypesMap, defaultScalarExternalResolvers } = Object.entries(schemaAst.getTypeMap()).reduce((res, [schemaType, namedType]) => {
|
|
26
|
+
if (!(0, graphql_1.isScalarType)(namedType)) {
|
|
27
|
+
return res;
|
|
28
|
+
}
|
|
29
|
+
const scalarResolver = graphql_scalars_1.resolvers[schemaType];
|
|
30
|
+
if (!scalarResolver) {
|
|
31
|
+
return res;
|
|
32
|
+
}
|
|
33
|
+
if (scalarResolver.extensions.codegenScalarType &&
|
|
34
|
+
typeof scalarResolver.extensions.codegenScalarType === 'string') {
|
|
35
|
+
res.defaultScalarTypesMap[schemaType] =
|
|
36
|
+
scalarResolver.extensions.codegenScalarType;
|
|
37
|
+
}
|
|
38
|
+
res.defaultScalarExternalResolvers[schemaType] = `~graphql-scalars#${scalarResolver.name}Resolver`;
|
|
39
|
+
return res;
|
|
40
|
+
}, { defaultScalarTypesMap: {}, defaultScalarExternalResolvers: {} });
|
|
41
|
+
const resolverTypesFile = {
|
|
42
|
+
filename: path.join(baseOutputDir, relativeResolverTypesPathFromBaseOutputDir),
|
|
43
|
+
pluginMap: {
|
|
44
|
+
typescript: typeScriptPlugin,
|
|
45
|
+
'typescript-resolvers': typeScriptResolversPlugin,
|
|
46
|
+
},
|
|
47
|
+
plugins: [{ typescript: {} }, { ['typescript-resolvers']: {} }],
|
|
48
|
+
config: Object.assign(Object.assign({ enumsAsTypes: true, nonOptionalTypename: true }, typesPluginsConfig), { scalars: Object.assign(Object.assign({}, defaultScalarTypesMap), typesPluginsConfig.scalars) }),
|
|
49
|
+
schema,
|
|
50
|
+
documents: [],
|
|
51
|
+
};
|
|
52
|
+
// typescript-resolver-types
|
|
21
53
|
const result = {
|
|
22
54
|
files: {},
|
|
23
55
|
externalImports: {},
|
|
@@ -27,26 +59,29 @@ exports.preset = {
|
|
|
27
59
|
schema: schemaAst,
|
|
28
60
|
sourcesMap,
|
|
29
61
|
baseOutputDir,
|
|
30
|
-
resolverTypesPath,
|
|
62
|
+
resolverTypesPath: path.join(baseOutputDir, relativeResolverTypesPathFromBaseOutputDir),
|
|
31
63
|
relativeTargetDir,
|
|
32
64
|
mainFile,
|
|
33
65
|
mode,
|
|
34
66
|
whitelistedModules,
|
|
35
|
-
externalResolvers,
|
|
67
|
+
externalResolvers: Object.assign(Object.assign({}, defaultScalarExternalResolvers), externalResolvers),
|
|
36
68
|
},
|
|
37
69
|
result,
|
|
38
70
|
});
|
|
39
|
-
|
|
71
|
+
// Prepare `generatesSection`
|
|
72
|
+
const generatesSection = Object.entries(result.files).map(([filename, { content }]) => ({
|
|
40
73
|
filename,
|
|
41
74
|
pluginMap: { add: addPlugin },
|
|
42
75
|
plugins: [{ add: { content } }],
|
|
43
|
-
schema,
|
|
44
76
|
config: {},
|
|
77
|
+
schema,
|
|
45
78
|
documents: [],
|
|
46
79
|
}));
|
|
80
|
+
generatesSection.push(resolverTypesFile);
|
|
81
|
+
return generatesSection;
|
|
47
82
|
},
|
|
48
83
|
};
|
|
49
|
-
const validatePresetConfig = ({ resolverTypesPath, relativeTargetDir = '', mainFile = 'index.ts', mode = 'modules', whitelistedModules, externalResolvers = {}, }) => {
|
|
84
|
+
const validatePresetConfig = ({ resolverTypesPath, relativeTargetDir = '', mainFile = 'index.ts', mode = 'modules', whitelistedModules, externalResolvers = {}, typesPluginsConfig = {}, }) => {
|
|
50
85
|
if (!resolverTypesPath) {
|
|
51
86
|
throw new Error(`Validation Error - ${presetName} - presetConfig.resolverTypesPath is required`);
|
|
52
87
|
}
|
|
@@ -64,6 +99,9 @@ const validatePresetConfig = ({ resolverTypesPath, relativeTargetDir = '', mainF
|
|
|
64
99
|
throw new Error(`Validation Error - ${presetName} - presetConfig.whitelistedModules can only be used with presetConfig.mode == "modules"`);
|
|
65
100
|
}
|
|
66
101
|
}
|
|
102
|
+
if (!validateTypesPluginsConfig(typesPluginsConfig)) {
|
|
103
|
+
throw new Error('Invalid typescriptPluginConfig. Should not see this.');
|
|
104
|
+
}
|
|
67
105
|
return {
|
|
68
106
|
resolverTypesPath,
|
|
69
107
|
relativeTargetDir,
|
|
@@ -71,6 +109,14 @@ const validatePresetConfig = ({ resolverTypesPath, relativeTargetDir = '', mainF
|
|
|
71
109
|
mode: mode,
|
|
72
110
|
whitelistedModules: whitelistedModules || [],
|
|
73
111
|
externalResolvers,
|
|
112
|
+
typesPluginsConfig,
|
|
74
113
|
};
|
|
75
114
|
};
|
|
115
|
+
const validateTypesPluginsConfig = (config) => {
|
|
116
|
+
config.scalars = config.scalars || {};
|
|
117
|
+
if (typeof config.scalars === 'string') {
|
|
118
|
+
throw new Error(`Validation Error - ${presetName} - presetConfig.typesPluginsConfig.scalars of type "string" is not supported`);
|
|
119
|
+
}
|
|
120
|
+
return true;
|
|
121
|
+
};
|
|
76
122
|
//# sourceMappingURL=preset.js.map
|
package/src/preset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preset.js","sourceRoot":"","sources":["../../../../packages/typescript-resolver-files/src/preset.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,kDAAkD;
|
|
1
|
+
{"version":3,"file":"preset.js","sourceRoot":"","sources":["../../../../packages/typescript-resolver-files/src/preset.ts"],"names":[],"mappings":";;;AAAA,6BAA6B;AAC7B,kDAAkD;AAClD,gEAAgE;AAChE,mFAAmF;AACnF,qDAA+D;AAE/D,mCAAuC;AAEvC,+BAA4B;AAC5B,qCAAuC;AAoBvC,MAAM,UAAU,GAAG,0CAA0C,CAAC;AAEjD,QAAA,MAAM,GAA2C;IAC5D,qBAAqB,EAAE,CAAC,EACtB,MAAM,EACN,SAAS,EACT,YAAY,EAAE,eAAe,EAC7B,aAAa,GACd,EAAE,EAAE;QACH,IAAI,CAAC,SAAS,EAAE;YACd,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;SACtC;QACD,MAAM,OAAO,GAAG,SAAS,CAAC,UAAU,CAAC,eAAe,CAAC;QACrD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;YACnD,MAAM,IAAI,KAAK,CACb,6DAA6D,CAC9D,CAAC;SACH;QAED,MAAM,UAAU,GAAG,IAAA,oBAAY,EAAC,OAAO,CAAC,CAAC;QAEzC,MAAM,EACJ,iBAAiB,EAAE,0CAA0C,EAC7D,iBAAiB,EACjB,QAAQ,EACR,IAAI,EACJ,kB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G.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# @eddeee888/gcg-typescript-resolver-files
|
|
2
|
-
|
|
3
|
-
## 0.0.3
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- 5065768: Turn to preset to better integrate with codegen
|
|
8
|
-
|
|
9
|
-
## 0.0.2
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- 0a99233: Implement generating logic for Scalar type
|
|
14
|
-
- b2fe4da: Implement config.externalResolvers
|
|
15
|
-
|
|
16
|
-
## 0.0.1
|
|
17
|
-
|
|
18
|
-
### Patch Changes
|
|
19
|
-
|
|
20
|
-
- 49ffe7a: Initial publish
|