-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support handling
gql()
by CLI (#137)
* Cli for gql() works * fix: it should pass codegenOpts.config * organize deps in package.json * Cli for gql() works * async function processProgramPath * fix eslint errors * README.md * fix gen.test.ts: cleanup node_modules too * fix: gen.test.ts.snap * refac: GqlCodegenContext in types.ts * refac: CodegenContext in types.ts * refac * refac, fix: cacheRelDir is unnecessary * refac, CreatedPaths in types.ts * refac: Organize types in types.ts * refac: Organize types in types.ts * wip: refac * wip: refac * wip: refac * wip: refac * wip: refac comment * wip: refac: {skip: boolean} * Done. gen generates `.d.ts`s both for FileCodegenContext and LiteralCodegenContext * fix: decorate .d.ts generated by literalCodegenContext * refac * fix gen snapshot * README.md * README.md * fix eslint warnings * fix: the part of processing dts should be shared * refac: updateLog() * refac: processResolverTypesIfNeeded in resolver-types.ts * refac: literals.ts and documents.ts * refac: remove full-generate.ts and share logic in all entry points * refac: share logic between gen and loader * refac * fix: only if schema was updated, documents should be handled. * refac: rename function processLiteralsWithDtsGenerateSync * refac * fix: literal uses processDtsForContext() Make gen() returns codegenContext to be testable * README.md * README.md * refac * refac * refac
- Loading branch information
1 parent
e762e93
commit 4556a5b
Showing
26 changed files
with
1,755 additions
and
1,061 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.